google-apis-discoveryengine_v1beta 0.76.0 → 0.78.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e51e5b811960eeccf22af3e13d4b94af211e2d3be66882964dd242cae39050f1
4
- data.tar.gz: 5b8da67d1ade1cf977021250ab2630e70b2011a80eb39b2a7a2cc7e26ef8e733
3
+ metadata.gz: 1f89ff7bf2cb2922df54fc5f907ca6299bb2115e3543ab4f76888d74a0a5409e
4
+ data.tar.gz: 6f173fd90957d44d5ea1963bc9b462c9b161b559523dcf9401d26684f7e0ddf8
5
5
  SHA512:
6
- metadata.gz: e2aac141667e4edafb1d15a00ddceb1f62666f8e104a0939e82f80e277c55a0d17f3efcdce9ab6a82bf7b50d93061ba209e83a384074374e54faf7eef5846759
7
- data.tar.gz: b4c86d9cc2a2e7e2b2b2cf163c85607841e56fcd420b19ecaa6bc82049575f2c6829f9f1b10974272e2e0b5ca3daa405a25db1b09f0c9580525adfccff5f8e1c
6
+ metadata.gz: 548353e5ab46382d7c0f70bc0dabfe54c626c8fd37e1ac0f0b3092e5dab9f0283561bf6ce6622c1624a14d3a53e59c656ee9bf52a57a9f38e1ce67bcfbc9e8fc
7
+ data.tar.gz: de236d988e02e87fd937a19ff98987818b3dcf60c6d49ef11b4b932623626af814d1699859c3c15d4664715984785a8e8385b3bdd1d82e42b89c3f9dd3a9465f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.78.0 (2025-08-17)
4
+
5
+ * Regenerated from discovery document revision 20250810
6
+
7
+ ### v0.77.0 (2025-08-10)
8
+
9
+ * Regenerated from discovery document revision 20250803
10
+
3
11
  ### v0.76.0 (2025-08-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20250728
@@ -1544,6 +1544,28 @@ module Google
1544
1544
  class GoogleCloudDiscoveryengineV1Assistant
1545
1545
  include Google::Apis::Core::Hashable
1546
1546
 
1547
+ # Customer-defined policy for the assistant.
1548
+ # Corresponds to the JSON property `customerPolicy`
1549
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy]
1550
+ attr_accessor :customer_policy
1551
+
1552
+ # Optional. Note: not implemented yet. Use enabled_actions instead. The enabled
1553
+ # tools on this assistant. The keys are connector name, for example "projects/`
1554
+ # projectId`/locations/`locationId`/collections/`collectionId`/dataconnector The
1555
+ # values consist of admin enabled tools towards the connector instance. Admin
1556
+ # can selectively enable multiple tools on any of the connector instances that
1557
+ # they created in the project. For example `"jira1ConnectorName": [(toolId1, "
1558
+ # createTicket"), (toolId2, "transferTicket")], "gmail1ConnectorName": [(toolId3,
1559
+ # "sendEmail"),..] `
1560
+ # Corresponds to the JSON property `enabledTools`
1561
+ # @return [Hash<String,Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantToolList>]
1562
+ attr_accessor :enabled_tools
1563
+
1564
+ # Configuration for the generation of the assistant response.
1565
+ # Corresponds to the JSON property `generationConfig`
1566
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantGenerationConfig]
1567
+ attr_accessor :generation_config
1568
+
1547
1569
  # Immutable. Resource name of the assistant. Format: `projects/`project`/
1548
1570
  # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
1549
1571
  # assistant`` It must be a UTF-8 encoded string with a length limit of 1024
@@ -1552,13 +1574,169 @@ module Google
1552
1574
  # @return [String]
1553
1575
  attr_accessor :name
1554
1576
 
1577
+ # Optional. The type of web grounding to use.
1578
+ # Corresponds to the JSON property `webGroundingType`
1579
+ # @return [String]
1580
+ attr_accessor :web_grounding_type
1581
+
1555
1582
  def initialize(**args)
1556
1583
  update!(**args)
1557
1584
  end
1558
1585
 
1559
1586
  # Update properties of this object
1560
1587
  def update!(**args)
1588
+ @customer_policy = args[:customer_policy] if args.key?(:customer_policy)
1589
+ @enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
1590
+ @generation_config = args[:generation_config] if args.key?(:generation_config)
1561
1591
  @name = args[:name] if args.key?(:name)
