Skip to content

Commit 39c658c

Browse files
feat: Automated regeneration of privateca v1 client (#24529)
Auto-created at 2025-10-05 10:31:42 +0000 using the toys pull request generator.
1 parent f936bcc commit 39c658c

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
@@ -319194,6 +319194,8 @@
319194319194
"/privateca:v1/ListOperationsResponse/nextPageToken": next_page_token
319195319195
"/privateca:v1/ListOperationsResponse/operations": operations
319196319196
"/privateca:v1/ListOperationsResponse/operations/operation": operation
319197+
"/privateca:v1/ListOperationsResponse/unreachable": unreachable
319198+
"/privateca:v1/ListOperationsResponse/unreachable/unreachable": unreachable
319197319199
"/privateca:v1/Location": location
319198319200
"/privateca:v1/Location/displayName": display_name
319199319201
"/privateca:v1/Location/labels": labels
@@ -319497,6 +319499,7 @@
319497319499
"/privateca:v1/privateca.projects.locations.operations.list/name": name
319498319500
"/privateca:v1/privateca.projects.locations.operations.list/pageSize": page_size
319499319501
"/privateca:v1/privateca.projects.locations.operations.list/pageToken": page_token
319502+
"/privateca:v1/privateca.projects.locations.operations.list/returnPartialSuccess": return_partial_success
319500319503
"/privateca:v1/quotaUser": quota_user
319501319504
"/privateca:v1beta1/AccessUrls": access_urls
319502319505
"/privateca:v1beta1/AccessUrls/caCertificateAccessUrl": ca_certificate_access_url

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

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

59
* Regenerated from discovery document revision 20250910

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1869,6 +1869,13 @@ class ListOperationsResponse
18691869
# @return [Array<Google::Apis::PrivatecaV1::Operation>]
18701870
attr_accessor :operations
18711871

1872+
# Unordered list. Unreachable resources. Populated when the request sets `
1873+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
1874+
# when attempting to list all resources across all supported locations.
1875+
# Corresponds to the JSON property `unreachable`
1876+
# @return [Array<String>]
1877+
attr_accessor :unreachable
1878+
18721879
def initialize(**args)
18731880
update!(**args)
18741881
end
@@ -1877,6 +1884,7 @@ def initialize(**args)
18771884
def update!(**args)
18781885
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
18791886
@operations = args[:operations] if args.key?(:operations)
1887+
@unreachable = args[:unreachable] if args.key?(:unreachable)
18801888
end
18811889
end
18821890

generated/google-apis-privateca_v1/lib/google/apis/privateca_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 PrivatecaV1
1818
# Version of the google-apis-privateca_v1 gem
19-
GEM_VERSION = "0.55.0"
19+
GEM_VERSION = "0.56.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_v1/lib/google/apis/privateca_v1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
919919
property :next_page_token, as: 'nextPageToken'
920920
collection :operations, as: 'operations', class: Google::Apis::PrivatecaV1::Operation, decorator: Google::Apis::PrivatecaV1::Operation::Representation
921921

922+
collection :unreachable, as: 'unreachable'
922923
end
923924
end
924925

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1861,6 +1861,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
18611861
# The standard list page size.
18621862
# @param [String] page_token
18631863
# The standard list page token.
1864+
# @param [Boolean] return_partial_success
1865+
# When set to `true`, operations that are reachable are returned as normal, and
1866+
# those that are unreachable are returned in the [ListOperationsResponse.
1867+
# unreachable] field. This can only be `true` when reading across collections e.
1868+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1869+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
1870+
# explicitly documented otherwise in service or product specific documentation.
18641871
# @param [String] fields
18651872
# Selector specifying which fields to include in a partial response.
18661873
# @param [String] quota_user
@@ -1878,14 +1885,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
18781885
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18791886
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18801887
# @raise [Google::Apis::AuthorizationError] Authorization is required
1881-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1888+
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)
18821889
command = make_simple_command(:get, 'v1/{+name}/operations', options)
18831890
command.response_representation = Google::Apis::PrivatecaV1::ListOperationsResponse::Representation
18841891
command.response_class = Google::Apis::PrivatecaV1::ListOperationsResponse
18851892
command.params['name'] = name unless name.nil?
18861893
command.query['filter'] = filter unless filter.nil?
18871894
command.query['pageSize'] = page_size unless page_size.nil?
18881895
command.query['pageToken'] = page_token unless page_token.nil?
1896+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
18891897
command.query['fields'] = fields unless fields.nil?
18901898
command.query['quotaUser'] = quota_user unless quota_user.nil?
18911899
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)