Class: Google::Cloud::AIPlatform::V1::UndeployModelRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#deployed_model_id::String

Returns Required. The ID of the DeployedModel to be undeployed from the Endpoint.

Returns:

  • (::String)

    Required. The ID of the DeployedModel to be undeployed from the Endpoint.



257
258
259
260
261
262
263
264
265
266
267
268
269
# File 'proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb', line 257

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}.

Returns:

  • (::String)

    Required. The name of the Endpoint resource from which to undeploy a Model. Format: projects/{project}/locations/{location}/endpoints/{endpoint}



257
258
259
260
261
262
263
264
265
266
267
268
269
# File 'proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb', line 257

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.

Returns:

  • (::Google::Protobuf::Map{::String => ::Integer})

    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.



257
258
259
260
261
262
263
264
265
266
267
268
269
# File 'proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb', line 257

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