GoogleCloudOrgpolicyV2Policy.fromJson constructor
GoogleCloudOrgpolicyV2Policy.fromJson(
- Map json_
Implementation
GoogleCloudOrgpolicyV2Policy.fromJson(core.Map json_)
: this(
alternate: json_.containsKey('alternate')
? GoogleCloudOrgpolicyV2AlternatePolicySpec.fromJson(
json_['alternate'] as core.Map<core.String, core.dynamic>)
: null,
dryRunSpec: json_.containsKey('dryRunSpec')
? GoogleCloudOrgpolicyV2PolicySpec.fromJson(
json_['dryRunSpec'] as core.Map<core.String, core.dynamic>)
: null,
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
spec: json_.containsKey('spec')
? GoogleCloudOrgpolicyV2PolicySpec.fromJson(
json_['spec'] as core.Map<core.String, core.dynamic>)
: null,
);