Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance
- 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
-
#project_number ⇒ Fixnum
The project number requesting access for named model.
-
#publisher_model ⇒ String
The publisher model resource name.
-
#publisher_model_eula_acked ⇒ Boolean
(also: #publisher_model_eula_acked?)
The EULA content acceptance status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance
constructor
A new instance of GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance
Returns a new instance of GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance.
41172 41173 41174 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41172 def initialize(**args) update!(**args) end |
Instance Attribute Details
#project_number ⇒ Fixnum
The project number requesting access for named model.
Corresponds to the JSON property projectNumber
41159 41160 41161 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41159 def project_number @project_number end |
#publisher_model ⇒ String
The publisher model resource name.
Corresponds to the JSON property publisherModel
41164 41165 41166 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41164 def publisher_model @publisher_model end |
#publisher_model_eula_acked ⇒ Boolean Also known as: publisher_model_eula_acked?
The EULA content acceptance status.
Corresponds to the JSON property publisherModelEulaAcked
41169 41170 41171 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41169 def publisher_model_eula_acked @publisher_model_eula_acked end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
41177 41178 41179 41180 41181 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41177 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 |