Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest
- 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.CheckPublisherModelEula.
Instance Attribute Summary collapse
-
#publisher_model ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest
constructor
A new instance of GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest
Returns a new instance of GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest.
10612 10613 10614 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10612 def initialize(**args) update!(**args) end |
Instance Attribute Details
#publisher_model ⇒ String
Required. The name of the PublisherModel resource. Format: publishers/
publisher/models/publisher_model, or `publishers/hf-`hugging-face-author`/
models/`hugging-face-model-name
Corresponds to the JSON property publisherModel
10610 10611 10612 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10610 def publisher_model @publisher_model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10617 10618 10619 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10617 def update!(**args) @publisher_model = args[:publisher_model] if args.key?(:publisher_model) end |