Skip to content

Commit 7a0351a

Browse files
feat: Automated regeneration of vpcaccess v1beta1 client (#24795)
Auto-created at 2025-11-02 09:38:43 +0000 using the toys pull request generator.
1 parent 46132bb commit 7a0351a

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
@@ -390482,6 +390482,8 @@
390482390482
"/vpcaccess:v1beta1/ListOperationsResponse/nextPageToken": next_page_token
390483390483
"/vpcaccess:v1beta1/ListOperationsResponse/operations": operations
390484390484
"/vpcaccess:v1beta1/ListOperationsResponse/operations/operation": operation
390485+
"/vpcaccess:v1beta1/ListOperationsResponse/unreachable": unreachable
390486+
"/vpcaccess:v1beta1/ListOperationsResponse/unreachable/unreachable": unreachable
390485390487
"/vpcaccess:v1beta1/Location": location
390486390488
"/vpcaccess:v1beta1/Location/displayName": display_name
390487390489
"/vpcaccess:v1beta1/Location/labels": labels
@@ -390552,6 +390554,7 @@
390552390554
"/vpcaccess:v1beta1/vpcaccess.projects.locations.operations.list/name": name
390553390555
"/vpcaccess:v1beta1/vpcaccess.projects.locations.operations.list/pageSize": page_size
390554390556
"/vpcaccess:v1beta1/vpcaccess.projects.locations.operations.list/pageToken": page_token
390557+
"/vpcaccess:v1beta1/vpcaccess.projects.locations.operations.list/returnPartialSuccess": return_partial_success
390555390558
"/walletobjects:v1/ActivationOptions": activation_options
390556390559
"/walletobjects:v1/ActivationOptions/activationUrl": activation_url
390557390560
"/walletobjects:v1/ActivationOptions/allowReactivation": allow_reactivation

generated/google-apis-vpcaccess_v1beta1/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_v1beta1
22

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

59
* Regenerated from discovery document revision 20250916

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,13 @@ class ListOperationsResponse
188188
# @return [Array<Google::Apis::VpcaccessV1beta1::Operation>]
189189
attr_accessor :operations
190190

191+
# Unordered list. Unreachable resources. Populated when the request sets `
192+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
193+
# when attempting to list all resources across all supported locations.
194+
# Corresponds to the JSON property `unreachable`
195+
# @return [Array<String>]
196+
attr_accessor :unreachable
197+
191198
def initialize(**args)
192199
update!(**args)
193200
end
@@ -196,6 +203,7 @@ def initialize(**args)
196203
def update!(**args)
197204
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
198205
@operations = args[:operations] if args.key?(:operations)
206+
@unreachable = args[:unreachable] if args.key?(:unreachable)
199207
end
200208
end
201209

generated/google-apis-vpcaccess_v1beta1/lib/google/apis/vpcaccess_v1beta1/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 VpcaccessV1beta1
1818
# Version of the google-apis-vpcaccess_v1beta1 gem
19-
GEM_VERSION = "0.16.0"
19+
GEM_VERSION = "0.17.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_v1beta1/lib/google/apis/vpcaccess_v1beta1/representations.rb

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

135+
collection :unreachable, as: 'unreachable'
135136
end
136137
end
137138

generated/google-apis-vpcaccess_v1beta1/lib/google/apis/vpcaccess_v1beta1/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, 'v1beta1/{+name}/operations', options)
333340
command.response_representation = Google::Apis::VpcaccessV1beta1::ListOperationsResponse::Representation
334341
command.response_class = Google::Apis::VpcaccessV1beta1::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)