google-apis-dataflow_v1b3 0.46.0 → 0.48.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: 3f14d411c2a60489c93d7aa0903719ec69d2f2b8d075ec7613fe49c5ec8ad7a2
4
- data.tar.gz: 7c66b5df4039f5ae74020bd661e07a44e184363bda99b2c1b1a1369180e1040c
3
+ metadata.gz: ae42e2412fb5a708bc44bde5598e29161ecd8f8bcc53cde7938185e5113785e6
4
+ data.tar.gz: 1e92150cc71c12f5f8249f0ca18cc0d6148f2cdeafde209623f04f1feadf0b02
5
5
  SHA512:
6
- metadata.gz: fea9f60b1f054641b0cb117676eaf89a03d1f1b6e57d269a5731ccd6c315b8fb6dbb815e64fcb9ced55a9de9502f444fe76dd2508fb0eb95a2d70aede7749dce
7
- data.tar.gz: 4fc262d75c2eb7a58d9e1294baef3e4e21f42645d7f45991aa1b59525ace423e78952f5c432fc7e0b96f5ab570356c1c151209733b84f3bbefe54f329dc302ac
6
+ metadata.gz: 86b7c935110110bdac5fadfa0aa968d2a5cf2a73d20a3cf0e1311a06079a6e68186a70f912ec84a41e4e83c62060c47fdb44c16b5795734d5266b78c2c175315
7
+ data.tar.gz: 4255355c9050c8013235350b4edb1f9b65db2838ecfcb692f86412cb95081762214d6f6c10e472fbb83a7e605585009b670238e6e1080b9dc5df3f3309e53227
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dataflow_v1b3
2
2
 
3
+ ### v0.48.0 (2023-12-24)
4
+
5
+ * Regenerated from discovery document revision 20231217
6
+
7
+ ### v0.47.0 (2023-12-10)
8
+
9
+ * Regenerated from discovery document revision 20231203
10
+
3
11
  ### v0.46.0 (2023-11-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20231112
@@ -1326,6 +1326,14 @@ module Google
1326
1326
  # @return [String]
1327
1327
  attr_accessor :shuffle_mode
1328
1328
 
1329
+ # Optional. Specifies the Streaming Engine message processing guarantees.
1330
+ # Reduces cost and latency but might result in duplicate messages committed to
1331
+ # storage. Designed to run simple mapping streaming ETL jobs at the lowest cost.
1332
+ # For example, Change Data Capture (CDC) to BigQuery is a canonical use case.
1333
+ # Corresponds to the JSON property `streamingMode`
1334
+ # @return [String]
1335
+ attr_accessor :streaming_mode
1336
+
1329
1337
  # The prefix of the resources the system should use for temporary storage. The
1330
1338
  # system will append the suffix "/temp-`JOBNAME` to this resource prefix, where `
1331
1339
  # JOBNAME` is the value of the job_name field. The resulting bucket and object
@@ -1337,8 +1345,8 @@ module Google
1337
1345
  # @return [String]
1338
1346
  attr_accessor :temp_storage_prefix
1339
1347
 
1340
- # Output only. Whether the job uses the new streaming engine billing model based
1341
- # on resource usage.
1348
+ # Output only. Whether the job uses the Streaming Engine resource-based billing
1349
+ # model.
1342
1350
  # Corresponds to the JSON property `useStreamingEngineResourceBasedBilling`
1343
1351
  # @return [Boolean]
1344
1352
  attr_accessor :use_streaming_engine_resource_based_billing
@@ -1395,6 +1403,7 @@ module Google
1395
1403
  @service_kms_key_name = args[:service_kms_key_name] if args.key?(:service_kms_key_name)
1396
1404
  @service_options = args[:service_options] if args.key?(:service_options)
1397
1405
  @shuffle_mode = args[:shuffle_mode] if args.key?(:shuffle_mode)
1406
+ @streaming_mode = args[:streaming_mode] if args.key?(:streaming_mode)
1398
1407
  @temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix)