1592
+ @web_grounding_type = args[:web_grounding_type] if args.key?(:web_grounding_type)
1593
+ end
1594
+ end
1595
+
1596
+ # Customer-defined policy for the assistant.
1597
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy
1598
+ include Google::Apis::Core::Hashable
1599
+
1600
+ # Optional. List of banned phrases.
1601
+ # Corresponds to the JSON property `bannedPhrases`
1602
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase>]
1603
+ attr_accessor :banned_phrases
1604
+
1605
+ def initialize(**args)
1606
+ update!(**args)
1607
+ end
1608
+
1609
+ # Update properties of this object
1610
+ def update!(**args)
1611
+ @banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
1612
+ end
1613
+ end
1614
+
1615
+ # Definition of a customer-defined banned phrase. A banned phrase is not allowed
1616
+ # to appear in the user query or the LLM response, or else the answer will be
1617
+ # refused.
1618
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase
1619
+ include Google::Apis::Core::Hashable
1620
+
1621
+ # Optional. If true, diacritical marks (e.g., accents, umlauts) are ignored when
1622
+ # matching banned phrases. For example, "cafe" would match "café".
1623
+ # Corresponds to the JSON property `ignoreDiacritics`
1624
+ # @return [Boolean]
1625
+ attr_accessor :ignore_diacritics
1626
+ alias_method :ignore_diacritics?, :ignore_diacritics
1627
+
1628
+ # Optional. Match type for the banned phrase.
1629
+ # Corresponds to the JSON property `matchType`
1630
+ # @return [String]
1631
+ attr_accessor :match_type
1632
+
1633
+ # Required. The raw string content to be banned.
1634
+ # Corresponds to the JSON property `phrase`
1635
+ # @return [String]
1636
+ attr_accessor :phrase
1637
+
1638
+ def initialize(**args)
1639
+ update!(**args)
1640
+ end
1641
+
1642
+ # Update properties of this object
1643
+ def update!(**args)
1644
+ @ignore_diacritics = args[:ignore_diacritics] if args.key?(:ignore_diacritics)
1645
+ @match_type = args[:match_type] if args.key?(:match_type)
1646
+ @phrase = args[:phrase] if args.key?(:phrase)
1647
+ end
1648
+ end
1649
+
1650
+ # Configuration for the generation of the assistant response.
1651
+ class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
1652
+ include Google::Apis::Core::Hashable
1653
+
1654
+ # The default language to use for the generation of the assistant response. Use
1655
+ # an ISO 639-1 language code such as `en`. If not specified, the language will
1656
+ # be automatically detected.
1657
+ # Corresponds to the JSON property `defaultLanguage`
1658
+ # @return [String]
1659
+ attr_accessor :default_language
1660
+
1661
+ # System instruction, also known as the prompt preamble for LLM calls.
1662
+ # Corresponds to the JSON property `systemInstruction`
1663
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction]
1664
+ attr_accessor :system_instruction
1665
+
1666
+ def initialize(**args)
1667
+ update!(**args)
1668
+ end
1669
+
1670
+ # Update properties of this object
1671
+ def update!(**args)
1672
+ @default_language = args[:default_language] if args.key?(:default_language)
1673
+ @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
1674
+ end
1675
+ end
1676
+
1677
+ # System instruction, also known as the prompt preamble for LLM calls.
1678
+ class GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction
1679
+ include Google::Apis::Core::Hashable
1680
+
1681
+ # Optional. Additional system instruction that will be added to the default
1682
+ # system instruction.
1683
+ # Corresponds to the JSON property `additionalSystemInstruction`
1684
+ # @return [String]
1685
+ attr_accessor :additional_system_instruction
1686
+
1687
+ def initialize(**args)
1688
+ update!(**args)
1689
+ end
1690
+
1691
+ # Update properties of this object
1692
+ def update!(**args)
1693
+ @additional_system_instruction = args[:additional_system_instruction] if args.key?(:additional_system_instruction)
1694
+ end
1695
+ end
1696
+
1697
+ # Information to identify a tool.
1698
+ class GoogleCloudDiscoveryengineV1AssistantToolInfo
1699
+ include Google::Apis::Core::Hashable
1700
+
1701
+ # The display name of the tool.
1702
+ # Corresponds to the JSON property `toolDisplayName`
1703
+ # @return [String]
1704
+ attr_accessor :tool_display_name
1705
+
1706
+ # The name of the tool as defined by DataConnectorService.QueryAvailableActions.
1707
+ # Note: it's using `action` in the DataConnectorService apis, but they are the
1708
+ # same as the `tool` here.
1709
+ # Corresponds to the JSON property `toolName`
1710
+ # @return [String]
1711
+ attr_accessor :tool_name
1712
+
1713
+ def initialize(**args)
1714
+ update!(**args)
1715
+ end
1716
+
1717
+ # Update properties of this object
1718
+ def update!(**args)
1719
+ @tool_display_name = args[:tool_display_name] if args.key?(:tool_display_name)
1720
+ @tool_name = args[:tool_name] if args.key?(:tool_name)
1721
+ end
1722
+ end
1723
+
1724
+ # The enabled tools on a connector
1725
+ class GoogleCloudDiscoveryengineV1AssistantToolList
1726
+ include Google::Apis::Core::Hashable
1727
+
1728
+ # The list of tools with corresponding tool information.
1729
+ # Corresponds to the JSON property `toolInfo`
1730
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantToolInfo>]
1731
+ attr_accessor :tool_info
1732
+
1733
+ def initialize(**args)
1734
+ update!(**args)
1735
+ end
1736
+
1737
+ # Update properties of this object
1738
+ def update!(**args)
1739
+ @tool_info = args[:tool_info] if args.key?(:tool_info)
1562
1740
  end
