public sealed class DeleteFlowRequest : IMessage<DeleteFlowRequest>, IEquatable<DeleteFlowRequest>, IDeepCloneable<DeleteFlowRequest>, IBufferMessage, IMessage
Reference 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
force
is set to false, an error will be returned with message indicating the incoming transitions. - If
force
is 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/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>
.
Property Value | |
---|---|
Type | Description |
string |