Show / Hide Table of Contents

Class ProjectsResource.ConversationModelsResource

The "conversationModels" collection of methods.

Inheritance
object
ProjectsResource.ConversationModelsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.ConversationModelsResource

Constructors

ConversationModelsResource(IClientService)

Constructs a new resource.

Declaration
public ConversationModelsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Evaluations

Gets the Evaluations resource.

Declaration
public virtual ProjectsResource.ConversationModelsResource.EvaluationsResource Evaluations { get; }
Property Value
Type Description
ProjectsResource.ConversationModelsResource.EvaluationsResource

Methods

Create(GoogleCloudDialogflowV2ConversationModel, string)

Creates a model. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: CreateConversationModelOperationMetadata - response: ConversationModel

Declaration
public virtual ProjectsResource.ConversationModelsResource.CreateRequest Create(GoogleCloudDialogflowV2ConversationModel body, string parent)
Parameters
Type Name Description
GoogleCloudDialogflowV2ConversationModel body

The body of the request.

string parent

The project to create conversation model for. Format: projects/

Returns
Type Description
ProjectsResource.ConversationModelsResource.CreateRequest

Delete(string)

Deletes a model. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: DeleteConversationModelOperationMetadata - response: An Empty message

Declaration
public virtual ProjectsResource.ConversationModelsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The conversation model to delete. Format: projects//conversationModels/

Returns
Type Description
ProjectsResource.ConversationModelsResource.DeleteRequest

Deploy(GoogleCloudDialogflowV2DeployConversationModelRequest, string)

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

Declaration
public virtual ProjectsResource.ConversationModelsResource.DeployRequest Deploy(GoogleCloudDialogflowV2DeployConversationModelRequest body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowV2DeployConversationModelRequest body

The body of the request.

string name

Required. The conversation model to deploy. Format: projects//conversationModels/

Returns
Type Description
ProjectsResource.ConversationModelsResource.DeployRequest

Get(string)

Gets conversation model.

Declaration
public virtual ProjectsResource.ConversationModelsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The conversation model to retrieve. Format: projects//conversationModels/

Returns
Type Description
ProjectsResource.ConversationModelsResource.GetRequest

List(string)

Lists conversation models.

Declaration
public virtual ProjectsResource.ConversationModelsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The project to list all conversation models for. Format: projects/

Returns
Type Description
ProjectsResource.ConversationModelsResource.ListRequest

Undeploy(GoogleCloudDialogflowV2UndeployConversationModelRequest, string)

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

Declaration
public virtual ProjectsResource.ConversationModelsResource.UndeployRequest Undeploy(GoogleCloudDialogflowV2UndeployConversationModelRequest body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowV2UndeployConversationModelRequest body

The body of the request.

string name

Required. The conversation model to undeploy. Format: projects//conversationModels/

Returns
Type Description
ProjectsResource.ConversationModelsResource.UndeployRequest
In this article
Back to top Generated by DocFX