GoogleCloudOrgpolicyV2PolicySpec.fromJson constructor

GoogleCloudOrgpolicyV2PolicySpec.fromJson(
  1. Map json_
)

Implementation

GoogleCloudOrgpolicyV2PolicySpec.fromJson(core.Map json_)
    : this(
        etag: json_['etag'] as core.String?,
        inheritFromParent: json_['inheritFromParent'] as core.bool?,
        reset: json_['reset'] as core.bool?,
        rules: (json_['rules'] as core.List?)
            ?.map((value) =>
                GoogleCloudOrgpolicyV2PolicySpecPolicyRule.fromJson(
                    value as core.Map<core.String, core.dynamic>))
            .toList(),
        updateTime: json_['updateTime'] as core.String?,
      );