DeployModelRequest class final
Request message for
EndpointService.DeployModel.
- Inheritance
-
- Object
- ProtoMessage
- DeployModelRequest
Constructors
-
DeployModelRequest({required String endpoint, required DeployedModel? deployedModel, Map<
String, int> trafficSplit = const {}}) -
DeployModelRequest.fromJson(Map<
String, dynamic> json) -
factory
Properties
- deployedModel → DeployedModel?
-
Required. The DeployedModel to be created within the Endpoint. Note that
Endpoint.traffic_splitmust be updated for the DeployedModel to start receiving traffic, either as part of this call, or viaEndpointService.UpdateEndpoint.final - endpoint → String
-
Required. The name of the Endpoint resource into which to deploy a Model.
Format:
projects/{project}/locations/{location}/endpoints/{endpoint}final - hashCode → int
-
The hash code for this object.
no setterinherited
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
trafficSplit
→ Map<
String, int> -
A map from a DeployedModel's ID to the percentage of this Endpoint's
traffic that should be forwarded to that DeployedModel.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String