OrgPolicyConstraint.fromJson constructor

OrgPolicyConstraint.fromJson(
  1. Map json_
)

Implementation

OrgPolicyConstraint.fromJson(core.Map json_)
  : this(
      cannedConstraintId: json_['cannedConstraintId'] as core.String?,
      policyRules: (json_['policyRules'] as core.List?)
          ?.map(
            (value) => GoogleCloudSecuritypostureV1PolicyRule.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
    );