google-apis-discoveryengine_v1alpha 0.72.0 → 0.74.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a4301d4093524456720dc3d7268bd647fe14b8cce5edbf37fd8031d79b22460
4
- data.tar.gz: 6237785bcff0ffc499fc62b1cff6f9c6f21bf6ef01a006b23048c29995510618
3
+ metadata.gz: d4385e7bb2bf50f393d45768aa36ae24d797a42521ebe8f1ac6ba7b0445ed6e1
4
+ data.tar.gz: 9db018998c9196f1f7c5362a93bb5d53523e7b03875715ae9b58e8873c5cf0fa
5
5
  SHA512:
6
- metadata.gz: 6b2ab0c26c2196475fc48fae649689d0765ba573e07f704b7e239185bf418f54332798efaa641a3c34d8d288e2b6e5568470115397bbe25b5312b4773c4c65ab
7
- data.tar.gz: a2133192e00728df99fd80cf3d0faa49620fe95d8cd44ae1274725119720274316fe7e3d0d79b07c8484cb03b59a24ce7a10ee6e7eb1fb3aaa6ba573ba008e2a
6
+ metadata.gz: ca4967ffdd53d5c4294f323d4876cc6ed6c4c4e5e90aae5b3bb3602e877af7ac59c84252c892a746cb7f9be9147d6eacf524569b73d8aad10257ee2e1bcf417e
7
+ data.tar.gz: 47f2df29c5d59ee421abe67ff8eaba017c7b807241fb43462eac60b0f04d4fe93db94d18369d2385de202f21cf44a41586612e3678a6f7ae73090305803ae34c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.74.0 (2025-08-24)
4
+
5
+ * Regenerated from discovery document revision 20250816
6
+
7
+ ### v0.73.0 (2025-08-17)
8
+
9
+ * Regenerated from discovery document revision 20250810
10
+
3
11
  ### v0.72.0 (2025-08-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20250728
@@ -1750,6 +1750,28 @@ module Google
1750
1750
  class GoogleCloudDiscoveryengineV1Assistant
1751
1751
  include Google::Apis::Core::Hashable
1752
1752
 
1753
+ # Customer-defined policy for the assistant.
1754
+ # Corresponds to the JSON property `customerPolicy`
1755
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy]
1756
+ attr_accessor :customer_policy
1757
+
1758
+ # Optional. Note: not implemented yet. Use enabled_actions instead. The enabled
1759
+ # tools on this assistant. The keys are connector name, for example "projects/`
1760
+ # projectId`/locations/`locationId`/collections/`collectionId`/dataconnector The
1761
+ # values consist of admin enabled tools towards the connector instance. Admin
1762
+ # can selectively enable multiple tools on any of the connector instances that
1763
+ # they created in the project. For example `"jira1ConnectorName": [(toolId1, "
1764
+ # createTicket"), (toolId2, "transferTicket")], "gmail1ConnectorName": [(toolId3,
1765
+ # "sendEmail"),..] `
1766
+ # Corresponds to the JSON property `enabledTools`
1767
+ # @return [Hash<String,Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantToolList>]
1768
+ attr_accessor :enabled_tools
1769
+
1770
+ # Configuration for the generation of the assistant response.
1771
+ # Corresponds to the JSON property `generationConfig`
1772
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantGenerationConfig]
1773
+ attr_accessor :generation_config
1774
+
1753
1775
  # Immutable. Resource name of the assistant. Format: `projects/`project`/
1754
1776
  # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
1755
1777
  # assistant`` It must be a UTF-8 encoded string with a length limit of 1024
@@ -1758,13 +1780,169 @@ module Google
1758
1780
  # @return [String]
1759
1781
  attr_accessor :name
1760
1782
 
1783
+ # Optional. The type of web grounding to use.
1784
+ # Corresponds to the JSON property `webGroundingType`
1785
+ # @return [String]
1786
+ attr_accessor :web_grounding_type
1787
+
1761
1788
  def initialize(**args)
1762
1789
  update!(**args)
1763
1790
  end
1764
1791
 
1765
1792
  # Update properties of this object
1766
1793
  def update!(**args)
1794
+ @customer_policy = args[:customer_policy] if args.key?(:customer_policy)
1795
+ @enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
1796
+ @generation_config = args[:generation_config] if args.key?(:generation_config)
1767
1797
  @name = args[:name] if args.key?(:name)
