google-apis-discoveryengine_v1alpha 0.72.0 → 0.73.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +413 -2
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +202 -0
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +18 -18
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15e0c9b6b16f2fdf80f1a48dce6193e77179d5881c609c1e2cd3a87f50977efb
|
4
|
+
data.tar.gz: 3ffd0587315d2a7d3141280753b529dbd31f5f269a04038f2b2cc8f87752b569
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 676950c3f073074df47da15c9b71f98e1e86f862ea6af95ada05077eba6fd30e360556270c62aa794cb9cbc02c198c2735ba9418dd1af64d722a7d18b0fe0479
|
7
|
+
data.tar.gz: f7b64cb8ad35d8fa9656063839e86c2d79144eaa6fecb276cd91ddb6a05207adc4933c9341e94fb70a90366b1033c6ac0beabc4b23880e843e82cc19a435842a
|
data/CHANGELOG.md
CHANGED
@@ -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)
|
@@ -15882,8 +16253,8 @@ module Google
|
|
15882
16253
|
|
15883
16254
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
15884
16255
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
15885
|
-
# create_time` * `session_name` * `is_pinned` Example: *
|
15886
|
-
# create_time
|
16256
|
+
# create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
|
16257
|
+
# create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
|
15887
16258
|
# first, then by update_time.
|
15888
16259
|
# Corresponds to the JSON property `orderBy`
|
15889
16260
|
# @return [String]
|
@@ -23183,6 +23554,19 @@ module Google
|
|
23183
23554
|
class GoogleCloudDiscoveryengineV1alphaWidgetConfigAssistantSettings
|
23184
23555
|
include Google::Apis::Core::Hashable
|
23185
23556
|
|
23557
|
+
# Output only. This field controls the default web grounding toggle for end
|
23558
|
+
# users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `
|
23559
|
+
# WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to
|
23560
|
+
# false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `
|
23561
|
+
# WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding
|
23562
|
+
# enabled by default on UI. If true, grounding toggle will be disabled by
|
23563
|
+
# default on UI. End users can still enable web grounding in the UI if web
|
23564
|
+
# grounding is enabled.
|
23565
|
+
# Corresponds to the JSON property `defaultWebGroundingToggleOff`
|
23566
|
+
# @return [Boolean]
|
23567
|
+
attr_accessor :default_web_grounding_toggle_off
|
23568
|
+
alias_method :default_web_grounding_toggle_off?, :default_web_grounding_toggle_off
|
23569
|
+
|
23186
23570
|
# Whether or not the Google search grounding toggle is shown. Deprecated. Use
|
23187
23571
|
# web_grounding_type instead.
|
23188
23572
|
# Corresponds to the JSON property `googleSearchGroundingEnabled`
|
@@ -23201,6 +23585,7 @@ module Google
|
|
23201
23585
|
|
23202
23586
|
# Update properties of this object
|
23203
23587
|
def update!(**args)
|
23588
|
+
@default_web_grounding_toggle_off = args[:default_web_grounding_toggle_off] if args.key?(:default_web_grounding_toggle_off)
|
23204
23589
|
@google_search_grounding_enabled = args[:google_search_grounding_enabled] if args.key?(:google_search_grounding_enabled)
|
23205
23590
|
@web_grounding_type = args[:web_grounding_type] if args.key?(:web_grounding_type)
|
23206
23591
|
end
|
@@ -28931,6 +29316,26 @@ module Google
|
|
28931
29316
|
end
|
28932
29317
|
end
|
28933
29318
|
|
29319
|
+
# Customer-managed encryption configuration for Notebooks.
|
29320
|
+
class GoogleCloudNotebooklmV1alphaCmekConfig
|
29321
|
+
include Google::Apis::Core::Hashable
|
29322
|
+
|
29323
|
+
# Required. KMS key resource name which will be used to encrypt resources `
|
29324
|
+
# projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
29325
|
+
# Corresponds to the JSON property `kmsKey`
|
29326
|
+
# @return [String]
|
29327
|
+
attr_accessor :kms_key
|
29328
|
+
|
29329
|
+
def initialize(**args)
|
29330
|
+
update!(**args)
|
29331
|
+
end
|
29332
|
+
|
29333
|
+
# Update properties of this object
|
29334
|
+
def update!(**args)
|
29335
|
+
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
29336
|
+
end
|
29337
|
+
end
|
29338
|
+
|
28934
29339
|
# Response for NotebookService.ListRecentlyViewedNotebooks method.
|
28935
29340
|
class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse
|
28936
29341
|
include Google::Apis::Core::Hashable
|
@@ -28961,6 +29366,11 @@ module Google
|
|
28961
29366
|
class GoogleCloudNotebooklmV1alphaNotebook
|
28962
29367
|
include Google::Apis::Core::Hashable
|
28963
29368
|
|
29369
|
+
# Customer-managed encryption configuration for Notebooks.
|
29370
|
+
# Corresponds to the JSON property `cmekConfig`
|
29371
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaCmekConfig]
|
29372
|
+
attr_accessor :cmek_config
|
29373
|
+
|
28964
29374
|
# Output only. The emoji of the notebook.
|
28965
29375
|
# Corresponds to the JSON property `emoji`
|
28966
29376
|
# @return [String]
|
@@ -28995,6 +29405,7 @@ module Google
|
|
28995
29405
|
|
28996
29406
|
# Update properties of this object
|
28997
29407
|
def update!(**args)
|
29408
|
+
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
28998
29409
|
@emoji = args[:emoji] if args.key?(:emoji)
|
28999
29410
|
@metadata = args[:metadata] if args.key?(:metadata)
|
29000
29411
|
@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.
|
19
|
+
GEM_VERSION = "0.73.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 = "
|
25
|
+
REVISION = "20250810"
|
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
|
|
@@ -4558,6 +4630,12 @@ module Google
|
|
4558
4630
|
include Google::Apis::Core::JsonObjectSupport
|
4559
4631
|
end
|
4560
4632
|
|
4633
|
+
class GoogleCloudNotebooklmV1alphaCmekConfig
|
4634
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4635
|
+
|
4636
|
+
include Google::Apis::Core::JsonObjectSupport
|
4637
|
+
end
|
4638
|
+
|
4561
4639
|
class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse
|
4562
4640
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4563
4641
|
|
@@ -5093,7 +5171,63 @@ module Google
|
|
5093
5171
|
class GoogleCloudDiscoveryengineV1Assistant
|
5094
5172
|
# @private
|
5095
5173
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5174
|
+
property :customer_policy, as: 'customerPolicy', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy::Representation
|
5175
|
+
|
5176
|
+
hash :enabled_tools, as: 'enabledTools', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantToolList, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantToolList::Representation
|
5177
|
+
|
5178
|
+
property :generation_config, as: 'generationConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantGenerationConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantGenerationConfig::Representation
|
5179
|
+
|
5096
5180
|
property :name, as: 'name'
|
5181
|
+
property :web_grounding_type, as: 'webGroundingType'
|
5182
|
+
end
|
5183
|
+
end
|
5184
|
+
|
5185
|
+
class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy
|
5186
|
+
# @private
|
5187
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5188
|
+
collection :banned_phrases, as: 'bannedPhrases', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase::Representation
|
5189
|
+
|
5190
|
+
end
|
5191
|
+
end
|
5192
|
+
|
5193
|
+
class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase
|
5194
|
+
# @private
|
5195
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5196
|
+
property :ignore_diacritics, as: 'ignoreDiacritics'
|
5197
|
+
property :match_type, as: 'matchType'
|
5198
|
+
property :phrase, as: 'phrase'
|
5199
|
+
end
|
5200
|
+
end
|
5201
|
+
|
5202
|
+
class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
|
5203
|
+
# @private
|
5204
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5205
|
+
property :default_language, as: 'defaultLanguage'
|
5206
|
+
property :system_instruction, as: 'systemInstruction', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction::Representation
|
5207
|
+
|
5208
|
+
end
|
5209
|
+
end
|
5210
|
+
|
5211
|
+
class GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction
|
5212
|
+
# @private
|
5213
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5214
|
+
property :additional_system_instruction, as: 'additionalSystemInstruction'
|
5215
|
+
end
|
5216
|
+
end
|
5217
|
+
|
5218
|
+
class GoogleCloudDiscoveryengineV1AssistantToolInfo
|
5219
|
+
# @private
|
5220
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5221
|
+
property :tool_display_name, as: 'toolDisplayName'
|
5222
|
+
property :tool_name, as: 'toolName'
|
5223
|
+
end
|
5224
|
+
end
|
5225
|
+
|
5226
|
+
class GoogleCloudDiscoveryengineV1AssistantToolList
|
5227
|
+
# @private
|
5228
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5229
|
+
collection :tool_info, as: 'toolInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantToolInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantToolInfo::Representation
|
5230
|
+
|
5097
5231
|
end
|
5098
5232
|
end
|
5099
5233
|
|
@@ -6109,6 +6243,7 @@ module Google
|
|
6109
6243
|
hash :action_params, as: 'actionParams'
|
6110
6244
|
property :is_action_configured, as: 'isActionConfigured'
|
6111
6245
|
property :service_name, as: 'serviceName'
|
6246
|
+
property :use_static_secrets, as: 'useStaticSecrets'
|
6112
6247
|
end
|
6113
6248
|
end
|
6114
6249
|
|
@@ -6807,7 +6942,14 @@ module Google
|
|
6807
6942
|
class GoogleCloudDiscoveryengineV1alphaAssistant
|
6808
6943
|
# @private
|
6809
6944
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6945
|
+
property :customer_policy, as: 'customerPolicy', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy::Representation
|
6946
|
+
|
6947
|
+
hash :enabled_tools, as: 'enabledTools', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantToolList, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantToolList::Representation
|
6948
|
+
|
6949
|
+
property :generation_config, as: 'generationConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig::Representation
|
6950
|
+
|
6810
6951
|
property :name, as: 'name'
|
6952
|
+
property :web_grounding_type, as: 'webGroundingType'
|
6811
6953
|
end
|
6812
6954
|
end
|
6813
6955
|
|
@@ -6859,6 +7001,39 @@ module Google
|
|
6859
7001
|
end
|
6860
7002
|
end
|
6861
7003
|
|
7004
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy
|
7005
|
+
# @private
|
7006
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7007
|
+
collection :banned_phrases, as: 'bannedPhrases', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase::Representation
|
7008
|
+
|
7009
|
+
end
|
7010
|
+
end
|
7011
|
+
|
7012
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase
|
7013
|
+
# @private
|
7014
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7015
|
+
property :ignore_diacritics, as: 'ignoreDiacritics'
|
7016
|
+
property :match_type, as: 'matchType'
|
7017
|
+
property :phrase, as: 'phrase'
|
7018
|
+
end
|
7019
|
+
end
|
7020
|
+
|
7021
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig
|
7022
|
+
# @private
|
7023
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7024
|
+
property :default_language, as: 'defaultLanguage'
|
7025
|
+
property :system_instruction, as: 'systemInstruction', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction::Representation
|
7026
|
+
|
7027
|
+
end
|
7028
|
+
end
|
7029
|
+
|
7030
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction
|
7031
|
+
# @private
|
7032
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7033
|
+
property :additional_system_instruction, as: 'additionalSystemInstruction'
|
7034
|
+
end
|
7035
|
+
end
|
7036
|
+
|
6862
7037
|
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent
|
6863
7038
|
# @private
|
6864
7039
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6910,6 +7085,22 @@ module Google
|
|
6910
7085
|
end
|
6911
7086
|
end
|
6912
7087
|
|
7088
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantToolInfo
|
7089
|
+
# @private
|
7090
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7091
|
+
property :tool_display_name, as: 'toolDisplayName'
|
7092
|
+
property :tool_name, as: 'toolName'
|
7093
|
+
end
|
7094
|
+
end
|
7095
|
+
|
7096
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantToolList
|
7097
|
+
# @private
|
7098
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7099
|
+
collection :tool_info, as: 'toolInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantToolInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantToolInfo::Representation
|
7100
|
+
|
7101
|
+
end
|
7102
|
+
end
|
7103
|
+
|
6913
7104
|
class GoogleCloudDiscoveryengineV1alphaBapConfig
|
6914
7105
|
# @private
|
6915
7106
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7204,6 +7395,7 @@ module Google
|
|
7204
7395
|
class GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata
|
7205
7396
|
# @private
|
7206
7397
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7398
|
+
property :mime_type, as: 'mimeType'
|
7207
7399
|
hash :struct_data, as: 'structData'
|
7208
7400
|
property :title, as: 'title'
|
7209
7401
|
property :uri, as: 'uri'
|
@@ -10905,6 +11097,7 @@ module Google
|
|
10905
11097
|
class GoogleCloudDiscoveryengineV1alphaWidgetConfigAssistantSettings
|
10906
11098
|
# @private
|
10907
11099
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11100
|
+
property :default_web_grounding_toggle_off, as: 'defaultWebGroundingToggleOff'
|
10908
11101
|
property :google_search_grounding_enabled, as: 'googleSearchGroundingEnabled'
|
10909
11102
|
property :web_grounding_type, as: 'webGroundingType'
|
10910
11103
|
end
|
@@ -12426,6 +12619,13 @@ module Google
|
|
12426
12619
|
end
|
12427
12620
|
end
|
12428
12621
|
|
12622
|
+
class GoogleCloudNotebooklmV1alphaCmekConfig
|
12623
|
+
# @private
|
12624
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12625
|
+
property :kms_key, as: 'kmsKey'
|
12626
|
+
end
|
12627
|
+
end
|
12628
|
+
|
12429
12629
|
class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse
|
12430
12630
|
# @private
|
12431
12631
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12438,6 +12638,8 @@ module Google
|
|
12438
12638
|
class GoogleCloudNotebooklmV1alphaNotebook
|
12439
12639
|
# @private
|
12440
12640
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12641
|
+
property :cmek_config, as: 'cmekConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaCmekConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaCmekConfig::Representation
|
12642
|
+
|
12441
12643
|
property :emoji, as: 'emoji'
|
12442
12644
|
property :metadata, as: 'metadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebookMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebookMetadata::Representation
|
12443
12645
|
|
@@ -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: *
|
3485
|
-
# create_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
|
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: *
|
6025
|
-
# create_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
|
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
|
@@ -8532,8 +8532,8 @@ module Google
|
|
8532
8532
|
# @param [String] order_by
|
8533
8533
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
8534
8534
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
8535
|
-
# create_time` * `session_name` * `is_pinned` Example: *
|
8536
|
-
# create_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
|
8537
8537
|
# first, then by update_time.
|
8538
8538
|
# @param [Fixnum] page_size
|
8539
8539
|
# Maximum number of results to return. If unspecified, defaults to 50. Max
|
@@ -9428,13 +9428,13 @@ module Google
|
|
9428
9428
|
# Evaluations under this location, regardless of whether or not this location
|
9429
9429
|
# exists, a `PERMISSION_DENIED` error is returned.
|
9430
9430
|
# @param [Fixnum] page_size
|
9431
|
-
# Maximum number of Evaluations to return. If unspecified, defaults to
|
9432
|
-
# maximum allowed value is 1000. Values above 1000 will be coerced to
|
9433
|
-
# this field is negative, an `INVALID_ARGUMENT` error is returned.
|
9431
|
+
# Optional. Maximum number of Evaluations to return. If unspecified, defaults to
|
9432
|
+
# 100. The maximum allowed value is 1000. Values above 1000 will be coerced to
|
9433
|
+
# 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.
|
9434
9434
|
# @param [String] page_token
|
9435
|
-
# A page token ListEvaluationsResponse.next_page_token, received from
|
9436
|
-
# EvaluationService.ListEvaluations call. Provide this to retrieve
|
9437
|
-
# subsequent page. When paginating, all other parameters provided to
|
9435
|
+
# Optional. A page token ListEvaluationsResponse.next_page_token, received from
|
9436
|
+
# a previous EvaluationService.ListEvaluations call. Provide this to retrieve
|
9437
|
+
# the subsequent page. When paginating, all other parameters provided to
|
9438
9438
|
# EvaluationService.ListEvaluations must match the call that provided the page
|
9439
9439
|
# token. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
9440
9440
|
# @param [String] fields
|
@@ -9474,13 +9474,13 @@ module Google
|
|
9474
9474
|
# regardless of whether or not this evaluation set exists, a `PERMISSION_DENIED`
|
9475
9475
|
# error is returned.
|
9476
9476
|
# @param [Fixnum] page_size
|
9477
|
-
# Maximum number of ListEvaluationResultsResponse.EvaluationResult to
|
9478
|
-
# unspecified, defaults to 100. The maximum allowed value is 1000.
|
9479
|
-
# 1000 will be coerced to 1000. If this field is negative, an `
|
9480
|
-
# error is returned.
|
9477
|
+
# Optional. Maximum number of ListEvaluationResultsResponse.EvaluationResult to
|
9478
|
+
# return. If unspecified, defaults to 100. The maximum allowed value is 1000.
|
9479
|
+
# Values above 1000 will be coerced to 1000. If this field is negative, an `
|
9480
|
+
# INVALID_ARGUMENT` error is returned.
|
9481
9481
|
# @param [String] page_token
|
9482
|
-
# A page token ListEvaluationResultsResponse.next_page_token, received
|
9483
|
-
# previous EvaluationService.ListEvaluationResults call. Provide this to
|
9482
|
+
# Optional. A page token ListEvaluationResultsResponse.next_page_token, received
|
9483
|
+
# from a previous EvaluationService.ListEvaluationResults call. Provide this to
|
9484
9484
|
# retrieve the subsequent page. When paginating, all other parameters provided
|
9485
9485
|
# to EvaluationService.ListEvaluationResults must match the call that provided
|
9486
9486
|
# 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.
|
4
|
+
version: 0.73.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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.73.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:
|