Class ProjectsResource.LocationsResource.AgentsResource.FlowsResource
The "flows" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v3
Assembly: Google.Apis.Dialogflow.v3.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(GoogleCloudDialogflowCxV3Flow, 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(GoogleCloudDialogflowCxV3Flow body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3Flow | body | The body of the request. |
string | parent | Required. The agent to create a flow for. Format: |
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: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.DeleteRequest |
Export(GoogleCloudDialogflowCxV3ExportFlowRequest, 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(GoogleCloudDialogflowCxV3ExportFlowRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3ExportFlowRequest | body | The body of the request. |
string | name | Required. The name of the flow to export. Format: |
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: |
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: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.GetValidationResultRequest |
Import(GoogleCloudDialogflowCxV3ImportFlowRequest, 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(GoogleCloudDialogflowCxV3ImportFlowRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3ImportFlowRequest | body | The body of the request. |
string | parent | Required. The agent to import the flow into. Format: |
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: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.ListRequest |
Patch(GoogleCloudDialogflowCxV3Flow, 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(GoogleCloudDialogflowCxV3Flow body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3Flow | body | The body of the request. |
string | name | The unique identifier of the flow. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.PatchRequest |
Train(GoogleCloudDialogflowCxV3TrainFlowRequest, 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(GoogleCloudDialogflowCxV3TrainFlowRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3TrainFlowRequest | body | The body of the request. |
string | name | Required. The flow to train. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.TrainRequest |
Validate(GoogleCloudDialogflowCxV3ValidateFlowRequest, 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(GoogleCloudDialogflowCxV3ValidateFlowRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3ValidateFlowRequest | body | The body of the request. |
string | name | Required. The flow to validate. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.FlowsResource.ValidateRequest |