Skip to content

Commit 0c9507b

Browse files
feat: Automated regeneration of connectors v1 client (googleapis#22376)
Auto-created at 2025-04-06 10:17:55 +0000 using the toys pull request generator.
1 parent 71c24f6 commit 0c9507b

File tree

6 files changed

+36
-4
lines changed

6 files changed

+36
-4
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119494,6 +119494,7 @@
119494119494
"/connectors:v1/ConnectorInfraConfig/migrateDeploymentModel": migrate_deployment_model
119495119495
"/connectors:v1/ConnectorInfraConfig/migrateTls": migrate_tls
119496119496
"/connectors:v1/ConnectorInfraConfig/provisionCloudSpanner": provision_cloud_spanner
119497+
"/connectors:v1/ConnectorInfraConfig/provisionMemstore": provision_memstore
119497119498
"/connectors:v1/ConnectorInfraConfig/ratelimitThreshold": ratelimit_threshold
119498119499
"/connectors:v1/ConnectorInfraConfig/resourceLimits": resource_limits
119499119500
"/connectors:v1/ConnectorInfraConfig/resourceRequests": resource_requests
@@ -119895,6 +119896,8 @@
119895119896
"/connectors:v1/ListManagedZonesResponse/managedZones": managed_zones
119896119897
"/connectors:v1/ListManagedZonesResponse/managedZones/managed_zone": managed_zone
119897119898
"/connectors:v1/ListManagedZonesResponse/nextPageToken": next_page_token
119899+
"/connectors:v1/ListManagedZonesResponse/unreachable": unreachable
119900+
"/connectors:v1/ListManagedZonesResponse/unreachable/unreachable": unreachable
119898119901
"/connectors:v1/ListOperationsResponse": list_operations_response
119899119902
"/connectors:v1/ListOperationsResponse/nextPageToken": next_page_token
119900119903
"/connectors:v1/ListOperationsResponse/operations": operations
@@ -120436,6 +120439,7 @@
120436120439
"/connectors:v1/connectors.projects.locations.global.managedZones.list/pageSize": page_size
120437120440
"/connectors:v1/connectors.projects.locations.global.managedZones.list/pageToken": page_token
120438120441
"/connectors:v1/connectors.projects.locations.global.managedZones.list/parent": parent
120442+
"/connectors:v1/connectors.projects.locations.global.managedZones.list/returnPartialSuccess": return_partial_success
120439120443
"/connectors:v1/connectors.projects.locations.global.managedZones.patch": patch_project_location_global_managed_zone
120440120444
"/connectors:v1/connectors.projects.locations.global.managedZones.patch/name": name
120441120445
"/connectors:v1/connectors.projects.locations.global.managedZones.patch/updateMask": update_mask
@@ -120463,6 +120467,7 @@
120463120467
"/connectors:v1/connectors.projects.locations.global.updateSettings/name": name
120464120468
"/connectors:v1/connectors.projects.locations.global.updateSettings/updateMask": update_mask
120465120469
"/connectors:v1/connectors.projects.locations.list": list_project_locations
120470+
"/connectors:v1/connectors.projects.locations.list/extraLocationTypes": extra_location_types
120466120471
"/connectors:v1/connectors.projects.locations.list/filter": filter
120467120472
"/connectors:v1/connectors.projects.locations.list/name": name
120468120473
"/connectors:v1/connectors.projects.locations.list/pageSize": page_size

generated/google-apis-connectors_v1/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_v1
22

3+
### v0.69.0 (2025-04-06)
4+
5+
* Regenerated from discovery document revision 20250327
6+
37
### v0.68.0 (2025-03-16)
48

59
* Regenerated from discovery document revision 20250304

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,6 +1227,12 @@ class ConnectorInfraConfig
12271227
attr_accessor :provision_cloud_spanner
12281228
alias_method :provision_cloud_spanner?, :provision_cloud_spanner
12291229

1230+
# Indicate whether memstore is required for connector job.
1231+
# Corresponds to the JSON property `provisionMemstore`
1232+
# @return [Boolean]
1233+
attr_accessor :provision_memstore
1234+
alias_method :provision_memstore?, :provision_memstore
1235+
12301236
# Max QPS supported by the connector version before throttling of requests.
12311237
# Corresponds to the JSON property `ratelimitThreshold`
12321238
# @return [Fixnum]
@@ -1263,6 +1269,7 @@ def update!(**args)
12631269
@migrate_deployment_model = args[:migrate_deployment_model] if args.key?(:migrate_deployment_model)
12641270
@migrate_tls = args[:migrate_tls] if args.key?(:migrate_tls)
12651271
@provision_cloud_spanner = args[:provision_cloud_spanner] if args.key?(:provision_cloud_spanner)
1272+
@provision_memstore = args[:provision_memstore] if args.key?(:provision_memstore)
12661273
@ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold)
12671274
@resource_limits = args[:resource_limits] if args.key?(:resource_limits)
12681275
@resource_requests = args[:resource_requests] if args.key?(:resource_requests)
@@ -3784,6 +3791,11 @@ class ListManagedZonesResponse
37843791
# @return [String]
37853792
attr_accessor :next_page_token
37863793

3794+
# Locations that could not be reached.
3795+
# Corresponds to the JSON property `unreachable`
3796+
# @return [Array<String>]
3797+
attr_accessor :unreachable
3798+
37873799
def initialize(**args)
37883800
update!(**args)
37893801
end
@@ -3792,6 +3804,7 @@ def initialize(**args)
37923804
def update!(**args)
37933805
@managed_zones = args[:managed_zones] if args.key?(:managed_zones)
37943806
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3807+
@unreachable = args[:unreachable] if args.key?(:unreachable)
37953808
end
37963809
end
37973810

generated/google-apis-connectors_v1/lib/google/apis/connectors_v1/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 ConnectorsV1
1818
# Version of the google-apis-connectors_v1 gem
19-
GEM_VERSION = "0.68.0"
19+
GEM_VERSION = "0.69.0"
2020

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

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,6 +1211,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
12111211
property :migrate_deployment_model, as: 'migrateDeploymentModel'
12121212
property :migrate_tls, as: 'migrateTls'
12131213
property :provision_cloud_spanner, as: 'provisionCloudSpanner'
1214+
property :provision_memstore, as: 'provisionMemstore'
12141215
property :ratelimit_threshold, :numeric_string => true, as: 'ratelimitThreshold'
12151216
property :resource_limits, as: 'resourceLimits', class: Google::Apis::ConnectorsV1::ResourceLimits, decorator: Google::Apis::ConnectorsV1::ResourceLimits::Representation
12161217

@@ -1898,6 +1899,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
18981899
collection :managed_zones, as: 'managedZones', class: Google::Apis::ConnectorsV1::ManagedZone, decorator: Google::Apis::ConnectorsV1::ManagedZone::Representation
18991900

19001901
property :next_page_token, as: 'nextPageToken'
1902+
collection :unreachable, as: 'unreachable'
19011903
end
19021904
end
19031905

generated/google-apis-connectors_v1/lib/google/apis/connectors_v1/service.rb

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ def get_project_location_runtime_config(name, fields: nil, quota_user: nil, opti
147147
# Lists information about the supported locations for this service.
148148
# @param [String] name
149149
# The resource that owns the locations collection, if applicable.
150+
# @param [Array<String>, String] extra_location_types
151+
# Optional. A list of extra location types that should be used as conditions for
152+
# controlling the visibility of the locations.
150153
# @param [String] filter
151154
# A filter to narrow down results to a preferred subset. The filtering language
152155
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -174,11 +177,12 @@ def get_project_location_runtime_config(name, fields: nil, quota_user: nil, opti
174177
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
175178
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
176179
# @raise [Google::Apis::AuthorizationError] Authorization is required
177-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
180+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
178181
command = make_simple_command(:get, 'v1/{+name}/locations', options)
179182
command.response_representation = Google::Apis::ConnectorsV1::ListLocationsResponse::Representation
180183
command.response_class = Google::Apis::ConnectorsV1::ListLocationsResponse
181184
command.params['name'] = name unless name.nil?
185+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
182186
command.query['filter'] = filter unless filter.nil?
183187
command.query['pageSize'] = page_size unless page_size.nil?
184188
command.query['pageToken'] = page_token unless page_token.nil?
@@ -2001,6 +2005,9 @@ def get_project_location_global_managed_zone(name, fields: nil, quota_user: nil,
20012005
# Page size.
20022006
# @param [String] page_token
20032007
# Page token.
2008+
# @param [Boolean] return_partial_success
2009+
# Optional. If true, allow partial responses for multi-regional Aggregated List
2010+
# requests.
20042011
# @param [String] fields
20052012
# Selector specifying which fields to include in a partial response.
20062013
# @param [String] quota_user
@@ -2018,7 +2025,7 @@ def get_project_location_global_managed_zone(name, fields: nil, quota_user: nil,
20182025
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
20192026
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
20202027
# @raise [Google::Apis::AuthorizationError] Authorization is required
2021-
def list_project_location_global_managed_zones(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2028+
def list_project_location_global_managed_zones(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
20222029
command = make_simple_command(:get, 'v1/{+parent}/managedZones', options)
20232030
command.response_representation = Google::Apis::ConnectorsV1::ListManagedZonesResponse::Representation
20242031
command.response_class = Google::Apis::ConnectorsV1::ListManagedZonesResponse
@@ -2027,6 +2034,7 @@ def list_project_location_global_managed_zones(parent, filter: nil, order_by: ni
20272034
command.query['orderBy'] = order_by unless order_by.nil?
20282035
command.query['pageSize'] = page_size unless page_size.nil?
20292036
command.query['pageToken'] = page_token unless page_token.nil?
2037+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
20302038
command.query['fields'] = fields unless fields.nil?
20312039
command.query['quotaUser'] = quota_user unless quota_user.nil?
20322040
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)