public sealed class DeleteFlowRequest : IMessage<DeleteFlowRequest>, IEquatable<DeleteFlowRequest>, IDeepCloneable<DeleteFlowRequest>, IBufferMessage, IMessageReference documentation and code samples for the Dialogflow v3 API class DeleteFlowRequest.
The request message for [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3.Flows.DeleteFlow].
Implements
IMessageDeleteFlowRequest, IEquatableDeleteFlowRequest, IDeepCloneableDeleteFlowRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
DeleteFlowRequest()
public DeleteFlowRequest()DeleteFlowRequest(DeleteFlowRequest)
public DeleteFlowRequest(DeleteFlowRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteFlowRequest |
Properties
FlowName
public FlowName FlowName { get; set; }| Property Value | |
|---|---|
| Type | Description |
FlowName |
|
Force
public bool Force { get; set; }This field has no effect for flows with no incoming transitions. For flows with incoming transitions:
- If
forceis set to false, an error will be returned with message indicating the incoming transitions. - If
forceis set to true, Dialogflow will remove the flow, as well as any transitions to the flow (i.e. [Target flow][EventHandler.target_flow] in event handlers or [Target flow][TransitionRoute.target_flow] in transition routes that point to this flow will be cleared).
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Name
public string Name { get; set; }Required. The name of the flow to delete.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.
| Property Value | |
|---|---|
| Type | Description |
string |
|