Skip to content

Commit 49cdef8

Browse files
feat: Automated regeneration of privateca v1beta1 client (#24500)
Auto-created at 2025-10-05 10:02:12 +0000 using the toys pull request generator.
1 parent 93c1a0a commit 49cdef8

File tree

6 files changed

+27
-3
lines changed

6 files changed

+27
-3
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319504,6 +319504,8 @@
319504319504
"/privateca:v1beta1/ListOperationsResponse/nextPageToken": next_page_token
319505319505
"/privateca:v1beta1/ListOperationsResponse/operations": operations
319506319506
"/privateca:v1beta1/ListOperationsResponse/operations/operation": operation
319507+
"/privateca:v1beta1/ListOperationsResponse/unreachable": unreachable
319508+
"/privateca:v1beta1/ListOperationsResponse/unreachable/unreachable": unreachable
319507319509
"/privateca:v1beta1/ListReusableConfigsResponse": list_reusable_configs_response
319508319510
"/privateca:v1beta1/ListReusableConfigsResponse/nextPageToken": next_page_token
319509319511
"/privateca:v1beta1/ListReusableConfigsResponse/reusableConfigs": reusable_configs
@@ -319744,6 +319746,7 @@
319744319746
"/privateca:v1beta1/privateca.projects.locations.operations.list/name": name
319745319747
"/privateca:v1beta1/privateca.projects.locations.operations.list/pageSize": page_size
319746319748
"/privateca:v1beta1/privateca.projects.locations.operations.list/pageToken": page_token
319749+
"/privateca:v1beta1/privateca.projects.locations.operations.list/returnPartialSuccess": return_partial_success
319747319750
"/privateca:v1beta1/privateca.projects.locations.reusableConfigs.get": get_project_location_reusable_config
319748319751
"/privateca:v1beta1/privateca.projects.locations.reusableConfigs.get/name": name
319749319752
"/privateca:v1beta1/privateca.projects.locations.reusableConfigs.getIamPolicy": get_project_location_reusable_config_iam_policy

generated/google-apis-privateca_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-privateca_v1beta1
22

3+
### v0.40.0 (2025-10-05)
4+
5+
* Regenerated from discovery document revision 20250926
6+
37
### v0.39.0 (2025-09-21)
48

59
* Regenerated from discovery document revision 20250910

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,13 @@ class ListOperationsResponse
316316
# @return [Array<Google::Apis::PrivatecaV1beta1::Operation>]
317317
attr_accessor :operations
318318

319+
# Unordered list. Unreachable resources. Populated when the request sets `
320+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
321+
# when attempting to list all resources across all supported locations.
322+
# Corresponds to the JSON property `unreachable`
323+
# @return [Array<String>]
324+
attr_accessor :unreachable
325+
319326
def initialize(**args)
320327
update!(**args)
321328
end
@@ -324,6 +331,7 @@ def initialize(**args)
324331
def update!(**args)
325332
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
326333
@operations = args[:operations] if args.key?(:operations)
334+
@unreachable = args[:unreachable] if args.key?(:unreachable)
327335
end
328336
end
329337

generated/google-apis-privateca_v1beta1/lib/google/apis/privateca_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 PrivatecaV1beta1
1818
# Version of the google-apis-privateca_v1beta1 gem
19-
GEM_VERSION = "0.39.0"
19+
GEM_VERSION = "0.40.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 = "20250910"
25+
REVISION = "20250926"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
176176
property :next_page_token, as: 'nextPageToken'
177177
collection :operations, as: 'operations', class: Google::Apis::PrivatecaV1beta1::Operation, decorator: Google::Apis::PrivatecaV1beta1::Operation::Representation
178178

179+
collection :unreachable, as: 'unreachable'
179180
end
180181
end
181182

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
486486
# The standard list page size.
487487
# @param [String] page_token
488488
# The standard list page token.
489+
# @param [Boolean] return_partial_success
490+
# When set to `true`, operations that are reachable are returned as normal, and
491+
# those that are unreachable are returned in the [ListOperationsResponse.
492+
# unreachable] field. This can only be `true` when reading across collections e.
493+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
494+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
495+
# explicitly documented otherwise in service or product specific documentation.
489496
# @param [String] fields
490497
# Selector specifying which fields to include in a partial response.
491498
# @param [String] quota_user
@@ -503,14 +510,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
503510
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
504511
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
505512
# @raise [Google::Apis::AuthorizationError] Authorization is required
506-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
513+
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)
507514
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
508515
command.response_representation = Google::Apis::PrivatecaV1beta1::ListOperationsResponse::Representation
509516
command.response_class = Google::Apis::PrivatecaV1beta1::ListOperationsResponse
510517
command.params['name'] = name unless name.nil?
511518
command.query['filter'] = filter unless filter.nil?
512519
command.query['pageSize'] = page_size unless page_size.nil?
513520
command.query['pageToken'] = page_token unless page_token.nil?
521+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
514522
command.query['fields'] = fields unless fields.nil?
515523
command.query['quotaUser'] = quota_user unless quota_user.nil?
516524
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)