google-apis-discoveryengine_v1alpha 0.71.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 +8 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +546 -6
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +272 -0
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +65 -30
- 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
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1alpha
|
2
2
|
|
3
|
+
### v0.73.0 (2025-08-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250810
|
6
|
+
|
7
|
+
### v0.72.0 (2025-08-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250728
|
10
|
+
|
3
11
|
### v0.71.0 (2025-07-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250724
|
@@ -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
|
@@ -8622,6 +8986,31 @@ module Google
|
|
8622
8986
|
end
|
8623
8987
|
end
|
8624
8988
|
|
8989
|
+
# The BigQuery output destination configuration.
|
8990
|
+
class GoogleCloudDiscoveryengineV1alphaBigQueryDestination
|
8991
|
+
include Google::Apis::Core::Hashable
|
8992
|
+
|
8993
|
+
# Required. The ID of a BigQuery Dataset.
|
8994
|
+
# Corresponds to the JSON property `datasetId`
|
8995
|
+
# @return [String]
|
8996
|
+
attr_accessor :dataset_id
|
8997
|
+
|
8998
|
+
# Required. The table_id of exported BigQuery table.
|
8999
|
+
# Corresponds to the JSON property `tableId`
|
9000
|
+
# @return [String]
|
9001
|
+
attr_accessor :table_id
|
9002
|
+
|
9003
|
+
def initialize(**args)
|
9004
|
+
update!(**args)
|
9005
|
+
end
|
9006
|
+
|
9007
|
+
# Update properties of this object
|
9008
|
+
def update!(**args)
|
9009
|
+
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
9010
|
+
@table_id = args[:table_id] if args.key?(:table_id)
|
9011
|
+
end
|
9012
|
+
end
|
9013
|
+
|
8625
9014
|
# BigQuery source import data from.
|
8626
9015
|
class GoogleCloudDiscoveryengineV1alphaBigQuerySource
|
8627
9016
|
include Google::Apis::Core::Hashable
|
@@ -9352,6 +9741,12 @@ module Google
|
|
9352
9741
|
class GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata
|
9353
9742
|
include Google::Apis::Core::Hashable
|
9354
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
|
+
|
9355
9750
|
# Data representation. The structured JSON data for the document. It should
|
9356
9751
|
# conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown.
|
9357
9752
|
# Corresponds to the JSON property `structData`
|
@@ -9374,6 +9769,7 @@ module Google
|
|
9374
9769
|
|
9375
9770
|
# Update properties of this object
|
9376
9771
|
def update!(**args)
|
9772
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
9377
9773
|
@struct_data = args[:struct_data] if args.key?(:struct_data)
|
9378
9774
|
@title = args[:title] if args.key?(:title)
|
9379
9775
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -13388,6 +13784,67 @@ module Google
|
|
13388
13784
|
end
|
13389
13785
|
end
|
13390
13786
|
|
13787
|
+
# Metadata related to the progress of the Export operation. This is returned by
|
13788
|
+
# the google.longrunning.Operation.metadata field.
|
13789
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata
|
13790
|
+
include Google::Apis::Core::Hashable
|
13791
|
+
|
13792
|
+
# Operation create time.
|
13793
|
+
# Corresponds to the JSON property `createTime`
|
13794
|
+
# @return [String]
|
13795
|
+
attr_accessor :create_time
|
13796
|
+
|
13797
|
+
# Operation last update time. If the operation is done, this is also the finish
|
13798
|
+
# time.
|
13799
|
+
# Corresponds to the JSON property `updateTime`
|
13800
|
+
# @return [String]
|
13801
|
+
attr_accessor :update_time
|
13802
|
+
|
13803
|
+
def initialize(**args)
|
13804
|
+
update!(**args)
|
13805
|
+
end
|
13806
|
+
|
13807
|
+
# Update properties of this object
|
13808
|
+
def update!(**args)
|
13809
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
13810
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
13811
|
+
end
|
13812
|
+
end
|
13813
|
+
|
13814
|
+
# Request message for the `ExportMetrics` method.
|
13815
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsRequest
|
13816
|
+
include Google::Apis::Core::Hashable
|
13817
|
+
|
13818
|
+
# The output configuration setting.
|
13819
|
+
# Corresponds to the JSON property `outputConfig`
|
13820
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaOutputConfig]
|
13821
|
+
attr_accessor :output_config
|
13822
|
+
|
13823
|
+
def initialize(**args)
|
13824
|
+
update!(**args)
|
13825
|
+
end
|
13826
|
+
|
13827
|
+
# Update properties of this object
|
13828
|
+
def update!(**args)
|
13829
|
+
@output_config = args[:output_config] if args.key?(:output_config)
|
13830
|
+
end
|
13831
|
+
end
|
13832
|
+
|
13833
|
+
# Response of the ExportMetricsRequest. If the long running operation was
|
13834
|
+
# successful, then this message is returned by the google.longrunning.Operations.
|
13835
|
+
# response field.
|
13836
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse
|
13837
|
+
include Google::Apis::Core::Hashable
|
13838
|
+
|
13839
|
+
def initialize(**args)
|
13840
|
+
update!(**args)
|
13841
|
+
end
|
13842
|
+
|
13843
|
+
# Update properties of this object
|
13844
|
+
def update!(**args)
|
13845
|
+
end
|
13846
|
+
end
|
13847
|
+
|
13391
13848
|
# Fact Chunk.
|
13392
13849
|
class GoogleCloudDiscoveryengineV1alphaFactChunk
|
13393
13850
|
include Google::Apis::Core::Hashable
|
@@ -15786,18 +16243,18 @@ module Google
|
|
15786
16243
|
|
15787
16244
|
# A comma-separated list of fields to filter by, in EBNF grammar. The supported
|
15788
16245
|
# fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
|
15789
|
-
# is_pinned` * `labels` * `create_time` * `update_time` Examples:
|
15790
|
-
# user_pseudo_id = some_id
|
15791
|
-
# is_pinned=true AND (NOT labels:hidden)
|
15792
|
-
#
|
16246
|
+
# is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
|
16247
|
+
# user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
|
16248
|
+
# is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
|
16249
|
+
# `
|
15793
16250
|
# Corresponds to the JSON property `filter`
|
15794
16251
|
# @return [String]
|
15795
16252
|
attr_accessor :filter
|
15796
16253
|
|
15797
16254
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
15798
16255
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
15799
|
-
# create_time` * `session_name` * `is_pinned` Example: *
|
15800
|
-
# 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
|
15801
16258
|
# first, then by update_time.
|
15802
16259
|
# Corresponds to the JSON property `orderBy`
|
15803
16260
|
# @return [String]
|
@@ -16068,6 +16525,25 @@ module Google
|
|
16068
16525
|
end
|
16069
16526
|
end
|
16070
16527
|
|
16528
|
+
# The output configuration setting.
|
16529
|
+
class GoogleCloudDiscoveryengineV1alphaOutputConfig
|
16530
|
+
include Google::Apis::Core::Hashable
|
16531
|
+
|
16532
|
+
# The BigQuery output destination configuration.
|
16533
|
+
# Corresponds to the JSON property `bigqueryDestination`
|
16534
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigQueryDestination]
|
16535
|
+
attr_accessor :bigquery_destination
|
16536
|
+
|
16537
|
+
def initialize(**args)
|
16538
|
+
update!(**args)
|
16539
|
+
end
|
16540
|
+
|
16541
|
+
# Update properties of this object
|
16542
|
+
def update!(**args)
|
16543
|
+
@bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
|
16544
|
+
end
|
16545
|
+
end
|
16546
|
+
|
16071
16547
|
# Detailed page information.
|
16072
16548
|
class GoogleCloudDiscoveryengineV1alphaPageInfo
|
16073
16549
|
include Google::Apis::Core::Hashable
|
@@ -19476,6 +19952,17 @@ module Google
|
|
19476
19952
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
19477
19953
|
include Google::Apis::Core::Hashable
|
19478
19954
|
|
19955
|
+
# Optional. Controls behavior of how extracted filters are applied to the search.
|
19956
|
+
# The default behavior depends on the request. For single datastore structured
|
19957
|
+
# search, the default is `HARD_FILTER`. For multi-datastore search, the default
|
19958
|
+
# behavior is `SOFT_BOOST`. Location-based filters are always applied as hard
|
19959
|
+
# filters, and the `SOFT_BOOST` setting will not affect them. This field is only
|
19960
|
+
# used if SearchRequest.natural_language_query_understanding_spec.
|
19961
|
+
# filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
|
19962
|
+
# Corresponds to the JSON property `extractedFilterBehavior`
|
19963
|
+
# @return [String]
|
19964
|
+
attr_accessor :extracted_filter_behavior
|
19965
|
+
|
19479
19966
|
# The condition under which filter extraction should occur. Server behavior
|
19480
19967
|
# defaults to `DISABLED`.
|
19481
19968
|
# Corresponds to the JSON property `filterExtractionCondition`
|
@@ -19497,6 +19984,7 @@ module Google
|
|
19497
19984
|
|
19498
19985
|
# Update properties of this object
|
19499
19986
|
def update!(**args)
|
19987
|
+
@extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
|
19500
19988
|
@filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
|
19501
19989
|
@geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
|
19502
19990
|
end
|
@@ -23066,6 +23554,19 @@ module Google
|
|
23066
23554
|
class GoogleCloudDiscoveryengineV1alphaWidgetConfigAssistantSettings
|
23067
23555
|
include Google::Apis::Core::Hashable
|
23068
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
|
+
|
23069
23570
|
# Whether or not the Google search grounding toggle is shown. Deprecated. Use
|
23070
23571
|
# web_grounding_type instead.
|
23071
23572
|
# Corresponds to the JSON property `googleSearchGroundingEnabled`
|
@@ -23084,6 +23585,7 @@ module Google
|
|
23084
23585
|
|
23085
23586
|
# Update properties of this object
|
23086
23587
|
def update!(**args)
|
23588
|
+
@default_web_grounding_toggle_off = args[:default_web_grounding_toggle_off] if args.key?(:default_web_grounding_toggle_off)
|
23087
23589
|
@google_search_grounding_enabled = args[:google_search_grounding_enabled] if args.key?(:google_search_grounding_enabled)
|
23088
23590
|
@web_grounding_type = args[:web_grounding_type] if args.key?(:web_grounding_type)
|
23089
23591
|
end
|
@@ -27994,6 +28496,17 @@ module Google
|
|
27994
28496
|
class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
27995
28497
|
include Google::Apis::Core::Hashable
|
27996
28498
|
|
28499
|
+
# Optional. Controls behavior of how extracted filters are applied to the search.
|
28500
|
+
# The default behavior depends on the request. For single datastore structured
|
28501
|
+
# search, the default is `HARD_FILTER`. For multi-datastore search, the default
|
28502
|
+
# behavior is `SOFT_BOOST`. Location-based filters are always applied as hard
|
28503
|
+
# filters, and the `SOFT_BOOST` setting will not affect them. This field is only
|
28504
|
+
# used if SearchRequest.natural_language_query_understanding_spec.
|
28505
|
+
# filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
|
28506
|
+
# Corresponds to the JSON property `extractedFilterBehavior`
|
28507
|
+
# @return [String]
|
28508
|
+
attr_accessor :extracted_filter_behavior
|
28509
|
+
|
27997
28510
|
# The condition under which filter extraction should occur. Server behavior
|
27998
28511
|
# defaults to `DISABLED`.
|
27999
28512
|
# Corresponds to the JSON property `filterExtractionCondition`
|
@@ -28015,6 +28528,7 @@ module Google
|
|
28015
28528
|
|
28016
28529
|
# Update properties of this object
|
28017
28530
|
def update!(**args)
|
28531
|
+
@extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
|
28018
28532
|
@filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
|
28019
28533
|
@geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
|
28020
28534
|
end
|
@@ -28802,6 +29316,26 @@ module Google
|
|
28802
29316
|
end
|
28803
29317
|
end
|
28804
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
|
+
|
28805
29339
|
# Response for NotebookService.ListRecentlyViewedNotebooks method.
|
28806
29340
|
class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse
|
28807
29341
|
include Google::Apis::Core::Hashable
|
@@ -28832,6 +29366,11 @@ module Google
|
|
28832
29366
|
class GoogleCloudNotebooklmV1alphaNotebook
|
28833
29367
|
include Google::Apis::Core::Hashable
|
28834
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
|
+
|
28835
29374
|
# Output only. The emoji of the notebook.
|
28836
29375
|
# Corresponds to the JSON property `emoji`
|
28837
29376
|
# @return [String]
|
@@ -28866,6 +29405,7 @@ module Google
|
|
28866
29405
|
|
28867
29406
|
# Update properties of this object
|
28868
29407
|
def update!(**args)
|
29408
|
+
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
28869
29409
|
@emoji = args[:emoji] if args.key?(:emoji)
|
28870
29410
|
@metadata = args[:metadata] if args.key?(:metadata)
|
28871
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
|
|
@@ -1390,6 +1462,12 @@ module Google
|
|
1390
1462
|
include Google::Apis::Core::JsonObjectSupport
|
1391
1463
|
end
|
1392
1464
|
|
1465
|
+
class GoogleCloudDiscoveryengineV1alphaBigQueryDestination
|
1466
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1467
|
+
|
1468
|
+
include Google::Apis::Core::JsonObjectSupport
|
1469
|
+
end
|
1470
|
+
|
1393
1471
|
class GoogleCloudDiscoveryengineV1alphaBigQuerySource
|
1394
1472
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1395
1473
|
|
@@ -2104,6 +2182,24 @@ module Google
|
|
2104
2182
|
include Google::Apis::Core::JsonObjectSupport
|
2105
2183
|
end
|
2106
2184
|
|
2185
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata
|
2186
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2187
|
+
|
2188
|
+
include Google::Apis::Core::JsonObjectSupport
|
2189
|
+
end
|
2190
|
+
|
2191
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsRequest
|
2192
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2193
|
+
|
2194
|
+
include Google::Apis::Core::JsonObjectSupport
|
2195
|
+
end
|
2196
|
+
|
2197
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse
|
2198
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2199
|
+
|
2200
|
+
include Google::Apis::Core::JsonObjectSupport
|
2201
|
+
end
|
2202
|
+
|
2107
2203
|
class GoogleCloudDiscoveryengineV1alphaFactChunk
|
2108
2204
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2109
2205
|
|
@@ -2578,6 +2674,12 @@ module Google
|
|
2578
2674
|
include Google::Apis::Core::JsonObjectSupport
|
2579
2675
|
end
|
2580
2676
|
|
2677
|
+
class GoogleCloudDiscoveryengineV1alphaOutputConfig
|
2678
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2679
|
+
|
2680
|
+
include Google::Apis::Core::JsonObjectSupport
|
2681
|
+
end
|
2682
|
+
|
2581
2683
|
class GoogleCloudDiscoveryengineV1alphaPageInfo
|
2582
2684
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2583
2685
|
|
@@ -4528,6 +4630,12 @@ module Google
|
|
4528
4630
|
include Google::Apis::Core::JsonObjectSupport
|
4529
4631
|
end
|
4530
4632
|
|
4633
|
+
class GoogleCloudNotebooklmV1alphaCmekConfig
|
4634
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4635
|
+
|
4636
|
+
include Google::Apis::Core::JsonObjectSupport
|
4637
|
+
end
|
4638
|
+
|
4531
4639
|
class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse
|
4532
4640
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4533
4641
|
|
@@ -5063,7 +5171,63 @@ module Google
|
|
5063
5171
|
class GoogleCloudDiscoveryengineV1Assistant
|
5064
5172
|
# @private
|
5065
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
|
+
|
5066
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
|
+
|
5067
5231
|
end
|
5068
5232
|
end
|
5069
5233
|
|
@@ -6079,6 +6243,7 @@ module Google
|
|
6079
6243
|
hash :action_params, as: 'actionParams'
|
6080
6244
|
property :is_action_configured, as: 'isActionConfigured'
|
6081
6245
|
property :service_name, as: 'serviceName'
|
6246
|
+
property :use_static_secrets, as: 'useStaticSecrets'
|
6082
6247
|
end
|
6083
6248
|
end
|
6084
6249
|
|
@@ -6777,7 +6942,14 @@ module Google
|
|
6777
6942
|
class GoogleCloudDiscoveryengineV1alphaAssistant
|
6778
6943
|
# @private
|
6779
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
|
+
|
6780
6951
|
property :name, as: 'name'
|
6952
|
+
property :web_grounding_type, as: 'webGroundingType'
|
6781
6953
|
end
|
6782
6954
|
end
|
6783
6955
|
|
@@ -6829,6 +7001,39 @@ module Google
|
|
6829
7001
|
end
|
6830
7002
|
end
|
6831
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
|
+
|
6832
7037
|
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent
|
6833
7038
|
# @private
|
6834
7039
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6880,6 +7085,22 @@ module Google
|
|
6880
7085
|
end
|
6881
7086
|
end
|
6882
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
|
+
|
6883
7104
|
class GoogleCloudDiscoveryengineV1alphaBapConfig
|
6884
7105
|
# @private
|
6885
7106
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6982,6 +7203,14 @@ module Google
|
|
6982
7203
|
end
|
6983
7204
|
end
|
6984
7205
|
|
7206
|
+
class GoogleCloudDiscoveryengineV1alphaBigQueryDestination
|
7207
|
+
# @private
|
7208
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7209
|
+
property :dataset_id, as: 'datasetId'
|
7210
|
+
property :table_id, as: 'tableId'
|
7211
|
+
end
|
7212
|
+
end
|
7213
|
+
|
6985
7214
|
class GoogleCloudDiscoveryengineV1alphaBigQuerySource
|
6986
7215
|
# @private
|
6987
7216
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7166,6 +7395,7 @@ module Google
|
|
7166
7395
|
class GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata
|
7167
7396
|
# @private
|
7168
7397
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7398
|
+
property :mime_type, as: 'mimeType'
|
7169
7399
|
hash :struct_data, as: 'structData'
|
7170
7400
|
property :title, as: 'title'
|
7171
7401
|
property :uri, as: 'uri'
|
@@ -8244,6 +8474,28 @@ module Google
|
|
8244
8474
|
end
|
8245
8475
|
end
|
8246
8476
|
|
8477
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata
|
8478
|
+
# @private
|
8479
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8480
|
+
property :create_time, as: 'createTime'
|
8481
|
+
property :update_time, as: 'updateTime'
|
8482
|
+
end
|
8483
|
+
end
|
8484
|
+
|
8485
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsRequest
|
8486
|
+
# @private
|
8487
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8488
|
+
property :output_config, as: 'outputConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaOutputConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaOutputConfig::Representation
|
8489
|
+
|
8490
|
+
end
|
8491
|
+
end
|
8492
|
+
|
8493
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse
|
8494
|
+
# @private
|
8495
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8496
|
+
end
|
8497
|
+
end
|
8498
|
+
|
8247
8499
|
class GoogleCloudDiscoveryengineV1alphaFactChunk
|
8248
8500
|
# @private
|
8249
8501
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9028,6 +9280,14 @@ module Google
|
|
9028
9280
|
end
|
9029
9281
|
end
|
9030
9282
|
|
9283
|
+
class GoogleCloudDiscoveryengineV1alphaOutputConfig
|
9284
|
+
# @private
|
9285
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9286
|
+
property :bigquery_destination, as: 'bigqueryDestination', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigQueryDestination, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigQueryDestination::Representation
|
9287
|
+
|
9288
|
+
end
|
9289
|
+
end
|
9290
|
+
|
9031
9291
|
class GoogleCloudDiscoveryengineV1alphaPageInfo
|
9032
9292
|
# @private
|
9033
9293
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9878,6 +10138,7 @@ module Google
|
|
9878
10138
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
9879
10139
|
# @private
|
9880
10140
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10141
|
+
property :extracted_filter_behavior, as: 'extractedFilterBehavior'
|
9881
10142
|
property :filter_extraction_condition, as: 'filterExtractionCondition'
|
9882
10143
|
collection :geo_search_query_detection_field_names, as: 'geoSearchQueryDetectionFieldNames'
|
9883
10144
|
end
|
@@ -10836,6 +11097,7 @@ module Google
|
|
10836
11097
|
class GoogleCloudDiscoveryengineV1alphaWidgetConfigAssistantSettings
|
10837
11098
|
# @private
|
10838
11099
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11100
|
+
property :default_web_grounding_toggle_off, as: 'defaultWebGroundingToggleOff'
|
10839
11101
|
property :google_search_grounding_enabled, as: 'googleSearchGroundingEnabled'
|
10840
11102
|
property :web_grounding_type, as: 'webGroundingType'
|
10841
11103
|
end
|
@@ -12127,6 +12389,7 @@ module Google
|
|
12127
12389
|
class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
12128
12390
|
# @private
|
12129
12391
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12392
|
+
property :extracted_filter_behavior, as: 'extractedFilterBehavior'
|
12130
12393
|
property :filter_extraction_condition, as: 'filterExtractionCondition'
|
12131
12394
|
collection :geo_search_query_detection_field_names, as: 'geoSearchQueryDetectionFieldNames'
|
12132
12395
|
end
|
@@ -12356,6 +12619,13 @@ module Google
|
|
12356
12619
|
end
|
12357
12620
|
end
|
12358
12621
|
|
12622
|
+
class GoogleCloudNotebooklmV1alphaCmekConfig
|
12623
|
+
# @private
|
12624
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12625
|
+
property :kms_key, as: 'kmsKey'
|
12626
|
+
end
|
12627
|
+
end
|
12628
|
+
|
12359
12629
|
class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse
|
12360
12630
|
# @private
|
12361
12631
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12368,6 +12638,8 @@ module Google
|
|
12368
12638
|
class GoogleCloudNotebooklmV1alphaNotebook
|
12369
12639
|
# @private
|
12370
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
|
+
|
12371
12643
|
property :emoji, as: 'emoji'
|
12372
12644
|
property :metadata, as: 'metadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebookMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebookMetadata::Representation
|
12373
12645
|
|
@@ -3474,15 +3474,15 @@ module Google
|
|
3474
3474
|
# @param [String] filter
|
3475
3475
|
# A comma-separated list of fields to filter by, in EBNF grammar. The supported
|
3476
3476
|
# fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
|
3477
|
-
# is_pinned` * `labels` * `create_time` * `update_time` Examples:
|
3478
|
-
# user_pseudo_id = some_id
|
3479
|
-
# is_pinned=true AND (NOT labels:hidden)
|
3480
|
-
#
|
3477
|
+
# is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
|
3478
|
+
# user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
|
3479
|
+
# is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
|
3480
|
+
# `
|
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
|
@@ -4883,6 +4883,41 @@ module Google
|
|
4883
4883
|
execute_or_queue_command(command, &block)
|
4884
4884
|
end
|
4885
4885
|
|
4886
|
+
# Exports metrics.
|
4887
|
+
# @param [String] analytics
|
4888
|
+
# Required. The analytics resource name under the engine where the metrics are
|
4889
|
+
# created. The format is `projects/`project`/locations/`location`/collections/`
|
4890
|
+
# collection`/engines/`engine`/analytics`.
|
4891
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaExportMetricsRequest] google_cloud_discoveryengine_v1alpha_export_metrics_request_object
|
4892
|
+
# @param [String] fields
|
4893
|
+
# Selector specifying which fields to include in a partial response.
|
4894
|
+
# @param [String] quota_user
|
4895
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4896
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4897
|
+
# @param [Google::Apis::RequestOptions] options
|
4898
|
+
# Request-specific options
|
4899
|
+
#
|
4900
|
+
# @yield [result, err] Result & error if block supplied
|
4901
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
|
4902
|
+
# @yieldparam err [StandardError] error object if request failed
|
4903
|
+
#
|
4904
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
|
4905
|
+
#
|
4906
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4907
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4908
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4909
|
+
def export_project_location_collection_engine_analytic_metrics(analytics, google_cloud_discoveryengine_v1alpha_export_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4910
|
+
command = make_simple_command(:post, 'v1alpha/{+analytics}:exportMetrics', options)
|
4911
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaExportMetricsRequest::Representation
|
4912
|
+
command.request_object = google_cloud_discoveryengine_v1alpha_export_metrics_request_object
|
4913
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
|
4914
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
|
4915
|
+
command.params['analytics'] = analytics unless analytics.nil?
|
4916
|
+
command.query['fields'] = fields unless fields.nil?
|
4917
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4918
|
+
execute_or_queue_command(command, &block)
|
4919
|
+
end
|
4920
|
+
|
4886
4921
|
# Gets an Assistant.
|
4887
4922
|
# @param [String] name
|
4888
4923
|
# Required. Resource name of Assistant. Format: `projects/`project`/locations/`
|
@@ -5979,15 +6014,15 @@ module Google
|
|
5979
6014
|
# @param [String] filter
|
5980
6015
|
# A comma-separated list of fields to filter by, in EBNF grammar. The supported
|
5981
6016
|
# fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
|
5982
|
-
# is_pinned` * `labels` * `create_time` * `update_time` Examples:
|
5983
|
-
# user_pseudo_id = some_id
|
5984
|
-
# is_pinned=true AND (NOT labels:hidden)
|
5985
|
-
#
|
6017
|
+
# is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
|
6018
|
+
# user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
|
6019
|
+
# is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
|
6020
|
+
# `
|
5986
6021
|
# @param [String] order_by
|
5987
6022
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
5988
6023
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
5989
|
-
# create_time` * `session_name` * `is_pinned` Example: *
|
5990
|
-
# 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
|
5991
6026
|
# first, then by update_time.
|
5992
6027
|
# @param [Fixnum] page_size
|
5993
6028
|
# Maximum number of results to return. If unspecified, defaults to 50. Max
|
@@ -8490,15 +8525,15 @@ module Google
|
|
8490
8525
|
# @param [String] filter
|
8491
8526
|
# A comma-separated list of fields to filter by, in EBNF grammar. The supported
|
8492
8527
|
# fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
|
8493
|
-
# is_pinned` * `labels` * `create_time` * `update_time` Examples:
|
8494
|
-
# user_pseudo_id = some_id
|
8495
|
-
# is_pinned=true AND (NOT labels:hidden)
|
8496
|
-
#
|
8528
|
+
# is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
|
8529
|
+
# user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
|
8530
|
+
# is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
|
8531
|
+
# `
|
8497
8532
|
# @param [String] order_by
|
8498
8533
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
8499
8534
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
8500
|
-
# create_time` * `session_name` * `is_pinned` Example: *
|
8501
|
-
# 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
|
8502
8537
|
# first, then by update_time.
|
8503
8538
|
# @param [Fixnum] page_size
|
8504
8539
|
# Maximum number of results to return. If unspecified, defaults to 50. Max
|
@@ -9393,13 +9428,13 @@ module Google
|
|
9393
9428
|
# Evaluations under this location, regardless of whether or not this location
|
9394
9429
|
# exists, a `PERMISSION_DENIED` error is returned.
|
9395
9430
|
# @param [Fixnum] page_size
|
9396
|
-
# Maximum number of Evaluations to return. If unspecified, defaults to
|
9397
|
-
# maximum allowed value is 1000. Values above 1000 will be coerced to
|
9398
|
-
# 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.
|
9399
9434
|
# @param [String] page_token
|
9400
|
-
# A page token ListEvaluationsResponse.next_page_token, received from
|
9401
|
-
# EvaluationService.ListEvaluations call. Provide this to retrieve
|
9402
|
-
# 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
|
9403
9438
|
# EvaluationService.ListEvaluations must match the call that provided the page
|
9404
9439
|
# token. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
9405
9440
|
# @param [String] fields
|
@@ -9439,13 +9474,13 @@ module Google
|
|
9439
9474
|
# regardless of whether or not this evaluation set exists, a `PERMISSION_DENIED`
|
9440
9475
|
# error is returned.
|
9441
9476
|
# @param [Fixnum] page_size
|
9442
|
-
# Maximum number of ListEvaluationResultsResponse.EvaluationResult to
|
9443
|
-
# unspecified, defaults to 100. The maximum allowed value is 1000.
|
9444
|
-
# 1000 will be coerced to 1000. If this field is negative, an `
|
9445
|
-
# 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.
|
9446
9481
|
# @param [String] page_token
|
9447
|
-
# A page token ListEvaluationResultsResponse.next_page_token, received
|
9448
|
-
# 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
|
9449
9484
|
# retrieve the subsequent page. When paginating, all other parameters provided
|
9450
9485
|
# to EvaluationService.ListEvaluationResults must match the call that provided
|
9451
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:
|