GoogleCloudOrgpolicyV2PolicySpecPolicyRule.fromJson constructor

GoogleCloudOrgpolicyV2PolicySpecPolicyRule.fromJson(
  1. Map json_
)

Implementation

GoogleCloudOrgpolicyV2PolicySpecPolicyRule.fromJson(core.Map json_)
    : this(
        allowAll: json_['allowAll'] as core.bool?,
        condition: json_.containsKey('condition')
            ? GoogleTypeExpr.fromJson(
                json_['condition'] as core.Map<core.String, core.dynamic>)
            : null,
        denyAll: json_['denyAll'] as core.bool?,
        enforce: json_['enforce'] as core.bool?,
        parameters: json_.containsKey('parameters')
            ? json_['parameters'] as core.Map<core.String, core.dynamic>
            : null,
        values: json_.containsKey('values')
            ? GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues.fromJson(
                json_['values'] as core.Map<core.String, core.dynamic>)
            : null,
      );