CreateCollectdTimeSeriesRequest.fromJson constructor
CreateCollectdTimeSeriesRequest.fromJson(
- Map json_
Implementation
CreateCollectdTimeSeriesRequest.fromJson(core.Map json_)
: this(
collectdPayloads: (json_['collectdPayloads'] as core.List?)
?.map((value) => CollectdPayload.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
collectdVersion: json_['collectdVersion'] as core.String?,
resource: json_.containsKey('resource')
? MonitoredResource.fromJson(
json_['resource'] as core.Map<core.String, core.dynamic>)
: null,
);