Skip to content

Commit 7f315e1

Browse files
feat: Automated regeneration of workflows v1 client (#24753)
Auto-created at 2025-10-26 10:46:30 +0000 using the toys pull request generator.
1 parent e76f09a commit 7f315e1

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
@@ -391682,6 +391682,8 @@
391682391682
"/workflows:v1/ListOperationsResponse/nextPageToken": next_page_token
391683391683
"/workflows:v1/ListOperationsResponse/operations": operations
391684391684
"/workflows:v1/ListOperationsResponse/operations/operation": operation
391685+
"/workflows:v1/ListOperationsResponse/unreachable": unreachable
391686+
"/workflows:v1/ListOperationsResponse/unreachable/unreachable": unreachable
391685391687
"/workflows:v1/ListWorkflowRevisionsResponse": list_workflow_revisions_response
391686391688
"/workflows:v1/ListWorkflowRevisionsResponse/nextPageToken": next_page_token
391687391689
"/workflows:v1/ListWorkflowRevisionsResponse/workflows": workflows
@@ -391768,6 +391770,7 @@
391768391770
"/workflows:v1/workflows.projects.locations.operations.list/name": name
391769391771
"/workflows:v1/workflows.projects.locations.operations.list/pageSize": page_size
391770391772
"/workflows:v1/workflows.projects.locations.operations.list/pageToken": page_token
391773+
"/workflows:v1/workflows.projects.locations.operations.list/returnPartialSuccess": return_partial_success
391771391774
"/workflows:v1/workflows.projects.locations.workflows.create": create_project_location_workflow
391772391775
"/workflows:v1/workflows.projects.locations.workflows.create/parent": parent
391773391776
"/workflows:v1/workflows.projects.locations.workflows.create/workflowId": workflow_id

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

3+
### v0.45.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251013
6+
37
### v0.44.0 (2025-09-28)
48

59
* Regenerated from discovery document revision 20250916

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@ class ListOperationsResponse
7777
# @return [Array<Google::Apis::WorkflowsV1::Operation>]
7878
attr_accessor :operations
7979

80+
# Unordered list. Unreachable resources. Populated when the request sets `
81+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
82+
# when attempting to list all resources across all supported locations.
83+
# Corresponds to the JSON property `unreachable`
84+
# @return [Array<String>]
85+
attr_accessor :unreachable
86+
8087
def initialize(**args)
8188
update!(**args)
8289
end
@@ -85,6 +92,7 @@ def initialize(**args)
8592
def update!(**args)
8693
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
8794
@operations = args[:operations] if args.key?(:operations)
95+
@unreachable = args[:unreachable] if args.key?(:unreachable)
8896
end
8997
end
9098

generated/google-apis-workflows_v1/lib/google/apis/workflows_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 WorkflowsV1
1818
# Version of the google-apis-workflows_v1 gem
19-
GEM_VERSION = "0.44.0"
19+
GEM_VERSION = "0.45.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 = "20251013"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
109109
property :next_page_token, as: 'nextPageToken'
110110
collection :operations, as: 'operations', class: Google::Apis::WorkflowsV1::Operation, decorator: Google::Apis::WorkflowsV1::Operation::Representation
111111

112+
collection :unreachable, as: 'unreachable'
112113
end
113114
end
114115

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
203203
# The standard list page size.
204204
# @param [String] page_token
205205
# The standard list page token.
206+
# @param [Boolean] return_partial_success
207+
# When set to `true`, operations that are reachable are returned as normal, and
208+
# those that are unreachable are returned in the [ListOperationsResponse.
209+
# unreachable] field. This can only be `true` when reading across collections e.
210+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
211+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
212+
# explicitly documented otherwise in service or product specific documentation.
206213
# @param [String] fields
207214
# Selector specifying which fields to include in a partial response.
208215
# @param [String] quota_user
@@ -220,14 +227,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
220227
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
221228
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
222229
# @raise [Google::Apis::AuthorizationError] Authorization is required
223-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
230+
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)
224231
command = make_simple_command(:get, 'v1/{+name}/operations', options)
225232
command.response_representation = Google::Apis::WorkflowsV1::ListOperationsResponse::Representation
226233
command.response_class = Google::Apis::WorkflowsV1::ListOperationsResponse
227234
command.params['name'] = name unless name.nil?
228235
command.query['filter'] = filter unless filter.nil?
229236
command.query['pageSize'] = page_size unless page_size.nil?
230237
command.query['pageToken'] = page_token unless page_token.nil?
238+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
231239
command.query['fields'] = fields unless fields.nil?
232240
command.query['quotaUser'] = quota_user unless quota_user.nil?
233241
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)