google-apis-connectors_v2 0.26.0 → 0.28.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: 7069b0a45d273dba890a199451b944e6d8bc3de18dad17cd71aa04a0942aaeb4
4
- data.tar.gz: 3f175acf154cf9eb4ff6ac8f65e7da86d1df63a9b5879a3fd2867ba263cc665a
3
+ metadata.gz: 65996b192dea9fbe2c360168fb829c757f328449b2eca8a53e984cfd19b1c41e
4
+ data.tar.gz: 97f494fcc31133e960e4939b1dab1edd22900ba1139214cd80ef794fd2349f4a
5
5
  SHA512:
6
- metadata.gz: 3456dcc9b1fa3208dc0a8fe89ba0f98dfd28cac8866b843d332b9b9b430a043d818dd15da868844480a757e956e00336628f3b293e3d3faab4617ae0446fb55f
7
- data.tar.gz: 9fdd9be76175d43c24124e838c0a3766e0faf7dba99b2c7baf8492a085dadfa4c9dce86c72a4c88ac4dbed36b08e01becb55b29816f46c29ace7b1ae8dd1d5f1
6
+ metadata.gz: 54daa0830f63453d087d5b7c2789162a07afe74bc6c54c03ecaa578b019ee629946ed762a88f9f828bd42ca700d65e1678b18c0f3a2008dba89e56bdd5e9ce97
7
+ data.tar.gz: ff649c2c22a6166c2654145c3e295342af558535c2d767bbdab7cea9208f9f066dc9df1aef06b631f791c75f40d0cf7f2d69d5349908f9bde9bc0c50f3446282
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-connectors_v2
2
2
 
3
+ ### v0.28.0 (2025-09-28)
4
+
5
+ * Regenerated from discovery document revision 20250917
6
+
7
+ ### v0.27.0 (2025-09-07)
8
+
9
+ * Regenerated from discovery document revision 20250826
10
+
3
11
  ### v0.26.0 (2025-08-17)
4
12
 
5
13
  * Regenerated from discovery document revision 20250813
@@ -1747,6 +1747,16 @@ module Google
1747
1747
  class Tool
1748
1748
  include Google::Apis::Core::Hashable
1749
1749
 
1750
+ # ToolAnnotations holds annotations for a tool.
1751
+ # Corresponds to the JSON property `annotations`
1752
+ # @return [Google::Apis::ConnectorsV2::ToolAnnotations]
1753
+ attr_accessor :annotations
1754
+
1755
+ # List of tool names that this tool depends on.
1756
+ # Corresponds to the JSON property `dependsOn`
1757
+ # @return [Array<String>]
1758
+ attr_accessor :depends_on
1759
+
1750
1760
  # Description of the tool.
1751
1761
  # Corresponds to the JSON property `description`
1752
1762
  # @return [String]
@@ -1773,6 +1783,8 @@ module Google
1773
1783
 
1774
1784
  # Update properties of this object
1775
1785
  def update!(**args)
1786
+ @annotations = args[:annotations] if args.key?(:annotations)
1787
+ @depends_on = args[:depends_on] if args.key?(:depends_on)
1776
1788
  @description = args[:description] if args.key?(:description)
1777
1789
  @input_schema = args[:input_schema] if args.key?(:input_schema)
1778
1790
  @name = args[:name] if args.key?(:name)
@@ -1780,6 +1792,59 @@ module Google
1780
1792
  end
1781
1793
  end
1782
1794
 
1795
+ # ToolAnnotations holds annotations for a tool.
1796
+ class ToolAnnotations
1797
+ include Google::Apis::Core::Hashable
1798
+
1799
+ # If true, the tool may perform destructive updates to its environment. If false,
1800
+ # the tool performs only additive updates. (This property is meaningful only
1801
+ # when `read_only_hint == false`)
1802
+ # Corresponds to the JSON property `destructiveHint`
1803
+ # @return [Boolean]
1804
+ attr_accessor :destructive_hint
1805
+ alias_method :destructive_hint?, :destructive_hint
1806
+
1807
+ # If true, calling the tool repeatedly with the same arguments will have no
1808
+ # additional effect on the environment. (This property is meaningful only when `
1809
+ # read_only_hint == false`)
1810
+ # Corresponds to the JSON property `idempotentHint`
1811
+ # @return [Boolean]
1812
+ attr_accessor :idempotent_hint
1813
+ alias_method :idempotent_hint?, :idempotent_hint
1814
+
1815
+ # If true, this tool may interact with an "open world" of external entities. If
1816
+ # false, the tool's domain of interaction is closed. For example, the world of a
1817
+ # web search tool is open, whereas that of a memory tool is not.
1818
+ # Corresponds to the JSON property `openWorldHint`
1819
+ # @return [Boolean]
1820
+ attr_accessor :open_world_hint
1821
+ alias_method :open_world_hint?, :open_world_hint
1822
+
1823
+ # If true, the tool does not modify its environment.
1824
+ # Corresponds to the JSON property `readOnlyHint`
1825
+ # @return [Boolean]
1826
+ attr_accessor :read_only_hint
1827
+ alias_method :read_only_hint?, :read_only_hint
1828
+
1829
+ # A human-readable title for the tool.
1830
+ # Corresponds to the JSON property `title`
1831
+ # @return [String]
1832
+ attr_accessor :title
1833
+
1834
+ def initialize(**args)
1835
+ update!(**args)
1836
+ end
1837
+
1838
+ # Update properties of this object
1839
+ def update!(**args)
1840
+ @destructive_hint = args[:destructive_hint] if args.key?(:destructive_hint)
1841
+ @idempotent_hint = args[:idempotent_hint] if args.key?(:idempotent_hint)
1842
+ @open_world_hint = args[:open_world_hint] if args.key?(:open_world_hint)
1843
+ @read_only_hint = args[:read_only_hint] if args.key?(:read_only_hint)
1844
+ @title = args[:title] if args.key?(:title)
1845
+ end
1846
+ end
1847
+
1783
1848
  # Response message for EntityService.UpdateEntitiesWithConditions
1784
1849
  class UpdateEntitiesWithConditionsResponse
1785
1850
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ConnectorsV2
18
18
  # Version of the google-apis-connectors_v2 gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.28.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 = "20250813"
25
+ REVISION = "20250917"
26
26
  end
27
27
  end
28
28
  end
@@ -298,6 +298,12 @@ module Google
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
+ class ToolAnnotations
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
301
307
  class UpdateEntitiesWithConditionsResponse
302
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
309
 
@@ -784,6 +790,9 @@ module Google
784
790
  class Tool
785
791
  # @private
786
792
  class Representation < Google::Apis::Core::JsonRepresentation
793
+ property :annotations, as: 'annotations', class: Google::Apis::ConnectorsV2::ToolAnnotations, decorator: Google::Apis::ConnectorsV2::ToolAnnotations::Representation
794
+
795
+ collection :depends_on, as: 'dependsOn'
787
796
  property :description, as: 'description'
788
797
  property :input_schema, as: 'inputSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
789
798
 
@@ -793,6 +802,17 @@ module Google
793
802
  end
794
803
  end
795
804
 
805
+ class ToolAnnotations
806
+ # @private
807
+ class Representation < Google::Apis::Core::JsonRepresentation
808
+ property :destructive_hint, as: 'destructiveHint'
809
+ property :idempotent_hint, as: 'idempotentHint'
810
+ property :open_world_hint, as: 'openWorldHint'
811
+ property :read_only_hint, as: 'readOnlyHint'
812
+ property :title, as: 'title'
813
+ end
814
+ end
815
+
796
816
  class UpdateEntitiesWithConditionsResponse
797
817
  # @private
798
818
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-connectors_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.28.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-connectors_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.26.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.28.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v2
62
62
  rdoc_options: []
63
63
  require_paths: