Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance

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

Response message for ModelGardenService.UpdatePublisherModelEula.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance

Returns a new instance of GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance.



44385
44386
44387
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 44385

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

Instance Attribute Details

#project_numberFixnum

The project number requesting access for named model. Corresponds to the JSON property projectNumber

Returns:

  • (Fixnum)


44372
44373
44374
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 44372

def project_number
  @project_number
end

#publisher_modelString

The publisher model resource name. Corresponds to the JSON property publisherModel

Returns:

  • (String)


44377
44378
44379
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 44377

def publisher_model
  @publisher_model
end

#publisher_model_eula_ackedBoolean Also known as: publisher_model_eula_acked?

The EULA content acceptance status. Corresponds to the JSON property publisherModelEulaAcked

Returns:

  • (Boolean)


44382
44383
44384
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 44382

def publisher_model_eula_acked
  @publisher_model_eula_acked
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44390
44391
44392
44393
44394
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 44390

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