1563
1741
  end
1564
1742
 
@@ -5323,6 +5501,13 @@ module Google
5323
5501
  # @return [String]
5324
5502
  attr_accessor :service_name
5325
5503
 
5504
+ # Optional. Whether to use static secrets for the connector. If true, the
5505
+ # secrets provided in the action_params will be ignored.
5506
+ # Corresponds to the JSON property `useStaticSecrets`
5507
+ # @return [Boolean]
5508
+ attr_accessor :use_static_secrets
5509
+ alias_method :use_static_secrets?, :use_static_secrets
5510
+
5326
5511
  def initialize(**args)
5327
5512
  update!(**args)
5328
5513
  end
@@ -5332,6 +5517,7 @@ module Google
5332
5517
  @action_params = args[:action_params] if args.key?(:action_params)
5333
5518
  @is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
5334
5519
  @service_name = args[:service_name] if args.key?(:service_name)
5520
+ @use_static_secrets = args[:use_static_secrets] if args.key?(:use_static_secrets)
5335
5521
  end
5336
5522
  end
5337
5523
 
@@ -10108,8 +10294,8 @@ module Google
10108
10294
 
10109
10295
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
10110
10296
  # desc" after a field name for descending. Supported fields: * `update_time` * `
10111
- # create_time` * `session_name` * `is_pinned` Example: * "update_time desc" * "
10112
- # create_time" * "is_pinned desc,update_time desc": list sessions by is_pinned
10297
+ # create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
10298
+ # create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
10113
10299
  # first, then by update_time.
10114
10300
  # Corresponds to the JSON property `orderBy`
10115
10301
  # @return [String]
@@ -15655,6 +15841,28 @@ module Google
15655
15841
  class GoogleCloudDiscoveryengineV1betaAssistant
15656
15842
  include Google::Apis::Core::Hashable
15657
15843
 
15844
+ # Customer-defined policy for the assistant.
15845
+ # Corresponds to the JSON property `customerPolicy`
15846
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy]
15847
+ attr_accessor :customer_policy
15848
+
15849
+ # Optional. Note: not implemented yet. Use enabled_actions instead. The enabled
15850
+ # tools on this assistant. The keys are connector name, for example "projects/`
15851
+ # projectId`/locations/`locationId`/collections/`collectionId`/dataconnector The
15852
+ # values consist of admin enabled tools towards the connector instance. Admin
15853
+ # can selectively enable multiple tools on any of the connector instances that
15854
+ # they created in the project. For example `"jira1ConnectorName": [(toolId1, "
15855
+ # createTicket"), (toolId2, "transferTicket")], "gmail1ConnectorName": [(toolId3,
15856
+ # "sendEmail"),..] `
15857
+ # Corresponds to the JSON property `enabledTools`
15858
+ # @return [Hash<String,Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantToolList>]
15859
+ attr_accessor :enabled_tools
15860
+
15861
+ # Configuration for the generation of the assistant response.
15862
+ # Corresponds to the JSON property `generationConfig`
15863
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig]
15864
+ attr_accessor :generation_config
15865
+
15658
15866
  # Immutable. Resource name of the assistant. Format: `projects/`project`/
