GoogleCloudDataplexV1Environment.fromJson constructor
GoogleCloudDataplexV1Environment.fromJson(
- Map json_
Implementation
GoogleCloudDataplexV1Environment.fromJson(core.Map json_)
: this(
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
endpoints: json_.containsKey('endpoints')
? GoogleCloudDataplexV1EnvironmentEndpoints.fromJson(
json_['endpoints'] as core.Map<core.String, core.dynamic>)
: null,
infrastructureSpec: json_.containsKey('infrastructureSpec')
? GoogleCloudDataplexV1EnvironmentInfrastructureSpec.fromJson(
json_['infrastructureSpec']
as core.Map<core.String, core.dynamic>)
: 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,
sessionSpec: json_.containsKey('sessionSpec')
? GoogleCloudDataplexV1EnvironmentSessionSpec.fromJson(
json_['sessionSpec'] as core.Map<core.String, core.dynamic>)
: null,
sessionStatus: json_.containsKey('sessionStatus')
? GoogleCloudDataplexV1EnvironmentSessionStatus.fromJson(
json_['sessionStatus'] as core.Map<core.String, core.dynamic>)
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);