1399
1408
  @use_streaming_engine_resource_based_billing = args[:use_streaming_engine_resource_based_billing] if args.key?(:use_streaming_engine_resource_based_billing)
1400
1409
  @user_agent = args[:user_agent] if args.key?(:user_agent)
@@ -2194,8 +2203,8 @@ module Google
2194
2203
  # The current state of the job. Jobs are created in the `JOB_STATE_STOPPED`
2195
2204
  # state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may
2196
2205
  # asynchronously enter a terminal state. After a job has reached a terminal
2197
- # state, no further state updates may be made. This field may be mutated by the
2198
- # Cloud Dataflow service; callers cannot mutate it.
2206
+ # state, no further state updates may be made. This field might be mutated by
2207
+ # the Dataflow service; callers cannot mutate it.
2199
2208
  # Corresponds to the JSON property `currentState`
2200
2209
  # @return [String]
2201
2210
  attr_accessor :current_state
@@ -2216,8 +2225,8 @@ module Google
2216
2225
  # @return [Google::Apis::DataflowV1b3::JobExecutionInfo]
2217
2226
  attr_accessor :execution_info
2218
2227
 
2219
- # The unique ID of this job. This field is set by the Cloud Dataflow service
2220
- # when the Job is created, and is immutable for the life of the job.
2228
+ # The unique ID of this job. This field is set by the Dataflow service when the
2229
+ # job is created, and is immutable for the life of the job.
2221
2230
  # Corresponds to the JSON property `id`
2222
2231
  # @return [String]
2223
2232
  attr_accessor :id
@@ -2243,11 +2252,12 @@ module Google
2243
2252
  # @return [String]
2244
2253
  attr_accessor :location
2245
2254
 
2246
- # The user-specified Cloud Dataflow job name. Only one Job with a given name can
2247
- # exist in a project within one region at any given time. Jobs in different
2248
- # regions can have the same name. If a caller attempts to create a Job with the
2249
- # same name as an already-existing Job, the attempt returns the existing Job.
2250
- # The name must match the regular expression `[a-z]([-a-z0-9]`0,1022`[a-z0-9])?`
2255
+ # The user-specified Dataflow job name. Only one active job with a given name
2256
+ # can exist in a project within one region at any given time. Jobs in different
2257
+ # regions can have the same name. If a caller attempts to create a job with the
2258
+ # same name as an active job that already exists, the attempt returns the
2259
+ # existing job. The name must match the regular expression `[a-z]([-a-z0-9]`0,
2260
+ # 1022`[a-z0-9])?`
2251
2261
  # Corresponds to the JSON property `name`
2252
2262
  # @return [String]
2253
2263
  attr_accessor :name
@@ -2259,7 +2269,7 @@ module Google
2259
2269
  # @return [Google::Apis::DataflowV1b3::PipelineDescription]
2260
2270
  attr_accessor :pipeline_description
2261
2271
 
2262
- # The ID of the Cloud Platform project that the job belongs to.
2272
+ # The ID of the Google Cloud project that the job belongs to.
2263
2273
  # Corresponds to the JSON property `projectId`
2264
2274
  # @return [String]
2265
2275
  attr_accessor :project_id
@@ -2351,7 +2361,7 @@ module Google
2351
2361
  # @return [Hash<String,String>]
2352
2362
  attr_accessor :transform_name_mapping
2353
2363
 
2354
- # The type of Cloud Dataflow job.
2364
+ # The type of Dataflow job.
2355
2365
  # Corresponds to the JSON property `type`
2356
2366
  # @return [String]
2357
2367
  attr_accessor :type
@@ -4307,6 +4317,13 @@ module Google
4307
4317
  # @return [Fixnum]
4308
4318
  attr_accessor :min_num_workers
4309
4319
 
4320
+ # Target worker utilization, compared against the aggregate utilization of the
4321
+ # worker pool by autoscaler, to determine upscaling and downscaling when absent
4322
+ # other constraints such as backlog.
4323
+ # Corresponds to the JSON property `workerUtilizationHint`
4324
+ # @return [Float]
4325
+ attr_accessor :worker_utilization_hint
4326
+
4310
4327
  def initialize(**args)
