@@ -495,42 +495,6 @@ def get_project_job_debug_config(project_id, job_id, get_debug_config_request_ob
495
495
execute_or_queue_command ( command , &block )
496
496
end
497
497
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
-
534
498
# Send encoded debug capture data for component.
535
499
# @param [String] project_id
536
500
# The project id.
@@ -1150,6 +1114,46 @@ def get_project_location_job_debug_config(project_id, location, job_id, get_debu
1150
1114
execute_or_queue_command ( command , &block )
1151
1115
end
1152
1116
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
+
1153
1157
# Send encoded debug capture data for component.
1154
1158
# @param [String] project_id
1155
1159
# The project id.
0 commit comments