You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/dialogflow/lib/google_api/dialogflow/v2/api/projects.ex
+237Lines changed: 237 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8101,6 +8101,85 @@ defmodule GoogleApi.Dialogflow.V2.Api.Projects do
8101
8101
)
8102
8102
end
8103
8103
8104
+
@doc """
8105
+
Generates all the suggestions using generators configured in the conversation profile. A generator is used only if its trigger event is matched.
8106
+
8107
+
## Parameters
8108
+
8109
+
* `connection` (*type:* `GoogleApi.Dialogflow.V2.Connection.t`) - Connection to server
8110
+
* `conversation` (*type:* `String.t`) - Required. The conversation for which the suggestions are generated. Format: `projects//locations//conversations/`. The conversation must be created with a conversation profile which has generators configured in it to be able to get suggestions.
* `:alt` (*type:* `String.t`) - Data format for response.
8115
+
* `:callback` (*type:* `String.t`) - JSONP
8116
+
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
8117
+
* `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
8118
+
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
8119
+
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
8120
+
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
8121
+
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
8122
+
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
Get answers for the given query based on knowledge documents.
8106
8185
@@ -16286,6 +16365,85 @@ defmodule GoogleApi.Dialogflow.V2.Api.Projects do
16286
16365
)
16287
16366
end
16288
16367
16368
+
@doc """
16369
+
Data ingestion API. Ingests context references for an existing conversation.
16370
+
16371
+
## Parameters
16372
+
16373
+
* `connection` (*type:* `GoogleApi.Dialogflow.V2.Connection.t`) - Connection to server
16374
+
* `conversation` (*type:* `String.t`) - Required. Resource identifier of the conversation to ingest context information for. Format: `projects//locations//conversations/`.
* `:alt` (*type:* `String.t`) - Data format for response.
16379
+
* `:callback` (*type:* `String.t`) - JSONP
16380
+
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
16381
+
* `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
16382
+
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
16383
+
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
16384
+
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
16385
+
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
16386
+
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
Returns the list of all conversations in the specified project.
16291
16449
@@ -17134,6 +17292,85 @@ defmodule GoogleApi.Dialogflow.V2.Api.Projects do
17134
17292
)
17135
17293
end
17136
17294
17295
+
@doc """
17296
+
Generates all the suggestions using generators configured in the conversation profile. A generator is used only if its trigger event is matched.
17297
+
17298
+
## Parameters
17299
+
17300
+
* `connection` (*type:* `GoogleApi.Dialogflow.V2.Connection.t`) - Connection to server
17301
+
* `conversation` (*type:* `String.t`) - Required. The conversation for which the suggestions are generated. Format: `projects//locations//conversations/`. The conversation must be created with a conversation profile which has generators configured in it to be able to get suggestions.
* `:alt` (*type:* `String.t`) - Data format for response.
17306
+
* `:callback` (*type:* `String.t`) - JSONP
17307
+
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
17308
+
* `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
17309
+
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
17310
+
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
17311
+
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
17312
+
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
17313
+
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
Copy file name to clipboardExpand all lines: clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_conversation.ex
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Conversation do
24
24
* `conversationProfile` (*type:* `String.t`, *default:* `nil`) - Required. The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format: `projects//locations//conversationProfiles/`.
25
25
* `conversationStage` (*type:* `String.t`, *default:* `nil`) - Optional. The stage of a conversation. It indicates whether the virtual agent or a human agent is handling the conversation. If the conversation is created with the conversation profile that has Dialogflow config set, defaults to ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created with the conversation profile that has Dialogflow config set but explicitly sets conversation_stage to ConversationStage.HUMAN_ASSIST_STAGE, it skips ConversationStage.VIRTUAL_AGENT_STAGE stage and directly goes to ConversationStage.HUMAN_ASSIST_STAGE.
26
26
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the conversation was finished.
27
+
* `ingestedContextReferences` (*type:* `%{optional(String.t) => GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationContextReference.t}`, *default:* `nil`) - Output only. The context reference updates provided by external systems.
27
28
* `lifecycleState` (*type:* `String.t`, *default:* `nil`) - Output only. The current state of the Conversation.
28
29
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. Identifier. The unique identifier of this conversation. Format: `projects//locations//conversations/`.
29
30
* `phoneNumber` (*type:* `GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationPhoneNumber.t`, *default:* `nil`) - Output only. It will not be empty if the conversation is to be connected over telephony.
@@ -37,6 +38,12 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Conversation do
Represents a section of ingested context information.
21
+
22
+
## Attributes
23
+
24
+
* `contextContents` (*type:* `list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationContextReferenceContextContent.t)`, *default:* `nil`) - Required. The list of content updates for a context reference.
25
+
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the context reference was first created.
26
+
* `languageCode` (*type:* `String.t`, *default:* `nil`) - Optional. The language of the information ingested, defaults to "en-US" if not set.
27
+
* `updateMode` (*type:* `String.t`, *default:* `nil`) - Required. The mode in which context reference contents are updated.
0 commit comments