15659
15867
  # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
15660
15868
  # assistant`` It must be a UTF-8 encoded string with a length limit of 1024
@@ -15663,13 +15871,22 @@ module Google
15663
15871
  # @return [String]
15664
15872
  attr_accessor :name
15665
15873
 
15874
+ # Optional. The type of web grounding to use.
15875
+ # Corresponds to the JSON property `webGroundingType`
15876
+ # @return [String]
15877
+ attr_accessor :web_grounding_type
15878
+
15666
15879
  def initialize(**args)
15667
15880
  update!(**args)
15668
15881
  end
15669
15882
 
15670
15883
  # Update properties of this object
15671
15884
  def update!(**args)
15885
+ @customer_policy = args[:customer_policy] if args.key?(:customer_policy)
15886
+ @enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
15887
+ @generation_config = args[:generation_config] if args.key?(:generation_config)
15672
15888
  @name = args[:name] if args.key?(:name)
15889
+ @web_grounding_type = args[:web_grounding_type] if args.key?(:web_grounding_type)
15673
15890
  end
15674
15891
  end
15675
15892
 
@@ -15825,6 +16042,107 @@ module Google
15825
16042
  end
15826
16043
  end
15827
16044
 
16045
+ # Customer-defined policy for the assistant.
16046
+ class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy
16047
+ include Google::Apis::Core::Hashable
16048
+
16049
+ # Optional. List of banned phrases.
16050
+ # Corresponds to the JSON property `bannedPhrases`
16051
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase>]
16052
+ attr_accessor :banned_phrases
16053
+
16054
+ def initialize(**args)
16055
+ update!(**args)
16056
+ end
16057
+
16058
+ # Update properties of this object
16059
+ def update!(**args)
16060
+ @banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
16061
+ end
16062
+ end
16063
+
16064
+ # Definition of a customer-defined banned phrase. A banned phrase is not allowed
16065
+ # to appear in the user query or the LLM response, or else the answer will be
16066
+ # refused.
16067
+ class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase
16068
+ include Google::Apis::Core::Hashable
16069
+
16070
+ # Optional. If true, diacritical marks (e.g., accents, umlauts) are ignored when
16071
+ # matching banned phrases. For example, "cafe" would match "café".
16072
+ # Corresponds to the JSON property `ignoreDiacritics`
16073
+ # @return [Boolean]
16074
+ attr_accessor :ignore_diacritics
16075
+ alias_method :ignore_diacritics?, :ignore_diacritics
16076
+
16077
+ # Optional. Match type for the banned phrase.
16078
+ # Corresponds to the JSON property `matchType`
16079
+ # @return [String]
16080
+ attr_accessor :match_type
16081
+
16082
+ # Required. The raw string content to be banned.
16083
+ # Corresponds to the JSON property `phrase`
16084
+ # @return [String]
16085
+ attr_accessor :phrase
16086
+
16087
+ def initialize(**args)
16088
+ update!(**args)
16089
+ end
16090
+
16091
+ # Update properties of this object
16092
+ def update!(**args)
16093
+ @ignore_diacritics = args[:ignore_diacritics] if args.key?(:ignore_diacritics)
16094
+ @match_type = args[:match_type] if args.key?(:match_type)
16095
+ @phrase = args[:phrase] if args.key?(:phrase)
16096
+ end
16097
+ end
16098
+
16099
+ # Configuration for the generation of the assistant response.
16100
+ class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig
16101
+ include Google::Apis::Core::Hashable
16102
+
16103
+ # The default language to use for the generation of the assistant response. Use
16104
+ # an ISO 639-1 language code such as `en`. If not specified, the language will
16105
+ # be automatically detected.
16106
+ # Corresponds to the JSON property `defaultLanguage`
16107
+ # @return [String]
16108
+ attr_accessor :default_language
16109
+
16110
+ # System instruction, also known as the prompt preamble for LLM calls.
16111
+ # Corresponds to the JSON property `systemInstruction`
16112
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction]
16113
+ attr_accessor :system_instruction
16114
+
16115
+ def initialize(**args)
16116
+ update!(**args)
16117
+ end
16118
+
16119
+ # Update properties of this object
16120
+ def update!(**args)
16121
+ @default_language = args[:default_language] if args.key?(:default_language)
16122
+ @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
16123
+ end
16124
+ end
16125
+
16126
+ # System instruction, also known as the prompt preamble for LLM calls.
16127
+ class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction
16128
+ include Google::Apis::Core::Hashable
16129
+
16130
+ # Optional. Additional system instruction that will be added to the default
16131
+ # system instruction.
16132
+ # Corresponds to the JSON property `additionalSystemInstruction`
16133
+ # @return [String]
16134
+ attr_accessor :additional_system_instruction
16135
+
16136
+ def initialize(**args)
16137
+ update!(**args)
16138
+ end
16139
+
16140
+ # Update properties of this object
16141
+ def update!(**args)
16142
+ @additional_system_instruction = args[:additional_system_instruction] if args.key?(:additional_system_instruction)
16143
+ end
16144
+ end
16145
+
15828
16146
  # A piece of content and possibly its grounding information. Not all content
