Class ProjectsResource.LocationsResource.EndpointsResource.UndeployModelRequest
Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using.
Inheritance
ProjectsResource.LocationsResource.EndpointsResource.UndeployModelRequest
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.EndpointsResource.UndeployModelRequest : AiplatformBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
UndeployModelRequest(IClientService, GoogleCloudAiplatformV1beta1UndeployModelRequest, string)
Constructs a new UndeployModel request.
Declaration
public UndeployModelRequest(IClientService service, GoogleCloudAiplatformV1beta1UndeployModelRequest body, string endpoint)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudAiplatformV1beta1UndeployModelRequest | body | |
string | endpoint |
Properties
Endpoint
Required. The name of the Endpoint resource from which to undeploy a Model. Format:
projects/{project}/locations/{location}/endpoints/{endpoint}
Declaration
[RequestParameter("endpoint", RequestParameterType.Path)]
public virtual string Endpoint { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes UndeployModel parameter list.
Declaration
protected override void InitParameters()