UndeployModelRequest class final
Request message for
EndpointService.UndeployModel.
- Inheritance
-
- Object
- ProtoMessage
- UndeployModelRequest
Constructors
-
UndeployModelRequest({required String endpoint, required String deployedModelId, Map<
String, int> trafficSplit = const {}}) -
UndeployModelRequest.fromJson(Map<
String, dynamic> json) -
factory
Properties
- deployedModelId → String
-
Required. The ID of the DeployedModel to be undeployed from the Endpoint.
final
- endpoint → String
-
Required. The name of the Endpoint resource from which to undeploy 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> -
If this field is provided, then the Endpoint's
traffic_splitwill be overwritten with it. If last DeployedModel is being undeployed from the Endpoint, theEndpoint.traffic_splitwill 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.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