Cloud AI Platform v1beta1 API - Class UndeployModelRequest (1.0.0-beta08)

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

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

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

Inheritance

object > UndeployModelRequest

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

UndeployModelRequest()

public UndeployModelRequest()

UndeployModelRequest(UndeployModelRequest)

public UndeployModelRequest(UndeployModelRequest other)
Parameter
Name Description
other UndeployModelRequest

Properties

DeployedModelId

public string DeployedModelId { get; set; }

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

Property Value
Type Description
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
Type Description
string

EndpointAsEndpointName

public EndpointName EndpointAsEndpointName { get; set; }

EndpointName-typed view over the Endpoint resource name property.

Property Value
Type Description
EndpointName

TrafficSplit

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

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