Class: Google::Cloud::AIPlatform::V1::UndeployModelRequest
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::UndeployModelRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb
Overview
Request message for EndpointService.UndeployModel.
Defined Under Namespace
Classes: TrafficSplitEntry
Instance Attribute Summary collapse
-
#deployed_model_id ⇒ ::String
Required.
-
#endpoint ⇒ ::String
Required.
-
#traffic_split ⇒ ::Google::Protobuf::Map{::String => ::Integer}
If this field is provided, then the Endpoint's traffic_split will be overwritten with it.
Instance Attribute Details
#deployed_model_id ⇒ ::String
Returns Required. The ID of the DeployedModel to be undeployed from the Endpoint.
227 228 229 230 231 232 233 234 235 236 237 238 239 |
# File 'proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb', line 227 class UndeployModelRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class TrafficSplitEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#endpoint ⇒ ::String
Returns Required. The name of the Endpoint resource from which to undeploy a Model.
Format:
projects/{project}/locations/{location}/endpoints/{endpoint}
.
227 228 229 230 231 232 233 234 235 236 237 238 239 |
# File 'proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb', line 227 class UndeployModelRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class TrafficSplitEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#traffic_split ⇒ ::Google::Protobuf::Map{::String => ::Integer}
Returns If this field is provided, then the Endpoint's traffic_split will be overwritten with it. If last DeployedModel is being undeployed from the Endpoint, the [Endpoint.traffic_split] will always end up empty when this call returns. A DeployedModel will be successfully undeployed only if it doesn't have any traffic assigned to it when this method executes, or if this field unassigns any traffic to it.
227 228 229 230 231 232 233 234 235 236 237 238 239 |
# File 'proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb', line 227 class UndeployModelRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class TrafficSplitEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |