public sealed class DeleteGeneratorRequest : IMessage<DeleteGeneratorRequest>, IEquatable<DeleteGeneratorRequest>, IDeepCloneable<DeleteGeneratorRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class DeleteGeneratorRequest.
The request message for [Generators.DeleteGenerator][google.cloud.dialogflow.cx.v3.Generators.DeleteGenerator].
Implements
IMessageDeleteGeneratorRequest, IEquatableDeleteGeneratorRequest, IDeepCloneableDeleteGeneratorRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
DeleteGeneratorRequest()
public DeleteGeneratorRequest()
DeleteGeneratorRequest(DeleteGeneratorRequest)
public DeleteGeneratorRequest(DeleteGeneratorRequest other)
Parameter | |
---|---|
Name | Description |
other |
DeleteGeneratorRequest |
Properties
Force
public bool Force { get; set; }
This field has no effect for generators not being used. For generators that are used by pages/flows/transition route groups:
- If
force
is set to false, an error will be returned with message indicating the referenced resources. - If
force
is set to true, Dialogflow will remove the generator, as well as any references to the generator (i.e. [Generator][Fulfillment.generator]) in fulfillments.
Property Value | |
---|---|
Type | Description |
bool |
GeneratorName
public GeneratorName GeneratorName { get; set; }
GeneratorName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
GeneratorName |
Name
public string Name { get; set; }
Required. The name of the generator to delete.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generators/<GeneratorID>
.
Property Value | |
---|---|
Type | Description |
string |