GoogleCloudAiplatformV1ExplainRequest.fromJson constructor

GoogleCloudAiplatformV1ExplainRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ExplainRequest.fromJson(core.Map json_)
    : this(
        deployedModelId: json_.containsKey('deployedModelId')
            ? json_['deployedModelId'] as core.String
            : null,
        explanationSpecOverride: json_.containsKey('explanationSpecOverride')
            ? GoogleCloudAiplatformV1ExplanationSpecOverride.fromJson(
                json_['explanationSpecOverride']
                    as core.Map<core.String, core.dynamic>)
            : null,
        instances: json_.containsKey('instances')
            ? json_['instances'] as core.List
            : null,
        parameters:
            json_.containsKey('parameters') ? json_['parameters'] : null,
      );