google-api-python-client 2.172.0__py3-none-any.whl → 2.174.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. {google_api_python_client-2.172.0.dist-info → google_api_python_client-2.174.0.dist-info}/METADATA +1 -1
  2. {google_api_python_client-2.172.0.dist-info → google_api_python_client-2.174.0.dist-info}/RECORD +148 -147
  3. googleapiclient/discovery_cache/documents/accessapproval.v1.json +5 -3
  4. googleapiclient/discovery_cache/documents/addressvalidation.v1.json +28 -6
  5. googleapiclient/discovery_cache/documents/admin.datatransfer_v1.json +1 -1
  6. googleapiclient/discovery_cache/documents/admin.datatransferv1.json +1 -1
  7. googleapiclient/discovery_cache/documents/admin.directory_v1.json +1 -1
  8. googleapiclient/discovery_cache/documents/admin.directoryv1.json +1 -1
  9. googleapiclient/discovery_cache/documents/admin.reports_v1.json +6 -4
  10. googleapiclient/discovery_cache/documents/admin.reportsv1.json +6 -4
  11. googleapiclient/discovery_cache/documents/adsenseplatform.v1alpha.json +52 -2
  12. googleapiclient/discovery_cache/documents/aiplatform.v1.json +496 -18
  13. googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +1570 -99
  14. googleapiclient/discovery_cache/documents/alloydb.v1.json +21 -7
  15. googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +68 -33
  16. googleapiclient/discovery_cache/documents/alloydb.v1beta.json +68 -33
  17. googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json +173 -3
  18. googleapiclient/discovery_cache/documents/androidenterprise.v1.json +3 -3
  19. googleapiclient/discovery_cache/documents/androidmanagement.v1.json +124 -2
  20. googleapiclient/discovery_cache/documents/apigee.v1.json +6 -2
  21. googleapiclient/discovery_cache/documents/apihub.v1.json +5 -5
  22. googleapiclient/discovery_cache/documents/appengine.v1.json +325 -1
  23. googleapiclient/discovery_cache/documents/appengine.v1alpha.json +330 -1
  24. googleapiclient/discovery_cache/documents/appengine.v1beta.json +325 -1
  25. googleapiclient/discovery_cache/documents/apphub.v1alpha.json +68 -1
  26. googleapiclient/discovery_cache/documents/assuredworkloads.v1.json +21 -9
  27. googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json +21 -9
  28. googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1alpha.json +8 -8
  29. googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1beta.json +397 -0
  30. googleapiclient/discovery_cache/documents/backupdr.v1.json +215 -2
  31. googleapiclient/discovery_cache/documents/beyondcorp.v1.json +2 -258
  32. googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +2 -250
  33. googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json +26 -1
  34. googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json +27 -2
  35. googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +28 -1
  36. googleapiclient/discovery_cache/documents/chat.v1.json +4 -2
  37. googleapiclient/discovery_cache/documents/chromemanagement.v1.json +9 -5
  38. googleapiclient/discovery_cache/documents/cloudbuild.v1.json +2 -2
  39. googleapiclient/discovery_cache/documents/cloudchannel.v1.json +3 -3
  40. googleapiclient/discovery_cache/documents/cloudresourcemanager.v1.json +9 -1
  41. googleapiclient/discovery_cache/documents/cloudresourcemanager.v1beta1.json +9 -1
  42. googleapiclient/discovery_cache/documents/cloudresourcemanager.v3.json +13 -11
  43. googleapiclient/discovery_cache/documents/cloudsupport.v2.json +1 -42
  44. googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json +1 -42
  45. googleapiclient/discovery_cache/documents/compute.alpha.json +2 -2
  46. googleapiclient/discovery_cache/documents/compute.beta.json +2 -2
  47. googleapiclient/discovery_cache/documents/compute.v1.json +2 -2
  48. googleapiclient/discovery_cache/documents/config.v1.json +410 -1
  49. googleapiclient/discovery_cache/documents/container.v1.json +289 -184
  50. googleapiclient/discovery_cache/documents/container.v1beta1.json +354 -249
  51. googleapiclient/discovery_cache/documents/containeranalysis.v1.json +52 -1
  52. googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json +52 -1
  53. googleapiclient/discovery_cache/documents/content.v2.1.json +35 -1
  54. googleapiclient/discovery_cache/documents/datacatalog.v1.json +47 -47
  55. googleapiclient/discovery_cache/documents/datacatalog.v1beta1.json +21 -21
  56. googleapiclient/discovery_cache/documents/dataform.v1beta1.json +2 -2
  57. googleapiclient/discovery_cache/documents/datafusion.v1.json +6 -1
  58. googleapiclient/discovery_cache/documents/datafusion.v1beta1.json +23 -17
  59. googleapiclient/discovery_cache/documents/dataplex.v1.json +5 -5
  60. googleapiclient/discovery_cache/documents/dataproc.v1.json +18 -4
  61. googleapiclient/discovery_cache/documents/dialogflow.v2.json +97 -9
  62. googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +97 -9
  63. googleapiclient/discovery_cache/documents/dialogflow.v3.json +116 -9
  64. googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +116 -9
  65. googleapiclient/discovery_cache/documents/discoveryengine.v1.json +51 -19
  66. googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +45 -14
  67. googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +51 -19
  68. googleapiclient/discovery_cache/documents/dlp.v2.json +2 -2
  69. googleapiclient/discovery_cache/documents/documentai.v1.json +2 -2
  70. googleapiclient/discovery_cache/documents/documentai.v1beta3.json +2 -2
  71. googleapiclient/discovery_cache/documents/fcm.v1.json +6 -2
  72. googleapiclient/discovery_cache/documents/firebaseappdistribution.v1alpha.json +47 -2
  73. googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +67 -12
  74. googleapiclient/discovery_cache/documents/gkehub.v1.json +2 -2
  75. googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +4 -4
  76. googleapiclient/discovery_cache/documents/gkehub.v1beta.json +2 -2
  77. googleapiclient/discovery_cache/documents/gkehub.v2.json +2 -2
  78. googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +2 -2
  79. googleapiclient/discovery_cache/documents/gkehub.v2beta.json +2 -2
  80. googleapiclient/discovery_cache/documents/gkeonprem.v1.json +6 -1
  81. googleapiclient/discovery_cache/documents/gmail.v1.json +15 -15
  82. googleapiclient/discovery_cache/documents/healthcare.v1beta1.json +1 -11
  83. googleapiclient/discovery_cache/documents/iam.v1.json +3 -3
  84. googleapiclient/discovery_cache/documents/integrations.v1.json +19 -2
  85. googleapiclient/discovery_cache/documents/looker.v1.json +9 -2
  86. googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json +18 -18
  87. googleapiclient/discovery_cache/documents/merchantapi.conversions_v1beta.json +3 -3
  88. googleapiclient/discovery_cache/documents/merchantapi.datasources_v1beta.json +2 -2
  89. googleapiclient/discovery_cache/documents/merchantapi.inventories_v1beta.json +3 -3
  90. googleapiclient/discovery_cache/documents/merchantapi.issueresolution_v1beta.json +3 -3
  91. googleapiclient/discovery_cache/documents/merchantapi.lfp_v1beta.json +3 -3
  92. googleapiclient/discovery_cache/documents/merchantapi.notifications_v1beta.json +3 -3
  93. googleapiclient/discovery_cache/documents/merchantapi.ordertracking_v1beta.json +3 -3
  94. googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json +10 -6
  95. googleapiclient/discovery_cache/documents/merchantapi.promotions_v1beta.json +3 -3
  96. googleapiclient/discovery_cache/documents/merchantapi.quota_v1beta.json +3 -3
  97. googleapiclient/discovery_cache/documents/merchantapi.reports_v1beta.json +2 -2
  98. googleapiclient/discovery_cache/documents/merchantapi.reviews_v1beta.json +4 -4
  99. googleapiclient/discovery_cache/documents/ml.v1.json +1 -1
  100. googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json +2 -2
  101. googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json +3 -3
  102. googleapiclient/discovery_cache/documents/mybusinessverifications.v1.json +2 -2
  103. googleapiclient/discovery_cache/documents/netapp.v1.json +14 -1
  104. googleapiclient/discovery_cache/documents/networkmanagement.v1.json +236 -6
  105. googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +33 -8
  106. googleapiclient/discovery_cache/documents/networksecurity.v1.json +249 -1
  107. googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +58 -58
  108. googleapiclient/discovery_cache/documents/networkservices.v1.json +44 -7
  109. googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +7 -7
  110. googleapiclient/discovery_cache/documents/notebooks.v2.json +2 -2
  111. googleapiclient/discovery_cache/documents/orgpolicy.v2.json +2 -2
  112. googleapiclient/discovery_cache/documents/parallelstore.v1.json +2 -2
  113. googleapiclient/discovery_cache/documents/parallelstore.v1beta.json +2 -2
  114. googleapiclient/discovery_cache/documents/places.v1.json +4 -4
  115. googleapiclient/discovery_cache/documents/policysimulator.v1.json +251 -2
  116. googleapiclient/discovery_cache/documents/policysimulator.v1alpha.json +454 -1
  117. googleapiclient/discovery_cache/documents/policysimulator.v1beta.json +1652 -110
  118. googleapiclient/discovery_cache/documents/readerrevenuesubscriptionlinking.v1.json +16 -1
  119. googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json +2 -2
  120. googleapiclient/discovery_cache/documents/redis.v1.json +31 -6
  121. googleapiclient/discovery_cache/documents/redis.v1beta1.json +31 -6
  122. googleapiclient/discovery_cache/documents/retail.v2.json +132 -3
  123. googleapiclient/discovery_cache/documents/retail.v2alpha.json +143 -3
  124. googleapiclient/discovery_cache/documents/retail.v2beta.json +132 -3
  125. googleapiclient/discovery_cache/documents/run.v1.json +8 -3
  126. googleapiclient/discovery_cache/documents/run.v2.json +9 -7
  127. googleapiclient/discovery_cache/documents/securitycenter.v1.json +275 -2
  128. googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +275 -2
  129. googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +275 -2
  130. googleapiclient/discovery_cache/documents/servicenetworking.v1.json +11 -1
  131. googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +11 -1
  132. googleapiclient/discovery_cache/documents/sheets.v4.json +82 -1
  133. googleapiclient/discovery_cache/documents/sqladmin.v1.json +63 -34
  134. googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json +61 -29
  135. googleapiclient/discovery_cache/documents/texttospeech.v1.json +5 -3
  136. googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json +5 -3
  137. googleapiclient/discovery_cache/documents/tpu.v2alpha1.json +5 -1
  138. googleapiclient/discovery_cache/documents/vmmigration.v1.json +2 -2
  139. googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json +2 -2
  140. googleapiclient/discovery_cache/documents/vmwareengine.v1.json +5 -3
  141. googleapiclient/discovery_cache/documents/workloadmanager.v1.json +3 -1
  142. googleapiclient/discovery_cache/documents/workspaceevents.v1.json +13 -1
  143. googleapiclient/discovery_cache/documents/workstations.v1.json +16 -1
  144. googleapiclient/discovery_cache/documents/workstations.v1beta.json +16 -1
  145. googleapiclient/version.py +1 -1
  146. {google_api_python_client-2.172.0.dist-info → google_api_python_client-2.174.0.dist-info}/WHEEL +0 -0
  147. {google_api_python_client-2.172.0.dist-info → google_api_python_client-2.174.0.dist-info}/licenses/LICENSE +0 -0
  148. {google_api_python_client-2.172.0.dist-info → google_api_python_client-2.174.0.dist-info}/top_level.txt +0 -0
