Skip to content

Commit a876a3e

Browse files
feat: Automated regeneration of secretmanager v1beta2 client (#25768)
Auto-created at 2026-02-22 09:28:30 +0000 using the toys pull request generator.
1 parent d204c6c commit a876a3e

File tree

5 files changed

+6
-202
lines changed

5 files changed

+6
-202
lines changed

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

3+
### v0.11.0 (2026-02-22)
4+
5+
* Regenerated from discovery document revision 20260213
6+
37
### v0.10.0 (2026-02-08)
48

59
* Regenerated from discovery document revision 20260127

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

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -486,40 +486,6 @@ def update!(**args)
486486
end
487487
end
488488

489-
# The response message for Operations.ListOperations.
490-
class ListOperationsResponse
491-
include Google::Apis::Core::Hashable
492-
493-
# The standard List next-page token.
494-
# Corresponds to the JSON property `nextPageToken`
495-
# @return [String]
496-
attr_accessor :next_page_token
497-
498-
# A list of operations that matches the specified filter in the request.
499-
# Corresponds to the JSON property `operations`
500-
# @return [Array<Google::Apis::SecretmanagerV1beta2::Operation>]
501-
attr_accessor :operations
502-
503-
# Unordered list. Unreachable resources. Populated when the request sets `
504-
# ListOperationsRequest.return_partial_success` and reads across collections.
505-
# For example, when attempting to list all resources across all supported
506-
# locations.
507-
# Corresponds to the JSON property `unreachable`
508-
# @return [Array<String>]
509-
attr_accessor :unreachable
510-
511-
def initialize(**args)
512-
update!(**args)
513-
end
514-
515-
# Update properties of this object
516-
def update!(**args)
517-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
518-
@operations = args[:operations] if args.key?(:operations)
519-
@unreachable = args[:unreachable] if args.key?(:unreachable)
520-
end
521-
end
522-
523489
# Response message for SecretManagerService.ListSecretVersions.
524490
class ListSecretVersionsResponse
525491
include Google::Apis::Core::Hashable

generated/google-apis-secretmanager_v1beta2/lib/google/apis/secretmanager_v1beta2/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 SecretmanagerV1beta2
1818
# Version of the google-apis-secretmanager_v1beta2 gem
19-
GEM_VERSION = "0.10.0"
19+
GEM_VERSION = "0.11.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 = "20260127"
25+
REVISION = "20260213"
2626
end
2727
end
2828
end

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

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
112112
include Google::Apis::Core::JsonObjectSupport
113113
end
114114

115-
class ListOperationsResponse
116-
class Representation < Google::Apis::Core::JsonRepresentation; end
117-
118-
include Google::Apis::Core::JsonObjectSupport
119-
end
120-
121115
class ListSecretVersionsResponse
122116
class Representation < Google::Apis::Core::JsonRepresentation; end
123117

@@ -364,16 +358,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
364358
end
365359
end
366360

367-
class ListOperationsResponse
368-
# @private
369-
class Representation < Google::Apis::Core::JsonRepresentation
370-
property :next_page_token, as: 'nextPageToken'
371-
collection :operations, as: 'operations', class: Google::Apis::SecretmanagerV1beta2::Operation, decorator: Google::Apis::SecretmanagerV1beta2::Operation::Representation
372-
373-
collection :unreachable, as: 'unreachable'
374-
end
375-
end
376-
377361
class ListSecretVersionsResponse
378362
# @private
379363
class Representation < Google::Apis::Core::JsonRepresentation

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

Lines changed: 0 additions & 150 deletions
Original file line numberDiff line numberDiff line change
@@ -133,156 +133,6 @@ def list_project_locations(name, extra_location_types: nil, filter: nil, page_si
133133
execute_or_queue_command(command, &block)
134134
end
135135

136-
# Starts asynchronous cancellation on a long-running operation. The server makes
137-
# a best effort to cancel the operation, but success is not guaranteed. If the
138-
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
139-
# Clients can use Operations.GetOperation or other methods to check whether the
140-
# cancellation succeeded or whether the operation completed despite cancellation.
141-
# On successful cancellation, the operation is not deleted; instead, it becomes
142-
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
143-
# , corresponding to `Code.CANCELLED`.
144-
# @param [String] name
145-
# The name of the operation resource to be cancelled.
146-
# @param [String] fields
147-
# Selector specifying which fields to include in a partial response.
148-
# @param [String] quota_user
149-
# Available to use for quota purposes for server-side applications. Can be any
150-
# arbitrary string assigned to a user, but should not exceed 40 characters.
151-
# @param [Google::Apis::RequestOptions] options
152-
# Request-specific options
153-
#
154-
# @yield [result, err] Result & error if block supplied
155-
# @yieldparam result [Google::Apis::SecretmanagerV1beta2::Empty] parsed result object
156-
# @yieldparam err [StandardError] error object if request failed
157-
#
158-
# @return [Google::Apis::SecretmanagerV1beta2::Empty]
159-
#
160-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
161-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
162-
# @raise [Google::Apis::AuthorizationError] Authorization is required
163-
def cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
164-
command = make_simple_command(:post, 'v1beta2/{+name}:cancel', options)
165-
command.response_representation = Google::Apis::SecretmanagerV1beta2::Empty::Representation
166-
command.response_class = Google::Apis::SecretmanagerV1beta2::Empty
167-
command.params['name'] = name unless name.nil?
168-
command.query['fields'] = fields unless fields.nil?
169-
command.query['quotaUser'] = quota_user unless quota_user.nil?
170-
execute_or_queue_command(command, &block)
171-
end
172-
173-
# Deletes a long-running operation. This method indicates that the client is no
174-
# longer interested in the operation result. It does not cancel the operation.
175-
# If the server doesn't support this method, it returns `google.rpc.Code.
176-
# UNIMPLEMENTED`.
177-
# @param [String] name
178-
# The name of the operation resource to be deleted.
179-
# @param [String] fields
180-
# Selector specifying which fields to include in a partial response.
181-
# @param [String] quota_user
182-
# Available to use for quota purposes for server-side applications. Can be any
183-
# arbitrary string assigned to a user, but should not exceed 40 characters.
184-
# @param [Google::Apis::RequestOptions] options
185-
# Request-specific options
186-
#
187-
# @yield [result, err] Result & error if block supplied
188-
# @yieldparam result [Google::Apis::SecretmanagerV1beta2::Empty] parsed result object
189-
# @yieldparam err [StandardError] error object if request failed
190-
#
191-
# @return [Google::Apis::SecretmanagerV1beta2::Empty]
192-
#
193-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
194-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
195-
# @raise [Google::Apis::AuthorizationError] Authorization is required
196-
def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
197-
command = make_simple_command(:delete, 'v1beta2/{+name}', options)
198-
command.response_representation = Google::Apis::SecretmanagerV1beta2::Empty::Representation
199-
command.response_class = Google::Apis::SecretmanagerV1beta2::Empty
200-
command.params['name'] = name unless name.nil?
201-
command.query['fields'] = fields unless fields.nil?
202-
command.query['quotaUser'] = quota_user unless quota_user.nil?
203-
execute_or_queue_command(command, &block)
204-
end
205-
206-
# Gets the latest state of a long-running operation. Clients can use this method
207-
# to poll the operation result at intervals as recommended by the API service.
208-
# @param [String] name
209-
# The name of the operation resource.
210-
# @param [String] fields
211-
# Selector specifying which fields to include in a partial response.
212-
# @param [String] quota_user
213-
# Available to use for quota purposes for server-side applications. Can be any
214-
# arbitrary string assigned to a user, but should not exceed 40 characters.
215-
# @param [Google::Apis::RequestOptions] options
216-
# Request-specific options
217-
#
218-
# @yield [result, err] Result & error if block supplied
219-
# @yieldparam result [Google::Apis::SecretmanagerV1beta2::Operation] parsed result object
220-
# @yieldparam err [StandardError] error object if request failed
221-
#
222-
# @return [Google::Apis::SecretmanagerV1beta2::Operation]
223-
#
224-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
225-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
226-
# @raise [Google::Apis::AuthorizationError] Authorization is required
227-
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
228-
command = make_simple_command(:get, 'v1beta2/{+name}', options)
229-
command.response_representation = Google::Apis::SecretmanagerV1beta2::Operation::Representation
230-
command.response_class = Google::Apis::SecretmanagerV1beta2::Operation
231-
command.params['name'] = name unless name.nil?
232-
command.query['fields'] = fields unless fields.nil?
233-
command.query['quotaUser'] = quota_user unless quota_user.nil?
234-
execute_or_queue_command(command, &block)
235-
end
236-
237-
# Lists operations that match the specified filter in the request. If the server
238-
# doesn't support this method, it returns `UNIMPLEMENTED`.
239-
# @param [String] name
240-
# The name of the operation's parent resource.
241-
# @param [String] filter
242-
# The standard list filter.
243-
# @param [Fixnum] page_size
244-
# The standard list page size.
245-
# @param [String] page_token
246-
# The standard list page token.
247-
# @param [Boolean] return_partial_success
248-
# When set to `true`, operations that are reachable are returned as normal, and
249-
# those that are unreachable are returned in the ListOperationsResponse.
250-
# unreachable field. This can only be `true` when reading across collections.
251-
# For example, when `parent` is set to `"projects/example/locations/-"`. This
252-
# field is not supported by default and will result in an `UNIMPLEMENTED` error
253-
# if set unless explicitly documented otherwise in service or product specific
254-
# documentation.
255-
# @param [String] fields
256-
# Selector specifying which fields to include in a partial response.
257-
# @param [String] quota_user
258-
# Available to use for quota purposes for server-side applications. Can be any
259-
# arbitrary string assigned to a user, but should not exceed 40 characters.
260-
# @param [Google::Apis::RequestOptions] options
261-
# Request-specific options
262-
#
263-
# @yield [result, err] Result & error if block supplied
264-
# @yieldparam result [Google::Apis::SecretmanagerV1beta2::ListOperationsResponse] parsed result object
265-
# @yieldparam err [StandardError] error object if request failed
266-
#
267-
# @return [Google::Apis::SecretmanagerV1beta2::ListOperationsResponse]
268-
#
269-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
270-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
271-
# @raise [Google::Apis::AuthorizationError] Authorization is required
272-
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)
273-
command = make_simple_command(:get, 'v1beta2/{+name}/operations', options)
274-
command.response_representation = Google::Apis::SecretmanagerV1beta2::ListOperationsResponse::Representation
275-
command.response_class = Google::Apis::SecretmanagerV1beta2::ListOperationsResponse
276-
command.params['name'] = name unless name.nil?
277-
command.query['filter'] = filter unless filter.nil?
278-
command.query['pageSize'] = page_size unless page_size.nil?
279-
command.query['pageToken'] = page_token unless page_token.nil?
280-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
281-
command.query['fields'] = fields unless fields.nil?
282-
command.query['quotaUser'] = quota_user unless quota_user.nil?
283-
execute_or_queue_command(command, &block)
284-
end
285-
286136
# Creates a new SecretVersion containing secret data and attaches it to an
287137
# existing Secret.
288138
# @param [String] parent

0 commit comments

Comments
 (0)