Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnableModelRequest

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

Overview

Request message for ModelGardenService.EnableModel.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1EnableModelRequest

Returns a new instance of GoogleCloudAiplatformV1beta1EnableModelRequest.



9618
9619
9620
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9618

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

Instance Attribute Details

#serviceString

Optional. The ID links the Marketplace listing to the underlying Vertex AI model endpoint. Format: services/service_idFormat: `services/`service_id Corresponds to the JSON property service

Returns:

  • (String)


9616
9617
9618
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9616

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9623
9624
9625
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9623

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