@@ -5436,7 +5436,7 @@
5436
5436
  }
5437
5437
  }
5438
5438
  },
5439
- "revision": "20250602",
5439
+ "revision": "20250617",
5440
5440
  "rootUrl": "https://dialogflow.googleapis.com/",
5441
5441
  "schemas": {
5442
5442
  "GoogleCloudDialogflowCxV3AdvancedSettings": {
@@ -6156,6 +6156,13 @@
6156
6156
  "description": "If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.",
6157
6157
  "type": "boolean"
6158
6158
  },
6159
+ "generators": {
6160
+ "description": "A list of Generators to be called during this fulfillment.",
6161
+ "items": {
6162
+ "$ref": "GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings"
6163
+ },
6164
+ "type": "array"
6165
+ },
6159
6166
  "messages": {
6160
6167
  "description": "The list of rich message responses to present to the user.",
6161
6168
  "items": {
@@ -6232,6 +6239,28 @@
6232
6239
  },
6233
6240
  "type": "object"
6234
6241
  },
6242
+ "GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings": {
6243
+ "description": "Generator settings used by the LLM to generate a text response.",
6244
+ "id": "GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings",
6245
+ "properties": {
6246
+ "generator": {
6247
+ "description": "Required. The generator to call. Format: `projects//locations//agents//generators/`.",
6248
+ "type": "string"
6249
+ },
6250
+ "inputParameters": {
6251
+ "additionalProperties": {
6252
+ "type": "string"
6253
+ },
6254
+ "description": "Map from placeholder parameter in the Generator to corresponding session parameters. By default, Dialogflow uses the session parameter with the same name to fill in the generator template. e.g. If there is a placeholder parameter `city` in the Generator, Dialogflow default to fill in the `$city` with `$session.params.city`. However, you may choose to fill `$city` with `$session.params.desination-city`. - Map key: parameter ID - Map value: session parameter name",
6255
+ "type": "object"
6256
+ },
6257
+ "outputParameter": {
6258
+ "description": "Required. Output parameter which should contain the generator response.",
6259
+ "type": "string"
6260
+ }
6261
+ },
6262
+ "type": "object"
6263
+ },
6235
6264
  "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction": {
6236
6265
  "description": "Setting a parameter value.",
6237
6266
  "id": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction",
@@ -10942,6 +10971,13 @@
10942
10971
  "description": "If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.",
10943
10972
  "type": "boolean"
10944
10973
  },
10974
+ "generators": {
10975
+ "description": "A list of Generators to be called during this fulfillment.",
10976
+ "items": {
10977
+ "$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings"
10978
+ },
10979
+ "type": "array"
10980
+ },
10945
10981
  "messages": {
10946
10982
  "description": "The list of rich message responses to present to the user.",
10947
10983
  "items": {
@@ -11018,6 +11054,28 @@
11018
11054
  },
11019
11055
  "type": "object"
11020
11056
  },
11057
+ "GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings": {
11058
+ "description": "Generator settings used by the LLM to generate a text response.",
11059
+ "id": "GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings",
11060
+ "properties": {
11061
+ "generator": {
11062
+ "description": "Required. The generator to call. Format: `projects//locations//agents//generators/`.",
11063
+ "type": "string"
11064
+ },
11065
+ "inputParameters": {
11066
+ "additionalProperties": {
11067
+ "type": "string"
11068
+ },
11069
+ "description": "Map from placeholder parameter in the Generator to corresponding session parameters. By default, Dialogflow uses the session parameter with the same name to fill in the generator template. e.g. If there is a placeholder parameter `city` in the Generator, Dialogflow default to fill in the `$city` with `$session.params.city`. However, you may choose to fill `$city` with `$session.params.desination-city`. - Map key: parameter ID - Map value: session parameter name",
11070
+ "type": "object"
11071
+ },
11072
+ "outputParameter": {
11073
+ "description": "Required. Output parameter which should contain the generator response.",
11074
+ "type": "string"
11075
+ }
11076
+ },
11077
+ "type": "object"
11078
+ },
11021
11079
  "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction": {
11022
11080
  "description": "Setting a parameter value.",
11023
11081
  "id": "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction",
@@ -13321,6 +13379,10 @@ false
13321
13379
  "$ref": "GoogleCloudDialogflowCxV3beta1LlmModelSettings",
13322
13380
  "description": "Optional. Use the specified LLM model settings for processing the request."
13323
13381
  },
13382
+ "parameterScope": {
13383
+ "description": "Scope for the parameters. If not specified, parameters will be treated as session parameters. Parameters with custom scope will not be put into session parameters. You can reference the parameters with custom scope in the agent with the following format: $parameter-scope.params.parameter-id.",
13384
+ "type": "string"
13385
+ },
13324
13386
  "parameters": {
13325
13387
  "additionalProperties": {
13326
13388
  "description": "Properties of the object.",
@@ -13961,6 +14023,10 @@ false
13961
14023
  "Text that contains the tokenized words of the phrase will be matched, e.g. \"foo\" will match \"a foo bar\" and \"foo bar\", but not \"foobar\"."
13962
14024
  ],
13963
14025
  "type": "string"
14026
+ },
14027
+ "promptSecuritySettings": {
14028
+ "$ref": "GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings",
14029
+ "description": "Optional. Settings for prompt security checks."
13964
14030
  }
13965
14031
  },
13966
14032
  "type": "object"
@@ -13980,6 +14046,17 @@ false
13980
14046
  },
13981
14047
  "type": "object"
13982
14048
  },
14049
+ "GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings": {
14050
+ "description": "Settings for prompt security checks.",
14051
+ "id": "GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings",
14052
+ "properties": {
14053
+ "enablePromptSecurity": {
14054
+ "description": "Optional. Enable prompt security checks.",
14055
+ "type": "boolean"
14056
+ }
14057
+ },
14058
+ "type": "object"
14059
+ },
13983
14060
  "GoogleCloudDialogflowCxV3beta1SearchConfig": {
13984
14061
  "description": "Search configuration for UCS search queries.",
13985
14062
  "id": "GoogleCloudDialogflowCxV3beta1SearchConfig",
@@ -16440,6 +16517,11 @@ false
16440
16517
  "format": "google-datetime",
16441
16518
  "type": "string"
16442
16519
  },
16520
+ "doneTime": {
16521
+ "description": "The time when the operation finished.",
16522
+ "format": "google-datetime",
16523
+ "type": "string"
16524
+ },
16443
16525
  "state": {
16444
16526
  "description": "State of CreateConversationModel operation.",
16445
16527
  "enum": [
@@ -16483,6 +16565,11 @@ false
16483
16565
  "description": "Timestamp when delete conversation model request was created. The time is measured on server side.",
16484
16566
  "format": "google-datetime",
16485
16567
  "type": "string"
16568
+ },
16569
+ "doneTime": {
16570
+ "description": "The time when the operation finished.",
16571
+ "format": "google-datetime",
16572
+ "type": "string"
16486
16573
  }
16487
16574
  },
