Instance.fromJson constructor
Instance.fromJson(
- Map json_
Implementation
Instance.fromJson(core.Map json_)
: this(
accelerators: json_.containsKey('accelerators')
? (json_['accelerators'] as core.List)
.map((value) => Accelerator.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
apiEndpoint: json_.containsKey('apiEndpoint')
? json_['apiEndpoint'] as core.String
: null,
availableVersion: json_.containsKey('availableVersion')
? (json_['availableVersion'] as core.List)
.map((value) => Version.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
cryptoKeyConfig: json_.containsKey('cryptoKeyConfig')
? CryptoKeyConfig.fromJson(json_['cryptoKeyConfig']
as core.Map<core.String, core.dynamic>)
: null,
dataplexDataLineageIntegrationEnabled:
json_.containsKey('dataplexDataLineageIntegrationEnabled')
? json_['dataplexDataLineageIntegrationEnabled'] as core.bool
: null,
dataprocServiceAccount: json_.containsKey('dataprocServiceAccount')
? json_['dataprocServiceAccount'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
disabledReason: json_.containsKey('disabledReason')
? (json_['disabledReason'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
enableRbac: json_.containsKey('enableRbac')
? json_['enableRbac'] as core.bool
: null,
enableStackdriverLogging:
json_.containsKey('enableStackdriverLogging')
? json_['enableStackdriverLogging'] as core.bool
: null,
enableStackdriverMonitoring:
json_.containsKey('enableStackdriverMonitoring')
? json_['enableStackdriverMonitoring'] as core.bool
: null,
enableZoneSeparation: json_.containsKey('enableZoneSeparation')
? json_['enableZoneSeparation'] as core.bool
: null,
eventPublishConfig: json_.containsKey('eventPublishConfig')
? EventPublishConfig.fromJson(json_['eventPublishConfig']
as core.Map<core.String, core.dynamic>)
: null,
gcsBucket: json_.containsKey('gcsBucket')
? json_['gcsBucket'] as core.String
: null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
networkConfig: json_.containsKey('networkConfig')
? NetworkConfig.fromJson(
json_['networkConfig'] as core.Map<core.String, core.dynamic>)
: null,
options: json_.containsKey('options')
? (json_['options'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
p4ServiceAccount: json_.containsKey('p4ServiceAccount')
? json_['p4ServiceAccount'] as core.String
: null,
patchRevision: json_.containsKey('patchRevision')
? json_['patchRevision'] as core.String
: null,
privateInstance: json_.containsKey('privateInstance')
? json_['privateInstance'] as core.bool
: null,
satisfiesPzs: json_.containsKey('satisfiesPzs')
? json_['satisfiesPzs'] as core.bool
: null,
serviceAccount: json_.containsKey('serviceAccount')
? json_['serviceAccount'] as core.String
: null,
serviceEndpoint: json_.containsKey('serviceEndpoint')
? json_['serviceEndpoint'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
stateMessage: json_.containsKey('stateMessage')
? json_['stateMessage'] as core.String
: null,
tenantProjectId: json_.containsKey('tenantProjectId')
? json_['tenantProjectId'] as core.String
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
version: json_.containsKey('version')
? json_['version'] as core.String
: null,
workforceIdentityServiceEndpoint:
json_.containsKey('workforceIdentityServiceEndpoint')
? json_['workforceIdentityServiceEndpoint'] as core.String
: null,
zone: json_.containsKey('zone') ? json_['zone'] as core.String : null,
);