Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest
- 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.AcceptPublisherModelEula.
Instance Attribute Summary collapse
-
#publisher_model ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest
constructor
A new instance of GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest
Returns a new instance of GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest.
900 901 902 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 900 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
898 899 900 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 898 def publisher_model @publisher_model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
905 906 907 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 905 def update!(**args) @publisher_model = args[:publisher_model] if args.key?(:publisher_model) end |