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.



7416
7417
7418
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7416

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)


7401
7402
7403
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7401

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)


7407
7408
7409
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7407

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)


7414
7415
7416
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7414

def publisher_model
  @publisher_model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7421
7422
7423
7424
7425
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7421

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