GoogleCloudAiplatformV1PublisherModelCallToActionDeploy.fromJson constructor
GoogleCloudAiplatformV1PublisherModelCallToActionDeploy.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1PublisherModelCallToActionDeploy.fromJson(
core.Map json_)
: this(
artifactUri: json_.containsKey('artifactUri')
? json_['artifactUri'] as core.String
: null,
automaticResources: json_.containsKey('automaticResources')
? GoogleCloudAiplatformV1AutomaticResources.fromJson(
json_['automaticResources']
as core.Map<core.String, core.dynamic>)
: null,
containerSpec: json_.containsKey('containerSpec')
? GoogleCloudAiplatformV1ModelContainerSpec.fromJson(
json_['containerSpec'] as core.Map<core.String, core.dynamic>)
: null,
dedicatedResources: json_.containsKey('dedicatedResources')
? GoogleCloudAiplatformV1DedicatedResources.fromJson(
json_['dedicatedResources']
as core.Map<core.String, core.dynamic>)
: null,
deployTaskName: json_.containsKey('deployTaskName')
? json_['deployTaskName'] as core.String
: null,
largeModelReference: json_.containsKey('largeModelReference')
? GoogleCloudAiplatformV1LargeModelReference.fromJson(
json_['largeModelReference']
as core.Map<core.String, core.dynamic>)
: null,
modelDisplayName: json_.containsKey('modelDisplayName')
? json_['modelDisplayName'] as core.String
: null,
publicArtifactUri: json_.containsKey('publicArtifactUri')
? json_['publicArtifactUri'] as core.String
: null,
sharedResources: json_.containsKey('sharedResources')
? json_['sharedResources'] as core.String
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
);