Cloud AI Platform v1 API - Class UndeployModelRequest (2.14.0)

public sealed class UndeployModelRequest : IMessage<UndeployModelRequest>, IEquatable<UndeployModelRequest>, IDeepCloneable<UndeployModelRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class UndeployModelRequest.

Request message for [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel].

Inheritance

object > UndeployModelRequest

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

UndeployModelRequest()

public UndeployModelRequest()

UndeployModelRequest(UndeployModelRequest)

public UndeployModelRequest(UndeployModelRequest other)
Parameter
NameDescription
otherUndeployModelRequest

Properties

DeployedModelId

public string DeployedModelId { get; set; }

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

Property Value
TypeDescription
string

Endpoint

public string Endpoint { get; set; }

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

Property Value
TypeDescription
string

EndpointAsEndpointName

public EndpointName EndpointAsEndpointName { get; set; }

EndpointName-typed view over the Endpoint resource name property.

Property Value
TypeDescription
EndpointName

TrafficSplit

public MapField<string, int> TrafficSplit { get; }

If this field is provided, then the Endpoint's [traffic_split][google.cloud.aiplatform.v1.Endpoint.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.

Property Value
TypeDescription
MapFieldstringint