Google Cloud Dialogflow V2 Client - Class CreateConversationProfileRequest (1.17.1)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class CreateConversationProfileRequest.

The request message for ConversationProfiles.CreateConversationProfile.

Generated from protobuf message google.cloud.dialogflow.v2.CreateConversationProfileRequest

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project to create a conversation profile for. Format: projects/<Project ID>/locations/<Location ID>.

↳ conversation_profile ConversationProfile

Required. The conversation profile to create.

getParent

Required. The project to create a conversation profile for.

Format: projects/<Project ID>/locations/<Location ID>.

Returns
Type Description
string

setParent

Required. The project to create a conversation profile for.

Format: projects/<Project ID>/locations/<Location ID>.

Parameter
Name Description
var string
Returns
Type Description
$this

getConversationProfile

Required. The conversation profile to create.

Returns
Type Description
ConversationProfile|null

hasConversationProfile

clearConversationProfile

setConversationProfile

Required. The conversation profile to create.

Parameter
Name Description
var ConversationProfile
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The project to create a conversation profile for. Format: projects/<Project ID>/locations/<Location ID>. Please see ConversationProfilesClient::projectName() for help formatting this field.

conversationProfile ConversationProfile

Required. The conversation profile to create.

Returns
Type Description
CreateConversationProfileRequest