ConsumerConfig.fromJson constructor
ConsumerConfig.fromJson(
- Map json_
Implementation
ConsumerConfig.fromJson(core.Map json_)
: this(
cloudsqlConfigs: json_.containsKey('cloudsqlConfigs')
? (json_['cloudsqlConfigs'] as core.List)
.map((value) => CloudSQLConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
consumerExportCustomRoutes:
json_.containsKey('consumerExportCustomRoutes')
? json_['consumerExportCustomRoutes'] as core.bool
: null,
consumerExportSubnetRoutesWithPublicIp:
json_.containsKey('consumerExportSubnetRoutesWithPublicIp')
? json_['consumerExportSubnetRoutesWithPublicIp'] as core.bool
: null,
consumerImportCustomRoutes:
json_.containsKey('consumerImportCustomRoutes')
? json_['consumerImportCustomRoutes'] as core.bool
: null,
consumerImportSubnetRoutesWithPublicIp:
json_.containsKey('consumerImportSubnetRoutesWithPublicIp')
? json_['consumerImportSubnetRoutesWithPublicIp'] as core.bool
: null,
producerExportCustomRoutes:
json_.containsKey('producerExportCustomRoutes')
? json_['producerExportCustomRoutes'] as core.bool
: null,
producerExportSubnetRoutesWithPublicIp:
json_.containsKey('producerExportSubnetRoutesWithPublicIp')
? json_['producerExportSubnetRoutesWithPublicIp'] as core.bool
: null,
producerImportCustomRoutes:
json_.containsKey('producerImportCustomRoutes')
? json_['producerImportCustomRoutes'] as core.bool
: null,
producerImportSubnetRoutesWithPublicIp:
json_.containsKey('producerImportSubnetRoutesWithPublicIp')
? json_['producerImportSubnetRoutesWithPublicIp'] as core.bool
: null,
producerNetwork: json_.containsKey('producerNetwork')
? json_['producerNetwork'] as core.String
: null,
reservedRanges: json_.containsKey('reservedRanges')
? (json_['reservedRanges'] as core.List)
.map((value) =>
GoogleCloudServicenetworkingV1ConsumerConfigReservedRange
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
usedIpRanges: json_.containsKey('usedIpRanges')
? (json_['usedIpRanges'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
vpcScReferenceArchitectureEnabled:
json_.containsKey('vpcScReferenceArchitectureEnabled')
? json_['vpcScReferenceArchitectureEnabled'] as core.bool
: null,
);