Class ProjectsResource.ConversationsResource.CompleteRequest
Completes the specified conversation. Finished conversations are purged from the database after 30 days.
Inheritance
System.Object
ProjectsResource.ConversationsResource.CompleteRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class CompleteRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Conversation>, IClientServiceRequest<GoogleCloudDialogflowV2Conversation>, IClientServiceRequest
Constructors
CompleteRequest(IClientService, GoogleCloudDialogflowV2CompleteConversationRequest, String)
Constructs a new Complete request.
Declaration
public CompleteRequest(IClientService service, GoogleCloudDialogflowV2CompleteConversationRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDialogflowV2CompleteConversationRequest | body | |
| System.String | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Conversation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Conversation>.MethodName
Name
Required. Resource identifier of the conversation to close. Format:
projects//locations//conversations/.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Conversation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Conversation>.GetBody()
InitParameters()
Initializes Complete parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dialogflow.v2.DialogflowBaseServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Conversation>.InitParameters()