16488
16575
  "type": "object"
@@ -16499,6 +16586,11 @@ false
16499
16586
  "description": "Timestamp when request to deploy conversation model was submitted. The time is measured on server side.",
16500
16587
  "format": "google-datetime",
16501
16588
  "type": "string"
16589
+ },
16590
+ "doneTime": {
16591
+ "description": "The time when the operation finished.",
16592
+ "format": "google-datetime",
16593
+ "type": "string"
16502
16594
  }
16503
16595
  },
16504
16596
  "type": "object"
@@ -17901,6 +17993,11 @@ true
17901
17993
  "description": "Metadata in google::longrunning::Operation for Knowledge operations.",
17902
17994
  "id": "GoogleCloudDialogflowV2KnowledgeOperationMetadata",
17903
17995
  "properties": {
17996
+ "doneTime": {
17997
+ "description": "The time when the operation finished.",
17998
+ "format": "google-datetime",
17999
+ "type": "string"
18000
+ },
17904
18001
  "exportOperationMetadata": {
17905
18002
  "$ref": "GoogleCloudDialogflowV2ExportOperationMetadata",
17906
18003
  "description": "Metadata for the Export Data Operation such as the destination of export."
@@ -18510,7 +18607,7 @@ true
18510
18607
  "id": "GoogleCloudDialogflowV2ToolCall",
18511
18608
  "properties": {
18512
18609
  "action": {
18513
- "description": "Required. The name of the tool's action associated with this call.",
18610
+ "description": "Optional. The name of the tool's action associated with this call.",
18514
18611
  "type": "string"
18515
18612
  },
18516
18613
  "createTime": {
@@ -18528,7 +18625,7 @@ true
18528
18625
  "type": "object"
18529
18626
  },
18530
18627
  "tool": {
18531
- "description": "Required. The tool associated with this call. Format: `projects//locations//tools/`.",
18628
+ "description": "Optional. The tool associated with this call. Format: `projects//locations//tools/`.",
18532
18629
  "type": "string"
18533
18630
  }
18534
18631
  },
@@ -18539,7 +18636,7 @@ true
18539
18636
  "id": "GoogleCloudDialogflowV2ToolCallResult",
18540
18637
  "properties": {
18541
18638
  "action": {
18542
- "description": "Required. The name of the tool's action associated with this call.",
18639
+ "description": "Optional. The name of the tool's action associated with this call.",
18543
18640
  "type": "string"
18544
18641
  },
18545
18642
  "content": {
@@ -18562,7 +18659,7 @@ true
18562
18659
  "type": "string"
18563
18660
  },
18564
18661
  "tool": {
18565
- "description": "Required. The tool associated with this call. Format: `projects//locations//tools/`.",
18662
+ "description": "Optional. The tool associated with this call. Format: `projects//locations//tools/`.",
18566
18663
  "type": "string"
18567
18664
  }
18568
18665
  },
@@ -18591,6 +18688,11 @@ true
18591
18688
  "description": "Timestamp when the request to undeploy conversation model was submitted. The time is measured on server side.",
18592
18689
  "format": "google-datetime",
18593
18690
  "type": "string"
18691
+ },
18692
+ "doneTime": {
18693
+ "description": "The time when the operation finished.",
18694
+ "format": "google-datetime",
18695
+ "type": "string"
18594
18696
  }
18595
18697
  },
18596
18698
  "type": "object"
@@ -20608,6 +20710,11 @@ true
20608
20710
  "description": "Metadata in google::longrunning::Operation for Knowledge operations.",
20609
20711
  "id": "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata",
20610
20712
  "properties": {
20713
+ "doneTime": {
20714
+ "description": "The time when the operation finished.",
20715
+ "format": "google-datetime",
20716
+ "type": "string"
20717
+ },
20611
20718
  "exportOperationMetadata": {
20612
20719
  "$ref": "GoogleCloudDialogflowV2beta1ExportOperationMetadata",
20613
20720
  "description": "Metadata for the Export Data Operation such as the destination of export."
@@ -21423,7 +21530,7 @@ true
21423
21530
  "id": "GoogleCloudDialogflowV2beta1ToolCall",
21424
21531
  "properties": {
21425
21532
  "action": {
21426
- "description": "Required. The name of the tool's action associated with this call.",
21533
+ "description": "Optional. The name of the tool's action associated with this call.",
21427
21534
  "type": "string"
21428
21535
  },
21429
21536
  "createTime": {
@@ -21441,7 +21548,7 @@ true
21441
21548
  "type": "object"
21442
21549
  },
21443
21550
  "tool": {
21444
- "description": "Required. The tool associated with this call. Format: `projects//locations//tools/`.",
21551
+ "description": "Optional. The tool associated with this call. Format: `projects//locations//tools/`.",
21445
21552
  "type": "string"
21446
21553
  }
21447
21554
  },
@@ -21452,7 +21559,7 @@ true
21452
21559
  "id": "GoogleCloudDialogflowV2beta1ToolCallResult",
21453
21560
  "properties": {
21454
21561
  "action": {
21455
- "description": "Required. The name of the tool's action associated with this call.",
21562
+ "description": "Optional. The name of the tool's action associated with this call.",
21456
21563
  "type": "string"
21457
21564
  },
21458
21565
  "content": {
@@ -21475,7 +21582,7 @@ true
21475
21582
  "type": "string"
21476
21583
  },
21477
21584
  "tool": {
21478
- "description": "Required. The tool associated with this call. Format: `projects//locations//tools/`.",
21585
+ "description": "Optional. The tool associated with this call. Format: `projects//locations//tools/`.",
21479
21586
  "type": "string"
21480
21587
  }
21481
21588
  },
@@ -7052,7 +7052,7 @@
7052
7052
  }
7053
7053
  }
7054
7054
  },
7055
- "revision": "20250604",
7055
+ "revision": "20250617",
7056
7056
  "rootUrl": "https://discoveryengine.googleapis.com/",
