GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment.fromJson constructor
GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment.fromJson(
- Map json_
Implementation
GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment.fromJson(
core.Map json_)
: this(
additionalExperiments: json_.containsKey('additionalExperiments')
? (json_['additionalExperiments'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
additionalUserLabels: json_.containsKey('additionalUserLabels')
? (json_['additionalUserLabels']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
enableStreamingEngine: json_.containsKey('enableStreamingEngine')
? json_['enableStreamingEngine'] as core.bool
: null,
flexrsGoal: json_.containsKey('flexrsGoal')
? json_['flexrsGoal'] as core.String
: null,
ipConfiguration: json_.containsKey('ipConfiguration')
? json_['ipConfiguration'] as core.String
: null,
kmsKeyName: json_.containsKey('kmsKeyName')
? json_['kmsKeyName'] as core.String
: null,
machineType: json_.containsKey('machineType')
? json_['machineType'] as core.String
: null,
maxWorkers: json_.containsKey('maxWorkers')
? json_['maxWorkers'] as core.int
: null,
network: json_.containsKey('network')
? json_['network'] as core.String
: null,
numWorkers: json_.containsKey('numWorkers')
? json_['numWorkers'] as core.int
: null,
serviceAccountEmail: json_.containsKey('serviceAccountEmail')
? json_['serviceAccountEmail'] as core.String
: null,
subnetwork: json_.containsKey('subnetwork')
? json_['subnetwork'] as core.String
: null,
tempLocation: json_.containsKey('tempLocation')
? json_['tempLocation'] as core.String
: null,
workerRegion: json_.containsKey('workerRegion')
? json_['workerRegion'] as core.String
: null,
workerZone: json_.containsKey('workerZone')
? json_['workerZone'] as core.String
: null,
zone: json_.containsKey('zone') ? json_['zone'] as core.String : null,
);