Class DeleteFlowRequest (1.4.0)

public sealed class DeleteFlowRequest : IMessage<DeleteFlowRequest>, IEquatable<DeleteFlowRequest>, IDeepCloneable<DeleteFlowRequest>, IBufferMessage, IMessage

The request message for [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3.Flows.DeleteFlow].

Inheritance

Object > DeleteFlowRequest

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

DeleteFlowRequest()

public DeleteFlowRequest()

DeleteFlowRequest(DeleteFlowRequest)

public DeleteFlowRequest(DeleteFlowRequest other)
Parameter
NameDescription
otherDeleteFlowRequest

Properties

FlowName

public FlowName FlowName { get; set; }

FlowName-typed view over the Name resource name property.

Property Value
TypeDescription
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
TypeDescription
Boolean

Name

public string Name { get; set; }

Required. The name of the flow to delete. Format: projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>/flows/&lt;Flow ID>.

Property Value
TypeDescription
String