GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule.fromJson constructor

GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule.fromJson(core.Map json_)
  : this(
      allowAll: json_['allowAll'] as core.bool?,
      denyAll: json_['denyAll'] as core.bool?,
      enforce: json_['enforce'] as core.bool?,
      values:
          json_.containsKey('values')
              ? GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRuleStringValues.fromJson(
                json_['values'] as core.Map<core.String, core.dynamic>,
              )
              : null,
    );