Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest

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.CheckPublisherModelEula.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest

Returns a new instance of GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest.



9267
9268
9269
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9267

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

Instance Attribute Details

#publisher_modelString

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

Returns:

  • (String)


9265
9266
9267
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9265

def publisher_model
  @publisher_model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9272
9273
9274
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9272

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