Skip to content

Commit 418dbbc

Browse files
feat: Automated regeneration of dataflow v1b3 client (googleapis#23712)
Auto-created at 2025-07-20 09:42:36 +0000 using the toys pull request generator.
1 parent dbfb10d commit 418dbbc

File tree

4 files changed

+52
-39
lines changed

4 files changed

+52
-39
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145233,6 +145233,10 @@
145233145233
"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.getConfig/jobId": job_id
145234145234
"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.getConfig/location": location
145235145235
"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.getConfig/projectId": project_id
145236+
"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.getWorkerStacktraces": get_debug_worker_stacktraces
145237+
"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.getWorkerStacktraces/jobId": job_id
145238+
"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.getWorkerStacktraces/location": location
145239+
"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.getWorkerStacktraces/projectId": project_id
145236145240
"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.sendCapture": send_project_location_job_debug_capture
145237145241
"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.sendCapture/jobId": job_id
145238145242
"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.sendCapture/location": location

generated/google-apis-dataflow_v1b3/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-dataflow_v1b3
22

3+
### v0.71.0 (2025-07-20)
4+
5+
* Regenerated from discovery document revision 20250716
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.70.0 (2025-05-21)
49

510
* Regenerated from discovery document revision 20250519

generated/google-apis-dataflow_v1b3/lib/google/apis/dataflow_v1b3/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DataflowV1b3
1818
# Version of the google-apis-dataflow_v1b3 gem
19-
GEM_VERSION = "0.70.0"
19+
GEM_VERSION = "0.71.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250519"
25+
REVISION = "20250716"
2626
end
2727
end
2828
end

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

Lines changed: 40 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -495,42 +495,6 @@ def get_project_job_debug_config(project_id, job_id, get_debug_config_request_ob
495495
execute_or_queue_command(command, &block)
496496
end
497497

498-
# Get worker stacktraces from debug capture.
499-
# @param [String] project_id
500-
# The project id.
501-
# @param [String] job_id
502-
# The job for which to get stacktraces.
503-
# @param [Google::Apis::DataflowV1b3::GetWorkerStacktracesRequest] get_worker_stacktraces_request_object
504-
# @param [String] fields
505-
# Selector specifying which fields to include in a partial response.
506-
# @param [String] quota_user
507-
# Available to use for quota purposes for server-side applications. Can be any
508-
# arbitrary string assigned to a user, but should not exceed 40 characters.
509-
# @param [Google::Apis::RequestOptions] options
510-
# Request-specific options
511-
#
512-
# @yield [result, err] Result & error if block supplied
513-
# @yieldparam result [Google::Apis::DataflowV1b3::GetWorkerStacktracesResponse] parsed result object
514-
# @yieldparam err [StandardError] error object if request failed
515-
#
516-
# @return [Google::Apis::DataflowV1b3::GetWorkerStacktracesResponse]
517-
#
518-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
519-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
520-
# @raise [Google::Apis::AuthorizationError] Authorization is required
521-
def get_debug_worker_stacktraces(project_id, job_id, get_worker_stacktraces_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
522-
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/getWorkerStacktraces', options)
523-
command.request_representation = Google::Apis::DataflowV1b3::GetWorkerStacktracesRequest::Representation
524-
command.request_object = get_worker_stacktraces_request_object
525-
command.response_representation = Google::Apis::DataflowV1b3::GetWorkerStacktracesResponse::Representation
526-
command.response_class = Google::Apis::DataflowV1b3::GetWorkerStacktracesResponse
527-
command.params['projectId'] = project_id unless project_id.nil?
528-
command.params['jobId'] = job_id unless job_id.nil?
529-
command.query['fields'] = fields unless fields.nil?
530-
command.query['quotaUser'] = quota_user unless quota_user.nil?
531-
execute_or_queue_command(command, &block)
532-
end
533-
534498
# Send encoded debug capture data for component.
535499
# @param [String] project_id
536500
# The project id.
@@ -1150,6 +1114,46 @@ def get_project_location_job_debug_config(project_id, location, job_id, get_debu
11501114
execute_or_queue_command(command, &block)
11511115
end
11521116

1117+
# Get worker stacktraces from debug capture.
1118+
# @param [String] project_id
1119+
# The project id.
1120+
# @param [String] location
1121+
# The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/
1122+
# regional-endpoints) that contains the job specified by job_id.
1123+
# @param [String] job_id
1124+
# The job for which to get stacktraces.
1125+
# @param [Google::Apis::DataflowV1b3::GetWorkerStacktracesRequest] get_worker_stacktraces_request_object
1126+
# @param [String] fields
1127+
# Selector specifying which fields to include in a partial response.
1128+
# @param [String] quota_user
1129+
# Available to use for quota purposes for server-side applications. Can be any
1130+
# arbitrary string assigned to a user, but should not exceed 40 characters.
1131+
# @param [Google::Apis::RequestOptions] options
1132+
# Request-specific options
1133+
#
1134+
# @yield [result, err] Result & error if block supplied
1135+
# @yieldparam result [Google::Apis::DataflowV1b3::GetWorkerStacktracesResponse] parsed result object
1136+
# @yieldparam err [StandardError] error object if request failed
1137+
#
1138+
# @return [Google::Apis::DataflowV1b3::GetWorkerStacktracesResponse]
1139+
#
1140+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1141+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1142+
# @raise [Google::Apis::AuthorizationError] Authorization is required
1143+
def get_debug_worker_stacktraces(project_id, location, job_id, get_worker_stacktraces_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1144+
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getWorkerStacktraces', options)
1145+
command.request_representation = Google::Apis::DataflowV1b3::GetWorkerStacktracesRequest::Representation
1146+
command.request_object = get_worker_stacktraces_request_object
1147+
command.response_representation = Google::Apis::DataflowV1b3::GetWorkerStacktracesResponse::Representation
1148+
command.response_class = Google::Apis::DataflowV1b3::GetWorkerStacktracesResponse
1149+
command.params['projectId'] = project_id unless project_id.nil?
1150+
command.params['location'] = location unless location.nil?
1151+
command.params['jobId'] = job_id unless job_id.nil?
1152+
command.query['fields'] = fields unless fields.nil?
1153+
command.query['quotaUser'] = quota_user unless quota_user.nil?
1154+
execute_or_queue_command(command, &block)
1155+
end
1156+
11531157
# Send encoded debug capture data for component.
11541158
# @param [String] project_id
11551159
# The project id.

0 commit comments

Comments
 (0)