Class protos.google.cloud.dialogflow.v2beta1.ConversationProfiles

Represents a ConversationProfiles

Inheritance

$protobuf.rpc.Service > protos.google.cloud.dialogflow.v2beta1.ConversationProfiles

Package

@google-cloud/dialogflow

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new ConversationProfiles service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ConversationProfiles;

Creates new ConversationProfiles service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
ConversationProfiles

RPC service. Useful where requests and/or responses are streamed.

createConversationProfile(request, callback)

public createConversationProfile(request: google.cloud.dialogflow.v2beta1.ICreateConversationProfileRequest, callback: google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfileCallback): void;

Calls CreateConversationProfile.

Parameters
NameDescription
request google.cloud.dialogflow.v2beta1.ICreateConversationProfileRequest

CreateConversationProfileRequest message or plain object

callback google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfileCallback

Node-style callback called with the error, if any, and ConversationProfile

Returns
TypeDescription
void

createConversationProfile(request)

public createConversationProfile(request: google.cloud.dialogflow.v2beta1.ICreateConversationProfileRequest): Promise<google.cloud.dialogflow.v2beta1.ConversationProfile>;

Calls CreateConversationProfile.

Parameter
NameDescription
request google.cloud.dialogflow.v2beta1.ICreateConversationProfileRequest

CreateConversationProfileRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.v2beta1.ConversationProfile>

Promise

deleteConversationProfile(request, callback)

public deleteConversationProfile(request: google.cloud.dialogflow.v2beta1.IDeleteConversationProfileRequest, callback: google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfileCallback): void;

Calls DeleteConversationProfile.

Parameters
NameDescription
request google.cloud.dialogflow.v2beta1.IDeleteConversationProfileRequest

DeleteConversationProfileRequest message or plain object

callback google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfileCallback

Node-style callback called with the error, if any, and Empty

Returns
TypeDescription
void

deleteConversationProfile(request)

public deleteConversationProfile(request: google.cloud.dialogflow.v2beta1.IDeleteConversationProfileRequest): Promise<google.protobuf.Empty>;

Calls DeleteConversationProfile.

Parameter
NameDescription
request google.cloud.dialogflow.v2beta1.IDeleteConversationProfileRequest

DeleteConversationProfileRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getConversationProfile(request, callback)

public getConversationProfile(request: google.cloud.dialogflow.v2beta1.IGetConversationProfileRequest, callback: google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfileCallback): void;

Calls GetConversationProfile.

Parameters
NameDescription
request google.cloud.dialogflow.v2beta1.IGetConversationProfileRequest

GetConversationProfileRequest message or plain object

callback google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfileCallback

Node-style callback called with the error, if any, and ConversationProfile

Returns
TypeDescription
void

getConversationProfile(request)

public getConversationProfile(request: google.cloud.dialogflow.v2beta1.IGetConversationProfileRequest): Promise<google.cloud.dialogflow.v2beta1.ConversationProfile>;

Calls GetConversationProfile.

Parameter
NameDescription
request google.cloud.dialogflow.v2beta1.IGetConversationProfileRequest

GetConversationProfileRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.v2beta1.ConversationProfile>

Promise

listConversationProfiles(request, callback)

public listConversationProfiles(request: google.cloud.dialogflow.v2beta1.IListConversationProfilesRequest, callback: google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfilesCallback): void;

Calls ListConversationProfiles.

Parameters
NameDescription
request IListConversationProfilesRequest

ListConversationProfilesRequest message or plain object

callback google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfilesCallback

Node-style callback called with the error, if any, and ListConversationProfilesResponse

Returns
TypeDescription
void

listConversationProfiles(request)

public listConversationProfiles(request: google.cloud.dialogflow.v2beta1.IListConversationProfilesRequest): Promise<google.cloud.dialogflow.v2beta1.ListConversationProfilesResponse>;

Calls ListConversationProfiles.

Parameter
NameDescription
request IListConversationProfilesRequest

ListConversationProfilesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.v2beta1.ListConversationProfilesResponse>

Promise

updateConversationProfile(request, callback)

public updateConversationProfile(request: google.cloud.dialogflow.v2beta1.IUpdateConversationProfileRequest, callback: google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfileCallback): void;

Calls UpdateConversationProfile.

Parameters
NameDescription
request google.cloud.dialogflow.v2beta1.IUpdateConversationProfileRequest

UpdateConversationProfileRequest message or plain object

callback google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfileCallback

Node-style callback called with the error, if any, and ConversationProfile

Returns
TypeDescription
void

updateConversationProfile(request)

public updateConversationProfile(request: google.cloud.dialogflow.v2beta1.IUpdateConversationProfileRequest): Promise<google.cloud.dialogflow.v2beta1.ConversationProfile>;

Calls UpdateConversationProfile.

Parameter
NameDescription
request google.cloud.dialogflow.v2beta1.IUpdateConversationProfileRequest

UpdateConversationProfileRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.v2beta1.ConversationProfile>

Promise