google-apis-dataflow_v1b3 0.69.0 → 0.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c86d9e8c63a31d88f64524899c0460b8835c4be3bc203604012e3475d28b072
4
- data.tar.gz: bf812704c47db6e1c78bb075f09dd3699286d420e76e65d492d88635a5303918
3
+ metadata.gz: 7cfad9dbbd6672918da1a20664b6afb3e9d505cb628234dbf865a38192f319a0
4
+ data.tar.gz: 54f32099e992baa52f133e91d7e90377caa999c6a8014fc5343fc763275611a6
5
5
  SHA512:
6
- metadata.gz: 76729068524ca3873a3971edca71d3205ae4f6ed0fd7946669ee166f21c90551effde8fed401291b9a61243a0296d89771b4940e551c2b4725815074d576be25
7
- data.tar.gz: 8264f43b1270679ae4fc891b09578050f30028246b984087b2a6fd37dbcece4ca4966cad61ecc2f01e98ba53a9ef2a37b27863e3a8519c942bfb8724289d0e3a
6
+ metadata.gz: 24204de4df0c9790ad37a6d0e7950a18e2a5ddbea4c9fc4b89ff1f95f3d5cd12822f9c6222fb7c63790ca2f6d21e8a2810482d540bf5a97b0b4858ad771416af
7
+ data.tar.gz: 6650c5c2db80a704bea16cbb5cfadf133a2341b6bd7f08c2d4f4b887f496a899b757d7ee2532b18697d15e87f7e54654796ab4caa4aa926449e4ce9233e6f4e7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dataflow_v1b3
2
2
 
3
+ ### v0.70.0 (2025-05-21)
4
+
5
+ * Regenerated from discovery document revision 20250519
6
+
3
7
  ### v0.69.0 (2025-05-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20250505
@@ -2160,6 +2160,45 @@ module Google
2160
2160
  end
2161
2161
  end
2162
2162
 
2163
+ # Request to get worker stacktraces from debug capture.
2164
+ class GetWorkerStacktracesRequest
2165
+ include Google::Apis::Core::Hashable
2166
+
2167
+ # The worker for which to get stacktraces. The returned stacktraces will be for
2168
+ # the SDK harness running on this worker.
2169
+ # Corresponds to the JSON property `workerId`
2170
+ # @return [String]
2171
+ attr_accessor :worker_id
2172
+
2173
+ def initialize(**args)
2174
+ update!(**args)
2175
+ end
2176
+
2177
+ # Update properties of this object
2178
+ def update!(**args)
2179
+ @worker_id = args[:worker_id] if args.key?(:worker_id)
2180
+ end
2181
+ end
2182
+
2183
+ # Response to get worker stacktraces from debug capture.
2184
+ class GetWorkerStacktracesResponse
2185
+ include Google::Apis::Core::Hashable
2186
+
2187
+ # Repeated as unified worker may have multiple SDK processes.
2188
+ # Corresponds to the JSON property `sdks`
2189
+ # @return [Array<Google::Apis::DataflowV1b3::Sdk>]
2190
+ attr_accessor :sdks
2191
+
2192
+ def initialize(**args)
2193
+ update!(**args)
2194
+ end
2195
+
2196
+ # Update properties of this object
2197
+ def update!(**args)
2198
+ @sdks = args[:sdks] if args.key?(:sdks)
2199
+ end
2200
+ end
2201
+
2163
2202
  # Histogram of value counts for a distribution. Buckets have an inclusive lower
2164
2203
  # bound and exclusive upper bound and use "1,2,5 bucketing": The first bucket
2165
2204
  # range is from [0,1) and all subsequent bucket boundaries are powers of ten
@@ -4856,6 +4895,31 @@ module Google
4856
4895
  end
4857
4896
  end
4858
4897
 
4898
+ # A structured representation of an SDK.
4899
+ class Sdk
4900
+ include Google::Apis::Core::Hashable
4901
+
4902
+ # The SDK harness id.
4903
+ # Corresponds to the JSON property `sdkId`
4904
+ # @return [String]
4905
+ attr_accessor :sdk_id
4906
+
4907
+ # The stacktraces for the processes running on the SDK harness.
4908
+ # Corresponds to the JSON property `stacks`
4909
+ # @return [Array<Google::Apis::DataflowV1b3::Stack>]
4910
+ attr_accessor :stacks
4911
+
4912
+ def initialize(**args)
4913
+ update!(**args)
4914
+ end
4915
+
4916
+ # Update properties of this object
4917
+ def update!(**args)
4918
+ @sdk_id = args[:sdk_id] if args.key?(:sdk_id)
4919
+ @stacks = args[:stacks] if args.key?(:stacks)
4920
+ end
4921
+ end
4922
+
4859
4923
  # A bug found in the Dataflow SDK.
4860
4924
  class SdkBug
4861
4925
  include Google::Apis::Core::Hashable
@@ -5809,6 +5873,51 @@ module Google
5809
5873
  end
5810
5874
  end
5811
5875
 
5876
+ # A structuredstacktrace for a process running on the worker.
5877
+ class Stack
5878
+ include Google::Apis::Core::Hashable
5879
+
5880
+ # The raw stack trace.
5881
+ # Corresponds to the JSON property `stackContent`
5882
+ # @return [String]
5883
+ attr_accessor :stack_content
5884
+
5885
+ # With java thread dumps we may get collapsed stacks e.g., N threads in stack "".
5886
+ # Instead of having to copy over the same stack trace N times, this int field
5887
+ # captures this.
5888
+ # Corresponds to the JSON property `threadCount`
5889
+ # @return [Fixnum]
5890
+ attr_accessor :thread_count
5891
+
5892
+ # Thread name. For example, "CommitThread-0,10,main"
5893
+ # Corresponds to the JSON property `threadName`
5894
+ # @return [String]
5895
+ attr_accessor :thread_name
5896
+
5897
+ # The state of the thread. For example, "WAITING".
5898
+ # Corresponds to the JSON property `threadState`
5899
+ # @return [String]
5900
+ attr_accessor :thread_state
5901
+
5902
+ # Timestamp at which the stack was captured.
5903
+ # Corresponds to the JSON property `timestamp`
5904
+ # @return [String]
5905
+ attr_accessor :timestamp
5906
+
5907
+ def initialize(**args)
5908
+ update!(**args)
5909
+ end
5910
+
5911
+ # Update properties of this object
5912
+ def update!(**args)
5913
+ @stack_content = args[:stack_content] if args.key?(:stack_content)
5914
+ @thread_count = args[:thread_count] if args.key?(:thread_count)
5915
+ @thread_name = args[:thread_name] if args.key?(:thread_name)
5916
+ @thread_state = args[:thread_state] if args.key?(:thread_state)
5917
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
5918
+ end
5919
+ end
5920
+
5812
5921
  # Information about the workers and work items within a stage.
5813
5922
  class StageExecutionDetails
5814
5923
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DataflowV1b3
18
18
  # Version of the google-apis-dataflow_v1b3 gem
19
- GEM_VERSION = "0.69.0"
19
+ GEM_VERSION = "0.70.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250505"
25
+ REVISION = "20250519"
26
26
  end
27
27
  end
28
28
  end
@@ -322,6 +322,18 @@ module Google
322
322
  include Google::Apis::Core::JsonObjectSupport
323
323
  end
324
324
 
325
+ class GetWorkerStacktracesRequest
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class GetWorkerStacktracesResponse
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
325
337
  class Histogram
326
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
339
 
@@ -712,6 +724,12 @@ module Google
712
724
  include Google::Apis::Core::JsonObjectSupport
713
725
  end
714
726
 
727
+ class Sdk
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
715
733
  class SdkBug
716
734
  class Representation < Google::Apis::Core::JsonRepresentation; end
717
735
 
@@ -880,6 +898,12 @@ module Google
880
898
  include Google::Apis::Core::JsonObjectSupport
881
899
  end
882
900
 
901
+ class Stack
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
883
907
  class StageExecutionDetails
884
908
  class Representation < Google::Apis::Core::JsonRepresentation; end
885
909
 
@@ -1732,6 +1756,21 @@ module Google
1732
1756
  end
1733
1757
  end
1734
1758
 
1759
+ class GetWorkerStacktracesRequest
1760
+ # @private
1761
+ class Representation < Google::Apis::Core::JsonRepresentation
1762
+ property :worker_id, as: 'workerId'
1763
+ end
1764
+ end
1765
+
1766
+ class GetWorkerStacktracesResponse
1767
+ # @private
1768
+ class Representation < Google::Apis::Core::JsonRepresentation
1769
+ collection :sdks, as: 'sdks', class: Google::Apis::DataflowV1b3::Sdk, decorator: Google::Apis::DataflowV1b3::Sdk::Representation
1770
+
1771
+ end
1772
+ end
1773
+
1735
1774
  class Histogram
1736
1775
  # @private
1737
1776
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2454,6 +2493,15 @@ module Google
2454
2493
  end
2455
2494
  end
2456
2495
 
2496
+ class Sdk
2497
+ # @private
2498
+ class Representation < Google::Apis::Core::JsonRepresentation
2499
+ property :sdk_id, as: 'sdkId'
2500
+ collection :stacks, as: 'stacks', class: Google::Apis::DataflowV1b3::Stack, decorator: Google::Apis::DataflowV1b3::Stack::Representation
2501
+
2502
+ end
2503
+ end
2504
+
2457
2505
  class SdkBug
2458
2506
  # @private
2459
2507
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2731,6 +2779,17 @@ module Google
2731
2779
  end
2732
2780
  end
2733
2781
 
2782
+ class Stack
2783
+ # @private
2784
+ class Representation < Google::Apis::Core::JsonRepresentation
2785
+ property :stack_content, as: 'stackContent'
2786
+ property :thread_count, as: 'threadCount'
2787
+ property :thread_name, as: 'threadName'
2788
+ property :thread_state, as: 'threadState'
2789
+ property :timestamp, as: 'timestamp'
2790
+ end
2791
+ end
2792
+
2734
2793
  class StageExecutionDetails
2735
2794
  # @private
2736
2795
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -495,6 +495,42 @@ module Google
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
+
498
534
  # Send encoded debug capture data for component.
499
535
  # @param [String] project_id
500
536
  # The project id.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataflow_v1b3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.69.0
4
+ version: 0.70.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataflow_v1b3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataflow_v1b3/v0.69.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataflow_v1b3/v0.70.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataflow_v1b3
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Dataflow API V1b3
79
79
  test_files: []