4311
4328
  update!(**args)
4312
4329
  end
@@ -4315,6 +4332,7 @@ module Google
4315
4332
  def update!(**args)
4316
4333
  @max_num_workers = args[:max_num_workers] if args.key?(:max_num_workers)
4317
4334
  @min_num_workers = args[:min_num_workers] if args.key?(:min_num_workers)
4335
+ @worker_utilization_hint = args[:worker_utilization_hint] if args.key?(:worker_utilization_hint)
4318
4336
  end
4319
4337
  end
4320
4338
 
@@ -5834,6 +5852,55 @@ module Google
5834
5852
  end
5835
5853
  end
5836
5854
 
5855
+ # Contains per-user worker telemetry used in streaming autoscaling.
5856
+ class StreamingScalingReport
5857
+ include Google::Apis::Core::Hashable
5858
+
5859
+ # Current acive bundle count.
5860
+ # Corresponds to the JSON property `activeBundleCount`
5861
+ # @return [Fixnum]
5862
+ attr_accessor :active_bundle_count
5863
+
5864
+ # Current acive thread count.
5865
+ # Corresponds to the JSON property `activeThreadCount`
5866
+ # @return [Fixnum]
5867
+ attr_accessor :active_thread_count
5868
+
5869
+ # Maximum bundle count limit.
5870
+ # Corresponds to the JSON property `maximumBundleCount`
5871
+ # @return [Fixnum]
5872
+ attr_accessor :maximum_bundle_count
5873
+
5874
+ # Maximum bytes count limit.
5875
+ # Corresponds to the JSON property `maximumBytesCount`
5876
+ # @return [Fixnum]
5877
+ attr_accessor :maximum_bytes_count
5878
+
5879
+ # Maximum thread count limit.
5880
+ # Corresponds to the JSON property `maximumThreadCount`
5881
+ # @return [Fixnum]
5882
+ attr_accessor :maximum_thread_count
5883
+
5884
+ # Current outstanding bytes count.
5885
+ # Corresponds to the JSON property `outstandingBytesCount`
5886
+ # @return [Fixnum]
5887
+ attr_accessor :outstanding_bytes_count
5888
+
5889
+ def initialize(**args)
5890
+ update!(**args)
5891
+ end
5892
+
5893
+ # Update properties of this object
5894
+ def update!(**args)
5895
+ @active_bundle_count = args[:active_bundle_count] if args.key?(:active_bundle_count)
5896
+ @active_thread_count = args[:active_thread_count] if args.key?(:active_thread_count)
5897
+ @maximum_bundle_count = args[:maximum_bundle_count] if args.key?(:maximum_bundle_count)
5898
+ @maximum_bytes_count = args[:maximum_bytes_count] if args.key?(:maximum_bytes_count)
5899
+ @maximum_thread_count = args[:maximum_thread_count] if args.key?(:maximum_thread_count)
5900
+ @outstanding_bytes_count = args[:outstanding_bytes_count] if args.key?(:outstanding_bytes_count)
5901
+ end
5902
+ end
5903
+
5837
5904
  # A task which initializes part of a streaming Dataflow job.
5838
5905
  class StreamingSetupTask
5839
5906
  include Google::Apis::Core::Hashable
@@ -6826,6 +6893,11 @@ module Google
6826
6893
  # @return [Hash<String,String>]
6827
6894
  attr_accessor :labels
6828
6895
 
6896
+ # Contains per-user worker telemetry used in streaming autoscaling.
6897
+ # Corresponds to the JSON property `streamingScalingReport`
6898
+ # @return [Google::Apis::DataflowV1b3::StreamingScalingReport]
6899
+ attr_accessor :streaming_scaling_report
6900
+
6829
6901
  # The timestamp of the worker_message.
6830
6902
  # Corresponds to the JSON property `time`
6831
6903
  # @return [String]
@@ -6882,6 +6954,7 @@ module Google
6882
6954
  def update!(**args)
6883
6955
  @data_sampling_report = args[:data_sampling_report] if args.key?(:data_sampling_report)
6884
6956
  @labels = args[:labels] if args.key?(:labels)
6957
+ @streaming_scaling_report = args[:streaming_scaling_report] if args.key?(:streaming_scaling_report)
6885
6958
  @time = args[:time] if args.key?(:time)
6886
6959
  @worker_health_report = args[:worker_health_report] if args.key?(:worker_health_report)
6887
6960
  @worker_lifecycle_event = args[:worker_lifecycle_event] if args.key?(:worker_lifecycle_event)
@@ -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.46.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231112"
25
+ REVISION = "20231217"
26
26
  end
27
27
  end
28
28
  end
@@ -892,6 +892,12 @@ module Google
892
892
  include Google::Apis::Core::JsonObjectSupport
893
893
  end
894
894
 
895
+ class StreamingScalingReport
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
895
901
  class StreamingSetupTask
896
902
  class Representation < Google::Apis::Core::JsonRepresentation; end
897
903
 
@@ -1416,6 +1422,7 @@ module Google
1416
1422
  property :service_kms_key_name, as: 'serviceKmsKeyName'
1417
1423
  collection :service_options, as: 'serviceOptions'
1418
1424
  property :shuffle_mode, as: 'shuffleMode'
1425
+ property :streaming_mode, as: 'streamingMode'
1419
1426
  property :temp_storage_prefix, as: 'tempStoragePrefix'
1420
1427
  property :use_streaming_engine_resource_based_billing, as: 'useStreamingEngineResourceBasedBilling'
1421
1428
  hash :user_agent, as: 'userAgent'
@@ -2200,6 +2207,7 @@ module Google
2200
2207
  class Representation < Google::Apis::Core::JsonRepresentation
2201
2208
  property :max_num_workers, as: 'maxNumWorkers'
2202
2209
  property :min_num_workers, as: 'minNumWorkers'
2210
+ property :worker_utilization_hint, as: 'workerUtilizationHint'
2203
2211
  end
2204
2212
  end
2205
2213
 
@@ -2647,6 +2655,18 @@ module Google
2647
2655
  end
2648
2656
  end
2649
2657
 
2658
+ class StreamingScalingReport
2659
+ # @private
2660
+ class Representation < Google::Apis::Core::JsonRepresentation
2661
+ property :active_bundle_count, as: 'activeBundleCount'
2662
+ property :active_thread_count, as: 'activeThreadCount'
2663
+ property :maximum_bundle_count, as: 'maximumBundleCount'
2664
+ property :maximum_bytes_count, as: 'maximumBytesCount'
2665
+ property :maximum_thread_count, as: 'maximumThreadCount'
2666
+ property :outstanding_bytes_count, as: 'outstandingBytesCount'
2667
+ end
2668
+ end
2669
+
2650
2670
  class StreamingSetupTask
2651
2671
  # @private
2652
2672
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2906,6 +2926,8 @@ module Google
2906
2926
  property :data_sampling_report, as: 'dataSamplingReport', class: Google::Apis::DataflowV1b3::DataSamplingReport, decorator: Google::Apis::DataflowV1b3::DataSamplingReport::Representation
2907
2927
 
2908
2928
  hash :labels, as: 'labels'
2929
+ property :streaming_scaling_report, as: 'streamingScalingReport', class: Google::Apis::DataflowV1b3::StreamingScalingReport, decorator: Google::Apis::DataflowV1b3::StreamingScalingReport::Representation
2930
+
2909
2931
  property :time, as: 'time'
2910
2932
  property :worker_health_report, as: 'workerHealthReport', class: Google::Apis::DataflowV1b3::WorkerHealthReport, decorator: Google::Apis::DataflowV1b3::WorkerHealthReport::Representation
2911
2933
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataflow_v1b3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.0
4
+ version: 0.48.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-19 00:00:00.000000000 Z
11
+ date: 2023-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataflow_v1b3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataflow_v1b3/v0.46.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataflow_v1b3/v0.48.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataflow_v1b3
63
63
  post_install_message:
64
64
  rdoc_options: []