Class: Google::Cloud::AIPlatform::V1::DeployModelRequest

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

Defined Under Namespace

Classes: TrafficSplitEntry

Instance Attribute Summary collapse

Instance Attribute Details

#deployed_model::Google::Cloud::AIPlatform::V1::DeployedModel

Returns Required. The DeployedModel to be created within the Endpoint. Note that Endpoint.traffic_split must be updated for the DeployedModel to start receiving traffic, either as part of this call, or via EndpointService.UpdateEndpoint.

Returns:



204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb', line 204

class DeployModelRequest
  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 into which to deploy a Model. Format: projects/{project}/locations/{location}/endpoints/{endpoint}.

Returns:

  • (::String)

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



204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb', line 204

class DeployModelRequest
  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 A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.

If this field is non-empty, then the Endpoint's traffic_split will be overwritten with it. To refer to the ID of the just being deployed Model, a "0" should be used, and the actual ID of the new DeployedModel will be filled in its place by this method. The traffic percentage values must add up to 100.

If this field is empty, then the Endpoint's traffic_split is not updated.

Returns:

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

    A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.

    If this field is non-empty, then the Endpoint's traffic_split will be overwritten with it. To refer to the ID of the just being deployed Model, a "0" should be used, and the actual ID of the new DeployedModel will be filled in its place by this method. The traffic percentage values must add up to 100.

    If this field is empty, then the Endpoint's traffic_split is not updated.



204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb', line 204

class DeployModelRequest
  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