GoogleCloudPolicyanalyzerV1Activity.fromJson constructor

GoogleCloudPolicyanalyzerV1Activity.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPolicyanalyzerV1Activity.fromJson(core.Map json_)
    : this(
        activity: json_.containsKey('activity')
            ? json_['activity'] as core.Map<core.String, core.dynamic>
            : null,
        activityType: json_.containsKey('activityType')
            ? json_['activityType'] as core.String
            : null,
        fullResourceName: json_.containsKey('fullResourceName')
            ? json_['fullResourceName'] as core.String
            : null,
        observationPeriod: json_.containsKey('observationPeriod')
            ? GoogleCloudPolicyanalyzerV1ObservationPeriod.fromJson(
                json_['observationPeriod']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );