Class ProjectsResource.LocationsResource.AgentsResource.FlowsResource.PagesResource.DeleteRequest
Deletes the specified page. Note: You should always train a flow prior to sending it queries. See the training documentation.
Inheritance
Inherited Members
Namespace: Google.Apis.Dialogflow.v3
Assembly: Google.Apis.Dialogflow.v3.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.FlowsResource.PagesResource.DeleteRequest : DialogflowBaseServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
Properties
Force
This field has no effect for pages with no incoming transitions. For pages 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 page, as well as any transitions to the page (i.e. Target page in event handlers or
Target page in transition routes that point to this page will be cleared).
Declaration
[RequestParameter("force", RequestParameterType.Query)]
public virtual bool? Force { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The name of the page to delete. Format:
projects//locations//agents//Flows//pages/.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()