Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Response message for ModelGardenService.Deploy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1DeployResponse

Returns a new instance of GoogleCloudAiplatformV1DeployResponse.



6425
6426
6427
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6425

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#endpointString

Output only. The name of the Endpoint created. Format: projects/project/ locations/location/endpoints/endpoint` Corresponds to the JSON propertyendpoint`

Returns:

  • (String)


6410
6411
6412
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6410

def endpoint
  @endpoint
end

#modelString

Output only. The name of the Model created. Format: projects/project/ locations/location/models/model` Corresponds to the JSON propertymodel`

Returns:

  • (String)


6416
6417
6418
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6416

def model
  @model
end

#publisher_modelString

Output only. The name of the PublisherModel resource. Format: publishers/ publisher/models/publisher_model@version_id`, orpublishers/hf-hugging- face-author/models/hugging-face-model-name@001 Corresponds to the JSON propertypublisherModel`

Returns:

  • (String)


6423
6424
6425
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6423

def publisher_model
  @publisher_model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6430
6431
6432
6433
6434
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6430

def update!(**args)
  @endpoint = args[:endpoint] if args.key?(:endpoint)
  @model = args[:model] if args.key?(:model)
  @publisher_model = args[:publisher_model] if args.key?(:publisher_model)
end