Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AgentsResource.FlowsResource

The "flows" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.AgentsResource.FlowsResource
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.v3beta1
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.FlowsResource

Constructors

FlowsResource(IClientService)

Constructs a new resource.

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

Properties

Pages

Gets the Pages resource.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.PagesResource Pages { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.PagesResource

TransitionRouteGroups

Gets the TransitionRouteGroups resource.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.TransitionRouteGroupsResource TransitionRouteGroups { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.TransitionRouteGroupsResource

Versions

Gets the Versions resource.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource Versions { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.VersionsResource

Methods

Create(GoogleCloudDialogflowCxV3beta1Flow, string)

Creates a flow in the specified agent. Note: You should always train a flow prior to sending it queries. See the training documentation.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.CreateRequest Create(GoogleCloudDialogflowCxV3beta1Flow body, string parent)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3beta1Flow body

The body of the request.

string parent

Required. The agent to create a flow for. Format: projects//locations//agents/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.CreateRequest

Delete(string)

Deletes a specified flow.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the flow to delete. Format: projects//locations//agents//flows/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.DeleteRequest

Export(GoogleCloudDialogflowCxV3beta1ExportFlowRequest, string)

Exports the specified flow to a binary file. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: ExportFlowResponse Note that resources (e.g. intents, entities, webhooks) that the flow references will also be exported.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.ExportRequest Export(GoogleCloudDialogflowCxV3beta1ExportFlowRequest body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3beta1ExportFlowRequest body

The body of the request.

string name

Required. The name of the flow to export. Format: projects//locations//agents//flows/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.ExportRequest

Get(string)

Retrieves the specified flow.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the flow to get. Format: projects//locations//agents//flows/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.GetRequest

GetValidationResult(string)

Gets the latest flow validation result. Flow validation is performed when ValidateFlow is called.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.GetValidationResultRequest GetValidationResult(string name)
Parameters
Type Name Description
string name

Required. The flow name. Format: projects//locations//agents//flows//validationResult.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.GetValidationResultRequest

Import(GoogleCloudDialogflowCxV3beta1ImportFlowRequest, string)

Imports the specified flow to the specified agent from a binary file. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: ImportFlowResponse Note: You should always train a flow prior to sending it queries. See the training documentation.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.ImportRequest Import(GoogleCloudDialogflowCxV3beta1ImportFlowRequest body, string parent)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3beta1ImportFlowRequest body

The body of the request.

string parent

Required. The agent to import the flow into. Format: projects//locations//agents/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.ImportRequest

List(string)

Returns the list of all flows in the specified agent.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The agent containing the flows. Format: projects//locations//agents/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.ListRequest

Patch(GoogleCloudDialogflowCxV3beta1Flow, string)

Updates the specified flow. Note: You should always train a flow prior to sending it queries. See the training documentation.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.PatchRequest Patch(GoogleCloudDialogflowCxV3beta1Flow body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3beta1Flow body

The body of the request.

string name

The unique identifier of the flow. Format: projects//locations//agents//flows/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.PatchRequest

Train(GoogleCloudDialogflowCxV3beta1TrainFlowRequest, string)

Trains the specified flow. Note that only the flow in 'draft' environment is trained. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message Note: You should always train a flow prior to sending it queries. See the training documentation.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.TrainRequest Train(GoogleCloudDialogflowCxV3beta1TrainFlowRequest body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3beta1TrainFlowRequest body

The body of the request.

string name

Required. The flow to train. Format: projects//locations//agents//flows/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.TrainRequest

Validate(GoogleCloudDialogflowCxV3beta1ValidateFlowRequest, string)

Validates the specified flow and creates or updates validation results. Please call this API after the training is completed to get the complete validation results.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.FlowsResource.ValidateRequest Validate(GoogleCloudDialogflowCxV3beta1ValidateFlowRequest body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3beta1ValidateFlowRequest body

The body of the request.

string name

Required. The flow to validate. Format: projects//locations//agents//flows/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.ValidateRequest
In this article
Back to top Generated by DocFX