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.



35584
35585
35586
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35584

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)


35571
35572
35573
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35571

def project_number
  @project_number
end

#publisher_modelString

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

Returns:

  • (String)


35576
35577
35578
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35576

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)


35581
35582
35583
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35581

def publisher_model_eula_acked
  @publisher_model_eula_acked
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35589
35590
35591
35592
35593
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35589

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