Class ProjectsResource.LocationsResource.ConversationsResource.MessagesResource.BatchCreateRequest
Batch ingests messages to conversation. Customers can use this RPC to ingest historical messages to conversation.
Inheritance
ProjectsResource.LocationsResource.ConversationsResource.MessagesResource.BatchCreateRequest
Implements
Inherited Members
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse>.UploadProtocol
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.LocationsResource.ConversationsResource.MessagesResource.BatchCreateRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse>, IClientServiceRequest<GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse>, IClientServiceRequest
Constructors
BatchCreateRequest(IClientService, GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest, string)
Constructs a new BatchCreate request.
Declaration
public BatchCreateRequest(IClientService service, GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest | body | |
string | parent |
Properties
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
Parent
Required. Resource identifier of the conversation to create message. Format:
projects//locations//conversations/
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes BatchCreate parameter list.
Declaration
protected override void InitParameters()