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.



4467
4468
4469
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4467

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)


4465
4466
4467
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4465

def publisher_model
  @publisher_model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4472
4473
4474
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4472

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