GoogleCloudDataplexV1TaskSparkTaskConfig.fromJson constructor
GoogleCloudDataplexV1TaskSparkTaskConfig.fromJson(
- Map json_
Implementation
GoogleCloudDataplexV1TaskSparkTaskConfig.fromJson(core.Map json_)
: this(
archiveUris: json_.containsKey('archiveUris')
? (json_['archiveUris'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
fileUris: json_.containsKey('fileUris')
? (json_['fileUris'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
infrastructureSpec: json_.containsKey('infrastructureSpec')
? GoogleCloudDataplexV1TaskInfrastructureSpec.fromJson(
json_['infrastructureSpec']
as core.Map<core.String, core.dynamic>)
: null,
mainClass: json_.containsKey('mainClass')
? json_['mainClass'] as core.String
: null,
mainJarFileUri: json_.containsKey('mainJarFileUri')
? json_['mainJarFileUri'] as core.String
: null,
pythonScriptFile: json_.containsKey('pythonScriptFile')
? json_['pythonScriptFile'] as core.String
: null,
sqlScript: json_.containsKey('sqlScript')
? json_['sqlScript'] as core.String
: null,
sqlScriptFile: json_.containsKey('sqlScriptFile')
? json_['sqlScriptFile'] as core.String
: null,
);