JobConfigurationQuery.fromJson constructor
JobConfigurationQuery.fromJson(
- Map json_
Implementation
JobConfigurationQuery.fromJson(core.Map json_)
: this(
allowLargeResults: json_.containsKey('allowLargeResults')
? json_['allowLargeResults'] as core.bool
: null,
clustering: json_.containsKey('clustering')
? Clustering.fromJson(
json_['clustering'] as core.Map<core.String, core.dynamic>)
: null,
connectionProperties: json_.containsKey('connectionProperties')
? (json_['connectionProperties'] as core.List)
.map((value) => ConnectionProperty.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
continuous: json_.containsKey('continuous')
? json_['continuous'] as core.bool
: null,
createDisposition: json_.containsKey('createDisposition')
? json_['createDisposition'] as core.String
: null,
createSession: json_.containsKey('createSession')
? json_['createSession'] as core.bool
: null,
defaultDataset: json_.containsKey('defaultDataset')
? DatasetReference.fromJson(json_['defaultDataset']
as core.Map<core.String, core.dynamic>)
: null,
destinationEncryptionConfiguration:
json_.containsKey('destinationEncryptionConfiguration')
? EncryptionConfiguration.fromJson(
json_['destinationEncryptionConfiguration']
as core.Map<core.String, core.dynamic>)
: null,
destinationTable: json_.containsKey('destinationTable')
? TableReference.fromJson(json_['destinationTable']
as core.Map<core.String, core.dynamic>)
: null,
flattenResults: json_.containsKey('flattenResults')
? json_['flattenResults'] as core.bool
: null,
maximumBillingTier: json_.containsKey('maximumBillingTier')
? json_['maximumBillingTier'] as core.int
: null,
maximumBytesBilled: json_.containsKey('maximumBytesBilled')
? json_['maximumBytesBilled'] as core.String
: null,
parameterMode: json_.containsKey('parameterMode')
? json_['parameterMode'] as core.String
: null,
preserveNulls: json_.containsKey('preserveNulls')
? json_['preserveNulls'] as core.bool
: null,
priority: json_.containsKey('priority')
? json_['priority'] as core.String
: null,
query:
json_.containsKey('query') ? json_['query'] as core.String : null,
queryParameters: json_.containsKey('queryParameters')
? (json_['queryParameters'] as core.List)
.map((value) => QueryParameter.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
rangePartitioning: json_.containsKey('rangePartitioning')
? RangePartitioning.fromJson(json_['rangePartitioning']
as core.Map<core.String, core.dynamic>)
: null,
schemaUpdateOptions: json_.containsKey('schemaUpdateOptions')
? (json_['schemaUpdateOptions'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
scriptOptions: json_.containsKey('scriptOptions')
? ScriptOptions.fromJson(
json_['scriptOptions'] as core.Map<core.String, core.dynamic>)
: null,
systemVariables: json_.containsKey('systemVariables')
? SystemVariables.fromJson(json_['systemVariables']
as core.Map<core.String, core.dynamic>)
: null,
tableDefinitions: json_.containsKey('tableDefinitions')
? (json_['tableDefinitions']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
ExternalDataConfiguration.fromJson(
value as core.Map<core.String, core.dynamic>),
),
)
: null,
timePartitioning: json_.containsKey('timePartitioning')
? TimePartitioning.fromJson(json_['timePartitioning']
as core.Map<core.String, core.dynamic>)
: null,
useLegacySql: json_.containsKey('useLegacySql')
? json_['useLegacySql'] as core.bool
: null,
useQueryCache: json_.containsKey('useQueryCache')
? json_['useQueryCache'] as core.bool
: null,
userDefinedFunctionResources:
json_.containsKey('userDefinedFunctionResources')
? (json_['userDefinedFunctionResources'] as core.List)
.map((value) => UserDefinedFunctionResource.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
writeDisposition: json_.containsKey('writeDisposition')
? json_['writeDisposition'] as core.String
: null,
);