Show / Hide Table of Contents

Class ProjectsResource.ConversationsResource.MessagesResource

The "messages" collection of methods.

Inheritance
object
ProjectsResource.ConversationsResource.MessagesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.ConversationsResource.MessagesResource

Constructors

MessagesResource(IClientService)

Constructs a new resource.

Declaration
public MessagesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

BatchCreate(GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest, string)

Batch ingests messages to conversation. Customers can use this RPC to ingest historical messages to conversation.

Declaration
public virtual ProjectsResource.ConversationsResource.MessagesResource.BatchCreateRequest BatchCreate(GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest body, string parent)
Parameters
Type Name Description
GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest body

The body of the request.

string parent

Required. Resource identifier of the conversation to create message. Format: projects//locations//conversations/.

Returns
Type Description
ProjectsResource.ConversationsResource.MessagesResource.BatchCreateRequest

List(string)

Lists messages that belong to a given conversation. messages are ordered by create_time in descending order. To fetch updates without duplication, send request with filter create_time_epoch_microseconds > [first item's create_time of previous request] and empty page_token.

Declaration
public virtual ProjectsResource.ConversationsResource.MessagesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The name of the conversation to list messages for. Format: projects//locations//conversations/

Returns
Type Description
ProjectsResource.ConversationsResource.MessagesResource.ListRequest
In this article
Back to top Generated by DocFX