Skip to content

Commit 519f657

Browse files
feat: Automated regeneration of connectors v2 client (#26037)
Auto-created at 2026-03-22 10:43:54 +0000 using the toys pull request generator.
1 parent b33f5e7 commit 519f657

5 files changed

Lines changed: 126 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139021,6 +139021,8 @@
139021139021
"/connectors:v2/ExecuteToolRequest/toolDefinition": tool_definition
139022139022
"/connectors:v2/ExecuteToolRequest/toolDefinition/tool_definition": tool_definition
139023139023
"/connectors:v2/ExecuteToolResponse": execute_tool_response
139024+
"/connectors:v2/ExecuteToolResponse/_meta": _meta
139025+
"/connectors:v2/ExecuteToolResponse/_meta/_metum": _metum
139024139026
"/connectors:v2/ExecuteToolResponse/metadata": metadata
139025139027
"/connectors:v2/ExecuteToolResponse/metadata/metadatum": metadatum
139026139028
"/connectors:v2/ExecuteToolResponse/metadata/metadatum/metadatum": metadatum
@@ -139048,6 +139050,8 @@
139048139050
"/connectors:v2/GetResourcePostRequest/executionConfig": execution_config
139049139051
"/connectors:v2/GetResourcePostRequest/toolSpec": tool_spec
139050139052
"/connectors:v2/GetResourceResponse": get_resource_response
139053+
"/connectors:v2/GetResourceResponse/_meta": _meta
139054+
"/connectors:v2/GetResourceResponse/_meta/_metum": _metum
139051139055
"/connectors:v2/GetResourceResponse/data": data
139052139056
"/connectors:v2/GetResourceResponse/metadata": metadata
139053139057
"/connectors:v2/GetResourceResponse/metadata/metadatum": metadatum
@@ -139095,15 +139099,25 @@
139095139099
"/connectors:v2/JsonSchema/description": description
139096139100
"/connectors:v2/JsonSchema/enum": enum
139097139101
"/connectors:v2/JsonSchema/enum/enum": enum
139102+
"/connectors:v2/JsonSchema/exclusiveMaximum": exclusive_maximum
139103+
"/connectors:v2/JsonSchema/exclusiveMinimum": exclusive_minimum
139098139104
"/connectors:v2/JsonSchema/format": format
139099139105
"/connectors:v2/JsonSchema/items": items
139100139106
"/connectors:v2/JsonSchema/jdbcType": jdbc_type
139107+
"/connectors:v2/JsonSchema/maxItems": max_items
139108+
"/connectors:v2/JsonSchema/maxLength": max_length
139109+
"/connectors:v2/JsonSchema/maximum": maximum
139110+
"/connectors:v2/JsonSchema/minItems": min_items
139111+
"/connectors:v2/JsonSchema/minLength": min_length
139112+
"/connectors:v2/JsonSchema/minimum": minimum
139113+
"/connectors:v2/JsonSchema/pattern": pattern
139101139114
"/connectors:v2/JsonSchema/properties": properties
139102139115
"/connectors:v2/JsonSchema/properties/property": property
139103139116
"/connectors:v2/JsonSchema/required": required
139104139117
"/connectors:v2/JsonSchema/required/required": required
139105139118
"/connectors:v2/JsonSchema/type": type
139106139119
"/connectors:v2/JsonSchema/type/type": type
139120+
"/connectors:v2/JsonSchema/uniqueItems": unique_items
139107139121
"/connectors:v2/ListActionsResponse": list_actions_response
139108139122
"/connectors:v2/ListActionsResponse/actions": actions
139109139123
"/connectors:v2/ListActionsResponse/actions/action": action
@@ -139231,6 +139245,8 @@
139231139245
"/connectors:v2/RefreshAccessTokenResponse/metadata/metadatum": metadatum
139232139246
"/connectors:v2/RefreshAccessTokenResponse/metadata/metadatum/metadatum": metadatum
139233139247
"/connectors:v2/Resource": resource
139248+
"/connectors:v2/Resource/_meta": _meta
139249+
"/connectors:v2/Resource/_meta/_metum": _metum
139234139250
"/connectors:v2/Resource/description": description
139235139251
"/connectors:v2/Resource/mimeType": mime_type
139236139252
"/connectors:v2/Resource/name": name
@@ -139267,6 +139283,8 @@
139267139283
"/connectors:v2/TimeOfDay/nanos": nanos
139268139284
"/connectors:v2/TimeOfDay/seconds": seconds
139269139285
"/connectors:v2/Tool": tool
139286+
"/connectors:v2/Tool/_meta": _meta
139287+
"/connectors:v2/Tool/_meta/_metum": _metum
139270139288
"/connectors:v2/Tool/annotations": annotations
139271139289
"/connectors:v2/Tool/dependsOn": depends_on
139272139290
"/connectors:v2/Tool/dependsOn/depends_on": depends_on

generated/google-apis-connectors_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-connectors_v2
22

3+
### v0.32.0 (2026-03-22)
4+
5+
* Regenerated from discovery document revision 20260316
6+
37
### v0.31.0 (2026-02-15)
48

59
* Regenerated from discovery document revision 20260128

generated/google-apis-connectors_v2/lib/google/apis/connectors_v2/classes.rb

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,11 @@ def update!(**args)
615615
class ExecuteToolResponse
616616
include Google::Apis::Core::Hashable
617617

618+
# Metadata for the tool execution result.
619+
# Corresponds to the JSON property `_meta`
620+
# @return [Hash<String,Object>]
621+
attr_accessor :_meta
622+
618623
# Metadata like service latency, etc.
619624
# Corresponds to the JSON property `metadata`
620625
# @return [Hash<String,Hash<String,Object>>]
@@ -631,6 +636,7 @@ def initialize(**args)
631636

632637
# Update properties of this object
633638
def update!(**args)
639+
@_meta = args[:_meta] if args.key?(:_meta)
634640
@metadata = args[:metadata] if args.key?(:metadata)
635641
@result = args[:result] if args.key?(:result)
636642
end
@@ -798,6 +804,11 @@ def update!(**args)
798804
class GetResourceResponse
799805
include Google::Apis::Core::Hashable
800806

807+
# Metadata for the resource.
808+
# Corresponds to the JSON property `_meta`
809+
# @return [Hash<String,Object>]
810+
attr_accessor :_meta
811+
801812
# The content of the resource.
802813
# Corresponds to the JSON property `data`
803814
# NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -820,6 +831,7 @@ def initialize(**args)
820831

821832
# Update properties of this object
822833
def update!(**args)
834+
@_meta = args[:_meta] if args.key?(:_meta)
823835
@data = args[:data] if args.key?(:data)
824836
@metadata = args[:metadata] if args.key?(:metadata)
825837
@mime_type = args[:mime_type] if args.key?(:mime_type)
@@ -1086,6 +1098,18 @@ class JsonSchema
10861098
# @return [Array<Object>]
10871099
attr_accessor :enum
10881100

1101+
# Whether the maximum number value is exclusive.
1102+
# Corresponds to the JSON property `exclusiveMaximum`
1103+
# @return [Boolean]
1104+
attr_accessor :exclusive_maximum
1105+
alias_method :exclusive_maximum?, :exclusive_maximum
1106+
1107+
# Whether the minimum number value is exclusive.
1108+
# Corresponds to the JSON property `exclusiveMinimum`
1109+
# @return [Boolean]
1110+
attr_accessor :exclusive_minimum
1111+
alias_method :exclusive_minimum?, :exclusive_minimum
1112+
10891113
# Format of the value as per https://json-schema.org/understanding-json-schema/
10901114
# reference/string.html#format
10911115
# Corresponds to the JSON property `format`
@@ -1102,6 +1126,42 @@ class JsonSchema
11021126
# @return [String]
11031127
attr_accessor :jdbc_type
11041128

1129+
# Maximum number of items in the array field.
1130+
# Corresponds to the JSON property `maxItems`
1131+
# @return [Fixnum]
1132+
attr_accessor :max_items
1133+
1134+
# Maximum length of the string field.
1135+
# Corresponds to the JSON property `maxLength`
1136+
# @return [Fixnum]
1137+
attr_accessor :max_length
1138+
1139+
# Maximum value of the number field.
1140+
# Corresponds to the JSON property `maximum`
1141+
# @return [Object]
1142+
attr_accessor :maximum
1143+
1144+
# Minimum number of items in the array field.
1145+
# Corresponds to the JSON property `minItems`
1146+
# @return [Fixnum]
1147+
attr_accessor :min_items
1148+
1149+
# Minimum length of the string field.
1150+
# Corresponds to the JSON property `minLength`
1151+
# @return [Fixnum]
1152+
attr_accessor :min_length
1153+
1154+
# Minimum value of the number field.
1155+
# Corresponds to the JSON property `minimum`
1156+
# @return [Object]
1157+
attr_accessor :minimum
1158+
1159+
# Regex pattern of the string field. This is a string value that describes the
1160+
# regular expression that the string value should match.
1161+
# Corresponds to the JSON property `pattern`
1162+
# @return [String]
1163+
attr_accessor :pattern
1164+
11051165
# The child schemas, applicable only if this is of type `object`. The key is the
11061166
# name of the property and the value is the json schema that describes that
11071167
# property
@@ -1119,6 +1179,12 @@ class JsonSchema
11191179
# @return [Array<String>]
11201180
attr_accessor :type
11211181

1182+
# Whether the items in the array field are unique.
1183+
# Corresponds to the JSON property `uniqueItems`
1184+
# @return [Boolean]
1185+
attr_accessor :unique_items
1186+
alias_method :unique_items?, :unique_items
1187+
11221188
def initialize(**args)
11231189
update!(**args)
11241190
end
@@ -1129,12 +1195,22 @@ def update!(**args)
11291195
@default = args[:default] if args.key?(:default)
11301196
@description = args[:description] if args.key?(:description)
11311197
@enum = args[:enum] if args.key?(:enum)
1198+
@exclusive_maximum = args[:exclusive_maximum] if args.key?(:exclusive_maximum)
1199+
@exclusive_minimum = args[:exclusive_minimum] if args.key?(:exclusive_minimum)
11321200
@format = args[:format] if args.key?(:format)
11331201
@items = args[:items] if args.key?(:items)
11341202
@jdbc_type = args[:jdbc_type] if args.key?(:jdbc_type)
1203+
@max_items = args[:max_items] if args.key?(:max_items)
1204+
@max_length = args[:max_length] if args.key?(:max_length)
1205+
@maximum = args[:maximum] if args.key?(:maximum)
1206+
@min_items = args[:min_items] if args.key?(:min_items)
1207+
@min_length = args[:min_length] if args.key?(:min_length)
1208+
@minimum = args[:minimum] if args.key?(:minimum)
1209+
@pattern = args[:pattern] if args.key?(:pattern)
11351210
@properties = args[:properties] if args.key?(:properties)
11361211
@required = args[:required] if args.key?(:required)
11371212
@type = args[:type] if args.key?(:type)
1213+
@unique_items = args[:unique_items] if args.key?(:unique_items)
11381214
end
11391215
end
11401216

@@ -1840,6 +1916,11 @@ def update!(**args)
18401916
class Resource
18411917
include Google::Apis::Core::Hashable
18421918

1919+
# Metadata for the resource.
1920+
# Corresponds to the JSON property `_meta`
1921+
# @return [Hash<String,Object>]
1922+
attr_accessor :_meta
1923+
18431924
# A description of what this resource represents.
18441925
# Corresponds to the JSON property `description`
18451926
# @return [String]
@@ -1871,6 +1952,7 @@ def initialize(**args)
18711952

18721953
# Update properties of this object
18731954
def update!(**args)
1955+
@_meta = args[:_meta] if args.key?(:_meta)
18741956
@description = args[:description] if args.key?(:description)
18751957
@mime_type = args[:mime_type] if args.key?(:mime_type)
18761958
@name = args[:name] if args.key?(:name)
@@ -2079,6 +2161,11 @@ def update!(**args)
20792161
class Tool
20802162
include Google::Apis::Core::Hashable
20812163

2164+
# Metadata for the tool.
2165+
# Corresponds to the JSON property `_meta`
2166+
# @return [Hash<String,Object>]
2167+
attr_accessor :_meta
2168+
20822169
# ToolAnnotations holds annotations for a tool.
20832170
# Corresponds to the JSON property `annotations`
20842171
# @return [Google::Apis::ConnectorsV2::ToolAnnotations]
@@ -2115,6 +2202,7 @@ def initialize(**args)
21152202

21162203
# Update properties of this object
21172204
def update!(**args)
2205+
@_meta = args[:_meta] if args.key?(:_meta)
21182206
@annotations = args[:annotations] if args.key?(:annotations)
21192207
@depends_on = args[:depends_on] if args.key?(:depends_on)
21202208
@description = args[:description] if args.key?(:description)

generated/google-apis-connectors_v2/lib/google/apis/connectors_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ConnectorsV2
1818
# Version of the google-apis-connectors_v2 gem
19-
GEM_VERSION = "0.31.0"
19+
GEM_VERSION = "0.32.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260128"
25+
REVISION = "20260316"
2626
end
2727
end
2828
end

generated/google-apis-connectors_v2/lib/google/apis/connectors_v2/representations.rb

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
572572
class ExecuteToolResponse
573573
# @private
574574
class Representation < Google::Apis::Core::JsonRepresentation
575+
hash :_meta, as: '_meta'
575576
hash :metadata, as: 'metadata'
576577
hash :result, as: 'result'
577578
end
@@ -630,6 +631,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
630631
class GetResourceResponse
631632
# @private
632633
class Representation < Google::Apis::Core::JsonRepresentation
634+
hash :_meta, as: '_meta'
633635
property :data, :base64 => true, as: 'data'
634636
hash :metadata, as: 'metadata'
635637
property :mime_type, as: 'mimeType'
@@ -686,14 +688,24 @@ class Representation < Google::Apis::Core::JsonRepresentation
686688
property :default, as: 'default'
687689
property :description, as: 'description'
688690
collection :enum, as: 'enum'
691+
property :exclusive_maximum, as: 'exclusiveMaximum'
692+
property :exclusive_minimum, as: 'exclusiveMinimum'
689693
property :format, as: 'format'
690694
property :items, as: 'items', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
691695

692696
property :jdbc_type, as: 'jdbcType'
697+
property :max_items, as: 'maxItems'
698+
property :max_length, as: 'maxLength'
699+
property :maximum, as: 'maximum'
700+
property :min_items, as: 'minItems'
701+
property :min_length, as: 'minLength'
702+
property :minimum, as: 'minimum'
703+
property :pattern, as: 'pattern'
693704
hash :properties, as: 'properties', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
694705

695706
collection :required, as: 'required'
696707
collection :type, as: 'type'
708+
property :unique_items, as: 'uniqueItems'
697709
end
698710
end
699711

@@ -906,6 +918,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
906918
class Resource
907919
# @private
908920
class Representation < Google::Apis::Core::JsonRepresentation
921+
hash :_meta, as: '_meta'
909922
property :description, as: 'description'
910923
property :mime_type, as: 'mimeType'
911924
property :name, as: 'name'
@@ -969,6 +982,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
969982
class Tool
970983
# @private
971984
class Representation < Google::Apis::Core::JsonRepresentation
985+
hash :_meta, as: '_meta'
972986
property :annotations, as: 'annotations', class: Google::Apis::ConnectorsV2::ToolAnnotations, decorator: Google::Apis::ConnectorsV2::ToolAnnotations::Representation
973987

974988
collection :depends_on, as: 'dependsOn'

0 commit comments

Comments
 (0)