AnalyzerOrgPolicyConstraint.fromJson constructor

AnalyzerOrgPolicyConstraint.fromJson(
  1. Map json_
)

Implementation

AnalyzerOrgPolicyConstraint.fromJson(core.Map json_)
    : this(
        customConstraint: json_.containsKey('customConstraint')
            ? GoogleCloudAssetV1CustomConstraint.fromJson(
                json_['customConstraint']
                    as core.Map<core.String, core.dynamic>)
            : null,
        googleDefinedConstraint: json_.containsKey('googleDefinedConstraint')
            ? GoogleCloudAssetV1Constraint.fromJson(
                json_['googleDefinedConstraint']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );