google-apis-dataflow_v1b3 0.68.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cfad9dbbd6672918da1a20664b6afb3e9d505cb628234dbf865a38192f319a0
|
4
|
+
data.tar.gz: 54f32099e992baa52f133e91d7e90377caa999c6a8014fc5343fc763275611a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24204de4df0c9790ad37a6d0e7950a18e2a5ddbea4c9fc4b89ff1f95f3d5cd12822f9c6222fb7c63790ca2f6d21e8a2810482d540bf5a97b0b4858ad771416af
|
7
|
+
data.tar.gz: 6650c5c2db80a704bea16cbb5cfadf133a2341b6bd7f08c2d4f4b887f496a899b757d7ee2532b18697d15e87f7e54654796ab4caa4aa926449e4ce9233e6f4e7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
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
|
+
|
7
|
+
### v0.69.0 (2025-05-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250505
|
10
|
+
|
3
11
|
### v0.68.0 (2025-05-04)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250428
|
@@ -1537,6 +1537,12 @@ module Google
|
|
1537
1537
|
# @return [String]
|
1538
1538
|
attr_accessor :temp_storage_prefix
|
1539
1539
|
|
1540
|
+
# Optional. True when any worker pool that uses public IPs is present.
|
1541
|
+
# Corresponds to the JSON property `usePublicIps`
|
1542
|
+
# @return [Boolean]
|
1543
|
+
attr_accessor :use_public_ips
|
1544
|
+
alias_method :use_public_ips?, :use_public_ips
|
1545
|
+
|
1540
1546
|
# Output only. Whether the job uses the Streaming Engine resource-based billing
|
1541
1547
|
# model.
|
1542
1548
|
# Corresponds to the JSON property `useStreamingEngineResourceBasedBilling`
|
@@ -1597,6 +1603,7 @@ module Google
|
|
1597
1603
|
@shuffle_mode = args[:shuffle_mode] if args.key?(:shuffle_mode)
|
1598
1604
|
@streaming_mode = args[:streaming_mode] if args.key?(:streaming_mode)
|
1599
1605
|
@temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix)
|
1606
|
+
@use_public_ips = args[:use_public_ips] if args.key?(:use_public_ips)
|
1600
1607
|
@use_streaming_engine_resource_based_billing = args[:use_streaming_engine_resource_based_billing] if args.key?(:use_streaming_engine_resource_based_billing)
|
1601
1608
|
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
1602
1609
|
@version = args[:version] if args.key?(:version)
|
@@ -2153,6 +2160,45 @@ module Google
|
|
2153
2160
|
end
|
2154
2161
|
end
|
2155
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
|
+
|
2156
2202
|
# Histogram of value counts for a distribution. Buckets have an inclusive lower
|
2157
2203
|
# bound and exclusive upper bound and use "1,2,5 bucketing": The first bucket
|
2158
2204
|
# range is from [0,1) and all subsequent bucket boundaries are powers of ten
|
@@ -4849,6 +4895,31 @@ module Google
|
|
4849
4895
|
end
|
4850
4896
|
end
|
4851
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
|
+
|
4852
4923
|
# A bug found in the Dataflow SDK.
|
4853
4924
|
class SdkBug
|
4854
4925
|
include Google::Apis::Core::Hashable
|
@@ -5802,6 +5873,51 @@ module Google
|
|
5802
5873
|
end
|
5803
5874
|
end
|
5804
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
|
+
|
5805
5921
|
# Information about the workers and work items within a stage.
|
5806
5922
|
class StageExecutionDetails
|
5807
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.
|
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 = "
|
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
|
|
@@ -1579,6 +1603,7 @@ module Google
|
|
1579
1603
|
property :shuffle_mode, as: 'shuffleMode'
|
1580
1604
|
property :streaming_mode, as: 'streamingMode'
|
1581
1605
|
property :temp_storage_prefix, as: 'tempStoragePrefix'
|
1606
|
+
property :use_public_ips, as: 'usePublicIps'
|
1582
1607
|
property :use_streaming_engine_resource_based_billing, as: 'useStreamingEngineResourceBasedBilling'
|
1583
1608
|
hash :user_agent, as: 'userAgent'
|
1584
1609
|
hash :version, as: 'version'
|
@@ -1731,6 +1756,21 @@ module Google
|
|
1731
1756
|
end
|
1732
1757
|
end
|
1733
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
|
+
|
1734
1774
|
class Histogram
|
1735
1775
|
# @private
|
1736
1776
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2453,6 +2493,15 @@ module Google
|
|
2453
2493
|
end
|
2454
2494
|
end
|
2455
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
|
+
|
2456
2505
|
class SdkBug
|
2457
2506
|
# @private
|
2458
2507
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2730,6 +2779,17 @@ module Google
|
|
2730
2779
|
end
|
2731
2780
|
end
|
2732
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
|
+
|
2733
2793
|
class StageExecutionDetails
|
2734
2794
|
# @private
|
2735
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.
|
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.
|
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.
|
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: []
|