LogSink.fromJson constructor
LogSink.fromJson(
- Map json_
Implementation
LogSink.fromJson(core.Map json_)
: this(
bigqueryOptions: json_.containsKey('bigqueryOptions')
? BigQueryOptions.fromJson(json_['bigqueryOptions']
as core.Map<core.String, core.dynamic>)
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
destination: json_.containsKey('destination')
? json_['destination'] as core.String
: null,
disabled: json_.containsKey('disabled')
? json_['disabled'] as core.bool
: null,
exclusions: json_.containsKey('exclusions')
? (json_['exclusions'] as core.List)
.map((value) => LogExclusion.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
filter: json_.containsKey('filter')
? json_['filter'] as core.String
: null,
includeChildren: json_.containsKey('includeChildren')
? json_['includeChildren'] as core.bool
: null,
interceptChildren: json_.containsKey('interceptChildren')
? json_['interceptChildren'] as core.bool
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
outputVersionFormat: json_.containsKey('outputVersionFormat')
? json_['outputVersionFormat'] as core.String
: null,
resourceName: json_.containsKey('resourceName')
? json_['resourceName'] as core.String
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
writerIdentity: json_.containsKey('writerIdentity')
? json_['writerIdentity'] as core.String
: null,
);