GoogleCloudDatacatalogV1beta1UsageStats.fromJson constructor
GoogleCloudDatacatalogV1beta1UsageStats.fromJson(
- Map _json
Implementation
GoogleCloudDatacatalogV1beta1UsageStats.fromJson(core.Map _json)
: this(
totalCancellations: _json.containsKey('totalCancellations')
? (_json['totalCancellations'] as core.num).toDouble()
: null,
totalCompletions: _json.containsKey('totalCompletions')
? (_json['totalCompletions'] as core.num).toDouble()
: null,
totalExecutionTimeForCompletionsMillis: _json
.containsKey('totalExecutionTimeForCompletionsMillis')
? (_json['totalExecutionTimeForCompletionsMillis'] as core.num)
.toDouble()
: null,
totalFailures: _json.containsKey('totalFailures')
? (_json['totalFailures'] as core.num).toDouble()
: null,
);