Class ProjectsResource.ConversationModelsResource.UndeployRequest
Undeploys a model. If the model is not deployed this method has no effect. If the model is currently
being used: - For article suggestion, article suggestion will fallback to the default model if model is
undeployed. This method is a long-running
operation. The returned
Operation
type has the following method-specific fields: - metadata
:
UndeployConversationModelOperationMetadata - response
: An Empty
message
Inheritance
ProjectsResource.ConversationModelsResource.UndeployRequest
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.ConversationModelsResource.UndeployRequest : DialogflowBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
UndeployRequest(IClientService, GoogleCloudDialogflowV2UndeployConversationModelRequest, string)
Constructs a new Undeploy request.
Declaration
public UndeployRequest(IClientService service, GoogleCloudDialogflowV2UndeployConversationModelRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDialogflowV2UndeployConversationModelRequest | body | |
string | name |
Properties
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
Name
Required. The conversation model to undeploy. Format: projects//conversationModels/
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
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 Undeploy parameter list.
Declaration
protected override void InitParameters()