Google Cloud Dialogflow V2 Client - Class CreateConversationProfileRequest (1.15.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 Google\Cloud\Dialogflow\V2\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
Google\Cloud\Dialogflow\V2\ConversationProfile|null

hasConversationProfile

clearConversationProfile

setConversationProfile

Required. The conversation profile to create.

Parameter
Name Description
var Google\Cloud\Dialogflow\V2\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 Google\Cloud\Dialogflow\V2\ConversationProfilesClient::projectName() for help formatting this field.

conversationProfile Google\Cloud\Dialogflow\V2\ConversationProfile

Required. The conversation profile to create.

Returns
Type Description
Google\Cloud\Dialogflow\V2\CreateConversationProfileRequest