Class v2.ParticipantsClient (3.5.0)

Service for managing . v2

Package

@google-cloud/dialogflow!

Constructors

(constructor)(opts)

constructor(opts?: ClientOptions);

Construct an instance of ParticipantsClient.

Parameter
NameDescription
opts ClientOptions

Properties

apiEndpoint

static get apiEndpoint(): string;

The DNS address for this API service - same as servicePath(), exists for compatibility reasons.

Property Value
TypeDescription
string

auth

auth: gax.GoogleAuth;
Property Value
TypeDescription
gax.GoogleAuth

descriptors

descriptors: Descriptors;
Property Value
TypeDescription
Descriptors

innerApiCalls

innerApiCalls: {
        [name: string]: Function;
    };
Property Value
TypeDescription
{ [name: string]: Function; }

participantsStub

participantsStub?: Promise<{
        [name: string]: Function;
    }>;
Property Value
TypeDescription
Promise<{ [name: string]: Function; }>

pathTemplates

pathTemplates: {
        [name: string]: gax.PathTemplate;
    };
Property Value
TypeDescription
{ [name: string]: gax.PathTemplate; }

port

static get port(): number;

The port for this API service.

Property Value
TypeDescription
number

scopes

static get scopes(): string[];

The scopes needed to make gRPC calls for every method defined in this service.

Property Value
TypeDescription
string[]

servicePath

static get servicePath(): string;

The DNS address for this API service.

Property Value
TypeDescription
string

Methods

agentPath(project)

agentPath(project: string): string;

Return a fully-qualified agent resource name string.

Parameter
NameDescription
project string
Returns
TypeDescription
string

{string} Resource name string.

analyzeContent(request, options)

analyzeContent(request: protos.google.cloud.dialogflow.v2.IAnalyzeContentRequest, options?: CallOptions): Promise<[protos.google.cloud.dialogflow.v2.IAnalyzeContentResponse, protos.google.cloud.dialogflow.v2.IAnalyzeContentRequest | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.IAnalyzeContentRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.cloud.dialogflow.v2.IAnalyzeContentResponse, protos.google.cloud.dialogflow.v2.IAnalyzeContentRequest | undefined, {} | undefined]>

analyzeContent(request, options, callback)

analyzeContent(request: protos.google.cloud.dialogflow.v2.IAnalyzeContentRequest, options: CallOptions, callback: Callback<protos.google.cloud.dialogflow.v2.IAnalyzeContentResponse, protos.google.cloud.dialogflow.v2.IAnalyzeContentRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.IAnalyzeContentRequest
options CallOptions
callback Callback<protos.google.cloud.dialogflow.v2.IAnalyzeContentResponse, protos.google.cloud.dialogflow.v2.IAnalyzeContentRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

analyzeContent(request, callback)

analyzeContent(request: protos.google.cloud.dialogflow.v2.IAnalyzeContentRequest, callback: Callback<protos.google.cloud.dialogflow.v2.IAnalyzeContentResponse, protos.google.cloud.dialogflow.v2.IAnalyzeContentRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.IAnalyzeContentRequest
callback Callback<protos.google.cloud.dialogflow.v2.IAnalyzeContentResponse, protos.google.cloud.dialogflow.v2.IAnalyzeContentRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

close()

close(): Promise<void>;

Terminate the gRPC channel and close the client.

The client will no longer be usable and all future behavior is undefined.

Returns
TypeDescription
Promise<void>

{Promise} A promise that resolves when the client is closed.

createParticipant(request, options)

createParticipant(request: protos.google.cloud.dialogflow.v2.ICreateParticipantRequest, options?: CallOptions): Promise<[protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.ICreateParticipantRequest | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.ICreateParticipantRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.ICreateParticipantRequest | undefined, {} | undefined]>

createParticipant(request, options, callback)

createParticipant(request: protos.google.cloud.dialogflow.v2.ICreateParticipantRequest, options: CallOptions, callback: Callback<protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.ICreateParticipantRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.ICreateParticipantRequest
options CallOptions
callback Callback<protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.ICreateParticipantRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

createParticipant(request, callback)

createParticipant(request: protos.google.cloud.dialogflow.v2.ICreateParticipantRequest, callback: Callback<protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.ICreateParticipantRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.ICreateParticipantRequest
callback Callback<protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.ICreateParticipantRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

entityTypePath(project, entityType)

entityTypePath(project: string, entityType: string): string;

Return a fully-qualified entityType resource name string.

Parameters
NameDescription
project string
entityType string
Returns
TypeDescription
string

{string} Resource name string.

environmentPath(project, environment)

environmentPath(project: string, environment: string): string;

Return a fully-qualified environment resource name string.

Parameters
NameDescription
project string
environment string
Returns
TypeDescription
string

{string} Resource name string.

getParticipant(request, options)

getParticipant(request: protos.google.cloud.dialogflow.v2.IGetParticipantRequest, options?: CallOptions): Promise<[protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.IGetParticipantRequest | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.IGetParticipantRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.IGetParticipantRequest | undefined, {} | undefined]>

getParticipant(request, options, callback)

getParticipant(request: protos.google.cloud.dialogflow.v2.IGetParticipantRequest, options: CallOptions, callback: Callback<protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.IGetParticipantRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.IGetParticipantRequest
options CallOptions
callback Callback<protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.IGetParticipantRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getParticipant(request, callback)

getParticipant(request: protos.google.cloud.dialogflow.v2.IGetParticipantRequest, callback: Callback<protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.IGetParticipantRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.IGetParticipantRequest
callback Callback<protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.IGetParticipantRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getProjectId()

getProjectId(): Promise<string>;
Returns
TypeDescription
Promise<string>

getProjectId(callback)

getProjectId(callback: Callback<string, undefined, undefined>): void;
Parameter
NameDescription
callback Callback<string, undefined, undefined>
Returns
TypeDescription
void

initialize()

initialize(): Promise<{
        [name: string]: Function;
    }>;

Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.

You can await on this method if you want to make sure the client is initialized.

Returns
TypeDescription
Promise<{ [name: string]: Function; }>

{Promise} A promise that resolves to an authenticated service stub.

intentPath(project, intent)

intentPath(project: string, intent: string): string;

Return a fully-qualified intent resource name string.

Parameters
NameDescription
project string
intent string
Returns
TypeDescription
string

{string} Resource name string.

listParticipants(request, options)

listParticipants(request: protos.google.cloud.dialogflow.v2.IListParticipantsRequest, options?: CallOptions): Promise<[protos.google.cloud.dialogflow.v2.IParticipant[], protos.google.cloud.dialogflow.v2.IListParticipantsRequest | null, protos.google.cloud.dialogflow.v2.IListParticipantsResponse]>;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.IListParticipantsRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.cloud.dialogflow.v2.IParticipant[], protos.google.cloud.dialogflow.v2.IListParticipantsRequest | null, protos.google.cloud.dialogflow.v2.IListParticipantsResponse]>

listParticipants(request, options, callback)

listParticipants(request: protos.google.cloud.dialogflow.v2.IListParticipantsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.dialogflow.v2.IListParticipantsRequest, protos.google.cloud.dialogflow.v2.IListParticipantsResponse | null | undefined, protos.google.cloud.dialogflow.v2.IParticipant>): void;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.IListParticipantsRequest
options CallOptions
callback PaginationCallback<protos.google.cloud.dialogflow.v2.IListParticipantsRequest, protos.google.cloud.dialogflow.v2.IListParticipantsResponse | null | undefined, protos.google.cloud.dialogflow.v2.IParticipant>
Returns
TypeDescription
void

listParticipants(request, callback)

listParticipants(request: protos.google.cloud.dialogflow.v2.IListParticipantsRequest, callback: PaginationCallback<protos.google.cloud.dialogflow.v2.IListParticipantsRequest, protos.google.cloud.dialogflow.v2.IListParticipantsResponse | null | undefined, protos.google.cloud.dialogflow.v2.IParticipant>): void;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.IListParticipantsRequest
callback PaginationCallback<protos.google.cloud.dialogflow.v2.IListParticipantsRequest, protos.google.cloud.dialogflow.v2.IListParticipantsResponse | null | undefined, protos.google.cloud.dialogflow.v2.IParticipant>
Returns
TypeDescription
void

listParticipantsAsync(request, options)

listParticipantsAsync(request?: protos.google.cloud.dialogflow.v2.IListParticipantsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.dialogflow.v2.IParticipant>;

Equivalent to listParticipants, but returns an iterable object.

for-await-of syntax is used with the iterable to get response elements on-demand.

Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.IListParticipantsRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
AsyncIterable<protos.google.cloud.dialogflow.v2.IParticipant>

{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [Participant]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.

listParticipantsStream(request, options)

listParticipantsStream(request?: protos.google.cloud.dialogflow.v2.IListParticipantsRequest, options?: CallOptions): Transform;

Equivalent to method.name.toCamelCase(), but returns a NodeJS Stream object.

Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.IListParticipantsRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
Transform

{Stream} An object stream which emits an object representing [Participant] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listParticipantsAsync() method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.

matchAnswerRecordFromProjectAnswerRecordName(projectAnswerRecordName)

matchAnswerRecordFromProjectAnswerRecordName(projectAnswerRecordName: string): string | number;

Parse the answer_record from ProjectAnswerRecord resource.

Parameter
NameDescription
projectAnswerRecordName string

A fully-qualified path representing project_answer_record resource.

Returns
TypeDescription
string | number

{string} A string representing the answer_record.

matchAnswerRecordFromProjectLocationAnswerRecordName(projectLocationAnswerRecordName)

matchAnswerRecordFromProjectLocationAnswerRecordName(projectLocationAnswerRecordName: string): string | number;

Parse the answer_record from ProjectLocationAnswerRecord resource.

Parameter
NameDescription
projectLocationAnswerRecordName string

A fully-qualified path representing project_location_answer_record resource.

Returns
TypeDescription
string | number

{string} A string representing the answer_record.

matchContextFromProjectAgentEnvironmentUserSessionContextName(projectAgentEnvironmentUserSessionContextName)

matchContextFromProjectAgentEnvironmentUserSessionContextName(projectAgentEnvironmentUserSessionContextName: string): string | number;

Parse the context from ProjectAgentEnvironmentUserSessionContext resource.

Parameter
NameDescription
projectAgentEnvironmentUserSessionContextName string

A fully-qualified path representing project_agent_environment_user_session_context resource.

Returns
TypeDescription
string | number

{string} A string representing the context.

matchContextFromProjectAgentSessionContextName(projectAgentSessionContextName)

matchContextFromProjectAgentSessionContextName(projectAgentSessionContextName: string): string | number;

Parse the context from ProjectAgentSessionContext resource.

Parameter
NameDescription
projectAgentSessionContextName string

A fully-qualified path representing project_agent_session_context resource.

Returns
TypeDescription
string | number

{string} A string representing the context.

matchConversationFromProjectConversationMessageName(projectConversationMessageName)

matchConversationFromProjectConversationMessageName(projectConversationMessageName: string): string | number;

Parse the conversation from ProjectConversationMessage resource.

Parameter
NameDescription
projectConversationMessageName string

A fully-qualified path representing project_conversation_message resource.

Returns
TypeDescription
string | number

{string} A string representing the conversation.

matchConversationFromProjectConversationName(projectConversationName)

matchConversationFromProjectConversationName(projectConversationName: string): string | number;

Parse the conversation from ProjectConversation resource.

Parameter
NameDescription
projectConversationName string

A fully-qualified path representing project_conversation resource.

Returns
TypeDescription
string | number

{string} A string representing the conversation.

matchConversationFromProjectConversationParticipantName(projectConversationParticipantName)

matchConversationFromProjectConversationParticipantName(projectConversationParticipantName: string): string | number;

Parse the conversation from ProjectConversationParticipant resource.

Parameter
NameDescription
projectConversationParticipantName string

A fully-qualified path representing project_conversation_participant resource.

Returns
TypeDescription
string | number

{string} A string representing the conversation.

matchConversationFromProjectLocationConversationMessageName(projectLocationConversationMessageName)

matchConversationFromProjectLocationConversationMessageName(projectLocationConversationMessageName: string): string | number;

Parse the conversation from ProjectLocationConversationMessage resource.

Parameter
NameDescription
projectLocationConversationMessageName string

A fully-qualified path representing project_location_conversation_message resource.

Returns
TypeDescription
string | number

{string} A string representing the conversation.

matchConversationFromProjectLocationConversationName(projectLocationConversationName)

matchConversationFromProjectLocationConversationName(projectLocationConversationName: string): string | number;

Parse the conversation from ProjectLocationConversation resource.

Parameter
NameDescription
projectLocationConversationName string

A fully-qualified path representing project_location_conversation resource.

Returns
TypeDescription
string | number

{string} A string representing the conversation.

matchConversationFromProjectLocationConversationParticipantName(projectLocationConversationParticipantName)

matchConversationFromProjectLocationConversationParticipantName(projectLocationConversationParticipantName: string): string | number;

Parse the conversation from ProjectLocationConversationParticipant resource.

Parameter
NameDescription
projectLocationConversationParticipantName string

A fully-qualified path representing project_location_conversation_participant resource.

Returns
TypeDescription
string | number

{string} A string representing the conversation.

matchConversationProfileFromProjectConversationProfileName(projectConversationProfileName)

matchConversationProfileFromProjectConversationProfileName(projectConversationProfileName: string): string | number;

Parse the conversation_profile from ProjectConversationProfile resource.

Parameter
NameDescription
projectConversationProfileName string

A fully-qualified path representing project_conversation_profile resource.

Returns
TypeDescription
string | number

{string} A string representing the conversation_profile.

matchConversationProfileFromProjectLocationConversationProfileName(projectLocationConversationProfileName)

matchConversationProfileFromProjectLocationConversationProfileName(projectLocationConversationProfileName: string): string | number;

Parse the conversation_profile from ProjectLocationConversationProfile resource.

Parameter
NameDescription
projectLocationConversationProfileName string

A fully-qualified path representing project_location_conversation_profile resource.

Returns
TypeDescription
string | number

{string} A string representing the conversation_profile.

matchDocumentFromProjectKnowledgeBaseDocumentName(projectKnowledgeBaseDocumentName)

matchDocumentFromProjectKnowledgeBaseDocumentName(projectKnowledgeBaseDocumentName: string): string | number;

Parse the document from ProjectKnowledgeBaseDocument resource.

Parameter
NameDescription
projectKnowledgeBaseDocumentName string

A fully-qualified path representing project_knowledge_base_document resource.

Returns
TypeDescription
string | number

{string} A string representing the document.

matchDocumentFromProjectLocationKnowledgeBaseDocumentName(projectLocationKnowledgeBaseDocumentName)

matchDocumentFromProjectLocationKnowledgeBaseDocumentName(projectLocationKnowledgeBaseDocumentName: string): string | number;

Parse the document from ProjectLocationKnowledgeBaseDocument resource.

Parameter
NameDescription
projectLocationKnowledgeBaseDocumentName string

A fully-qualified path representing project_location_knowledge_base_document resource.

Returns
TypeDescription
string | number

{string} A string representing the document.

matchEntityTypeFromEntityTypeName(entityTypeName)

matchEntityTypeFromEntityTypeName(entityTypeName: string): string | number;

Parse the entity_type from EntityType resource.

Parameter
NameDescription
entityTypeName string

A fully-qualified path representing EntityType resource.

Returns
TypeDescription
string | number

{string} A string representing the entity_type.

matchEntityTypeFromProjectAgentEnvironmentUserSessionEntityTypeName(projectAgentEnvironmentUserSessionEntityTypeName)

matchEntityTypeFromProjectAgentEnvironmentUserSessionEntityTypeName(projectAgentEnvironmentUserSessionEntityTypeName: string): string | number;

Parse the entity_type from ProjectAgentEnvironmentUserSessionEntityType resource.

Parameter
NameDescription
projectAgentEnvironmentUserSessionEntityTypeName string

A fully-qualified path representing project_agent_environment_user_session_entity_type resource.

Returns
TypeDescription
string | number

{string} A string representing the entity_type.

matchEntityTypeFromProjectAgentSessionEntityTypeName(projectAgentSessionEntityTypeName)

matchEntityTypeFromProjectAgentSessionEntityTypeName(projectAgentSessionEntityTypeName: string): string | number;

Parse the entity_type from ProjectAgentSessionEntityType resource.

Parameter
NameDescription
projectAgentSessionEntityTypeName string

A fully-qualified path representing project_agent_session_entity_type resource.

Returns
TypeDescription
string | number

{string} A string representing the entity_type.

matchEnvironmentFromEnvironmentName(environmentName)

matchEnvironmentFromEnvironmentName(environmentName: string): string | number;

Parse the environment from Environment resource.

Parameter
NameDescription
environmentName string

A fully-qualified path representing Environment resource.

Returns
TypeDescription
string | number

{string} A string representing the environment.

matchEnvironmentFromProjectAgentEnvironmentUserSessionContextName(projectAgentEnvironmentUserSessionContextName)

matchEnvironmentFromProjectAgentEnvironmentUserSessionContextName(projectAgentEnvironmentUserSessionContextName: string): string | number;

Parse the environment from ProjectAgentEnvironmentUserSessionContext resource.

Parameter
NameDescription
projectAgentEnvironmentUserSessionContextName string

A fully-qualified path representing project_agent_environment_user_session_context resource.

Returns
TypeDescription
string | number

{string} A string representing the environment.

matchEnvironmentFromProjectAgentEnvironmentUserSessionEntityTypeName(projectAgentEnvironmentUserSessionEntityTypeName)

matchEnvironmentFromProjectAgentEnvironmentUserSessionEntityTypeName(projectAgentEnvironmentUserSessionEntityTypeName: string): string | number;

Parse the environment from ProjectAgentEnvironmentUserSessionEntityType resource.

Parameter
NameDescription
projectAgentEnvironmentUserSessionEntityTypeName string

A fully-qualified path representing project_agent_environment_user_session_entity_type resource.

Returns
TypeDescription
string | number

{string} A string representing the environment.

matchIntentFromIntentName(intentName)

matchIntentFromIntentName(intentName: string): string | number;

Parse the intent from Intent resource.

Parameter
NameDescription
intentName string

A fully-qualified path representing Intent resource.

Returns
TypeDescription
string | number

{string} A string representing the intent.

matchKnowledgeBaseFromProjectKnowledgeBaseDocumentName(projectKnowledgeBaseDocumentName)

matchKnowledgeBaseFromProjectKnowledgeBaseDocumentName(projectKnowledgeBaseDocumentName: string): string | number;

Parse the knowledge_base from ProjectKnowledgeBaseDocument resource.

Parameter
NameDescription
projectKnowledgeBaseDocumentName string

A fully-qualified path representing project_knowledge_base_document resource.

Returns
TypeDescription
string | number

{string} A string representing the knowledge_base.

matchKnowledgeBaseFromProjectKnowledgeBaseName(projectKnowledgeBaseName)

matchKnowledgeBaseFromProjectKnowledgeBaseName(projectKnowledgeBaseName: string): string | number;

Parse the knowledge_base from ProjectKnowledgeBase resource.

Parameter
NameDescription
projectKnowledgeBaseName string

A fully-qualified path representing project_knowledge_base resource.

Returns
TypeDescription
string | number

{string} A string representing the knowledge_base.

matchKnowledgeBaseFromProjectLocationKnowledgeBaseDocumentName(projectLocationKnowledgeBaseDocumentName)

matchKnowledgeBaseFromProjectLocationKnowledgeBaseDocumentName(projectLocationKnowledgeBaseDocumentName: string): string | number;

Parse the knowledge_base from ProjectLocationKnowledgeBaseDocument resource.

Parameter
NameDescription
projectLocationKnowledgeBaseDocumentName string

A fully-qualified path representing project_location_knowledge_base_document resource.

Returns
TypeDescription
string | number

{string} A string representing the knowledge_base.

matchKnowledgeBaseFromProjectLocationKnowledgeBaseName(projectLocationKnowledgeBaseName)

matchKnowledgeBaseFromProjectLocationKnowledgeBaseName(projectLocationKnowledgeBaseName: string): string | number;

Parse the knowledge_base from ProjectLocationKnowledgeBase resource.

Parameter
NameDescription
projectLocationKnowledgeBaseName string

A fully-qualified path representing project_location_knowledge_base resource.

Returns
TypeDescription
string | number

{string} A string representing the knowledge_base.

matchLocationFromProjectLocationAnswerRecordName(projectLocationAnswerRecordName)

matchLocationFromProjectLocationAnswerRecordName(projectLocationAnswerRecordName: string): string | number;

Parse the location from ProjectLocationAnswerRecord resource.

Parameter
NameDescription
projectLocationAnswerRecordName string

A fully-qualified path representing project_location_answer_record resource.

Returns
TypeDescription
string | number

{string} A string representing the location.

matchLocationFromProjectLocationConversationMessageName(projectLocationConversationMessageName)

matchLocationFromProjectLocationConversationMessageName(projectLocationConversationMessageName: string): string | number;

Parse the location from ProjectLocationConversationMessage resource.

Parameter
NameDescription
projectLocationConversationMessageName string

A fully-qualified path representing project_location_conversation_message resource.

Returns
TypeDescription
string | number

{string} A string representing the location.

matchLocationFromProjectLocationConversationName(projectLocationConversationName)

matchLocationFromProjectLocationConversationName(projectLocationConversationName: string): string | number;

Parse the location from ProjectLocationConversation resource.

Parameter
NameDescription
projectLocationConversationName string

A fully-qualified path representing project_location_conversation resource.

Returns
TypeDescription
string | number

{string} A string representing the location.

matchLocationFromProjectLocationConversationParticipantName(projectLocationConversationParticipantName)

matchLocationFromProjectLocationConversationParticipantName(projectLocationConversationParticipantName: string): string | number;

Parse the location from ProjectLocationConversationParticipant resource.

Parameter
NameDescription
projectLocationConversationParticipantName string

A fully-qualified path representing project_location_conversation_participant resource.

Returns
TypeDescription
string | number

{string} A string representing the location.

matchLocationFromProjectLocationConversationProfileName(projectLocationConversationProfileName)

matchLocationFromProjectLocationConversationProfileName(projectLocationConversationProfileName: string): string | number;

Parse the location from ProjectLocationConversationProfile resource.

Parameter
NameDescription
projectLocationConversationProfileName string

A fully-qualified path representing project_location_conversation_profile resource.

Returns
TypeDescription
string | number

{string} A string representing the location.

matchLocationFromProjectLocationKnowledgeBaseDocumentName(projectLocationKnowledgeBaseDocumentName)

matchLocationFromProjectLocationKnowledgeBaseDocumentName(projectLocationKnowledgeBaseDocumentName: string): string | number;

Parse the location from ProjectLocationKnowledgeBaseDocument resource.

Parameter
NameDescription
projectLocationKnowledgeBaseDocumentName string

A fully-qualified path representing project_location_knowledge_base_document resource.

Returns
TypeDescription
string | number

{string} A string representing the location.

matchLocationFromProjectLocationKnowledgeBaseName(projectLocationKnowledgeBaseName)

matchLocationFromProjectLocationKnowledgeBaseName(projectLocationKnowledgeBaseName: string): string | number;

Parse the location from ProjectLocationKnowledgeBase resource.

Parameter
NameDescription
projectLocationKnowledgeBaseName string

A fully-qualified path representing project_location_knowledge_base resource.

Returns
TypeDescription
string | number

{string} A string representing the location.

matchMessageFromProjectConversationMessageName(projectConversationMessageName)

matchMessageFromProjectConversationMessageName(projectConversationMessageName: string): string | number;

Parse the message from ProjectConversationMessage resource.

Parameter
NameDescription
projectConversationMessageName string

A fully-qualified path representing project_conversation_message resource.

Returns
TypeDescription
string | number

{string} A string representing the message.

matchMessageFromProjectLocationConversationMessageName(projectLocationConversationMessageName)

matchMessageFromProjectLocationConversationMessageName(projectLocationConversationMessageName: string): string | number;

Parse the message from ProjectLocationConversationMessage resource.

Parameter
NameDescription
projectLocationConversationMessageName string

A fully-qualified path representing project_location_conversation_message resource.

Returns
TypeDescription
string | number

{string} A string representing the message.

matchParticipantFromProjectConversationParticipantName(projectConversationParticipantName)

matchParticipantFromProjectConversationParticipantName(projectConversationParticipantName: string): string | number;

Parse the participant from ProjectConversationParticipant resource.

Parameter
NameDescription
projectConversationParticipantName string

A fully-qualified path representing project_conversation_participant resource.

Returns
TypeDescription
string | number

{string} A string representing the participant.

matchParticipantFromProjectLocationConversationParticipantName(projectLocationConversationParticipantName)

matchParticipantFromProjectLocationConversationParticipantName(projectLocationConversationParticipantName: string): string | number;

Parse the participant from ProjectLocationConversationParticipant resource.

Parameter
NameDescription
projectLocationConversationParticipantName string

A fully-qualified path representing project_location_conversation_participant resource.

Returns
TypeDescription
string | number

{string} A string representing the participant.

matchProjectFromAgentName(agentName)

matchProjectFromAgentName(agentName: string): string | number;

Parse the project from Agent resource.

Parameter
NameDescription
agentName string

A fully-qualified path representing Agent resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromEntityTypeName(entityTypeName)

matchProjectFromEntityTypeName(entityTypeName: string): string | number;

Parse the project from EntityType resource.

Parameter
NameDescription
entityTypeName string

A fully-qualified path representing EntityType resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromEnvironmentName(environmentName)

matchProjectFromEnvironmentName(environmentName: string): string | number;

Parse the project from Environment resource.

Parameter
NameDescription
environmentName string

A fully-qualified path representing Environment resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromIntentName(intentName)

matchProjectFromIntentName(intentName: string): string | number;

Parse the project from Intent resource.

Parameter
NameDescription
intentName string

A fully-qualified path representing Intent resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectAgentEnvironmentUserSessionContextName(projectAgentEnvironmentUserSessionContextName)

matchProjectFromProjectAgentEnvironmentUserSessionContextName(projectAgentEnvironmentUserSessionContextName: string): string | number;

Parse the project from ProjectAgentEnvironmentUserSessionContext resource.

Parameter
NameDescription
projectAgentEnvironmentUserSessionContextName string

A fully-qualified path representing project_agent_environment_user_session_context resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectAgentEnvironmentUserSessionEntityTypeName(projectAgentEnvironmentUserSessionEntityTypeName)

matchProjectFromProjectAgentEnvironmentUserSessionEntityTypeName(projectAgentEnvironmentUserSessionEntityTypeName: string): string | number;

Parse the project from ProjectAgentEnvironmentUserSessionEntityType resource.

Parameter
NameDescription
projectAgentEnvironmentUserSessionEntityTypeName string

A fully-qualified path representing project_agent_environment_user_session_entity_type resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectAgentSessionContextName(projectAgentSessionContextName)

matchProjectFromProjectAgentSessionContextName(projectAgentSessionContextName: string): string | number;

Parse the project from ProjectAgentSessionContext resource.

Parameter
NameDescription
projectAgentSessionContextName string

A fully-qualified path representing project_agent_session_context resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectAgentSessionEntityTypeName(projectAgentSessionEntityTypeName)

matchProjectFromProjectAgentSessionEntityTypeName(projectAgentSessionEntityTypeName: string): string | number;

Parse the project from ProjectAgentSessionEntityType resource.

Parameter
NameDescription
projectAgentSessionEntityTypeName string

A fully-qualified path representing project_agent_session_entity_type resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectAnswerRecordName(projectAnswerRecordName)

matchProjectFromProjectAnswerRecordName(projectAnswerRecordName: string): string | number;

Parse the project from ProjectAnswerRecord resource.

Parameter
NameDescription
projectAnswerRecordName string

A fully-qualified path representing project_answer_record resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectConversationMessageName(projectConversationMessageName)

matchProjectFromProjectConversationMessageName(projectConversationMessageName: string): string | number;

Parse the project from ProjectConversationMessage resource.

Parameter
NameDescription
projectConversationMessageName string

A fully-qualified path representing project_conversation_message resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectConversationName(projectConversationName)

matchProjectFromProjectConversationName(projectConversationName: string): string | number;

Parse the project from ProjectConversation resource.

Parameter
NameDescription
projectConversationName string

A fully-qualified path representing project_conversation resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectConversationParticipantName(projectConversationParticipantName)

matchProjectFromProjectConversationParticipantName(projectConversationParticipantName: string): string | number;

Parse the project from ProjectConversationParticipant resource.

Parameter
NameDescription
projectConversationParticipantName string

A fully-qualified path representing project_conversation_participant resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectConversationProfileName(projectConversationProfileName)

matchProjectFromProjectConversationProfileName(projectConversationProfileName: string): string | number;

Parse the project from ProjectConversationProfile resource.

Parameter
NameDescription
projectConversationProfileName string

A fully-qualified path representing project_conversation_profile resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectKnowledgeBaseDocumentName(projectKnowledgeBaseDocumentName)

matchProjectFromProjectKnowledgeBaseDocumentName(projectKnowledgeBaseDocumentName: string): string | number;

Parse the project from ProjectKnowledgeBaseDocument resource.

Parameter
NameDescription
projectKnowledgeBaseDocumentName string

A fully-qualified path representing project_knowledge_base_document resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectKnowledgeBaseName(projectKnowledgeBaseName)

matchProjectFromProjectKnowledgeBaseName(projectKnowledgeBaseName: string): string | number;

Parse the project from ProjectKnowledgeBase resource.

Parameter
NameDescription
projectKnowledgeBaseName string

A fully-qualified path representing project_knowledge_base resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectLocationAnswerRecordName(projectLocationAnswerRecordName)

matchProjectFromProjectLocationAnswerRecordName(projectLocationAnswerRecordName: string): string | number;

Parse the project from ProjectLocationAnswerRecord resource.

Parameter
NameDescription
projectLocationAnswerRecordName string

A fully-qualified path representing project_location_answer_record resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectLocationConversationMessageName(projectLocationConversationMessageName)

matchProjectFromProjectLocationConversationMessageName(projectLocationConversationMessageName: string): string | number;

Parse the project from ProjectLocationConversationMessage resource.

Parameter
NameDescription
projectLocationConversationMessageName string

A fully-qualified path representing project_location_conversation_message resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectLocationConversationName(projectLocationConversationName)

matchProjectFromProjectLocationConversationName(projectLocationConversationName: string): string | number;

Parse the project from ProjectLocationConversation resource.

Parameter
NameDescription
projectLocationConversationName string

A fully-qualified path representing project_location_conversation resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectLocationConversationParticipantName(projectLocationConversationParticipantName)

matchProjectFromProjectLocationConversationParticipantName(projectLocationConversationParticipantName: string): string | number;

Parse the project from ProjectLocationConversationParticipant resource.

Parameter
NameDescription
projectLocationConversationParticipantName string

A fully-qualified path representing project_location_conversation_participant resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectLocationConversationProfileName(projectLocationConversationProfileName)

matchProjectFromProjectLocationConversationProfileName(projectLocationConversationProfileName: string): string | number;

Parse the project from ProjectLocationConversationProfile resource.

Parameter
NameDescription
projectLocationConversationProfileName string

A fully-qualified path representing project_location_conversation_profile resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectLocationKnowledgeBaseDocumentName(projectLocationKnowledgeBaseDocumentName)

matchProjectFromProjectLocationKnowledgeBaseDocumentName(projectLocationKnowledgeBaseDocumentName: string): string | number;

Parse the project from ProjectLocationKnowledgeBaseDocument resource.

Parameter
NameDescription
projectLocationKnowledgeBaseDocumentName string

A fully-qualified path representing project_location_knowledge_base_document resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectLocationKnowledgeBaseName(projectLocationKnowledgeBaseName)

matchProjectFromProjectLocationKnowledgeBaseName(projectLocationKnowledgeBaseName: string): string | number;

Parse the project from ProjectLocationKnowledgeBase resource.

Parameter
NameDescription
projectLocationKnowledgeBaseName string

A fully-qualified path representing project_location_knowledge_base resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchProjectFromProjectName(projectName)

matchProjectFromProjectName(projectName: string): string | number;

Parse the project from Project resource.

Parameter
NameDescription
projectName string

A fully-qualified path representing Project resource.

Returns
TypeDescription
string | number

{string} A string representing the project.

matchSessionFromProjectAgentEnvironmentUserSessionContextName(projectAgentEnvironmentUserSessionContextName)

matchSessionFromProjectAgentEnvironmentUserSessionContextName(projectAgentEnvironmentUserSessionContextName: string): string | number;

Parse the session from ProjectAgentEnvironmentUserSessionContext resource.

Parameter
NameDescription
projectAgentEnvironmentUserSessionContextName string

A fully-qualified path representing project_agent_environment_user_session_context resource.

Returns
TypeDescription
string | number

{string} A string representing the session.

matchSessionFromProjectAgentEnvironmentUserSessionEntityTypeName(projectAgentEnvironmentUserSessionEntityTypeName)

matchSessionFromProjectAgentEnvironmentUserSessionEntityTypeName(projectAgentEnvironmentUserSessionEntityTypeName: string): string | number;

Parse the session from ProjectAgentEnvironmentUserSessionEntityType resource.

Parameter
NameDescription
projectAgentEnvironmentUserSessionEntityTypeName string

A fully-qualified path representing project_agent_environment_user_session_entity_type resource.

Returns
TypeDescription
string | number

{string} A string representing the session.

matchSessionFromProjectAgentSessionContextName(projectAgentSessionContextName)

matchSessionFromProjectAgentSessionContextName(projectAgentSessionContextName: string): string | number;

Parse the session from ProjectAgentSessionContext resource.

Parameter
NameDescription
projectAgentSessionContextName string

A fully-qualified path representing project_agent_session_context resource.

Returns
TypeDescription
string | number

{string} A string representing the session.

matchSessionFromProjectAgentSessionEntityTypeName(projectAgentSessionEntityTypeName)

matchSessionFromProjectAgentSessionEntityTypeName(projectAgentSessionEntityTypeName: string): string | number;

Parse the session from ProjectAgentSessionEntityType resource.

Parameter
NameDescription
projectAgentSessionEntityTypeName string

A fully-qualified path representing project_agent_session_entity_type resource.

Returns
TypeDescription
string | number

{string} A string representing the session.

matchUserFromProjectAgentEnvironmentUserSessionContextName(projectAgentEnvironmentUserSessionContextName)

matchUserFromProjectAgentEnvironmentUserSessionContextName(projectAgentEnvironmentUserSessionContextName: string): string | number;

Parse the user from ProjectAgentEnvironmentUserSessionContext resource.

Parameter
NameDescription
projectAgentEnvironmentUserSessionContextName string

A fully-qualified path representing project_agent_environment_user_session_context resource.

Returns
TypeDescription
string | number

{string} A string representing the user.

matchUserFromProjectAgentEnvironmentUserSessionEntityTypeName(projectAgentEnvironmentUserSessionEntityTypeName)

matchUserFromProjectAgentEnvironmentUserSessionEntityTypeName(projectAgentEnvironmentUserSessionEntityTypeName: string): string | number;

Parse the user from ProjectAgentEnvironmentUserSessionEntityType resource.

Parameter
NameDescription
projectAgentEnvironmentUserSessionEntityTypeName string

A fully-qualified path representing project_agent_environment_user_session_entity_type resource.

Returns
TypeDescription
string | number

{string} A string representing the user.

projectAgentEnvironmentUserSessionContextPath(project, environment, user, session, context)

projectAgentEnvironmentUserSessionContextPath(project: string, environment: string, user: string, session: string, context: string): string;

Return a fully-qualified projectAgentEnvironmentUserSessionContext resource name string.

Parameters
NameDescription
project string
environment string
user string
session string
context string
Returns
TypeDescription
string

{string} Resource name string.

projectAgentEnvironmentUserSessionEntityTypePath(project, environment, user, session, entityType)

projectAgentEnvironmentUserSessionEntityTypePath(project: string, environment: string, user: string, session: string, entityType: string): string;

Return a fully-qualified projectAgentEnvironmentUserSessionEntityType resource name string.

Parameters
NameDescription
project string
environment string
user string
session string
entityType string
Returns
TypeDescription
string

{string} Resource name string.

projectAgentSessionContextPath(project, session, context)

projectAgentSessionContextPath(project: string, session: string, context: string): string;

Return a fully-qualified projectAgentSessionContext resource name string.

Parameters
NameDescription
project string
session string
context string
Returns
TypeDescription
string

{string} Resource name string.

projectAgentSessionEntityTypePath(project, session, entityType)

projectAgentSessionEntityTypePath(project: string, session: string, entityType: string): string;

Return a fully-qualified projectAgentSessionEntityType resource name string.

Parameters
NameDescription
project string
session string
entityType string
Returns
TypeDescription
string

{string} Resource name string.

projectAnswerRecordPath(project, answerRecord)

projectAnswerRecordPath(project: string, answerRecord: string): string;

Return a fully-qualified projectAnswerRecord resource name string.

Parameters
NameDescription
project string
answerRecord string
Returns
TypeDescription
string

{string} Resource name string.

projectConversationMessagePath(project, conversation, message)

projectConversationMessagePath(project: string, conversation: string, message: string): string;

Return a fully-qualified projectConversationMessage resource name string.

Parameters
NameDescription
project string
conversation string
message string
Returns
TypeDescription
string

{string} Resource name string.

projectConversationParticipantPath(project, conversation, participant)

projectConversationParticipantPath(project: string, conversation: string, participant: string): string;

Return a fully-qualified projectConversationParticipant resource name string.

Parameters
NameDescription
project string
conversation string
participant string
Returns
TypeDescription
string

{string} Resource name string.

projectConversationPath(project, conversation)

projectConversationPath(project: string, conversation: string): string;

Return a fully-qualified projectConversation resource name string.

Parameters
NameDescription
project string
conversation string
Returns
TypeDescription
string

{string} Resource name string.

projectConversationProfilePath(project, conversationProfile)

projectConversationProfilePath(project: string, conversationProfile: string): string;

Return a fully-qualified projectConversationProfile resource name string.

Parameters
NameDescription
project string
conversationProfile string
Returns
TypeDescription
string

{string} Resource name string.

projectKnowledgeBaseDocumentPath(project, knowledgeBase, document)

projectKnowledgeBaseDocumentPath(project: string, knowledgeBase: string, document: string): string;

Return a fully-qualified projectKnowledgeBaseDocument resource name string.

Parameters
NameDescription
project string
knowledgeBase string
document string
Returns
TypeDescription
string

{string} Resource name string.

projectKnowledgeBasePath(project, knowledgeBase)

projectKnowledgeBasePath(project: string, knowledgeBase: string): string;

Return a fully-qualified projectKnowledgeBase resource name string.

Parameters
NameDescription
project string
knowledgeBase string
Returns
TypeDescription
string

{string} Resource name string.

projectLocationAnswerRecordPath(project, location, answerRecord)

projectLocationAnswerRecordPath(project: string, location: string, answerRecord: string): string;

Return a fully-qualified projectLocationAnswerRecord resource name string.

Parameters
NameDescription
project string
location string
answerRecord string
Returns
TypeDescription
string

{string} Resource name string.

projectLocationConversationMessagePath(project, location, conversation, message)

projectLocationConversationMessagePath(project: string, location: string, conversation: string, message: string): string;

Return a fully-qualified projectLocationConversationMessage resource name string.

Parameters
NameDescription
project string
location string
conversation string
message string
Returns
TypeDescription
string

{string} Resource name string.

projectLocationConversationParticipantPath(project, location, conversation, participant)

projectLocationConversationParticipantPath(project: string, location: string, conversation: string, participant: string): string;

Return a fully-qualified projectLocationConversationParticipant resource name string.

Parameters
NameDescription
project string
location string
conversation string
participant string
Returns
TypeDescription
string

{string} Resource name string.

projectLocationConversationPath(project, location, conversation)

projectLocationConversationPath(project: string, location: string, conversation: string): string;

Return a fully-qualified projectLocationConversation resource name string.

Parameters
NameDescription
project string
location string
conversation string
Returns
TypeDescription
string

{string} Resource name string.

projectLocationConversationProfilePath(project, location, conversationProfile)

projectLocationConversationProfilePath(project: string, location: string, conversationProfile: string): string;

Return a fully-qualified projectLocationConversationProfile resource name string.

Parameters
NameDescription
project string
location string
conversationProfile string
Returns
TypeDescription
string

{string} Resource name string.

projectLocationKnowledgeBaseDocumentPath(project, location, knowledgeBase, document)

projectLocationKnowledgeBaseDocumentPath(project: string, location: string, knowledgeBase: string, document: string): string;

Return a fully-qualified projectLocationKnowledgeBaseDocument resource name string.

Parameters
NameDescription
project string
location string
knowledgeBase string
document string
Returns
TypeDescription
string

{string} Resource name string.

projectLocationKnowledgeBasePath(project, location, knowledgeBase)

projectLocationKnowledgeBasePath(project: string, location: string, knowledgeBase: string): string;

Return a fully-qualified projectLocationKnowledgeBase resource name string.

Parameters
NameDescription
project string
location string
knowledgeBase string
Returns
TypeDescription
string

{string} Resource name string.

projectPath(project)

projectPath(project: string): string;

Return a fully-qualified project resource name string.

Parameter
NameDescription
project string
Returns
TypeDescription
string

{string} Resource name string.

suggestArticles(request, options)

suggestArticles(request: protos.google.cloud.dialogflow.v2.ISuggestArticlesRequest, options?: CallOptions): Promise<[protos.google.cloud.dialogflow.v2.ISuggestArticlesResponse, protos.google.cloud.dialogflow.v2.ISuggestArticlesRequest | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.ISuggestArticlesRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.cloud.dialogflow.v2.ISuggestArticlesResponse, protos.google.cloud.dialogflow.v2.ISuggestArticlesRequest | undefined, {} | undefined]>

suggestArticles(request, options, callback)

suggestArticles(request: protos.google.cloud.dialogflow.v2.ISuggestArticlesRequest, options: CallOptions, callback: Callback<protos.google.cloud.dialogflow.v2.ISuggestArticlesResponse, protos.google.cloud.dialogflow.v2.ISuggestArticlesRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.ISuggestArticlesRequest
options CallOptions
callback Callback<protos.google.cloud.dialogflow.v2.ISuggestArticlesResponse, protos.google.cloud.dialogflow.v2.ISuggestArticlesRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

suggestArticles(request, callback)

suggestArticles(request: protos.google.cloud.dialogflow.v2.ISuggestArticlesRequest, callback: Callback<protos.google.cloud.dialogflow.v2.ISuggestArticlesResponse, protos.google.cloud.dialogflow.v2.ISuggestArticlesRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.ISuggestArticlesRequest
callback Callback<protos.google.cloud.dialogflow.v2.ISuggestArticlesResponse, protos.google.cloud.dialogflow.v2.ISuggestArticlesRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

suggestFaqAnswers(request, options)

suggestFaqAnswers(request: protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest, options?: CallOptions): Promise<[protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersResponse, protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersResponse, protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest | undefined, {} | undefined]>

suggestFaqAnswers(request, options, callback)

suggestFaqAnswers(request: protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest, options: CallOptions, callback: Callback<protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersResponse, protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest
options CallOptions
callback Callback<protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersResponse, protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

suggestFaqAnswers(request, callback)

suggestFaqAnswers(request: protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest, callback: Callback<protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersResponse, protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest
callback Callback<protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersResponse, protos.google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

updateParticipant(request, options)

updateParticipant(request: protos.google.cloud.dialogflow.v2.IUpdateParticipantRequest, options?: CallOptions): Promise<[protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.IUpdateParticipantRequest | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.IUpdateParticipantRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.IUpdateParticipantRequest | undefined, {} | undefined]>

updateParticipant(request, options, callback)

updateParticipant(request: protos.google.cloud.dialogflow.v2.IUpdateParticipantRequest, options: CallOptions, callback: Callback<protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.IUpdateParticipantRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.IUpdateParticipantRequest
options CallOptions
callback Callback<protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.IUpdateParticipantRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

updateParticipant(request, callback)

updateParticipant(request: protos.google.cloud.dialogflow.v2.IUpdateParticipantRequest, callback: Callback<protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.IUpdateParticipantRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.dialogflow.v2.IUpdateParticipantRequest
callback Callback<protos.google.cloud.dialogflow.v2.IParticipant, protos.google.cloud.dialogflow.v2.IUpdateParticipantRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void