public class ParticipantsClient : ClientBase<Participants.ParticipantsClient>Client for Participants
Inheritance
Object > ClientBase > ClientBase<Participants.ParticipantsClient> > Participants.ParticipantsClientNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
ParticipantsClient()
protected ParticipantsClient()Protected parameterless constructor to allow creation of test doubles.
ParticipantsClient(CallInvoker)
public ParticipantsClient(CallInvoker callInvoker)Creates a new client for Participants that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description | 
callInvoker | 
        CallInvokerThe callInvoker to use to make remote calls.  | 
      
ParticipantsClient(ChannelBase)
public ParticipantsClient(ChannelBase channel)Creates a new client for Participants
| Parameter | |
|---|---|
| Name | Description | 
channel | 
        ChannelBaseThe channel to use to make remote calls.  | 
      
ParticipantsClient(ClientBase.ClientBaseConfiguration)
protected ParticipantsClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description | 
configuration | 
        ClientBase.ClientBaseConfigurationThe client configuration.  | 
      
Methods
AnalyzeContent(AnalyzeContentRequest, CallOptions)
public virtual AnalyzeContentResponse AnalyzeContent(AnalyzeContentRequest request, CallOptions options)Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation.
Note: Always use agent versions for production traffic sent to virtual agents. See Versions and environments.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        AnalyzeContentRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AnalyzeContentResponse | 
        The response received from the server.  | 
      
AnalyzeContent(AnalyzeContentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AnalyzeContentResponse AnalyzeContent(AnalyzeContentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation.
Note: Always use agent versions for production traffic sent to virtual agents. See Versions and environments.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        AnalyzeContentRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AnalyzeContentResponse | 
        The response received from the server.  | 
      
AnalyzeContentAsync(AnalyzeContentRequest, CallOptions)
public virtual AsyncUnaryCall<AnalyzeContentResponse> AnalyzeContentAsync(AnalyzeContentRequest request, CallOptions options)Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation.
Note: Always use agent versions for production traffic sent to virtual agents. See Versions and environments.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        AnalyzeContentRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCall<AnalyzeContentResponse> | 
        The call object.  | 
      
AnalyzeContentAsync(AnalyzeContentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<AnalyzeContentResponse> AnalyzeContentAsync(AnalyzeContentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation.
Note: Always use agent versions for production traffic sent to virtual agents. See Versions and environments.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        AnalyzeContentRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCall<AnalyzeContentResponse> | 
        The call object.  | 
      
CreateParticipant(CreateParticipantRequest, CallOptions)
public virtual Participant CreateParticipant(CreateParticipantRequest request, CallOptions options)Creates a new participant in a conversation.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CreateParticipantRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Participant | 
        The response received from the server.  | 
      
CreateParticipant(CreateParticipantRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Participant CreateParticipant(CreateParticipantRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Creates a new participant in a conversation.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CreateParticipantRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Participant | 
        The response received from the server.  | 
      
CreateParticipantAsync(CreateParticipantRequest, CallOptions)
public virtual AsyncUnaryCall<Participant> CreateParticipantAsync(CreateParticipantRequest request, CallOptions options)Creates a new participant in a conversation.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CreateParticipantRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCall<Participant> | 
        The call object.  | 
      
CreateParticipantAsync(CreateParticipantRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Participant> CreateParticipantAsync(CreateParticipantRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Creates a new participant in a conversation.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CreateParticipantRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCall<Participant> | 
        The call object.  | 
      
GetParticipant(GetParticipantRequest, CallOptions)
public virtual Participant GetParticipant(GetParticipantRequest request, CallOptions options)Retrieves a conversation participant.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetParticipantRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Participant | 
        The response received from the server.  | 
      
GetParticipant(GetParticipantRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Participant GetParticipant(GetParticipantRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Retrieves a conversation participant.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetParticipantRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Participant | 
        The response received from the server.  | 
      
GetParticipantAsync(GetParticipantRequest, CallOptions)
public virtual AsyncUnaryCall<Participant> GetParticipantAsync(GetParticipantRequest request, CallOptions options)Retrieves a conversation participant.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetParticipantRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCall<Participant> | 
        The call object.  | 
      
GetParticipantAsync(GetParticipantRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Participant> GetParticipantAsync(GetParticipantRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Retrieves a conversation participant.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetParticipantRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCall<Participant> | 
        The call object.  | 
      
ListParticipants(ListParticipantsRequest, CallOptions)
public virtual ListParticipantsResponse ListParticipants(ListParticipantsRequest request, CallOptions options)Returns the list of all participants in the specified conversation.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListParticipantsRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListParticipantsResponse | 
        The response received from the server.  | 
      
ListParticipants(ListParticipantsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListParticipantsResponse ListParticipants(ListParticipantsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Returns the list of all participants in the specified conversation.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListParticipantsRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListParticipantsResponse | 
        The response received from the server.  | 
      
ListParticipantsAsync(ListParticipantsRequest, CallOptions)
public virtual AsyncUnaryCall<ListParticipantsResponse> ListParticipantsAsync(ListParticipantsRequest request, CallOptions options)Returns the list of all participants in the specified conversation.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListParticipantsRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCall<ListParticipantsResponse> | 
        The call object.  | 
      
ListParticipantsAsync(ListParticipantsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListParticipantsResponse> ListParticipantsAsync(ListParticipantsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Returns the list of all participants in the specified conversation.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListParticipantsRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCall<ListParticipantsResponse> | 
        The call object.  | 
      
NewInstance(ClientBase.ClientBaseConfiguration)
protected override Participants.ParticipantsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description | 
configuration | 
        ClientBase.ClientBaseConfiguration | 
      
| Returns | |
|---|---|
| Type | Description | 
Participants.ParticipantsClient | 
        |
SuggestArticles(SuggestArticlesRequest, CallOptions)
public virtual SuggestArticlesResponse SuggestArticles(SuggestArticlesRequest request, CallOptions options)Gets suggested articles for a participant based on specific historical messages.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        SuggestArticlesRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SuggestArticlesResponse | 
        The response received from the server.  | 
      
SuggestArticles(SuggestArticlesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual SuggestArticlesResponse SuggestArticles(SuggestArticlesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Gets suggested articles for a participant based on specific historical messages.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        SuggestArticlesRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SuggestArticlesResponse | 
        The response received from the server.  | 
      
SuggestArticlesAsync(SuggestArticlesRequest, CallOptions)
public virtual AsyncUnaryCall<SuggestArticlesResponse> SuggestArticlesAsync(SuggestArticlesRequest request, CallOptions options)Gets suggested articles for a participant based on specific historical messages.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        SuggestArticlesRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCall<SuggestArticlesResponse> | 
        The call object.  | 
      
SuggestArticlesAsync(SuggestArticlesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<SuggestArticlesResponse> SuggestArticlesAsync(SuggestArticlesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Gets suggested articles for a participant based on specific historical messages.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        SuggestArticlesRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCall<SuggestArticlesResponse> | 
        The call object.  | 
      
SuggestFaqAnswers(SuggestFaqAnswersRequest, CallOptions)
public virtual SuggestFaqAnswersResponse SuggestFaqAnswers(SuggestFaqAnswersRequest request, CallOptions options)Gets suggested faq answers for a participant based on specific historical messages.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        SuggestFaqAnswersRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SuggestFaqAnswersResponse | 
        The response received from the server.  | 
      
SuggestFaqAnswers(SuggestFaqAnswersRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual SuggestFaqAnswersResponse SuggestFaqAnswers(SuggestFaqAnswersRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Gets suggested faq answers for a participant based on specific historical messages.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        SuggestFaqAnswersRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SuggestFaqAnswersResponse | 
        The response received from the server.  | 
      
SuggestFaqAnswersAsync(SuggestFaqAnswersRequest, CallOptions)
public virtual AsyncUnaryCall<SuggestFaqAnswersResponse> SuggestFaqAnswersAsync(SuggestFaqAnswersRequest request, CallOptions options)Gets suggested faq answers for a participant based on specific historical messages.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        SuggestFaqAnswersRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCall<SuggestFaqAnswersResponse> | 
        The call object.  | 
      
SuggestFaqAnswersAsync(SuggestFaqAnswersRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<SuggestFaqAnswersResponse> SuggestFaqAnswersAsync(SuggestFaqAnswersRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Gets suggested faq answers for a participant based on specific historical messages.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        SuggestFaqAnswersRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCall<SuggestFaqAnswersResponse> | 
        The call object.  | 
      
UpdateParticipant(UpdateParticipantRequest, CallOptions)
public virtual Participant UpdateParticipant(UpdateParticipantRequest request, CallOptions options)Updates the specified participant.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        UpdateParticipantRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Participant | 
        The response received from the server.  | 
      
UpdateParticipant(UpdateParticipantRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Participant UpdateParticipant(UpdateParticipantRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Updates the specified participant.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        UpdateParticipantRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Participant | 
        The response received from the server.  | 
      
UpdateParticipantAsync(UpdateParticipantRequest, CallOptions)
public virtual AsyncUnaryCall<Participant> UpdateParticipantAsync(UpdateParticipantRequest request, CallOptions options)Updates the specified participant.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        UpdateParticipantRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCall<Participant> | 
        The call object.  | 
      
UpdateParticipantAsync(UpdateParticipantRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Participant> UpdateParticipantAsync(UpdateParticipantRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Updates the specified participant.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        UpdateParticipantRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCall<Participant> | 
        The call object.  |