1798
+ @web_grounding_type = args[:web_grounding_type] if args.key?(:web_grounding_type)
1799
+ end
1800
+ end
1801
+
1802
+ # Customer-defined policy for the assistant.
1803
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy
1804
+ include Google::Apis::Core::Hashable
1805
+
1806
+ # Optional. List of banned phrases.
1807
+ # Corresponds to the JSON property `bannedPhrases`
1808
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase>]
1809
+ attr_accessor :banned_phrases
1810
+
1811
+ def initialize(**args)
1812
+ update!(**args)
1813
+ end
1814
+
1815
+ # Update properties of this object
1816
+ def update!(**args)
1817
+ @banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
1818
+ end
1819
+ end
1820
+
1821
+ # Definition of a customer-defined banned phrase. A banned phrase is not allowed
1822
+ # to appear in the user query or the LLM response, or else the answer will be
1823
+ # refused.
1824
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase
1825
+ include Google::Apis::Core::Hashable
1826
+
1827
+ # Optional. If true, diacritical marks (e.g., accents, umlauts) are ignored when
1828
+ # matching banned phrases. For example, "cafe" would match "café".
1829
+ # Corresponds to the JSON property `ignoreDiacritics`
1830
+ # @return [Boolean]
1831
+ attr_accessor :ignore_diacritics
1832
+ alias_method :ignore_diacritics?, :ignore_diacritics
1833
+
1834
+ # Optional. Match type for the banned phrase.
1835
+ # Corresponds to the JSON property `matchType`
1836
+ # @return [String]
1837
+ attr_accessor :match_type
1838
+
1839
+ # Required. The raw string content to be banned.
1840
+ # Corresponds to the JSON property `phrase`
1841
+ # @return [String]
1842
+ attr_accessor :phrase
1843
+
1844
+ def initialize(**args)
1845
+ update!(**args)
1846
+ end
1847
+
1848
+ # Update properties of this object
1849
+ def update!(**args)
1850
+ @ignore_diacritics = args[:ignore_diacritics] if args.key?(:ignore_diacritics)
1851
+ @match_type = args[:match_type] if args.key?(:match_type)
1852
+ @phrase = args[:phrase] if args.key?(:phrase)
1853
+ end
1854
+ end
1855
+
1856
+ # Configuration for the generation of the assistant response.
1857
+ class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
1858
+ include Google::Apis::Core::Hashable
1859
+
1860
+ # The default language to use for the generation of the assistant response. Use
1861
+ # an ISO 639-1 language code such as `en`. If not specified, the language will
1862
+ # be automatically detected.
1863
+ # Corresponds to the JSON property `defaultLanguage`
1864
+ # @return [String]
1865
+ attr_accessor :default_language
1866
+
1867
+ # System instruction, also known as the prompt preamble for LLM calls.
1868
+ # Corresponds to the JSON property `systemInstruction`
1869
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction]
1870
+ attr_accessor :system_instruction
1871
+
1872
+ def initialize(**args)
1873
+ update!(**args)
1874
+ end
1875
+
1876
+ # Update properties of this object
1877
+ def update!(**args)
1878
+ @default_language = args[:default_language] if args.key?(:default_language)
1879
+ @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
1880
+ end
1881
+ end
1882
+
1883
+ # System instruction, also known as the prompt preamble for LLM calls.
1884
+ class GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction
1885
+ include Google::Apis::Core::Hashable
1886
+
1887
+ # Optional. Additional system instruction that will be added to the default
1888
+ # system instruction.
1889
+ # Corresponds to the JSON property `additionalSystemInstruction`
1890
+ # @return [String]
1891
+ attr_accessor :additional_system_instruction
1892
+
1893
+ def initialize(**args)
1894
+ update!(**args)
1895
+ end
1896
+
1897
+ # Update properties of this object
1898
+ def update!(**args)
1899
+ @additional_system_instruction = args[:additional_system_instruction] if args.key?(:additional_system_instruction)
1900
+ end
1901
+ end
1902
+
1903
+ # Information to identify a tool.
1904
+ class GoogleCloudDiscoveryengineV1AssistantToolInfo
1905
+ include Google::Apis::Core::Hashable
1906
+
1907
+ # The display name of the tool.
1908
+ # Corresponds to the JSON property `toolDisplayName`
1909
+ # @return [String]
1910
+ attr_accessor :tool_display_name
1911
+
1912
+ # The name of the tool as defined by DataConnectorService.QueryAvailableActions.
1913
+ # Note: it's using `action` in the DataConnectorService apis, but they are the
1914
+ # same as the `tool` here.
1915
+ # Corresponds to the JSON property `toolName`
1916
+ # @return [String]
1917
+ attr_accessor :tool_name
1918
+
1919
+ def initialize(**args)
1920
+ update!(**args)
1921
+ end
1922
+
1923
+ # Update properties of this object
1924
+ def update!(**args)
1925
+ @tool_display_name = args[:tool_display_name] if args.key?(:tool_display_name)
1926
+ @tool_name = args[:tool_name] if args.key?(:tool_name)
1927
+ end
1928
+ end
1929
+
1930
+ # The enabled tools on a connector
1931
+ class GoogleCloudDiscoveryengineV1AssistantToolList
1932
+ include Google::Apis::Core::Hashable
1933
+
1934
+ # The list of tools with corresponding tool information.
1935
+ # Corresponds to the JSON property `toolInfo`
1936
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantToolInfo>]
1937
+ attr_accessor :tool_info
1938
+
1939
+ def initialize(**args)
1940
+ update!(**args)
1941
+ end
1942
+
1943
+ # Update properties of this object
1944
+ def update!(**args)
1945
+ @tool_info = args[:tool_info] if args.key?(:tool_info)
1768
1946
  end
1769
1947
  end
1770
1948
 
@@ -5567,6 +5745,13 @@ module Google
5567
5745
  # @return [String]
5568
5746
  attr_accessor :service_name
5569
5747
 
5748
+ # Optional. Whether to use static secrets for the connector. If true, the
5749
+ # secrets provided in the action_params will be ignored.
5750
+ # Corresponds to the JSON property `useStaticSecrets`
5751
+ # @return [Boolean]
5752
+ attr_accessor :use_static_secrets
5753
+ alias_method :use_static_secrets?, :use_static_secrets
5754
+
5570
5755
  def initialize(**args)
5571
5756
  update!(**args)
5572
5757
  end
@@ -5576,6 +5761,7 @@ module Google
5576
5761
  @action_params = args[:action_params] if args.key?(:action_params)
5577
5762
  @is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
5578
5763
  @service_name = args[:service_name] if args.key?(:service_name)
5764
+ @use_static_secrets = args[:use_static_secrets] if args.key?(:use_static_secrets)
5579
5765
  end
5580
5766
  end
5581
5767
 
@@ -7982,6 +8168,28 @@ module Google
7982
8168
  class GoogleCloudDiscoveryengineV1alphaAssistant
7983
8169
  include Google::Apis::Core::Hashable
7984
8170
 
8171
+ # Customer-defined policy for the assistant.
8172
+ # Corresponds to the JSON property `customerPolicy`
8173
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy]
8174
+ attr_accessor :customer_policy
8175
+
8176
+ # Optional. Note: not implemented yet. Use enabled_actions instead. The enabled
8177
+ # tools on this assistant. The keys are connector name, for example "projects/`
8178
+ # projectId`/locations/`locationId`/collections/`collectionId`/dataconnector The
8179
+ # values consist of admin enabled tools towards the connector instance. Admin
8180
+ # can selectively enable multiple tools on any of the connector instances that
8181
+ # they created in the project. For example `"jira1ConnectorName": [(toolId1, "
8182
+ # createTicket"), (toolId2, "transferTicket")], "gmail1ConnectorName": [(toolId3,
8183
+ # "sendEmail"),..] `
8184
+ # Corresponds to the JSON property `enabledTools`
8185
+ # @return [Hash<String,Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantToolList>]
8186
+ attr_accessor :enabled_tools
8187
+
8188
+ # Configuration for the generation of the assistant response.
8189
+ # Corresponds to the JSON property `generationConfig`
8190
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig]
8191
+ attr_accessor :generation_config
8192
+
7985
8193
  # Immutable. Resource name of the assistant. Format: `projects/`project`/
7986
8194
  # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
7987
8195
  # assistant`` It must be a UTF-8 encoded string with a length limit of 1024
@@ -7990,13 +8198,22 @@ module Google
7990
8198
  # @return [String]
7991
8199
  attr_accessor :name
7992
8200
 
8201
+ # Optional. The type of web grounding to use.
8202
+ # Corresponds to the JSON property `webGroundingType`
8203
+ # @return [String]
8204
+ attr_accessor :web_grounding_type
8205
+
7993
8206
  def initialize(**args)
