AutoscalingPolicyCustomMetricUtilization.fromJson constructor
AutoscalingPolicyCustomMetricUtilization.fromJson(
- Map json_
Implementation
AutoscalingPolicyCustomMetricUtilization.fromJson(core.Map json_)
: this(
filter: json_.containsKey('filter')
? json_['filter'] as core.String
: null,
metric: json_.containsKey('metric')
? json_['metric'] as core.String
: null,
singleInstanceAssignment:
json_.containsKey('singleInstanceAssignment')
? (json_['singleInstanceAssignment'] as core.num).toDouble()
: null,
utilizationTarget: json_.containsKey('utilizationTarget')
? (json_['utilizationTarget'] as core.num).toDouble()
: null,
utilizationTargetType: json_.containsKey('utilizationTargetType')
? json_['utilizationTargetType'] as core.String
: null,
);