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