Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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_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)


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