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
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: |
↳ 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>
.
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The project to create a conversation profile for.
Format: projects/<Project ID>/locations/<Location ID>
.
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getConversationProfile
Required. The conversation profile to create.
Generated from protobuf field .google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\V2\ConversationProfile|null |
hasConversationProfile
clearConversationProfile
setConversationProfile
Required. The conversation profile to create.
Generated from protobuf field .google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dialogflow\V2\ConversationProfile
|
Returns | |
---|---|
Type | Description |
$this |