GoogleCloudAiplatformV1AutoscalingMetricSpec.fromJson constructor

GoogleCloudAiplatformV1AutoscalingMetricSpec.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1AutoscalingMetricSpec.fromJson(core.Map json_)
    : this(
        metricName: json_.containsKey('metricName')
            ? json_['metricName'] as core.String
            : null,
        target:
            json_.containsKey('target') ? json_['target'] as core.int : null,
      );