15829
16147
  # needs grounding. Phrases like "Of course, I will gladly search it for you." do
15830
16148
  # not need grounding.
@@ -15993,6 +16311,52 @@ module Google
15993
16311
  end
15994
16312
  end
15995
16313
 
16314
+ # Information to identify a tool.
16315
+ class GoogleCloudDiscoveryengineV1betaAssistantToolInfo
16316
+ include Google::Apis::Core::Hashable
16317
+
16318
+ # The display name of the tool.
16319
+ # Corresponds to the JSON property `toolDisplayName`
16320
+ # @return [String]
16321
+ attr_accessor :tool_display_name
16322
+
16323
+ # The name of the tool as defined by DataConnectorService.QueryAvailableActions.
16324
+ # Note: it's using `action` in the DataConnectorService apis, but they are the
16325
+ # same as the `tool` here.
16326
+ # Corresponds to the JSON property `toolName`
16327
+ # @return [String]
16328
+ attr_accessor :tool_name
16329
+
16330
+ def initialize(**args)
16331
+ update!(**args)
16332
+ end
16333
+
16334
+ # Update properties of this object
16335
+ def update!(**args)
16336
+ @tool_display_name = args[:tool_display_name] if args.key?(:tool_display_name)
16337
+ @tool_name = args[:tool_name] if args.key?(:tool_name)
16338
+ end
16339
+ end
16340
+
16341
+ # The enabled tools on a connector
16342
+ class GoogleCloudDiscoveryengineV1betaAssistantToolList
16343
+ include Google::Apis::Core::Hashable
16344
+
16345
+ # The list of tools with corresponding tool information.
16346
+ # Corresponds to the JSON property `toolInfo`
16347
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantToolInfo>]
16348
+ attr_accessor :tool_info
16349
+
16350
+ def initialize(**args)
16351
+ update!(**args)
16352
+ end
16353
+
16354
+ # Update properties of this object
16355
+ def update!(**args)
16356
+ @tool_info = args[:tool_info] if args.key?(:tool_info)
16357
+ end
16358
+ end
16359
+
15996
16360
  # Metadata related to the progress of the SiteSearchEngineService.
15997
16361
  # BatchCreateTargetSites operation. This will be returned by the google.
15998
16362
  # longrunning.Operation.metadata field.
@@ -16864,6 +17228,12 @@ module Google
16864
17228
  class GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata
16865
17229
  include Google::Apis::Core::Hashable
16866
17230
 
17231
+ # The mime type of the document. https://www.iana.org/assignments/media-types/
17232
+ # media-types.xhtml.
17233
+ # Corresponds to the JSON property `mimeType`
17234
+ # @return [String]
17235
+ attr_accessor :mime_type
17236
+
16867
17237
  # Data representation. The structured JSON data for the document. It should
16868
17238
  # conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown.
16869
17239
  # Corresponds to the JSON property `structData`
@@ -16886,6 +17256,7 @@ module Google
16886
17256
 
16887
17257
  # Update properties of this object
16888
17258
  def update!(**args)
17259
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
16889
17260
  @struct_data = args[:struct_data] if args.key?(:struct_data)
16890
17261
  @title = args[:title] if args.key?(:title)
16891
17262
  @uri = args[:uri] if args.key?(:uri)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1beta
18
18
  # Version of the google-apis-discoveryengine_v1beta gem
19
- GEM_VERSION = "0.76.0"
19
+ GEM_VERSION = "0.78.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250728"
25
+ REVISION = "20250810"
26
26
  end
27
27
  end
28
28
  end
@@ -220,6 +220,42 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleCloudDiscoveryengineV1AssistantToolInfo
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleCloudDiscoveryengineV1AssistantToolList
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
223
259
  class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata
224
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
261
 
@@ -2494,6 +2530,30 @@ module Google
2494
2530
  include Google::Apis::Core::JsonObjectSupport
2495
2531
  end
2496
2532
 
2533
+ class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy
2534
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2535
+
2536
+ include Google::Apis::Core::JsonObjectSupport
2537
+ end
2538
+
2539
+ class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase
2540
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2541
+
2542
+ include Google::Apis::Core::JsonObjectSupport
2543
+ end
2544
+
2545
+ class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig
2546
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2547
+
2548
+ include Google::Apis::Core::JsonObjectSupport
2549
+ end
2550
+
2551
+ class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction
2552
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2553
+
2554
+ include Google::Apis::Core::JsonObjectSupport
2555
+ end
2556
+
2497
2557
  class GoogleCloudDiscoveryengineV1betaAssistantGroundedContent
2498
2558
  class Representation < Google::Apis::Core::JsonRepresentation; end
2499
2559
 
@@ -2524,6 +2584,18 @@ module Google
2524
2584
  include Google::Apis::Core::JsonObjectSupport
2525
2585
  end
2526
2586
 
2587
+ class GoogleCloudDiscoveryengineV1betaAssistantToolInfo
2588
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2589
+
2590
+ include Google::Apis::Core::JsonObjectSupport
2591
+ end
2592
+
2593
+ class GoogleCloudDiscoveryengineV1betaAssistantToolList
2594
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2595
+
2596
+ include Google::Apis::Core::JsonObjectSupport
2597
+ end
2598
+
2527
2599
  class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata
2528
2600
  class Representation < Google::Apis::Core::JsonRepresentation; end
2529
2601
 
@@ -4813,7 +4885,63 @@ module Google
4813
4885
  class GoogleCloudDiscoveryengineV1Assistant
4814
4886
  # @private
4815
4887
  class Representation < Google::Apis::Core::JsonRepresentation
4888
+ property :customer_policy, as: 'customerPolicy', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy::Representation
4889
+
4890
+ hash :enabled_tools, as: 'enabledTools', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantToolList, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantToolList::Representation
4891
+
4892
+ property :generation_config, as: 'generationConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantGenerationConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantGenerationConfig::Representation
4893
+
4816
4894
  property :name, as: 'name'
4895
+ property :web_grounding_type, as: 'webGroundingType'
4896
+ end
4897
+ end
4898
+
4899
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy
4900
+ # @private
4901
+ class Representation < Google::Apis::Core::JsonRepresentation
4902
+ collection :banned_phrases, as: 'bannedPhrases', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase::Representation
4903
+
4904
+ end
4905
+ end
4906
+
4907
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase
4908
+ # @private
4909
+ class Representation < Google::Apis::Core::JsonRepresentation
4910
+ property :ignore_diacritics, as: 'ignoreDiacritics'
4911
+ property :match_type, as: 'matchType'
4912
+ property :phrase, as: 'phrase'
4913
+ end
4914
+ end
4915
+
4916
+ class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
4917
+ # @private
4918
+ class Representation < Google::Apis::Core::JsonRepresentation
4919
+ property :default_language, as: 'defaultLanguage'
4920
+ property :system_instruction, as: 'systemInstruction', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction::Representation
4921
+
4922
+ end
4923
+ end
4924
+
4925
+ class GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction
4926
+ # @private
4927
+ class Representation < Google::Apis::Core::JsonRepresentation
4928
+ property :additional_system_instruction, as: 'additionalSystemInstruction'
4929
+ end
4930
+ end
4931
+
4932
+ class GoogleCloudDiscoveryengineV1AssistantToolInfo
4933
+ # @private
4934
+ class Representation < Google::Apis::Core::JsonRepresentation
4935
+ property :tool_display_name, as: 'toolDisplayName'
4936
+ property :tool_name, as: 'toolName'
4937
+ end
4938
+ end
4939
+
4940
+ class GoogleCloudDiscoveryengineV1AssistantToolList
4941
+ # @private
4942
+ class Representation < Google::Apis::Core::JsonRepresentation
4943
+ collection :tool_info, as: 'toolInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantToolInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantToolInfo::Representation
4944
+
4817
4945
  end
4818
4946
  end
4819
4947
 
@@ -5814,6 +5942,7 @@ module Google
5814
5942
  hash :action_params, as: 'actionParams'
5815
5943
  property :is_action_configured, as: 'isActionConfigured'
5816
5944
  property :service_name, as: 'serviceName'
5945
+ property :use_static_secrets, as: 'useStaticSecrets'
5817
5946
  end
5818
5947
  end
5819
5948
 
@@ -8605,7 +8734,14 @@ module Google
8605
8734
  class GoogleCloudDiscoveryengineV1betaAssistant
8606
8735
  # @private
8607
8736
  class Representation < Google::Apis::Core::JsonRepresentation
8737
+ property :customer_policy, as: 'customerPolicy', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy::Representation
8738
+
8739
+ hash :enabled_tools, as: 'enabledTools', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantToolList, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantToolList::Representation
8740
+
8741
+ property :generation_config, as: 'generationConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig::Representation
8742
+
8608
8743
  property :name, as: 'name'
8744
+ property :web_grounding_type, as: 'webGroundingType'
8609
8745
  end
8610
8746
  end
8611
8747
 
@@ -8657,6 +8793,39 @@ module Google
8657
8793
  end
8658
8794
  end
8659
8795
 
8796
+ class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy
8797
+ # @private
8798
+ class Representation < Google::Apis::Core::JsonRepresentation
8799
+ collection :banned_phrases, as: 'bannedPhrases', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase::Representation
8800
+
8801
+ end
8802
+ end
8803
+
8804
+ class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase
8805
+ # @private
8806
+ class Representation < Google::Apis::Core::JsonRepresentation
8807
+ property :ignore_diacritics, as: 'ignoreDiacritics'
8808
+ property :match_type, as: 'matchType'
8809
+ property :phrase, as: 'phrase'
8810
+ end
8811
+ end
8812
+
8813
+ class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig
8814
+ # @private
8815
+ class Representation < Google::Apis::Core::JsonRepresentation
8816
+ property :default_language, as: 'defaultLanguage'
8817
+ property :system_instruction, as: 'systemInstruction', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction::Representation
8818
+
8819
+ end
8820
+ end
8821
+
8822
+ class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction
8823
+ # @private
8824
+ class Representation < Google::Apis::Core::JsonRepresentation
8825
+ property :additional_system_instruction, as: 'additionalSystemInstruction'
8826
+ end
8827
+ end
8828
+
8660
8829
  class GoogleCloudDiscoveryengineV1betaAssistantGroundedContent
8661
8830
  # @private
8662
8831
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8708,6 +8877,22 @@ module Google
8708
8877
  end
8709
8878
  end
8710
8879
 
8880
+ class GoogleCloudDiscoveryengineV1betaAssistantToolInfo
8881
+ # @private
8882
+ class Representation < Google::Apis::Core::JsonRepresentation
8883
+ property :tool_display_name, as: 'toolDisplayName'
8884
+ property :tool_name, as: 'toolName'
8885
+ end
8886
+ end
8887
+
8888
+ class GoogleCloudDiscoveryengineV1betaAssistantToolList
8889
+ # @private
8890
+ class Representation < Google::Apis::Core::JsonRepresentation
8891
+ collection :tool_info, as: 'toolInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantToolInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantToolInfo::Representation
8892
+
8893
+ end
8894
+ end
8895
+
8711
8896
  class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata
8712
8897
  # @private
8713
8898
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8952,6 +9137,7 @@ module Google
8952
9137
  class GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata
8953
9138
  # @private
8954
9139
  class Representation < Google::Apis::Core::JsonRepresentation
9140
+ property :mime_type, as: 'mimeType'
8955
9141
  hash :struct_data, as: 'structData'
8956
9142
  property :title, as: 'title'
8957
9143
  property :uri, as: 'uri'
@@ -2701,8 +2701,8 @@ module Google
2701
2701
  # @param [String] order_by
2702
2702
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
2703
2703
  # desc" after a field name for descending. Supported fields: * `update_time` * `
2704
- # create_time` * `session_name` * `is_pinned` Example: * "update_time desc" * "
2705
- # create_time" * "is_pinned desc,update_time desc": list sessions by is_pinned
2704
+ # create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
2705
+ # create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
2706
2706
  # first, then by update_time.
2707
2707
  # @param [Fixnum] page_size
2708
2708
  # Maximum number of results to return. If unspecified, defaults to 50. Max
@@ -5096,8 +5096,8 @@ module Google
5096
5096
  # @param [String] order_by
5097
5097
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
5098
5098
  # desc" after a field name for descending. Supported fields: * `update_time` * `
5099
- # create_time` * `session_name` * `is_pinned` Example: * "update_time desc" * "
5100
- # create_time" * "is_pinned desc,update_time desc": list sessions by is_pinned
5099
+ # create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
5100
+ # create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
5101
5101
  # first, then by update_time.
5102
5102
  # @param [Fixnum] page_size
5103
5103
  # Maximum number of results to return. If unspecified, defaults to 50. Max
@@ -7312,8 +7312,8 @@ module Google
7312
7312
  # @param [String] order_by
7313
7313
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
7314
7314
  # desc" after a field name for descending. Supported fields: * `update_time` * `
7315
- # create_time` * `session_name` * `is_pinned` Example: * "update_time desc" * "
7316
- # create_time" * "is_pinned desc,update_time desc": list sessions by is_pinned
7315
+ # create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
7316
+ # create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
7317
7317
  # first, then by update_time.
7318
7318
  # @param [Fixnum] page_size
7319
7319
  # Maximum number of results to return. If unspecified, defaults to 50. Max
@@ -8165,13 +8165,13 @@ module Google
8165
8165
  # Evaluations under this location, regardless of whether or not this location
8166
8166
  # exists, a `PERMISSION_DENIED` error is returned.
8167
8167
  # @param [Fixnum] page_size
8168
- # Maximum number of Evaluations to return. If unspecified, defaults to 100. The
8169
- # maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If
8170
- # this field is negative, an `INVALID_ARGUMENT` error is returned.
8168
+ # Optional. Maximum number of Evaluations to return. If unspecified, defaults to
8169
+ # 100. The maximum allowed value is 1000. Values above 1000 will be coerced to
8170
+ # 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.
8171
8171
  # @param [String] page_token
8172
- # A page token ListEvaluationsResponse.next_page_token, received from a previous
8173
- # EvaluationService.ListEvaluations call. Provide this to retrieve the
8174
- # subsequent page. When paginating, all other parameters provided to
8172
+ # Optional. A page token ListEvaluationsResponse.next_page_token, received from
8173
+ # a previous EvaluationService.ListEvaluations call. Provide this to retrieve
8174
+ # the subsequent page. When paginating, all other parameters provided to
8175
8175
  # EvaluationService.ListEvaluations must match the call that provided the page
8176
8176
  # token. Otherwise, an `INVALID_ARGUMENT` error is returned.
8177
8177
  # @param [String] fields
@@ -8211,13 +8211,13 @@ module Google
8211
8211
  # regardless of whether or not this evaluation set exists, a `PERMISSION_DENIED`
8212
8212
  # error is returned.
8213
8213
  # @param [Fixnum] page_size
8214
- # Maximum number of ListEvaluationResultsResponse.EvaluationResult to return. If
8215
- # unspecified, defaults to 100. The maximum allowed value is 1000. Values above
8216
- # 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT`
8217
- # error is returned.
8214
+ # Optional. Maximum number of ListEvaluationResultsResponse.EvaluationResult to
8215
+ # return. If unspecified, defaults to 100. The maximum allowed value is 1000.
8216
+ # Values above 1000 will be coerced to 1000. If this field is negative, an `
8217
+ # INVALID_ARGUMENT` error is returned.
8218
8218
  # @param [String] page_token
8219
- # A page token ListEvaluationResultsResponse.next_page_token, received from a
8220
- # previous EvaluationService.ListEvaluationResults call. Provide this to
8219
+ # Optional. A page token ListEvaluationResultsResponse.next_page_token, received
8220
+ # from a previous EvaluationService.ListEvaluationResults call. Provide this to
8221
8221
  # retrieve the subsequent page. When paginating, all other parameters provided
8222
8222
  # to EvaluationService.ListEvaluationResults must match the call that provided
8223
8223
  # 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_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.76.0
4
+ version: 0.78.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_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.76.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.78.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: