Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class CreateConversationRequest.
Request for creating a conversation.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.CreateConversationRequest
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Parent value for CreateConversationRequest. Format: |
↳ conversation_id |
string
Optional. The conversation id of the conversation to create. |
↳ conversation |
Conversation
Required. The conversation to create. |
↳ request_id |
string
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. |
getParent
Required. Parent value for CreateConversationRequest.
Format: projects/{project}/locations/{location}
Returns | |
---|---|
Type | Description |
string |
setParent
Required. Parent value for CreateConversationRequest.
Format: projects/{project}/locations/{location}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getConversationId
Optional. The conversation id of the conversation to create.
Returns | |
---|---|
Type | Description |
string |
setConversationId
Optional. The conversation id of the conversation to create.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getConversation
Required. The conversation to create.
Returns | |
---|---|
Type | Description |
Conversation|null |
hasConversation
clearConversation
setConversation
Required. The conversation to create.
Parameter | |
---|---|
Name | Description |
var |
Conversation
|
Returns | |
---|---|
Type | Description |
$this |
getRequestId
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
Returns | |
---|---|
Type | Description |
string |
setRequestId
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. Parent value for CreateConversationRequest.
Format: |
conversation |
Conversation
Required. The conversation to create. |
conversationId |
string
Optional. The conversation id of the conversation to create. |
Returns | |
---|---|
Type | Description |
CreateConversationRequest |