Skip to content

Commit 70ce09e

Browse files
feat: Automated regeneration of vpcaccess v1 client
1 parent e7452c8 commit 70ce09e

File tree

6 files changed

+29
-5
lines changed

6 files changed

+29
-5
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390027,6 +390027,8 @@
390027390027
"/vpcaccess:v1/ListOperationsResponse/nextPageToken": next_page_token
390028390028
"/vpcaccess:v1/ListOperationsResponse/operations": operations
390029390029
"/vpcaccess:v1/ListOperationsResponse/operations/operation": operation
390030+
"/vpcaccess:v1/ListOperationsResponse/unreachable": unreachable
390031+
"/vpcaccess:v1/ListOperationsResponse/unreachable/unreachable": unreachable
390030390032
"/vpcaccess:v1/Location": location
390031390033
"/vpcaccess:v1/Location/displayName": display_name
390032390034
"/vpcaccess:v1/Location/labels": labels
@@ -390097,6 +390099,7 @@
390097390099
"/vpcaccess:v1/vpcaccess.projects.locations.operations.list/name": name
390098390100
"/vpcaccess:v1/vpcaccess.projects.locations.operations.list/pageSize": page_size
390099390101
"/vpcaccess:v1/vpcaccess.projects.locations.operations.list/pageToken": page_token
390102+
"/vpcaccess:v1/vpcaccess.projects.locations.operations.list/returnPartialSuccess": return_partial_success
390100390103
"/vpcaccess:v1beta1/Connector": connector
390101390104
"/vpcaccess:v1beta1/Connector/connectedProjects": connected_projects
390102390105
"/vpcaccess:v1beta1/Connector/connectedProjects/connected_project": connected_project

generated/google-apis-vpcaccess_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-vpcaccess_v1
22

3+
### v0.16.0 (2025-11-02)
4+
5+
* Regenerated from discovery document revision 20251021
6+
37
### v0.15.0 (2025-09-21)
48

59
* Regenerated from discovery document revision 20250916

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,13 @@ class ListOperationsResponse
176176
# @return [Array<Google::Apis::VpcaccessV1::Operation>]
177177
attr_accessor :operations
178178

179+
# Unordered list. Unreachable resources. Populated when the request sets `
180+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
181+
# when attempting to list all resources across all supported locations.
182+
# Corresponds to the JSON property `unreachable`
183+
# @return [Array<String>]
184+
attr_accessor :unreachable
185+
179186
def initialize(**args)
180187
update!(**args)
181188
end
@@ -184,6 +191,7 @@ def initialize(**args)
184191
def update!(**args)
185192
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
186193
@operations = args[:operations] if args.key?(:operations)
194+
@unreachable = args[:unreachable] if args.key?(:unreachable)
187195
end
188196
end
189197

generated/google-apis-vpcaccess_v1/lib/google/apis/vpcaccess_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 VpcaccessV1
1818
# Version of the google-apis-vpcaccess_v1 gem
19-
GEM_VERSION = "0.15.0"
19+
GEM_VERSION = "0.16.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 = "20250916"
25+
REVISION = "20251021"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
130130
property :next_page_token, as: 'nextPageToken'
131131
collection :operations, as: 'operations', class: Google::Apis::VpcaccessV1::Operation, decorator: Google::Apis::VpcaccessV1::Operation::Representation
132132

133+
collection :unreachable, as: 'unreachable'
133134
end
134135
end
135136

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

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ def initialize
5555
# @param [String] name
5656
# The resource that owns the locations collection, if applicable.
5757
# @param [Array<String>, String] extra_location_types
58-
# Optional. Unless explicitly documented otherwise, don't use this unsupported
59-
# field which is primarily intended for internal usage.
58+
# Optional. Do not use this field. It is unsupported and is ignored unless
59+
# explicitly documented otherwise. This is primarily for internal usage.
6060
# @param [String] filter
6161
# A filter to narrow down results to a preferred subset. The filtering language
6262
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -311,6 +311,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
311311
# The standard list page size.
312312
# @param [String] page_token
313313
# The standard list page token.
314+
# @param [Boolean] return_partial_success
315+
# When set to `true`, operations that are reachable are returned as normal, and
316+
# those that are unreachable are returned in the [ListOperationsResponse.
317+
# unreachable] field. This can only be `true` when reading across collections e.
318+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
319+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
320+
# explicitly documented otherwise in service or product specific documentation.
314321
# @param [String] fields
315322
# Selector specifying which fields to include in a partial response.
316323
# @param [String] quota_user
@@ -328,14 +335,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
328335
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
329336
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
330337
# @raise [Google::Apis::AuthorizationError] Authorization is required
331-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
338+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
332339
command = make_simple_command(:get, 'v1/{+name}/operations', options)
333340
command.response_representation = Google::Apis::VpcaccessV1::ListOperationsResponse::Representation
334341
command.response_class = Google::Apis::VpcaccessV1::ListOperationsResponse
335342
command.params['name'] = name unless name.nil?
336343
command.query['filter'] = filter unless filter.nil?
337344
command.query['pageSize'] = page_size unless page_size.nil?
338345
command.query['pageToken'] = page_token unless page_token.nil?
346+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
339347
command.query['fields'] = fields unless fields.nil?
340348
command.query['quotaUser'] = quota_user unless quota_user.nil?
341349
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)