7994
8207
  update!(**args)
7995
8208
  end
7996
8209
 
7997
8210
  # Update properties of this object
7998
8211
  def update!(**args)
8212
+ @customer_policy = args[:customer_policy] if args.key?(:customer_policy)
8213
+ @enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
8214
+ @generation_config = args[:generation_config] if args.key?(:generation_config)
7999
8215
  @name = args[:name] if args.key?(:name)
8216
+ @web_grounding_type = args[:web_grounding_type] if args.key?(:web_grounding_type)
8000
8217
  end
8001
8218
  end
8002
8219
 
@@ -8152,6 +8369,107 @@ module Google
8152
8369
  end
8153
8370
  end
8154
8371
 
8372
+ # Customer-defined policy for the assistant.
8373
+ class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy
8374
+ include Google::Apis::Core::Hashable
8375
+
8376
+ # Optional. List of banned phrases.
8377
+ # Corresponds to the JSON property `bannedPhrases`
8378
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase>]
8379
+ attr_accessor :banned_phrases
8380
+
8381
+ def initialize(**args)
8382
+ update!(**args)
8383
+ end
8384
+
8385
+ # Update properties of this object
8386
+ def update!(**args)
8387
+ @banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
8388
+ end
8389
+ end
8390
+
8391
+ # Definition of a customer-defined banned phrase. A banned phrase is not allowed
8392
+ # to appear in the user query or the LLM response, or else the answer will be
8393
+ # refused.
8394
+ class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase
8395
+ include Google::Apis::Core::Hashable
8396
+
8397
+ # Optional. If true, diacritical marks (e.g., accents, umlauts) are ignored when
8398
+ # matching banned phrases. For example, "cafe" would match "café".
8399
+ # Corresponds to the JSON property `ignoreDiacritics`
8400
+ # @return [Boolean]
8401
+ attr_accessor :ignore_diacritics
8402
+ alias_method :ignore_diacritics?, :ignore_diacritics
8403
+
8404
+ # Optional. Match type for the banned phrase.
8405
+ # Corresponds to the JSON property `matchType`
8406
+ # @return [String]
8407
+ attr_accessor :match_type
8408
+
8409
+ # Required. The raw string content to be banned.
8410
+ # Corresponds to the JSON property `phrase`
8411
+ # @return [String]
8412
+ attr_accessor :phrase
8413
+
8414
+ def initialize(**args)
8415
+ update!(**args)
8416
+ end
8417
+
8418
+ # Update properties of this object
8419
+ def update!(**args)
8420
+ @ignore_diacritics = args[:ignore_diacritics] if args.key?(:ignore_diacritics)
8421
+ @match_type = args[:match_type] if args.key?(:match_type)
8422
+ @phrase = args[:phrase] if args.key?(:phrase)
8423
+ end
8424
+ end
8425
+
8426
+ # Configuration for the generation of the assistant response.
8427
+ class GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig
8428
+ include Google::Apis::Core::Hashable
8429
+
8430
+ # The default language to use for the generation of the assistant response. Use
8431
+ # an ISO 639-1 language code such as `en`. If not specified, the language will
8432
+ # be automatically detected.
8433
+ # Corresponds to the JSON property `defaultLanguage`
8434
+ # @return [String]
8435
+ attr_accessor :default_language
8436
+
8437
+ # System instruction, also known as the prompt preamble for LLM calls.
8438
+ # Corresponds to the JSON property `systemInstruction`
8439
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction]
8440
+ attr_accessor :system_instruction
8441
+
8442
+ def initialize(**args)
8443
+ update!(**args)
8444
+ end
8445
+
8446
+ # Update properties of this object
8447
+ def update!(**args)
8448
+ @default_language = args[:default_language] if args.key?(:default_language)
8449
+ @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
8450
+ end
8451
+ end
8452
+
8453
+ # System instruction, also known as the prompt preamble for LLM calls.
8454
+ class GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction
8455
+ include Google::Apis::Core::Hashable
8456
+
8457
+ # Optional. Additional system instruction that will be added to the default
8458
+ # system instruction.
8459
+ # Corresponds to the JSON property `additionalSystemInstruction`
8460
+ # @return [String]
8461
+ attr_accessor :additional_system_instruction
8462
+
8463
+ def initialize(**args)
8464
+ update!(**args)
8465
+ end
8466
+
8467
+ # Update properties of this object
8468
+ def update!(**args)
8469
+ @additional_system_instruction = args[:additional_system_instruction] if args.key?(:additional_system_instruction)
8470
+ end
8471
+ end
8472
+
8155
8473
  # A piece of content and possibly its grounding information. Not all content
8156
8474
  # needs grounding. Phrases like "Of course, I will gladly search it for you." do
8157
8475
  # not need grounding.
@@ -8320,6 +8638,52 @@ module Google
8320
8638
  end
8321
8639
  end
8322
8640
 
8641
+ # Information to identify a tool.
8642
+ class GoogleCloudDiscoveryengineV1alphaAssistantToolInfo
8643
+ include Google::Apis::Core::Hashable
8644
+
8645
+ # The display name of the tool.
8646
+ # Corresponds to the JSON property `toolDisplayName`
8647
+ # @return [String]
8648
+ attr_accessor :tool_display_name
8649
+
8650
+ # The name of the tool as defined by DataConnectorService.QueryAvailableActions.
8651
+ # Note: it's using `action` in the DataConnectorService apis, but they are the
8652
+ # same as the `tool` here.
8653
+ # Corresponds to the JSON property `toolName`
8654
+ # @return [String]
8655
+ attr_accessor :tool_name
8656
+
8657
+ def initialize(**args)
8658
+ update!(**args)
8659
+ end
8660
+
8661
+ # Update properties of this object
8662
+ def update!(**args)
8663
+ @tool_display_name = args[:tool_display_name] if args.key?(:tool_display_name)
8664
+ @tool_name = args[:tool_name] if args.key?(:tool_name)
8665
+ end
8666
+ end
8667
+
8668
+ # The enabled tools on a connector
8669
+ class GoogleCloudDiscoveryengineV1alphaAssistantToolList
8670
+ include Google::Apis::Core::Hashable
8671
+
8672
+ # The list of tools with corresponding tool information.
8673
+ # Corresponds to the JSON property `toolInfo`
8674
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantToolInfo>]
8675
+ attr_accessor :tool_info
8676
+
8677
+ def initialize(**args)
8678
+ update!(**args)
8679
+ end
8680
+
8681
+ # Update properties of this object
8682
+ def update!(**args)
8683
+ @tool_info = args[:tool_info] if args.key?(:tool_info)
8684
+ end
8685
+ end
8686
+
8323
8687
  # The configuration for the BAP connector.
8324
8688
  class GoogleCloudDiscoveryengineV1alphaBapConfig
8325
8689
  include Google::Apis::Core::Hashable
@@ -9377,6 +9741,12 @@ module Google
9377
9741
  class GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata
9378
9742
  include Google::Apis::Core::Hashable
9379
9743
 
9744
+ # The mime type of the document. https://www.iana.org/assignments/media-types/
9745
+ # media-types.xhtml.
9746
+ # Corresponds to the JSON property `mimeType`
9747
+ # @return [String]
9748
+ attr_accessor :mime_type
9749
+
9380
9750
  # Data representation. The structured JSON data for the document. It should
9381
9751
  # conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown.
9382
9752
  # Corresponds to the JSON property `structData`
@@ -9399,6 +9769,7 @@ module Google
9399
9769
 
9400
9770
  # Update properties of this object
9401
9771
  def update!(**args)
9772
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
9402
9773
  @struct_data = args[:struct_data] if args.key?(:struct_data)
9403
9774
  @title = args[:title] if args.key?(:title)
9404
9775
  @uri = args[:uri] if args.key?(:uri)
@@ -11033,6 +11404,14 @@ module Google
11033
11404
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus>]
11034
11405
  attr_accessor :errors
11035
11406
 
11407
+ # Optional. If the connector is a hybrid connector, determines whether ingestion
11408
+ # is enabled and appropriate resources are provisioned during connector creation.
11409
+ # If the connector is not a hybrid connector, this field is ignored.
11410
+ # Corresponds to the JSON property `hybridIngestionDisabled`
11411
+ # @return [Boolean]
11412
+ attr_accessor :hybrid_ingestion_disabled
11413
+ alias_method :hybrid_ingestion_disabled?, :hybrid_ingestion_disabled
11414
+
11036
11415
  # The refresh interval to sync the Access Control List information for the
11037
11416
  # documents ingested by this connector. If not set, the access control list will
11038
11417
  # be refreshed at the default interval of 30 minutes. The identity refresh
@@ -11212,6 +11591,7 @@ module Google
11212
11591
  @end_user_config = args[:end_user_config] if args.key?(:end_user_config)
11213
11592
  @entities = args[:entities] if args.key?(:entities)
11214
11593
  @errors = args[:errors] if args.key?(:errors)
11594
+ @hybrid_ingestion_disabled = args[:hybrid_ingestion_disabled] if args.key?(:hybrid_ingestion_disabled)
11215
11595
  @identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
11216
11596
  @identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
11217
11597
  @incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
@@ -15882,8 +16262,8 @@ module Google
15882
16262
 
15883
16263
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
15884
16264
  # desc" after a field name for descending. Supported fields: * `update_time` * `
15885
- # create_time` * `session_name` * `is_pinned` Example: * "update_time desc" * "
15886
- # create_time" * "is_pinned desc,update_time desc": list sessions by is_pinned
16265
+ # create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
16266
+ # create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
15887
16267
  # first, then by update_time.
15888
16268
  # Corresponds to the JSON property `orderBy`
15889
16269
  # @return [String]
@@ -19319,6 +19699,8 @@ module Google
19319
19699
 
19320
19700
  # Required. Full resource name of DataStore, such as `projects/`project`/
19321
19701
  # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
19702
+ # The path must include the project number, project id is not supported for this
19703
+ # field.
19322
19704
  # Corresponds to the JSON property `dataStore`
19323
19705
  # @return [String]
19324
19706
  attr_accessor :data_store
@@ -20380,6 +20762,11 @@ module Google
20380
20762
  # @return [Hash<String,Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDoubleList>]
20381
20763
  attr_accessor :model_scores
20382
20764
 
20765
+ # A set of ranking signals.
20766
+ # Corresponds to the JSON property `rankSignals`
20767
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals]
20768
+ attr_accessor :rank_signals
20769
+
20383
20770
  def initialize(**args)
20384
20771
  update!(**args)
20385
20772
  end
@@ -20390,6 +20777,99 @@ module Google
20390
20777
  @document = args[:document] if args.key?(:document)
20391
20778
  @id = args[:id] if args.key?(:id)
20392
20779
  @model_scores = args[:model_scores] if args.key?(:model_scores)
20780
+ @rank_signals = args[:rank_signals] if args.key?(:rank_signals)
20781
+ end
20782
+ end
20783
+
20784
+ # A set of ranking signals.
20785
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals
20786
+ include Google::Apis::Core::Hashable
20787
+
20788
+ # Optional. Combined custom boosts for a doc.
20789
+ # Corresponds to the JSON property `boostingFactor`
20790
+ # @return [Float]
20791
+ attr_accessor :boosting_factor
20792
+
20793
+ # Optional. A list of custom clearbox signals.
20794
+ # Corresponds to the JSON property `customSignals`
20795
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal>]
20796
+ attr_accessor :custom_signals
20797
+
20798
+ # Optional. The default rank of the result.
20799
+ # Corresponds to the JSON property `defaultRank`
20800
+ # @return [Float]
20801
+ attr_accessor :default_rank
20802
+
20803
+ # Optional. Age of the document in hours.
20804
+ # Corresponds to the JSON property `documentAge`
20805
+ # @return [Float]
20806
+ attr_accessor :document_age
20807
+
20808
+ # Optional. Keyword matching adjustment.
20809
+ # Corresponds to the JSON property `keywordSimilarityScore`
20810
+ # @return [Float]
20811
+ attr_accessor :keyword_similarity_score
20812
+
20813
+ # Optional. Predicted conversion rate adjustment as a rank.
20814
+ # Corresponds to the JSON property `pctrRank`
20815
+ # @return [Float]
20816
+ attr_accessor :pctr_rank
20817
+
20818
+ # Optional. Semantic relevance adjustment.
20819
+ # Corresponds to the JSON property `relevanceScore`
20820
+ # @return [Float]
20821
+ attr_accessor :relevance_score
20822
+
20823
+ # Optional. Semantic similarity adjustment.
20824
+ # Corresponds to the JSON property `semanticSimilarityScore`
20825
+ # @return [Float]
20826
+ attr_accessor :semantic_similarity_score
20827
+
20828
+ # Optional. Topicality adjustment as a rank.
20829
+ # Corresponds to the JSON property `topicalityRank`
20830
+ # @return [Float]
20831
+ attr_accessor :topicality_rank
20832
+
20833
+ def initialize(**args)
20834
+ update!(**args)
20835
+ end
20836
+
20837
+ # Update properties of this object
20838
+ def update!(**args)
20839
+ @boosting_factor = args[:boosting_factor] if args.key?(:boosting_factor)
20840
+ @custom_signals = args[:custom_signals] if args.key?(:custom_signals)
20841
+ @default_rank = args[:default_rank] if args.key?(:default_rank)
20842
+ @document_age = args[:document_age] if args.key?(:document_age)
20843
+ @keyword_similarity_score = args[:keyword_similarity_score] if args.key?(:keyword_similarity_score)
20844
+ @pctr_rank = args[:pctr_rank] if args.key?(:pctr_rank)
20845
+ @relevance_score = args[:relevance_score] if args.key?(:relevance_score)
20846
+ @semantic_similarity_score = args[:semantic_similarity_score] if args.key?(:semantic_similarity_score)
20847
+ @topicality_rank = args[:topicality_rank] if args.key?(:topicality_rank)
20848
+ end
20849
+ end
20850
+
20851
+ # Custom clearbox signal represented by name and value pair.
20852
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal
20853
+ include Google::Apis::Core::Hashable
20854
+
20855
+ # Optional. Name of the signal.
20856
+ # Corresponds to the JSON property `name`
20857
+ # @return [String]
20858
+ attr_accessor :name
20859
+
20860
+ # Optional. Float value representing the ranking signal (e.g. 1.25 for BM25).
20861
+ # Corresponds to the JSON property `value`
20862
+ # @return [Float]
20863
+ attr_accessor :value
20864
+
20865
+ def initialize(**args)
20866
+ update!(**args)
20867
+ end
20868
+
20869
+ # Update properties of this object
20870
+ def update!(**args)
20871
+ @name = args[:name] if args.key?(:name)
20872
+ @value = args[:value] if args.key?(:value)
20393
20873
  end
20394
20874
  end
20395
20875
 
@@ -23183,6 +23663,19 @@ module Google
23183
23663
  class GoogleCloudDiscoveryengineV1alphaWidgetConfigAssistantSettings
23184
23664
  include Google::Apis::Core::Hashable
23185
23665
 
23666
+ # Output only. This field controls the default web grounding toggle for end
23667
+ # users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `
23668
+ # WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to
23669
+ # false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `
23670
+ # WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding
23671
+ # enabled by default on UI. If true, grounding toggle will be disabled by
23672
+ # default on UI. End users can still enable web grounding in the UI if web
23673
+ # grounding is enabled.
23674
+ # Corresponds to the JSON property `defaultWebGroundingToggleOff`
23675
+ # @return [Boolean]
23676
+ attr_accessor :default_web_grounding_toggle_off
23677
+ alias_method :default_web_grounding_toggle_off?, :default_web_grounding_toggle_off
23678
+
23186
23679
  # Whether or not the Google search grounding toggle is shown. Deprecated. Use
23187
23680
  # web_grounding_type instead.
23188
23681
  # Corresponds to the JSON property `googleSearchGroundingEnabled`
@@ -23201,6 +23694,7 @@ module Google
23201
23694
 
23202
23695
  # Update properties of this object
23203
23696
  def update!(**args)
23697
+ @default_web_grounding_toggle_off = args[:default_web_grounding_toggle_off] if args.key?(:default_web_grounding_toggle_off)
23204
23698
  @google_search_grounding_enabled = args[:google_search_grounding_enabled] if args.key?(:google_search_grounding_enabled)
23205
23699
  @web_grounding_type = args[:web_grounding_type] if args.key?(:web_grounding_type)
23206
23700
  end
@@ -27849,6 +28343,8 @@ module Google
27849
28343
 
27850
28344
  # Required. Full resource name of DataStore, such as `projects/`project`/
27851
28345
  # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
28346
+ # The path must include the project number, project id is not supported for this
28347
+ # field.
27852
28348
  # Corresponds to the JSON property `dataStore`
27853
28349
  # @return [String]
27854
28350
  attr_accessor :data_store
@@ -28931,6 +29427,26 @@ module Google
28931
29427
  end
28932
29428
  end
28933
29429
 
29430
+ # Customer-managed encryption configuration for Notebooks.
29431
+ class GoogleCloudNotebooklmV1alphaCmekConfig
29432
+ include Google::Apis::Core::Hashable
29433
+
29434
+ # Required. KMS key resource name which will be used to encrypt resources `
29435
+ # projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
29436
+ # Corresponds to the JSON property `kmsKey`
29437
+ # @return [String]
29438
+ attr_accessor :kms_key
29439
+
29440
+ def initialize(**args)
29441
+ update!(**args)
29442
+ end
29443
+
29444
+ # Update properties of this object
29445
+ def update!(**args)
29446
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
29447
+ end
29448
+ end
29449
+
28934
29450
  # Response for NotebookService.ListRecentlyViewedNotebooks method.
28935
29451
  class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse
28936
29452
  include Google::Apis::Core::Hashable
@@ -28961,6 +29477,11 @@ module Google
28961
29477
  class GoogleCloudNotebooklmV1alphaNotebook
28962
29478
  include Google::Apis::Core::Hashable
28963
29479
 
29480
+ # Customer-managed encryption configuration for Notebooks.
29481
+ # Corresponds to the JSON property `cmekConfig`
29482
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaCmekConfig]
29483
+ attr_accessor :cmek_config
29484
+
28964
29485
  # Output only. The emoji of the notebook.
28965
29486
  # Corresponds to the JSON property `emoji`
28966
29487
  # @return [String]
@@ -28995,6 +29516,7 @@ module Google
28995
29516
 
28996
29517
  # Update properties of this object
28997
29518
  def update!(**args)
29519
+ @cmek_config = args[:cmek_config] if args.key?(:cmek_config)
28998
29520
  @emoji = args[:emoji] if args.key?(:emoji)
28999
29521
  @metadata = args[:metadata] if args.key?(:metadata)
29000
29522
  @name = args[:name] if args.key?(:name)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1alpha
18
18
  # Version of the google-apis-discoveryengine_v1alpha gem
19
- GEM_VERSION = "0.72.0"
19
+ GEM_VERSION = "0.74.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250728"
25
+ REVISION = "20250816"
26
26
  end
27
27
  end
28
28
  end
@@ -232,6 +232,42 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleCloudDiscoveryengineV1AssistantToolInfo
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GoogleCloudDiscoveryengineV1AssistantToolList
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
235
271
  class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata
236
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
273
 
@@ -1288,6 +1324,30 @@ module Google
1288
1324
  include Google::Apis::Core::JsonObjectSupport
1289
1325
  end
1290
1326
 
1327
+ class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy
1328
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1329
+
1330
+ include Google::Apis::Core::JsonObjectSupport
1331
+ end
1332
+
1333
+ class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase
1334
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1335
+
1336
+ include Google::Apis::Core::JsonObjectSupport
1337
+ end
1338
+
1339
+ class GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig
1340
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1341
+
1342
+ include Google::Apis::Core::JsonObjectSupport
1343
+ end
1344
+
1345
+ class GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction
1346
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1347
+
1348
+ include Google::Apis::Core::JsonObjectSupport
1349
+ end
1350
+
1291
1351
  class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent
1292
1352
  class Representation < Google::Apis::Core::JsonRepresentation; end
1293
1353
 
@@ -1318,6 +1378,18 @@ module Google
1318
1378
  include Google::Apis::Core::JsonObjectSupport
1319
1379
  end
1320
1380
 
1381
+ class GoogleCloudDiscoveryengineV1alphaAssistantToolInfo
1382
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1383
+
1384
+ include Google::Apis::Core::JsonObjectSupport
1385
+ end
1386
+
1387
+ class GoogleCloudDiscoveryengineV1alphaAssistantToolList
1388
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1389
+
1390
+ include Google::Apis::Core::JsonObjectSupport
1391
+ end
1392
+
1321
1393
  class GoogleCloudDiscoveryengineV1alphaBapConfig
1322
1394
  class Representation < Google::Apis::Core::JsonRepresentation; end
1323
1395
 
@@ -3250,6 +3322,18 @@ module Google
3250
3322
  include Google::Apis::Core::JsonObjectSupport
3251
3323
  end
3252
3324
 
3325
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals
3326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3327
+
3328
+ include Google::Apis::Core::JsonObjectSupport
3329
+ end
3330
+
3331
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal
3332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3333
+
3334
+ include Google::Apis::Core::JsonObjectSupport
3335
+ end
3336
+
3253
3337
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo
3254
3338
  class Representation < Google::Apis::Core::JsonRepresentation; end
3255
3339
 
@@ -4558,6 +4642,12 @@ module Google
4558
4642
  include Google::Apis::Core::JsonObjectSupport
4559
4643
  end
4560
4644
 
4645
+ class GoogleCloudNotebooklmV1alphaCmekConfig
4646
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4647
+
4648
+ include Google::Apis::Core::JsonObjectSupport
4649
+ end
4650
+
4561
4651
  class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse
4562
4652
  class Representation < Google::Apis::Core::JsonRepresentation; end
4563
4653
 
@@ -5093,7 +5183,63 @@ module Google
5093
5183
  class GoogleCloudDiscoveryengineV1Assistant
5094
5184
  # @private
5095
5185
  class Representation < Google::Apis::Core::JsonRepresentation
5186
+ property :customer_policy, as: 'customerPolicy', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy::Representation
5187
+
5188
+ hash :enabled_tools, as: 'enabledTools', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantToolList, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantToolList::Representation
5189
+
5190
+ property :generation_config, as: 'generationConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantGenerationConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantGenerationConfig::Representation
5191
+
5096
5192
  property :name, as: 'name'
5193
+ property :web_grounding_type, as: 'webGroundingType'
5194
+ end
5195
+ end
5196
+
5197
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy
5198
+ # @private
5199
+ class Representation < Google::Apis::Core::JsonRepresentation
5200
+ collection :banned_phrases, as: 'bannedPhrases', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase::Representation
5201
+
5202
+ end
5203
+ end
5204
+
5205
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase
5206
+ # @private
5207
+ class Representation < Google::Apis::Core::JsonRepresentation
5208
+ property :ignore_diacritics, as: 'ignoreDiacritics'
5209
+ property :match_type, as: 'matchType'
5210
+ property :phrase, as: 'phrase'
5211
+ end
5212
+ end
5213
+
5214
+ class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
5215
+ # @private
5216
+ class Representation < Google::Apis::Core::JsonRepresentation
5217
+ property :default_language, as: 'defaultLanguage'
5218
+ property :system_instruction, as: 'systemInstruction', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction::Representation
5219
+
5220
+ end
5221
+ end
5222
+
5223
+ class GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction
5224
+ # @private
5225
+ class Representation < Google::Apis::Core::JsonRepresentation
5226
+ property :additional_system_instruction, as: 'additionalSystemInstruction'
5227
+ end
5228
+ end
5229
+
5230
+ class GoogleCloudDiscoveryengineV1AssistantToolInfo
5231
+ # @private
5232
+ class Representation < Google::Apis::Core::JsonRepresentation
5233
+ property :tool_display_name, as: 'toolDisplayName'
5234
+ property :tool_name, as: 'toolName'
5235
+ end
5236
+ end
5237
+
5238
+ class GoogleCloudDiscoveryengineV1AssistantToolList
5239
+ # @private
5240
+ class Representation < Google::Apis::Core::JsonRepresentation
5241
+ collection :tool_info, as: 'toolInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantToolInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantToolInfo::Representation
5242
+
5097
5243
  end
5098
5244
  end
5099
5245
 
@@ -6109,6 +6255,7 @@ module Google
6109
6255
  hash :action_params, as: 'actionParams'
6110
6256
  property :is_action_configured, as: 'isActionConfigured'
6111
6257
  property :service_name, as: 'serviceName'
6258
+ property :use_static_secrets, as: 'useStaticSecrets'
6112
6259
  end
6113
6260
  end
6114
6261
 
@@ -6807,7 +6954,14 @@ module Google
6807
6954
  class GoogleCloudDiscoveryengineV1alphaAssistant
6808
6955
  # @private
6809
6956
  class Representation < Google::Apis::Core::JsonRepresentation
6957
+ property :customer_policy, as: 'customerPolicy', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy::Representation
6958
+
6959
+ hash :enabled_tools, as: 'enabledTools', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantToolList, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantToolList::Representation
6960
+
6961
+ property :generation_config, as: 'generationConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig::Representation
6962
+
6810
6963
  property :name, as: 'name'
6964
+ property :web_grounding_type, as: 'webGroundingType'
6811
6965
  end
6812
6966
  end
6813
6967
 
@@ -6859,6 +7013,39 @@ module Google
6859
7013
  end
6860
7014
  end
6861
7015
 
7016
+ class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy
7017
+ # @private
7018
+ class Representation < Google::Apis::Core::JsonRepresentation
7019
+ collection :banned_phrases, as: 'bannedPhrases', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase::Representation
7020
+
7021
+ end
7022
+ end
7023
+
7024
+ class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase
7025
+ # @private
7026
+ class Representation < Google::Apis::Core::JsonRepresentation
7027
+ property :ignore_diacritics, as: 'ignoreDiacritics'
7028
+ property :match_type, as: 'matchType'
7029
+ property :phrase, as: 'phrase'
7030
+ end
7031
+ end
7032
+
7033
+ class GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig
7034
+ # @private
7035
+ class Representation < Google::Apis::Core::JsonRepresentation
7036
+ property :default_language, as: 'defaultLanguage'
7037
+ property :system_instruction, as: 'systemInstruction', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction::Representation
7038
+
7039
+ end
7040
+ end
7041
+
7042
+ class GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction
7043
+ # @private
7044
+ class Representation < Google::Apis::Core::JsonRepresentation
7045
+ property :additional_system_instruction, as: 'additionalSystemInstruction'
7046
+ end
7047
+ end
7048
+
6862
7049
  class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent
6863
7050
  # @private
6864
7051
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6910,6 +7097,22 @@ module Google
6910
7097
  end
6911
7098
  end
6912
7099
 
7100
+ class GoogleCloudDiscoveryengineV1alphaAssistantToolInfo
7101
+ # @private
7102
+ class Representation < Google::Apis::Core::JsonRepresentation
7103
+ property :tool_display_name, as: 'toolDisplayName'
7104
+ property :tool_name, as: 'toolName'
7105
+ end
7106
+ end
7107
+
7108
+ class GoogleCloudDiscoveryengineV1alphaAssistantToolList
7109
+ # @private
7110
+ class Representation < Google::Apis::Core::JsonRepresentation
7111
+ collection :tool_info, as: 'toolInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantToolInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantToolInfo::Representation
7112
+
7113
+ end
7114
+ end
7115
+
6913
7116
  class GoogleCloudDiscoveryengineV1alphaBapConfig
6914
7117
  # @private
6915
7118
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7204,6 +7407,7 @@ module Google
7204
7407
  class GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata
7205
7408
  # @private
7206
7409
  class Representation < Google::Apis::Core::JsonRepresentation
7410
+ property :mime_type, as: 'mimeType'
7207
7411
  hash :struct_data, as: 'structData'
7208
7412
  property :title, as: 'title'
7209
7413
  property :uri, as: 'uri'
@@ -7642,6 +7846,7 @@ module Google
7642
7846
 
7643
7847
  collection :errors, as: 'errors', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
7644
7848
 
7849
+ property :hybrid_ingestion_disabled, as: 'hybridIngestionDisabled'
7645
7850
  property :identity_refresh_interval, as: 'identityRefreshInterval'
7646
7851
  property :identity_schedule_config, as: 'identityScheduleConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig::Representation
7647
7852
 
@@ -10182,6 +10387,32 @@ module Google
10182
10387
  property :id, as: 'id'
10183
10388
  hash :model_scores, as: 'modelScores', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDoubleList, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDoubleList::Representation
10184
10389
 
10390
+ property :rank_signals, as: 'rankSignals', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals::Representation
10391
+
10392
+ end
10393
+ end
10394
+
10395
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals
10396
+ # @private
10397
+ class Representation < Google::Apis::Core::JsonRepresentation
10398
+ property :boosting_factor, as: 'boostingFactor'
10399
+ collection :custom_signals, as: 'customSignals', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal::Representation
10400
+
10401
+ property :default_rank, as: 'defaultRank'
10402
+ property :document_age, as: 'documentAge'
10403
+ property :keyword_similarity_score, as: 'keywordSimilarityScore'
10404
+ property :pctr_rank, as: 'pctrRank'
10405
+ property :relevance_score, as: 'relevanceScore'
10406
+ property :semantic_similarity_score, as: 'semanticSimilarityScore'
10407
+ property :topicality_rank, as: 'topicalityRank'
10408
+ end
10409
+ end
10410
+
10411
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal
10412
+ # @private
10413
+ class Representation < Google::Apis::Core::JsonRepresentation
10414
+ property :name, as: 'name'
10415
+ property :value, as: 'value'
10185
10416
  end
10186
10417
  end
10187
10418
 
@@ -10905,6 +11136,7 @@ module Google
10905
11136
  class GoogleCloudDiscoveryengineV1alphaWidgetConfigAssistantSettings
10906
11137
  # @private
10907
11138
  class Representation < Google::Apis::Core::JsonRepresentation
11139
+ property :default_web_grounding_toggle_off, as: 'defaultWebGroundingToggleOff'
10908
11140
  property :google_search_grounding_enabled, as: 'googleSearchGroundingEnabled'
10909
11141
  property :web_grounding_type, as: 'webGroundingType'
10910
11142
  end
@@ -12426,6 +12658,13 @@ module Google
12426
12658
  end
12427
12659
  end
12428
12660
 
12661
+ class GoogleCloudNotebooklmV1alphaCmekConfig
12662
+ # @private
12663
+ class Representation < Google::Apis::Core::JsonRepresentation
12664
+ property :kms_key, as: 'kmsKey'
12665
+ end
12666
+ end
12667
+
12429
12668
  class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse
12430
12669
  # @private
12431
12670
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12438,6 +12677,8 @@ module Google
12438
12677
  class GoogleCloudNotebooklmV1alphaNotebook
12439
12678
  # @private
12440
12679
  class Representation < Google::Apis::Core::JsonRepresentation
12680
+ property :cmek_config, as: 'cmekConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaCmekConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaCmekConfig::Representation
12681
+
12441
12682
  property :emoji, as: 'emoji'
12442
12683
  property :metadata, as: 'metadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebookMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebookMetadata::Representation
12443
12684
 
@@ -3481,8 +3481,8 @@ module Google
3481
3481
  # @param [String] order_by
3482
3482
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
3483
3483
  # desc" after a field name for descending. Supported fields: * `update_time` * `
3484
- # create_time` * `session_name` * `is_pinned` Example: * "update_time desc" * "
3485
- # create_time" * "is_pinned desc,update_time desc": list sessions by is_pinned
3484
+ # create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
3485
+ # create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
3486
3486
  # first, then by update_time.
3487
3487
  # @param [Fixnum] page_size
