Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnableModelResponse
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnableModelResponse
- 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.EnableModel.
Instance Attribute Summary collapse
-
#enablement_state ⇒ String
Output only.
-
#publisher_endpoint ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1EnableModelResponse
constructor
A new instance of GoogleCloudAiplatformV1beta1EnableModelResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1EnableModelResponse
Returns a new instance of GoogleCloudAiplatformV1beta1EnableModelResponse.
15761 15762 15763 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15761 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enablement_state ⇒ String
Output only. The result of the model enablement.
Corresponds to the JSON property enablementState
15752 15753 15754 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15752 def enablement_state @enablement_state end |
#publisher_endpoint ⇒ String
Output only. The publisher endpoint that the project is enabled for. Format:
projects/project/locations/location/publishers/publisher/models/
publisher_model`
Corresponds to the JSON propertypublisherEndpoint`
15759 15760 15761 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15759 def publisher_endpoint @publisher_endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15766 15767 15768 15769 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15766 def update!(**args) @enablement_state = args[:enablement_state] if args.key?(:enablement_state) @publisher_endpoint = args[:publisher_endpoint] if args.key?(:publisher_endpoint) end |