Skip to content

Commit 7ac67dd

Browse files
yoshi-automationquirogas
authored andcommitted
feat(dialogflow): update the API
#### dialogflow:v3beta1 The following keys were added: - schemas.GoogleCloudDialogflowCxV3beta1DetectIntentRequest.properties.responseView.description - schemas.GoogleCloudDialogflowCxV3beta1DetectIntentRequest.properties.responseView.enum - schemas.GoogleCloudDialogflowCxV3beta1DetectIntentRequest.properties.responseView.enumDescriptions - schemas.GoogleCloudDialogflowCxV3beta1DetectIntentRequest.properties.responseView.type #### dialogflow:v3 The following keys were added: - schemas.GoogleCloudDialogflowCxV3DetectIntentRequest.properties.responseView.description - schemas.GoogleCloudDialogflowCxV3DetectIntentRequest.properties.responseView.enum - schemas.GoogleCloudDialogflowCxV3DetectIntentRequest.properties.responseView.enumDescriptions - schemas.GoogleCloudDialogflowCxV3DetectIntentRequest.properties.responseView.type
1 parent 6d3615f commit 7ac67dd

File tree

4 files changed

+50
-6
lines changed

4 files changed

+50
-6
lines changed

discovery/dialogflow-v3.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5319,7 +5319,7 @@
53195319
}
53205320
}
53215321
},
5322-
"revision": "20251203",
5322+
"revision": "20251209",
53235323
"rootUrl": "https://dialogflow.googleapis.com/",
53245324
"schemas": {
53255325
"GoogleCloudDialogflowCxV3Action": {
@@ -6600,6 +6600,20 @@
66006600
"queryParams": {
66016601
"$ref": "GoogleCloudDialogflowCxV3QueryParameters",
66026602
"description": "The parameters of this query."
6603+
},
6604+
"responseView": {
6605+
"description": "Optional. Specifies which fields in the QueryResult to return. If not set, the default is DETECT_INTENT_RESPONSE_VIEW_FULL.",
6606+
"enum": [
6607+
"DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED",
6608+
"DETECT_INTENT_RESPONSE_VIEW_FULL",
6609+
"DETECT_INTENT_RESPONSE_VIEW_BASIC"
6610+
],
6611+
"enumDescriptions": [
6612+
"Not specified. `FULL` will be used.",
6613+
"Full response view includes all fields.",
6614+
"Basic response view omits the following fields: - QueryResult.diagnostic_info"
6615+
],
6616+
"type": "string"
66036617
}
66046618
},
66056619
"type": "object"

discovery/dialogflow-v3beta1.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5446,7 +5446,7 @@
54465446
}
54475447
}
54485448
},
5449-
"revision": "20251203",
5449+
"revision": "20251209",
54505450
"rootUrl": "https://dialogflow.googleapis.com/",
54515451
"schemas": {
54525452
"GoogleCloudDialogflowCxV3AdvancedSettings": {
@@ -9706,6 +9706,20 @@
97069706
"$ref": "GoogleCloudDialogflowCxV3beta1QueryParameters",
97079707
"description": "The parameters of this query."
97089708
},
9709+
"responseView": {
9710+
"description": "Optional. Specifies which fields in the QueryResult to return. If not set, the default is DETECT_INTENT_RESPONSE_VIEW_FULL.",
9711+
"enum": [
9712+
"DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED",
9713+
"DETECT_INTENT_RESPONSE_VIEW_FULL",
9714+
"DETECT_INTENT_RESPONSE_VIEW_BASIC"
9715+
],
9716+
"enumDescriptions": [
9717+
"Not specified. `FULL` will be used.",
9718+
"Full response view includes all fields.",
9719+
"Basic response view omits the following fields: - QueryResult.diagnostic_info - QueryResult.generative_info"
9720+
],
9721+
"type": "string"
9722+
},
97099723
"session": {
97109724
"description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).",
97119725
"type": "string"

src/apis/dialogflow/v3.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2898,6 +2898,10 @@ export namespace dialogflow_v3 {
28982898
* The parameters of this query.
28992899
*/
29002900
queryParams?: Schema$GoogleCloudDialogflowCxV3QueryParameters;
2901+
/**
2902+
* Optional. Specifies which fields in the QueryResult to return. If not set, the default is DETECT_INTENT_RESPONSE_VIEW_FULL.
2903+
*/
2904+
responseView?: string | null;
29012905
}
29022906
/**
29032907
* The message returned from the DetectIntent method.
@@ -18666,7 +18670,8 @@ export namespace dialogflow_v3 {
1866618670
* // {
1866718671
* // "outputAudioConfig": {},
1866818672
* // "queryInput": {},
18669-
* // "queryParams": {}
18673+
* // "queryParams": {},
18674+
* // "responseView": "my_responseView"
1867018675
* // }
1867118676
* },
1867218677
* },
@@ -19174,7 +19179,8 @@ export namespace dialogflow_v3 {
1917419179
* // {
1917519180
* // "outputAudioConfig": {},
1917619181
* // "queryInput": {},
19177-
* // "queryParams": {}
19182+
* // "queryParams": {},
19183+
* // "responseView": "my_responseView"
1917819184
* // }
1917919185
* },
1918019186
* },
@@ -29934,7 +29940,8 @@ export namespace dialogflow_v3 {
2993429940
* // {
2993529941
* // "outputAudioConfig": {},
2993629942
* // "queryInput": {},
29937-
* // "queryParams": {}
29943+
* // "queryParams": {},
29944+
* // "responseView": "my_responseView"
2993829945
* // }
2993929946
* },
2994029947
* });
@@ -30437,7 +30444,8 @@ export namespace dialogflow_v3 {
3043730444
* // {
3043830445
* // "outputAudioConfig": {},
3043930446
* // "queryInput": {},
30440-
* // "queryParams": {}
30447+
* // "queryParams": {},
30448+
* // "responseView": "my_responseView"
3044130449
* // }
3044230450
* },
3044330451
* },

src/apis/dialogflow/v3beta1.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1602,6 +1602,10 @@ export namespace dialogflow_v3beta1 {
16021602
* The parameters of this query.
16031603
*/
16041604
queryParams?: Schema$GoogleCloudDialogflowCxV3beta1QueryParameters;
1605+
/**
1606+
* Optional. Specifies which fields in the QueryResult to return. If not set, the default is DETECT_INTENT_RESPONSE_VIEW_FULL.
1607+
*/
1608+
responseView?: string | null;
16051609
/**
16061610
* Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
16071611
*/
@@ -19999,6 +20003,7 @@ export namespace dialogflow_v3beta1 {
1999920003
* // "outputAudioConfig": {},
2000020004
* // "queryInput": {},
2000120005
* // "queryParams": {},
20006+
* // "responseView": "my_responseView",
2000220007
* // "session": "my_session"
2000320008
* // }
2000420009
* },
@@ -20508,6 +20513,7 @@ export namespace dialogflow_v3beta1 {
2050820513
* // "outputAudioConfig": {},
2050920514
* // "queryInput": {},
2051020515
* // "queryParams": {},
20516+
* // "responseView": "my_responseView",
2051120517
* // "session": "my_session"
2051220518
* // }
2051320519
* },
@@ -31322,6 +31328,7 @@ export namespace dialogflow_v3beta1 {
3132231328
* // "outputAudioConfig": {},
3132331329
* // "queryInput": {},
3132431330
* // "queryParams": {},
31331+
* // "responseView": "my_responseView",
3132531332
* // "session": "my_session"
3132631333
* // }
3132731334
* },
@@ -31826,6 +31833,7 @@ export namespace dialogflow_v3beta1 {
3182631833
* // "outputAudioConfig": {},
3182731834
* // "queryInput": {},
3182831835
* // "queryParams": {},
31836+
* // "responseView": "my_responseView",
3182931837
* // "session": "my_session"
3183031838
* // }
3183131839
* },

0 commit comments

Comments
 (0)