7057
7057
  "schemas": {
7058
7058
  "GoogleApiDistribution": {
@@ -12238,6 +12238,10 @@
12238
12238
  "description": "Principal identifier of a user or a group.",
12239
12239
  "id": "GoogleCloudDiscoveryengineV1Principal",
12240
12240
  "properties": {
12241
+ "externalEntityId": {
12242
+ "description": "For 3P application identities which are not present in the customer identity provider.",
12243
+ "type": "string"
12244
+ },
12241
12245
  "groupId": {
12242
12246
  "description": "Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider user account, group_id is the mapped group identifier configured during the workforcepool config.",
12243
12247
  "type": "string"
@@ -12582,7 +12586,8 @@
12582
12586
  "id": "GoogleCloudDiscoveryengineV1Query",
12583
12587
  "properties": {
12584
12588
  "queryId": {
12585
- "description": "Unique Id for the query.",
12589
+ "description": "Output only. Unique Id for the query.",
12590
+ "readOnly": true,
12586
12591
  "type": "string"
12587
12592
  },
12588
12593
  "text": {
@@ -14168,7 +14173,7 @@
14168
14173
  "id": "GoogleCloudDiscoveryengineV1SessionTurn",
14169
14174
  "properties": {
14170
14175
  "answer": {
14171
- "description": "The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn.",
14176
+ "description": "Optional. The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn.",
14172
14177
  "type": "string"
14173
14178
  },
14174
14179
  "detailedAnswer": {
@@ -14178,13 +14183,13 @@
14178
14183
  },
14179
14184
  "query": {
14180
14185
  "$ref": "GoogleCloudDiscoveryengineV1Query",
14181
- "description": "The user query."
14186
+ "description": "Optional. The user query. May not be set if this turn is merely regenerating an answer to a different turn"
14182
14187
  },
14183
- "queryConfigs": {
14188
+ "queryConfig": {
14184
14189
  "additionalProperties": {
14185
14190
  "type": "string"
14186
14191
  },
14187
- "description": "Optional. Represents metadata related to the query config, for example LLM model and version used, model parameters (temperature, grounding parameters, etc.). We don't want to import directly the [AnswerGenerationSpec] structure as this will serve a more general purpose and a wider set of customers. This information is used in particular when rendering alternative answers to the same prompt, providing visual information about how each answer was generated. The prefix \"google.\" will be reserved for the key, and 1P services (Answer, Assistant, etc.) should always store their information with \"google..\". 3P services can use anything not starting with \"google.\"",
14192
+ "description": "Optional. Represents metadata related to the query config, for example LLM model and version used, model parameters (temperature, grounding parameters, etc.). The prefix \"google.\" is reserved for Google-developed functionality.",
14188
14193
  "type": "object"
14189
14194
  }
14190
14195
  },
@@ -18863,7 +18868,8 @@
18863
18868
  "id": "GoogleCloudDiscoveryengineV1alphaQuery",
18864
18869
  "properties": {
18865
18870
  "queryId": {
18866
- "description": "Unique Id for the query.",
18871
+ "description": "Output only. Unique Id for the query.",
18872
+ "readOnly": true,
18867
18873
  "type": "string"
18868
18874
  },
18869
18875
  "text": {
@@ -19303,7 +19309,7 @@
19303
19309
  "description": "The query expansion specification that specifies the conditions under which query expansion occurs."
19304
19310
  },
19305
19311
  "rankingExpression": {
19306
- "description": "The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the ranking_expression_backend value. If ranking_expression_backend is not provided, it defaults to BYOE. === BYOE === If ranking_expression_backend is not provided or set to `BYOE`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. === CLEARBOX === If ranking_expression_backend is set to `CLEARBOX`, the following expression types (and combinations of those chained using + or * operators) are supported: * double * signal * log(signal) * exp(signal) * rr(signal, double > 0) -- reciprocal rank transformation with second argument being a denominator constant. * is_nan(signal) -- returns 0 if signal is NaN, 1 otherwise. * fill_nan(signal1, signal2 | double) -- if signal1 is NaN, returns signal2 | double, else returns signal1. Examples: * 0.2 * gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(fill_nan(gecko_score, 0)) + 0.3 * is_nan(bm25_score) * 0.2 * rr(gecko_score, 16) + 0.8 * rr(bm25_score, 32) The following signals are supported: * gecko_score -- semantic similarity adjustment * bm25_score -- keyword match adjustment * jetstream_score -- semantic relevance adjustment * pctr_rank -- predicted conversion rate adjustment as a rank * freshness_rank -- freshness adjustment as a rank * base_rank -- the default rank of the result",
19312
+ "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result",
19307
19313
  "type": "string"
19308
19314
  },
19309
19315
  "rankingExpressionBackend": {
@@ -19311,12 +19317,23 @@
19311
19317
  "enum": [
19312
19318
  "RANKING_EXPRESSION_BACKEND_UNSPECIFIED",
19313
19319
  "BYOE",
19314
- "CLEARBOX"
19320
+ "CLEARBOX",
19321
+ "RANK_BY_EMBEDDING",
19322
+ "RANK_BY_FORMULA"
19323
+ ],
19324
+ "enumDeprecated": [
19325
+ false,
19326
+ true,
19327
+ true,
19328
+ false,
19329
+ false
19315
19330
  ],
19316
19331
  "enumDescriptions": [
19317
19332
  "Default option for unspecified/unknown values.",
19318
- "Bring your own embedding (BYOE), the default way to evaluate the ranking expression.",
19319
- "The expression is compiled into a Clearbox formula."
19333
+ "Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom embedding model, the default way to evaluate the ranking expression. Legacy enum option, `RANK_BY_EMBEDDING` should be used instead.",
19334
+ "Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. Legacy enum option, `RANK_BY_FORMULA` should be used instead.",
19335
+ "Ranking by custom embedding model, the default way to evaluate the ranking expression.",
19336
+ "Ranking by custom formula."
19320
19337
  ],
19321
19338
  "type": "string"
19322
19339
  },
@@ -19370,6 +19387,10 @@
19370
19387
  "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec",
19371
19388
  "description": "The spell correction specification that specifies the mode under which spell correction takes effect."
19372
19389
  },
19390
+ "useLatestData": {
19391
+ "description": "Uses the Engine, ServingConfig and Control freshly read from the database. Note: this skips config cache and introduces dependency on databases, which could significantly increase the API latency. It should only be used for testing, but not serving end users.",
19392
+ "type": "boolean"
19393
+ },
19373
19394
  "userInfo": {
19374
19395
  "$ref": "GoogleCloudDiscoveryengineV1alphaUserInfo",
19375
19396
  "description": "Information about the end user. Highly recommended for analytics and personalization. UserInfo.user_agent is used to deduce `device_type` for analytics."
@@ -20052,7 +20073,7 @@
20052
20073
  "id": "GoogleCloudDiscoveryengineV1alphaSessionTurn",
20053
20074
  "properties": {
20054
20075
  "answer": {
20055
- "description": "The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn.",
20076
+ "description": "Optional. The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn.",
20056
20077
  "type": "string"
20057
20078
  },
20058
20079
  "detailedAnswer": {
@@ -20062,13 +20083,13 @@
20062
20083
  },
20063
20084
  "query": {
20064
20085
  "$ref": "GoogleCloudDiscoveryengineV1alphaQuery",
20065
- "description": "The user query."
20086
+ "description": "Optional. The user query. May not be set if this turn is merely regenerating an answer to a different turn"
20066
20087
  },
20067
- "queryConfigs": {
20088
+ "queryConfig": {
20068
20089
  "additionalProperties": {
20069
20090
  "type": "string"
20070
20091
  },
20071
- "description": "Optional. Represents metadata related to the query config, for example LLM model and version used, model parameters (temperature, grounding parameters, etc.). We don't want to import directly the [AnswerGenerationSpec] structure as this will serve a more general purpose and a wider set of customers. This information is used in particular when rendering alternative answers to the same prompt, providing visual information about how each answer was generated. The prefix \"google.\" will be reserved for the key, and 1P services (Answer, Assistant, etc.) should always store their information with \"google..\". 3P services can use anything not starting with \"google.\"",
20092
+ "description": "Optional. Represents metadata related to the query config, for example LLM model and version used, model parameters (temperature, grounding parameters, etc.). The prefix \"google.\" is reserved for Google-developed functionality.",
20072
20093
  "type": "object"
20073
20094
  }
20074
20095
  },
@@ -22882,7 +22903,7 @@
22882
22903
  "description": "The query expansion specification that specifies the conditions under which query expansion occurs."
22883
22904
  },
22884
22905
  "rankingExpression": {
22885
- "description": "The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the ranking_expression_backend value. If ranking_expression_backend is not provided, it defaults to BYOE. === BYOE === If ranking_expression_backend is not provided or set to `BYOE`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. === CLEARBOX === If ranking_expression_backend is set to `CLEARBOX`, the following expression types (and combinations of those chained using + or * operators) are supported: * double * signal * log(signal) * exp(signal) * rr(signal, double > 0) -- reciprocal rank transformation with second argument being a denominator constant. * is_nan(signal) -- returns 0 if signal is NaN, 1 otherwise. * fill_nan(signal1, signal2 | double) -- if signal1 is NaN, returns signal2 | double, else returns signal1. Examples: * 0.2 * gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(fill_nan(gecko_score, 0)) + 0.3 * is_nan(bm25_score) * 0.2 * rr(gecko_score, 16) + 0.8 * rr(bm25_score, 32) The following signals are supported: * gecko_score -- semantic similarity adjustment * bm25_score -- keyword match adjustment * jetstream_score -- semantic relevance adjustment * pctr_rank -- predicted conversion rate adjustment as a rank * freshness_rank -- freshness adjustment as a rank * base_rank -- the default rank of the result",
22906
+ "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result",
22886
22907
  "type": "string"
22887
22908
  },
22888
22909
  "rankingExpressionBackend": {
@@ -22890,12 +22911,23 @@
22890
22911
  "enum": [
22891
22912
  "RANKING_EXPRESSION_BACKEND_UNSPECIFIED",
22892
22913
  "BYOE",
22893
- "CLEARBOX"
22914
+ "CLEARBOX",
22915
+ "RANK_BY_EMBEDDING",
22916
+ "RANK_BY_FORMULA"
22917
+ ],
22918
+ "enumDeprecated": [
22919
+ false,
22920
+ true,
22921
+ true,
22922
+ false,
22923
+ false
22894
22924
  ],
22895
22925
  "enumDescriptions": [
22896
22926
  "Default option for unspecified/unknown values.",
22897
- "Bring your own embedding (BYOE), the default way to evaluate the ranking expression.",
22898
- "The expression is compiled into a Clearbox formula."
22927
+ "Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom embedding model, the default way to evaluate the ranking expression. Legacy enum option, `RANK_BY_EMBEDDING` should be used instead.",
22928
+ "Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. Legacy enum option, `RANK_BY_FORMULA` should be used instead.",
22929
+ "Ranking by custom embedding model, the default way to evaluate the ranking expression.",
22930
+ "Ranking by custom formula."
22899
22931
  ],
22900
22932
  "type": "string"
22901
22933
  },
@@ -9173,7 +9173,7 @@
9173
9173
  }
9174
9174
  }
9175
9175
  },
9176
- "revision": "20250604",
9176
+ "revision": "20250617",
9177
9177
  "rootUrl": "https://discoveryengine.googleapis.com/",
9178
9178
  "schemas": {
9179
9179
  "ApiservingMediaRequestInfo": {
@@ -19873,6 +19873,10 @@
19873
19873
  "description": "Principal identifier of a user or a group.",
19874
19874
  "id": "GoogleCloudDiscoveryengineV1alphaPrincipal",
19875
19875
  "properties": {
19876
+ "externalEntityId": {
19877
+ "description": "For 3P application identities which are not present in the customer identity provider.",
19878
+ "type": "string"
19879
+ },
19876
19880
  "groupId": {
19877
19881
  "description": "Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider user account, group_id is the mapped group identifier configured during the workforcepool config.",
19878
19882
  "type": "string"
@@ -20325,7 +20329,8 @@
20325
20329
  "id": "GoogleCloudDiscoveryengineV1alphaQuery",
20326
20330
  "properties": {
20327
20331
  "queryId": {
20328
- "description": "Unique Id for the query.",
20332
+ "description": "Output only. Unique Id for the query.",
20333
+ "readOnly": true,
20329
20334
  "type": "string"
20330
20335
  },
20331
20336
  "text": {
@@ -21319,7 +21324,7 @@
21319
21324
  "description": "The query expansion specification that specifies the conditions under which query expansion occurs."
21320
21325
  },
21321
21326
  "rankingExpression": {
21322
- "description": "The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the ranking_expression_backend value. If ranking_expression_backend is not provided, it defaults to BYOE. === BYOE === If ranking_expression_backend is not provided or set to `BYOE`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. === CLEARBOX === If ranking_expression_backend is set to `CLEARBOX`, the following expression types (and combinations of those chained using + or * operators) are supported: * double * signal * log(signal) * exp(signal) * rr(signal, double > 0) -- reciprocal rank transformation with second argument being a denominator constant. * is_nan(signal) -- returns 0 if signal is NaN, 1 otherwise. * fill_nan(signal1, signal2 | double) -- if signal1 is NaN, returns signal2 | double, else returns signal1. Examples: * 0.2 * gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(fill_nan(gecko_score, 0)) + 0.3 * is_nan(bm25_score) * 0.2 * rr(gecko_score, 16) + 0.8 * rr(bm25_score, 32) The following signals are supported: * gecko_score -- semantic similarity adjustment * bm25_score -- keyword match adjustment * jetstream_score -- semantic relevance adjustment * pctr_rank -- predicted conversion rate adjustment as a rank * freshness_rank -- freshness adjustment as a rank * base_rank -- the default rank of the result",
21327
+ "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result",
21323
21328
  "type": "string"
21324
21329
  },
21325
21330
  "rankingExpressionBackend": {
@@ -21327,12 +21332,23 @@
21327
21332
  "enum": [
21328
21333
  "RANKING_EXPRESSION_BACKEND_UNSPECIFIED",
21329
21334
  "BYOE",
21330
- "CLEARBOX"
21335
+ "CLEARBOX",
21336
+ "RANK_BY_EMBEDDING",
21337
+ "RANK_BY_FORMULA"
21338
+ ],
21339
+ "enumDeprecated": [
21340
+ false,
21341
+ true,
21342
+ true,
21343
+ false,
21344
+ false
21331
21345
  ],
21332
21346
  "enumDescriptions": [
21333
21347
  "Default option for unspecified/unknown values.",
21334
- "Bring your own embedding (BYOE), the default way to evaluate the ranking expression.",
21335
- "The expression is compiled into a Clearbox formula."
21348
+ "Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom embedding model, the default way to evaluate the ranking expression. Legacy enum option, `RANK_BY_EMBEDDING` should be used instead.",
21349
+ "Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. Legacy enum option, `RANK_BY_FORMULA` should be used instead.",
21350
+ "Ranking by custom embedding model, the default way to evaluate the ranking expression.",
21351
+ "Ranking by custom formula."
21336
21352
  ],
21337
21353
  "type": "string"
21338
21354
  },
@@ -21386,6 +21402,10 @@
21386
21402
  "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec",
21387
21403
  "description": "The spell correction specification that specifies the mode under which spell correction takes effect."
21388
21404
  },
21405
+ "useLatestData": {
21406
+ "description": "Uses the Engine, ServingConfig and Control freshly read from the database. Note: this skips config cache and introduces dependency on databases, which could significantly increase the API latency. It should only be used for testing, but not serving end users.",
21407
+ "type": "boolean"
21408
+ },
21389
21409
  "userInfo": {
21390
21410
  "$ref": "GoogleCloudDiscoveryengineV1alphaUserInfo",
21391
21411
  "description": "Information about the end user. Highly recommended for analytics and personalization. UserInfo.user_agent is used to deduce `device_type` for analytics."
@@ -22967,7 +22987,7 @@
22967
22987
  "id": "GoogleCloudDiscoveryengineV1alphaSessionTurn",
22968
22988
  "properties": {
22969
22989
  "answer": {
22970
- "description": "The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn.",
22990
+ "description": "Optional. The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn.",
22971
22991
  "type": "string"
22972
22992
  },
22973
22993
  "detailedAnswer": {
@@ -22977,13 +22997,13 @@
22977
22997
  },
22978
22998
  "query": {
22979
22999
  "$ref": "GoogleCloudDiscoveryengineV1alphaQuery",
22980
- "description": "The user query."
23000
+ "description": "Optional. The user query. May not be set if this turn is merely regenerating an answer to a different turn"
22981
23001
  },
22982
- "queryConfigs": {
23002
+ "queryConfig": {
22983
23003
  "additionalProperties": {
22984
23004
  "type": "string"
22985
23005
  },
22986
- "description": "Optional. Represents metadata related to the query config, for example LLM model and version used, model parameters (temperature, grounding parameters, etc.). We don't want to import directly the [AnswerGenerationSpec] structure as this will serve a more general purpose and a wider set of customers. This information is used in particular when rendering alternative answers to the same prompt, providing visual information about how each answer was generated. The prefix \"google.\" will be reserved for the key, and 1P services (Answer, Assistant, etc.) should always store their information with \"google..\". 3P services can use anything not starting with \"google.\"",
23006
+ "description": "Optional. Represents metadata related to the query config, for example LLM model and version used, model parameters (temperature, grounding parameters, etc.). The prefix \"google.\" is reserved for Google-developed functionality.",
22987
23007
  "type": "object"
22988
23008
  }
22989
23009
  },
@@ -26922,7 +26942,7 @@
26922
26942
  "description": "The query expansion specification that specifies the conditions under which query expansion occurs."
26923
26943
  },
26924
26944
  "rankingExpression": {
26925
- "description": "The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the ranking_expression_backend value. If ranking_expression_backend is not provided, it defaults to BYOE. === BYOE === If ranking_expression_backend is not provided or set to `BYOE`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. === CLEARBOX === If ranking_expression_backend is set to `CLEARBOX`, the following expression types (and combinations of those chained using + or * operators) are supported: * double * signal * log(signal) * exp(signal) * rr(signal, double > 0) -- reciprocal rank transformation with second argument being a denominator constant. * is_nan(signal) -- returns 0 if signal is NaN, 1 otherwise. * fill_nan(signal1, signal2 | double) -- if signal1 is NaN, returns signal2 | double, else returns signal1. Examples: * 0.2 * gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(fill_nan(gecko_score, 0)) + 0.3 * is_nan(bm25_score) * 0.2 * rr(gecko_score, 16) + 0.8 * rr(bm25_score, 32) The following signals are supported: * gecko_score -- semantic similarity adjustment * bm25_score -- keyword match adjustment * jetstream_score -- semantic relevance adjustment * pctr_rank -- predicted conversion rate adjustment as a rank * freshness_rank -- freshness adjustment as a rank * base_rank -- the default rank of the result",
26945
+ "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result",
26926
26946
  "type": "string"
26927
26947
  },
26928
26948
  "rankingExpressionBackend": {
@@ -26930,12 +26950,23 @@
26930
26950
  "enum": [
26931
26951
  "RANKING_EXPRESSION_BACKEND_UNSPECIFIED",
26932
26952
  "BYOE",
26933
- "CLEARBOX"
26953
+ "CLEARBOX",
26954
+ "RANK_BY_EMBEDDING",
26955
+ "RANK_BY_FORMULA"
26956
+ ],
26957
+ "enumDeprecated": [
26958
+ false,
26959
+ true,
26960
+ true,
26961
+ false,
26962
+ false
26934
26963
  ],
26935
26964
  "enumDescriptions": [
26936
26965
  "Default option for unspecified/unknown values.",
26937
- "Bring your own embedding (BYOE), the default way to evaluate the ranking expression.",
26938
- "The expression is compiled into a Clearbox formula."
26966
+ "Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom embedding model, the default way to evaluate the ranking expression. Legacy enum option, `RANK_BY_EMBEDDING` should be used instead.",
26967
+ "Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. Legacy enum option, `RANK_BY_FORMULA` should be used instead.",
26968
+ "Ranking by custom embedding model, the default way to evaluate the ranking expression.",
26969
+ "Ranking by custom formula."
26939
26970
  ],
26940
26971
  "type": "string"
26941
26972
  },