Class ProjectsResource.ConversationModelsResource.DeployRequest
Deploys a model. If a model is already deployed, deploying it has no effect. A model can only serve
prediction requests after it gets deployed. For article suggestion, custom model will not be used unless
it is deployed. This method is a long-running
operation. The returned
Operation
type has the following method-specific fields: - metadata
:
DeployConversationModelOperationMetadata - response
: An Empty
message
Inheritance
ProjectsResource.ConversationModelsResource.DeployRequest
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.ConversationModelsResource.DeployRequest : DialogflowBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
DeployRequest(IClientService, GoogleCloudDialogflowV2DeployConversationModelRequest, string)
Constructs a new Deploy request.
Declaration
public DeployRequest(IClientService service, GoogleCloudDialogflowV2DeployConversationModelRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDialogflowV2DeployConversationModelRequest | 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 deploy. 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 Deploy parameter list.
Declaration
protected override void InitParameters()