GoogleCloudConnectorsV1Connection.fromJson constructor
GoogleCloudConnectorsV1Connection.fromJson(
- Map json_
Implementation
GoogleCloudConnectorsV1Connection.fromJson(core.Map json_)
: this(
authConfig: json_.containsKey('authConfig')
? GoogleCloudConnectorsV1AuthConfig.fromJson(
json_['authConfig'] as core.Map<core.String, core.dynamic>)
: null,
billingConfig: json_.containsKey('billingConfig')
? GoogleCloudConnectorsV1BillingConfig.fromJson(
json_['billingConfig'] as core.Map<core.String, core.dynamic>)
: null,
configVariables: json_.containsKey('configVariables')
? (json_['configVariables'] as core.List)
.map((value) =>
GoogleCloudConnectorsV1ConfigVariable.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
connectionRevision: json_.containsKey('connectionRevision')
? json_['connectionRevision'] as core.String
: null,
connectorVersion: json_.containsKey('connectorVersion')
? json_['connectorVersion'] as core.String
: null,
connectorVersionInfraConfig:
json_.containsKey('connectorVersionInfraConfig')
? GoogleCloudConnectorsV1ConnectorVersionInfraConfig.fromJson(
json_['connectorVersionInfraConfig']
as core.Map<core.String, core.dynamic>)
: null,
connectorVersionLaunchStage:
json_.containsKey('connectorVersionLaunchStage')
? json_['connectorVersionLaunchStage'] as core.String
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
destinationConfigs: json_.containsKey('destinationConfigs')
? (json_['destinationConfigs'] as core.List)
.map((value) =>
GoogleCloudConnectorsV1DestinationConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
envoyImageLocation: json_.containsKey('envoyImageLocation')
? json_['envoyImageLocation'] as core.String
: null,
eventingConfig: json_.containsKey('eventingConfig')
? GoogleCloudConnectorsV1EventingConfig.fromJson(
json_['eventingConfig']
as core.Map<core.String, core.dynamic>)
: null,
eventingEnablementType: json_.containsKey('eventingEnablementType')
? json_['eventingEnablementType'] as core.String
: null,
eventingRuntimeData: json_.containsKey('eventingRuntimeData')
? GoogleCloudConnectorsV1EventingRuntimeData.fromJson(
json_['eventingRuntimeData']
as core.Map<core.String, core.dynamic>)
: null,
imageLocation: json_.containsKey('imageLocation')
? json_['imageLocation'] as core.String
: null,
isTrustedTester: json_.containsKey('isTrustedTester')
? json_['isTrustedTester'] as core.bool
: 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,
lockConfig: json_.containsKey('lockConfig')
? GoogleCloudConnectorsV1LockConfig.fromJson(
json_['lockConfig'] as core.Map<core.String, core.dynamic>)
: null,
logConfig: json_.containsKey('logConfig')
? GoogleCloudConnectorsV1LogConfig.fromJson(
json_['logConfig'] as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
nodeConfig: json_.containsKey('nodeConfig')
? GoogleCloudConnectorsV1NodeConfig.fromJson(
json_['nodeConfig'] as core.Map<core.String, core.dynamic>)
: null,
serviceAccount: json_.containsKey('serviceAccount')
? json_['serviceAccount'] as core.String
: null,
serviceDirectory: json_.containsKey('serviceDirectory')
? json_['serviceDirectory'] as core.String
: null,
sslConfig: json_.containsKey('sslConfig')
? GoogleCloudConnectorsV1SslConfig.fromJson(
json_['sslConfig'] as core.Map<core.String, core.dynamic>)
: null,
status: json_.containsKey('status')
? GoogleCloudConnectorsV1ConnectionStatus.fromJson(
json_['status'] as core.Map<core.String, core.dynamic>)
: null,
subscriptionType: json_.containsKey('subscriptionType')
? json_['subscriptionType'] as core.String
: null,
suspended: json_.containsKey('suspended')
? json_['suspended'] as core.bool
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);