3488
3488
  # Maximum number of results to return. If unspecified, defaults to 50. Max
@@ -6021,8 +6021,8 @@ module Google
6021
6021
  # @param [String] order_by
6022
6022
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
6023
6023
  # desc" after a field name for descending. Supported fields: * `update_time` * `
6024
- # create_time` * `session_name` * `is_pinned` Example: * "update_time desc" * "
6025
- # create_time" * "is_pinned desc,update_time desc": list sessions by is_pinned
6024
+ # create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
6025
+ # create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
6026
6026
  # first, then by update_time.
6027
6027
  # @param [Fixnum] page_size
6028
6028
  # Maximum number of results to return. If unspecified, defaults to 50. Max
@@ -6146,6 +6146,20 @@ module Google
6146
6146
  # examples of filters would be: * "file_name = 'file_1'" * "file_name = 'file_1'
6147
6147
  # AND mime_type = 'text/plain'" * "last_use_time > '2025-06-14T12:00:00Z'" For a
6148
6148
  # full description of the filter format, please see https://google.aip.dev/160.
6149
+ # @param [String] order_by
6150
+ # Optional. Specifies the order in which files are returned. The value is a
6151
+ # comma-separated string of fields to sort by. For ascending order - just the
6152
+ # field name is used. For descending order - the field name is suffixed with `
6153
+ # desc`. Sorting is stable and applied sequentially according to the order of
6154
+ # fields provided in the string. Supported fields for ordering: * `upload_time`:
6155
+ # The time the file was uploaded. * `file_name`: The name of the file. * `
6156
+ # mime_type`: The MIME type of the file. * `session_name`: The name of the
6157
+ # session the file belongs to. Default Behavior: If the `order_by` field is not
6158
+ # specified, files will be returned sorted by creation time in descending order.
6159
+ # Examples: 1. Sort by file name in ascending order: `file_name` 2. Sort by
6160
+ # upload time in descending order: `upload_time desc` 3. Sort by file name (
6161
+ # ascending), then by content type (MIME type) (descending), and finally by
6162
+ # upload time (ascending): `file_name, mime_type desc, upload_time`
6149
6163
  # @param [Fixnum] page_size
6150
6164
  # Optional. The maximum number of files to return. The service may return fewer
6151
6165
  # than this value. If unspecified, at most 100 files will be returned. The
@@ -6174,12 +6188,13 @@ module Google
6174
6188
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6175
6189
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6176
6190
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6177
- def list_project_location_collection_engine_session_files(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6191
+ def list_project_location_collection_engine_session_files(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6178
6192
  command = make_simple_command(:get, 'v1alpha/{+parent}/files', options)
6179
6193
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListFilesResponse::Representation
6180
6194
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListFilesResponse
6181
6195
  command.params['parent'] = parent unless parent.nil?
6182
6196
  command.query['filter'] = filter unless filter.nil?
6197
+ command.query['orderBy'] = order_by unless order_by.nil?
6183
6198
  command.query['pageSize'] = page_size unless page_size.nil?
6184
6199
  command.query['pageToken'] = page_token unless page_token.nil?
6185
6200
  command.query['fields'] = fields unless fields.nil?
@@ -8532,8 +8547,8 @@ module Google
8532
8547
  # @param [String] order_by
8533
8548
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
8534
8549
  # desc" after a field name for descending. Supported fields: * `update_time` * `
8535
- # create_time` * `session_name` * `is_pinned` Example: * "update_time desc" * "
8536
- # create_time" * "is_pinned desc,update_time desc": list sessions by is_pinned
8550
+ # create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
8551
+ # create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
8537
8552
  # first, then by update_time.
8538
8553
  # @param [Fixnum] page_size
8539
8554
  # Maximum number of results to return. If unspecified, defaults to 50. Max
@@ -9428,13 +9443,13 @@ module Google
9428
9443
  # Evaluations under this location, regardless of whether or not this location
9429
9444
  # exists, a `PERMISSION_DENIED` error is returned.
9430
9445
  # @param [Fixnum] page_size
9431
- # Maximum number of Evaluations to return. If unspecified, defaults to 100. The
9432
- # maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If
9433
- # this field is negative, an `INVALID_ARGUMENT` error is returned.
9446
+ # Optional. Maximum number of Evaluations to return. If unspecified, defaults to
9447
+ # 100. The maximum allowed value is 1000. Values above 1000 will be coerced to
9448
+ # 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.
9434
9449
  # @param [String] page_token
9435
- # A page token ListEvaluationsResponse.next_page_token, received from a previous
9436
- # EvaluationService.ListEvaluations call. Provide this to retrieve the
9437
- # subsequent page. When paginating, all other parameters provided to
9450
+ # Optional. A page token ListEvaluationsResponse.next_page_token, received from
9451
+ # a previous EvaluationService.ListEvaluations call. Provide this to retrieve
9452
+ # the subsequent page. When paginating, all other parameters provided to
9438
9453
  # EvaluationService.ListEvaluations must match the call that provided the page
9439
9454
  # token. Otherwise, an `INVALID_ARGUMENT` error is returned.
9440
9455
  # @param [String] fields
@@ -9474,13 +9489,13 @@ module Google
9474
9489
  # regardless of whether or not this evaluation set exists, a `PERMISSION_DENIED`
9475
9490
  # error is returned.
9476
9491
  # @param [Fixnum] page_size
9477
- # Maximum number of ListEvaluationResultsResponse.EvaluationResult to return. If
9478
- # unspecified, defaults to 100. The maximum allowed value is 1000. Values above
9479
- # 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT`
9480
- # error is returned.
9492
+ # Optional. Maximum number of ListEvaluationResultsResponse.EvaluationResult to
9493
+ # return. If unspecified, defaults to 100. The maximum allowed value is 1000.
9494
+ # Values above 1000 will be coerced to 1000. If this field is negative, an `
9495
+ # INVALID_ARGUMENT` error is returned.
9481
9496
  # @param [String] page_token
9482
- # A page token ListEvaluationResultsResponse.next_page_token, received from a
9483
- # previous EvaluationService.ListEvaluationResults call. Provide this to
9497
+ # Optional. A page token ListEvaluationResultsResponse.next_page_token, received
9498
+ # from a previous EvaluationService.ListEvaluationResults call. Provide this to
9484
9499
  # retrieve the subsequent page. When paginating, all other parameters provided
9485
9500
  # to EvaluationService.ListEvaluationResults must match the call that provided
9486
9501
  # the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.72.0
4
+ version: 0.74.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.72.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.74.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: