From 7406b9fcca1d44bdc7e5d66619310a938930e3b3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 28 Sep 2025 10:15:21 +0000 Subject: [PATCH] feat: Automated regeneration of connectors v2 client --- api_names_out.yaml | 7 +++ .../google-apis-connectors_v2/CHANGELOG.md | 4 ++ .../lib/google/apis/connectors_v2/classes.rb | 59 +++++++++++++++++++ .../google/apis/connectors_v2/gem_version.rb | 4 +- .../apis/connectors_v2/representations.rb | 19 ++++++ 5 files changed, 91 insertions(+), 2 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 41bf745ccbe..dda6989b488 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -128328,12 +128328,19 @@ "/connectors:v2/TimeOfDay/nanos": nanos "/connectors:v2/TimeOfDay/seconds": seconds "/connectors:v2/Tool": tool +"/connectors:v2/Tool/annotations": annotations "/connectors:v2/Tool/dependsOn": depends_on "/connectors:v2/Tool/dependsOn/depends_on": depends_on "/connectors:v2/Tool/description": description "/connectors:v2/Tool/inputSchema": input_schema "/connectors:v2/Tool/name": name "/connectors:v2/Tool/outputSchema": output_schema +"/connectors:v2/ToolAnnotations": tool_annotations +"/connectors:v2/ToolAnnotations/destructiveHint": destructive_hint +"/connectors:v2/ToolAnnotations/idempotentHint": idempotent_hint +"/connectors:v2/ToolAnnotations/openWorldHint": open_world_hint +"/connectors:v2/ToolAnnotations/readOnlyHint": read_only_hint +"/connectors:v2/ToolAnnotations/title": title "/connectors:v2/UpdateEntitiesWithConditionsResponse": update_entities_with_conditions_response "/connectors:v2/UpdateEntitiesWithConditionsResponse/metadata": metadata "/connectors:v2/UpdateEntitiesWithConditionsResponse/metadata/metadatum": metadatum diff --git a/generated/google-apis-connectors_v2/CHANGELOG.md b/generated/google-apis-connectors_v2/CHANGELOG.md index a6528da1d8c..a65301ee887 100644 --- a/generated/google-apis-connectors_v2/CHANGELOG.md +++ b/generated/google-apis-connectors_v2/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-connectors_v2 +### v0.28.0 (2025-09-28) + +* Regenerated from discovery document revision 20250917 + ### v0.27.0 (2025-09-07) * Regenerated from discovery document revision 20250826 diff --git a/generated/google-apis-connectors_v2/lib/google/apis/connectors_v2/classes.rb b/generated/google-apis-connectors_v2/lib/google/apis/connectors_v2/classes.rb index 7a40eb778a6..028814156a1 100644 --- a/generated/google-apis-connectors_v2/lib/google/apis/connectors_v2/classes.rb +++ b/generated/google-apis-connectors_v2/lib/google/apis/connectors_v2/classes.rb @@ -1747,6 +1747,11 @@ def update!(**args) class Tool include Google::Apis::Core::Hashable + # ToolAnnotations holds annotations for a tool. + # Corresponds to the JSON property `annotations` + # @return [Google::Apis::ConnectorsV2::ToolAnnotations] + attr_accessor :annotations + # List of tool names that this tool depends on. # Corresponds to the JSON property `dependsOn` # @return [Array] @@ -1778,6 +1783,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @annotations = args[:annotations] if args.key?(:annotations) @depends_on = args[:depends_on] if args.key?(:depends_on) @description = args[:description] if args.key?(:description) @input_schema = args[:input_schema] if args.key?(:input_schema) @@ -1786,6 +1792,59 @@ def update!(**args) end end + # ToolAnnotations holds annotations for a tool. + class ToolAnnotations + include Google::Apis::Core::Hashable + + # If true, the tool may perform destructive updates to its environment. If false, + # the tool performs only additive updates. (This property is meaningful only + # when `read_only_hint == false`) + # Corresponds to the JSON property `destructiveHint` + # @return [Boolean] + attr_accessor :destructive_hint + alias_method :destructive_hint?, :destructive_hint + + # If true, calling the tool repeatedly with the same arguments will have no + # additional effect on the environment. (This property is meaningful only when ` + # read_only_hint == false`) + # Corresponds to the JSON property `idempotentHint` + # @return [Boolean] + attr_accessor :idempotent_hint + alias_method :idempotent_hint?, :idempotent_hint + + # If true, this tool may interact with an "open world" of external entities. If + # false, the tool's domain of interaction is closed. For example, the world of a + # web search tool is open, whereas that of a memory tool is not. + # Corresponds to the JSON property `openWorldHint` + # @return [Boolean] + attr_accessor :open_world_hint + alias_method :open_world_hint?, :open_world_hint + + # If true, the tool does not modify its environment. + # Corresponds to the JSON property `readOnlyHint` + # @return [Boolean] + attr_accessor :read_only_hint + alias_method :read_only_hint?, :read_only_hint + + # A human-readable title for the tool. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @destructive_hint = args[:destructive_hint] if args.key?(:destructive_hint) + @idempotent_hint = args[:idempotent_hint] if args.key?(:idempotent_hint) + @open_world_hint = args[:open_world_hint] if args.key?(:open_world_hint) + @read_only_hint = args[:read_only_hint] if args.key?(:read_only_hint) + @title = args[:title] if args.key?(:title) + end + end + # Response message for EntityService.UpdateEntitiesWithConditions class UpdateEntitiesWithConditionsResponse include Google::Apis::Core::Hashable diff --git a/generated/google-apis-connectors_v2/lib/google/apis/connectors_v2/gem_version.rb b/generated/google-apis-connectors_v2/lib/google/apis/connectors_v2/gem_version.rb index 889ba130885..e8805021279 100644 --- a/generated/google-apis-connectors_v2/lib/google/apis/connectors_v2/gem_version.rb +++ b/generated/google-apis-connectors_v2/lib/google/apis/connectors_v2/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module ConnectorsV2 # Version of the google-apis-connectors_v2 gem - GEM_VERSION = "0.27.0" + GEM_VERSION = "0.28.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250826" + REVISION = "20250917" end end end diff --git a/generated/google-apis-connectors_v2/lib/google/apis/connectors_v2/representations.rb b/generated/google-apis-connectors_v2/lib/google/apis/connectors_v2/representations.rb index 5de7970758a..933ef8940e6 100644 --- a/generated/google-apis-connectors_v2/lib/google/apis/connectors_v2/representations.rb +++ b/generated/google-apis-connectors_v2/lib/google/apis/connectors_v2/representations.rb @@ -298,6 +298,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ToolAnnotations + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class UpdateEntitiesWithConditionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -784,6 +790,8 @@ class Representation < Google::Apis::Core::JsonRepresentation class Tool # @private class Representation < Google::Apis::Core::JsonRepresentation + property :annotations, as: 'annotations', class: Google::Apis::ConnectorsV2::ToolAnnotations, decorator: Google::Apis::ConnectorsV2::ToolAnnotations::Representation + collection :depends_on, as: 'dependsOn' property :description, as: 'description' property :input_schema, as: 'inputSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation @@ -794,6 +802,17 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class ToolAnnotations + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :destructive_hint, as: 'destructiveHint' + property :idempotent_hint, as: 'idempotentHint' + property :open_world_hint, as: 'openWorldHint' + property :read_only_hint, as: 'readOnlyHint' + property :title, as: 'title' + end + end + class UpdateEntitiesWithConditionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation