Represents a Participants
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dialogflow.v2.ParticipantsPackage
@google-cloud/dialogflowConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new Participants service.
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
analyzeContent(request, callback)
public analyzeContent(request: google.cloud.dialogflow.v2.IAnalyzeContentRequest, callback: google.cloud.dialogflow.v2.Participants.AnalyzeContentCallback): void;Calls AnalyzeContent.
| Name | Description |
request |
IAnalyzeContentRequest
AnalyzeContentRequest message or plain object |
callback |
google.cloud.dialogflow.v2.Participants.AnalyzeContentCallback
Node-style callback called with the error, if any, and AnalyzeContentResponse |
| Type | Description |
void |
analyzeContent(request)
public analyzeContent(request: google.cloud.dialogflow.v2.IAnalyzeContentRequest): Promise<google.cloud.dialogflow.v2.AnalyzeContentResponse>;Calls AnalyzeContent.
| Name | Description |
request |
IAnalyzeContentRequest
AnalyzeContentRequest message or plain object |
| Type | Description |
Promise<google.cloud.dialogflow.v2.AnalyzeContentResponse> |
Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Participants;Creates new Participants service using the specified rpc implementation.
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
| Type | Description |
Participants |
RPC service. Useful where requests and/or responses are streamed. |
createParticipant(request, callback)
public createParticipant(request: google.cloud.dialogflow.v2.ICreateParticipantRequest, callback: google.cloud.dialogflow.v2.Participants.CreateParticipantCallback): void;Calls CreateParticipant.
| Name | Description |
request |
google.cloud.dialogflow.v2.ICreateParticipantRequest
CreateParticipantRequest message or plain object |
callback |
google.cloud.dialogflow.v2.Participants.CreateParticipantCallback
Node-style callback called with the error, if any, and Participant |
| Type | Description |
void |
createParticipant(request)
public createParticipant(request: google.cloud.dialogflow.v2.ICreateParticipantRequest): Promise<google.cloud.dialogflow.v2.Participant>;Calls CreateParticipant.
| Name | Description |
request |
google.cloud.dialogflow.v2.ICreateParticipantRequest
CreateParticipantRequest message or plain object |
| Type | Description |
Promise<google.cloud.dialogflow.v2.Participant> |
Promise |
getParticipant(request, callback)
public getParticipant(request: google.cloud.dialogflow.v2.IGetParticipantRequest, callback: google.cloud.dialogflow.v2.Participants.GetParticipantCallback): void;Calls GetParticipant.
| Name | Description |
request |
IGetParticipantRequest
GetParticipantRequest message or plain object |
callback |
google.cloud.dialogflow.v2.Participants.GetParticipantCallback
Node-style callback called with the error, if any, and Participant |
| Type | Description |
void |
getParticipant(request)
public getParticipant(request: google.cloud.dialogflow.v2.IGetParticipantRequest): Promise<google.cloud.dialogflow.v2.Participant>;Calls GetParticipant.
| Name | Description |
request |
IGetParticipantRequest
GetParticipantRequest message or plain object |
| Type | Description |
Promise<google.cloud.dialogflow.v2.Participant> |
Promise |
listParticipants(request, callback)
public listParticipants(request: google.cloud.dialogflow.v2.IListParticipantsRequest, callback: google.cloud.dialogflow.v2.Participants.ListParticipantsCallback): void;Calls ListParticipants.
| Name | Description |
request |
IListParticipantsRequest
ListParticipantsRequest message or plain object |
callback |
google.cloud.dialogflow.v2.Participants.ListParticipantsCallback
Node-style callback called with the error, if any, and ListParticipantsResponse |
| Type | Description |
void |
listParticipants(request)
public listParticipants(request: google.cloud.dialogflow.v2.IListParticipantsRequest): Promise<google.cloud.dialogflow.v2.ListParticipantsResponse>;Calls ListParticipants.
| Name | Description |
request |
IListParticipantsRequest
ListParticipantsRequest message or plain object |
| Type | Description |
Promise<google.cloud.dialogflow.v2.ListParticipantsResponse> |
Promise |
streamingAnalyzeContent(request, callback)
public streamingAnalyzeContent(request: google.cloud.dialogflow.v2.IStreamingAnalyzeContentRequest, callback: google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContentCallback): void;Calls StreamingAnalyzeContent.
| Name | Description |
request |
IStreamingAnalyzeContentRequest
StreamingAnalyzeContentRequest message or plain object |
callback |
google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContentCallback
Node-style callback called with the error, if any, and StreamingAnalyzeContentResponse |
| Type | Description |
void |
streamingAnalyzeContent(request)
public streamingAnalyzeContent(request: google.cloud.dialogflow.v2.IStreamingAnalyzeContentRequest): Promise<google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse>;Calls StreamingAnalyzeContent.
| Name | Description |
request |
IStreamingAnalyzeContentRequest
StreamingAnalyzeContentRequest message or plain object |
| Type | Description |
Promise<google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse> |
Promise |
suggestArticles(request, callback)
public suggestArticles(request: google.cloud.dialogflow.v2.ISuggestArticlesRequest, callback: google.cloud.dialogflow.v2.Participants.SuggestArticlesCallback): void;Calls SuggestArticles.
| Name | Description |
request |
ISuggestArticlesRequest
SuggestArticlesRequest message or plain object |
callback |
google.cloud.dialogflow.v2.Participants.SuggestArticlesCallback
Node-style callback called with the error, if any, and SuggestArticlesResponse |
| Type | Description |
void |
suggestArticles(request)
public suggestArticles(request: google.cloud.dialogflow.v2.ISuggestArticlesRequest): Promise<google.cloud.dialogflow.v2.SuggestArticlesResponse>;Calls SuggestArticles.
| Name | Description |
request |
ISuggestArticlesRequest
SuggestArticlesRequest message or plain object |
| Type | Description |
Promise<google.cloud.dialogflow.v2.SuggestArticlesResponse> |
Promise |
suggestFaqAnswers(request, callback)
public suggestFaqAnswers(request: google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest, callback: google.cloud.dialogflow.v2.Participants.SuggestFaqAnswersCallback): void;Calls SuggestFaqAnswers.
| Name | Description |
request |
ISuggestFaqAnswersRequest
SuggestFaqAnswersRequest message or plain object |
callback |
google.cloud.dialogflow.v2.Participants.SuggestFaqAnswersCallback
Node-style callback called with the error, if any, and SuggestFaqAnswersResponse |
| Type | Description |
void |
suggestFaqAnswers(request)
public suggestFaqAnswers(request: google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest): Promise<google.cloud.dialogflow.v2.SuggestFaqAnswersResponse>;Calls SuggestFaqAnswers.
| Name | Description |
request |
ISuggestFaqAnswersRequest
SuggestFaqAnswersRequest message or plain object |
| Type | Description |
Promise<google.cloud.dialogflow.v2.SuggestFaqAnswersResponse> |
Promise |
suggestSmartReplies(request, callback)
public suggestSmartReplies(request: google.cloud.dialogflow.v2.ISuggestSmartRepliesRequest, callback: google.cloud.dialogflow.v2.Participants.SuggestSmartRepliesCallback): void;Calls SuggestSmartReplies.
| Name | Description |
request |
ISuggestSmartRepliesRequest
SuggestSmartRepliesRequest message or plain object |
callback |
google.cloud.dialogflow.v2.Participants.SuggestSmartRepliesCallback
Node-style callback called with the error, if any, and SuggestSmartRepliesResponse |
| Type | Description |
void |
suggestSmartReplies(request)
public suggestSmartReplies(request: google.cloud.dialogflow.v2.ISuggestSmartRepliesRequest): Promise<google.cloud.dialogflow.v2.SuggestSmartRepliesResponse>;Calls SuggestSmartReplies.
| Name | Description |
request |
ISuggestSmartRepliesRequest
SuggestSmartRepliesRequest message or plain object |
| Type | Description |
Promise<google.cloud.dialogflow.v2.SuggestSmartRepliesResponse> |
Promise |
updateParticipant(request, callback)
public updateParticipant(request: google.cloud.dialogflow.v2.IUpdateParticipantRequest, callback: google.cloud.dialogflow.v2.Participants.UpdateParticipantCallback): void;Calls UpdateParticipant.
| Name | Description |
request |
IUpdateParticipantRequest
UpdateParticipantRequest message or plain object |
callback |
google.cloud.dialogflow.v2.Participants.UpdateParticipantCallback
Node-style callback called with the error, if any, and Participant |
| Type | Description |
void |
updateParticipant(request)
public updateParticipant(request: google.cloud.dialogflow.v2.IUpdateParticipantRequest): Promise<google.cloud.dialogflow.v2.Participant>;Calls UpdateParticipant.
| Name | Description |
request |
IUpdateParticipantRequest
UpdateParticipantRequest message or plain object |
| Type | Description |
Promise<google.cloud.dialogflow.v2.Participant> |
Promise |