google-apis-dataflow_v1b3 0.41.0 → 0.43.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f86067976f4320c134bb565f1e94c97d94d2c9aadcfb8388ae36c5a6d4d1e4b7
4
- data.tar.gz: 495a676de103909f4108079414ce542e66f4c439aa5206c98e2a042de0e86ac2
3
+ metadata.gz: 9fe0e4c6546a9b04e0c93ebcb23eef220722fa47083fff48dabe77dc0ee184f1
4
+ data.tar.gz: 314b060a6c72f44506af29849ebea931206154606bc346f9af44118fa0633fe2
5
5
  SHA512:
6
- metadata.gz: 780498f4417f3ad8028bd2776162aa11ac589d27e3aa5f10c695cfda447bd1e32aa08c60f286315817318ec6d067ddf87dda435fcc7293ce66b2a83b272e5ac2
7
- data.tar.gz: c1ec104a94ba227af40642ff5a581027c9f602d3c298988004723ebc9de6efd84b6ab2108a0845d1a755afc21a1cb9fd160cd41ee2a6970552dca7f1086a927d
6
+ metadata.gz: aedd1a8cc9a37bac6f4b6a5631079026eece5c960caa8821b939ff59f40004a03e00bd172923943eb545f5aa2b5720c4119268ed1e0079df28db1aa3df547f49
7
+ data.tar.gz: a86316f0913e001b74fdcec2a4aa05d1a1fd023b3a57798fe83aaa351781eeb2abd3352fcc13e5b6d761c1c601f4064e43dadc077901d0e90a392477320912d1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dataflow_v1b3
2
2
 
3
+ ### v0.43.0 (2023-08-06)
4
+
5
+ * Regenerated from discovery document revision 20230729
6
+
7
+ ### v0.42.0 (2023-07-16)
8
+
9
+ * Regenerated from discovery document revision 20230703
10
+
3
11
  ### v0.41.0 (2023-06-25)
4
12
 
5
13
  * Regenerated from discovery document revision 20230619
@@ -856,6 +856,88 @@ module Google
856
856
  end
857
857
  end
858
858
 
859
+ # Configuration options for sampling elements.
860
+ class DataSamplingConfig
861
+ include Google::Apis::Core::Hashable
862
+
863
+ # List of given sampling behaviors to enable. For example, specifying behaviors =
864
+ # [ALWAYS_ON] samples in-flight elements but does not sample exceptions. Can be
865
+ # used to specify multiple behaviors like, behaviors = [ALWAYS_ON, EXCEPTIONS]
866
+ # for specifying periodic sampling and exception sampling. If DISABLED is in the
867
+ # list, then sampling will be disabled and ignore the other given behaviors.
868
+ # Ordering does not matter.
869
+ # Corresponds to the JSON property `behaviors`
870
+ # @return [Array<String>]
871
+ attr_accessor :behaviors
872
+
873
+ def initialize(**args)
874
+ update!(**args)
875
+ end
876
+
877
+ # Update properties of this object
878
+ def update!(**args)
879
+ @behaviors = args[:behaviors] if args.key?(:behaviors)
880
+ end
881
+ end
882
+
883
+ # Contains per-worker telemetry about the data sampling feature.
884
+ class DataSamplingReport
885
+ include Google::Apis::Core::Hashable
886
+
887
+ # Optional. Delta of bytes written to file from previous report.
888
+ # Corresponds to the JSON property `bytesWrittenDelta`
889
+ # @return [Fixnum]
890
+ attr_accessor :bytes_written_delta
891
+
892
+ # Optional. Delta of bytes sampled from previous report.
893
+ # Corresponds to the JSON property `elementsSampledBytes`
894
+ # @return [Fixnum]
895
+ attr_accessor :elements_sampled_bytes
896
+
897
+ # Optional. Delta of number of elements sampled from previous report.
898
+ # Corresponds to the JSON property `elementsSampledCount`
899
+ # @return [Fixnum]
900
+ attr_accessor :elements_sampled_count
901
+
902
+ # Optional. Delta of number of samples taken from user code exceptions from
903
+ # previous report.
904
+ # Corresponds to the JSON property `exceptionsSampledCount`
905
+ # @return [Fixnum]
906
+ attr_accessor :exceptions_sampled_count
907
+
908
+ # Optional. Delta of number of PCollections sampled from previous report.
909
+ # Corresponds to the JSON property `pcollectionsSampledCount`
910
+ # @return [Fixnum]
911
+ attr_accessor :pcollections_sampled_count
912
+
913
+ # Optional. Delta of errors counts from persisting the samples from previous
914
+ # report.
915
+ # Corresponds to the JSON property `persistenceErrorsCount`
916
+ # @return [Fixnum]
917
+ attr_accessor :persistence_errors_count
918
+
919
+ # Optional. Delta of errors counts from retrieving, or translating the samples
920
+ # from previous report.
921
+ # Corresponds to the JSON property `translationErrorsCount`
922
+ # @return [Fixnum]
923
+ attr_accessor :translation_errors_count
924
+
925
+ def initialize(**args)
926
+ update!(**args)
927
+ end
928
+
929
+ # Update properties of this object
930
+ def update!(**args)
931
+ @bytes_written_delta = args[:bytes_written_delta] if args.key?(:bytes_written_delta)
932
+ @elements_sampled_bytes = args[:elements_sampled_bytes] if args.key?(:elements_sampled_bytes)
933
+ @elements_sampled_count = args[:elements_sampled_count] if args.key?(:elements_sampled_count)
934
+ @exceptions_sampled_count = args[:exceptions_sampled_count] if args.key?(:exceptions_sampled_count)
935
+ @pcollections_sampled_count = args[:pcollections_sampled_count] if args.key?(:pcollections_sampled_count)
936
+ @persistence_errors_count = args[:persistence_errors_count] if args.key?(:persistence_errors_count)
937
+ @translation_errors_count = args[:translation_errors_count] if args.key?(:translation_errors_count)
938
+ end
939
+ end
940
+
859
941
  # Metadata for a Datastore connector used by the job.
860
942
  class DatastoreIoDetails
861
943
  include Google::Apis::Core::Hashable
@@ -885,6 +967,11 @@ module Google
885
967
  class DebugOptions
886
968
  include Google::Apis::Core::Hashable
887
969
 
970
+ # Configuration options for sampling elements.
971
+ # Corresponds to the JSON property `dataSampling`
972
+ # @return [Google::Apis::DataflowV1b3::DataSamplingConfig]
973
+ attr_accessor :data_sampling
974
+
888
975
  # When true, enables the logging of the literal hot key to the user's Cloud
889
976
  # Logging.
890
977
  # Corresponds to the JSON property `enableHotKeyLogging`
@@ -898,6 +985,7 @@ module Google
898
985
 
899
986
  # Update properties of this object
900
987
  def update!(**args)
988
+ @data_sampling = args[:data_sampling] if args.key?(:data_sampling)
901
989
  @enable_hot_key_logging = args[:enable_hot_key_logging] if args.key?(:enable_hot_key_logging)
902
990
  end
903
991
  end
@@ -1249,6 +1337,13 @@ module Google
1249
1337
  # @return [String]
1250
1338
  attr_accessor :temp_storage_prefix
1251
1339
 
1340
+ # Output only. Whether the job uses the new streaming engine billing model based
1341
+ # on resource usage.
1342
+ # Corresponds to the JSON property `useStreamingEngineResourceBasedBilling`
1343
+ # @return [Boolean]
1344
+ attr_accessor :use_streaming_engine_resource_based_billing
1345
+ alias_method :use_streaming_engine_resource_based_billing?, :use_streaming_engine_resource_based_billing
1346
+
1252
1347
  # A description of the process that generated the request.
1253
1348
  # Corresponds to the JSON property `userAgent`
1254
1349
  # @return [Hash<String,Object>]
@@ -1301,6 +1396,7 @@ module Google
1301
1396
  @service_options = args[:service_options] if args.key?(:service_options)
1302
1397
  @shuffle_mode = args[:shuffle_mode] if args.key?(:shuffle_mode)
1303
1398
  @temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix)
1399
+ @use_streaming_engine_resource_based_billing = args[:use_streaming_engine_resource_based_billing] if args.key?(:use_streaming_engine_resource_based_billing)
1304
1400
  @user_agent = args[:user_agent] if args.key?(:user_agent)
1305
1401
  @version = args[:version] if args.key?(:version)
1306
1402
  @worker_pools = args[:worker_pools] if args.key?(:worker_pools)
@@ -4030,6 +4126,12 @@ module Google
4030
4126
  attr_accessor :bypass_temp_dir_validation
4031
4127
  alias_method :bypass_temp_dir_validation?, :bypass_temp_dir_validation
4032
4128
 
4129
+ # Optional. The disk size, in gigabytes, to use on each remote Compute Engine
4130
+ # worker instance.
4131
+ # Corresponds to the JSON property `diskSizeGb`
4132
+ # @return [Fixnum]
4133
+ attr_accessor :disk_size_gb
4134
+
4033
4135
  # Optional. Whether to enable Streaming Engine for the job.
4034
4136
  # Corresponds to the JSON property `enableStreamingEngine`
4035
4137
  # @return [Boolean]
@@ -4127,6 +4229,7 @@ module Google
4127
4229
  @additional_experiments = args[:additional_experiments] if args.key?(:additional_experiments)
4128
4230
  @additional_user_labels = args[:additional_user_labels] if args.key?(:additional_user_labels)
4129
4231
  @bypass_temp_dir_validation = args[:bypass_temp_dir_validation] if args.key?(:bypass_temp_dir_validation)
4232
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
4130
4233
  @enable_streaming_engine = args[:enable_streaming_engine] if args.key?(:enable_streaming_engine)
4131
4234
  @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
4132
4235
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
@@ -4222,6 +4325,37 @@ module Google
4222
4325
  end
4223
4326
  end
4224
4327
 
4328
+ # A bug found in the Dataflow SDK.
4329
+ class SdkBug
4330
+ include Google::Apis::Core::Hashable
4331
+
4332
+ # Output only. How severe the SDK bug is.
4333
+ # Corresponds to the JSON property `severity`
4334
+ # @return [String]
4335
+ attr_accessor :severity
4336
+
4337
+ # Output only. Describes the impact of this SDK bug.
4338
+ # Corresponds to the JSON property `type`
4339
+ # @return [String]
4340
+ attr_accessor :type
4341
+
4342
+ # Output only. Link to more information on the bug.
4343
+ # Corresponds to the JSON property `uri`
4344
+ # @return [String]
4345
+ attr_accessor :uri
4346
+
4347
+ def initialize(**args)
4348
+ update!(**args)
4349
+ end
4350
+
4351
+ # Update properties of this object
4352
+ def update!(**args)
4353
+ @severity = args[:severity] if args.key?(:severity)
4354
+ @type = args[:type] if args.key?(:type)
4355
+ @uri = args[:uri] if args.key?(:uri)
4356
+ end
4357
+ end
4358
+
4225
4359
  # Defines an SDK harness container for executing Dataflow pipelines.
4226
4360
  class SdkHarnessContainerImage
4227
4361
  include Google::Apis::Core::Hashable
@@ -4271,6 +4405,11 @@ module Google
4271
4405
  class SdkVersion
4272
4406
  include Google::Apis::Core::Hashable
4273
4407
 
4408
+ # Output only. Known bugs found in this SDK version.
4409
+ # Corresponds to the JSON property `bugs`
4410
+ # @return [Array<Google::Apis::DataflowV1b3::SdkBug>]
4411
+ attr_accessor :bugs
4412
+
4274
4413
  # The support status for this SDK version.
4275
4414
  # Corresponds to the JSON property `sdkSupportStatus`
4276
4415
  # @return [String]
@@ -4292,6 +4431,7 @@ module Google
4292
4431
 
4293
4432
  # Update properties of this object
4294
4433
  def update!(**args)
4434
+ @bugs = args[:bugs] if args.key?(:bugs)
4295
4435
  @sdk_support_status = args[:sdk_support_status] if args.key?(:sdk_support_status)
4296
4436
  @version = args[:version] if args.key?(:version)
4297
4437
  @version_display_name = args[:version_display_name] if args.key?(:version_display_name)
@@ -6653,6 +6793,11 @@ module Google
6653
6793
  class WorkerMessage
6654
6794
  include Google::Apis::Core::Hashable
6655
6795
 
6796
+ # Contains per-worker telemetry about the data sampling feature.
6797
+ # Corresponds to the JSON property `dataSamplingReport`
6798
+ # @return [Google::Apis::DataflowV1b3::DataSamplingReport]
6799
+ attr_accessor :data_sampling_report
6800
+
6656
6801
  # Labels are used to group WorkerMessages. For example, a worker_message about a
6657
6802
  # particular container might have the labels: ` "JOB_ID": "2015-04-22", "
6658
6803
  # WORKER_ID": "wordcount-vm-2015…" "CONTAINER_TYPE": "worker", "CONTAINER_ID": "
@@ -6717,6 +6862,7 @@ module Google
6717
6862
 
6718
6863
  # Update properties of this object
6719
6864
  def update!(**args)
6865
+ @data_sampling_report = args[:data_sampling_report] if args.key?(:data_sampling_report)
6720
6866
  @labels = args[:labels] if args.key?(:labels)
6721
6867
  @time = args[:time] if args.key?(:time)
6722
6868
  @worker_health_report = args[:worker_health_report] if args.key?(:worker_health_report)
@@ -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.41.0"
19
+ GEM_VERSION = "0.43.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 = "20230619"
25
+ REVISION = "20230729"
26
26
  end
27
27
  end
28
28
  end
@@ -142,6 +142,18 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class DataSamplingConfig
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class DataSamplingReport
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
145
157
  class DatastoreIoDetails
146
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
159
 
@@ -622,6 +634,12 @@ module Google
622
634
  include Google::Apis::Core::JsonObjectSupport
623
635
  end
624
636
 
637
+ class SdkBug
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
625
643
  class SdkHarnessContainerImage
626
644
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
645
 
@@ -1277,6 +1295,26 @@ module Google
1277
1295
  end
1278
1296
  end
1279
1297
 
1298
+ class DataSamplingConfig
1299
+ # @private
1300
+ class Representation < Google::Apis::Core::JsonRepresentation
1301
+ collection :behaviors, as: 'behaviors'
1302
+ end
1303
+ end
1304
+
1305
+ class DataSamplingReport
1306
+ # @private
1307
+ class Representation < Google::Apis::Core::JsonRepresentation
1308
+ property :bytes_written_delta, :numeric_string => true, as: 'bytesWrittenDelta'
1309
+ property :elements_sampled_bytes, :numeric_string => true, as: 'elementsSampledBytes'
1310
+ property :elements_sampled_count, :numeric_string => true, as: 'elementsSampledCount'
1311
+ property :exceptions_sampled_count, :numeric_string => true, as: 'exceptionsSampledCount'
1312
+ property :pcollections_sampled_count, :numeric_string => true, as: 'pcollectionsSampledCount'
1313
+ property :persistence_errors_count, :numeric_string => true, as: 'persistenceErrorsCount'
1314
+ property :translation_errors_count, :numeric_string => true, as: 'translationErrorsCount'
1315
+ end
1316
+ end
1317
+
1280
1318
  class DatastoreIoDetails
1281
1319
  # @private
1282
1320
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1288,6 +1326,8 @@ module Google
1288
1326
  class DebugOptions
1289
1327
  # @private
1290
1328
  class Representation < Google::Apis::Core::JsonRepresentation
1329
+ property :data_sampling, as: 'dataSampling', class: Google::Apis::DataflowV1b3::DataSamplingConfig, decorator: Google::Apis::DataflowV1b3::DataSamplingConfig::Representation
1330
+
1291
1331
  property :enable_hot_key_logging, as: 'enableHotKeyLogging'
1292
1332
  end
1293
1333
  end
@@ -1377,6 +1417,7 @@ module Google
1377
1417
  collection :service_options, as: 'serviceOptions'
1378
1418
  property :shuffle_mode, as: 'shuffleMode'
1379
1419
  property :temp_storage_prefix, as: 'tempStoragePrefix'
1420
+ property :use_streaming_engine_resource_based_billing, as: 'useStreamingEngineResourceBasedBilling'
1380
1421
  hash :user_agent, as: 'userAgent'
1381
1422
  hash :version, as: 'version'
1382
1423
  collection :worker_pools, as: 'workerPools', class: Google::Apis::DataflowV1b3::WorkerPool, decorator: Google::Apis::DataflowV1b3::WorkerPool::Representation
@@ -2125,6 +2166,7 @@ module Google
2125
2166
  collection :additional_experiments, as: 'additionalExperiments'
2126
2167
  hash :additional_user_labels, as: 'additionalUserLabels'
2127
2168
  property :bypass_temp_dir_validation, as: 'bypassTempDirValidation'
2169
+ property :disk_size_gb, as: 'diskSizeGb'
2128
2170
  property :enable_streaming_engine, as: 'enableStreamingEngine'
2129
2171
  property :ip_configuration, as: 'ipConfiguration'
2130
2172
  property :kms_key_name, as: 'kmsKeyName'
@@ -2167,6 +2209,15 @@ module Google
2167
2209
  end
2168
2210
  end
2169
2211
 
2212
+ class SdkBug
2213
+ # @private
2214
+ class Representation < Google::Apis::Core::JsonRepresentation
2215
+ property :severity, as: 'severity'
2216
+ property :type, as: 'type'
2217
+ property :uri, as: 'uri'
2218
+ end
2219
+ end
2220
+
2170
2221
  class SdkHarnessContainerImage
2171
2222
  # @private
2172
2223
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2180,6 +2231,8 @@ module Google
2180
2231
  class SdkVersion
2181
2232
  # @private
2182
2233
  class Representation < Google::Apis::Core::JsonRepresentation
2234
+ collection :bugs, as: 'bugs', class: Google::Apis::DataflowV1b3::SdkBug, decorator: Google::Apis::DataflowV1b3::SdkBug::Representation
2235
+
2183
2236
  property :sdk_support_status, as: 'sdkSupportStatus'
2184
2237
  property :version, as: 'version'
2185
2238
  property :version_display_name, as: 'versionDisplayName'
@@ -2848,6 +2901,8 @@ module Google
2848
2901
  class WorkerMessage
2849
2902
  # @private
2850
2903
  class Representation < Google::Apis::Core::JsonRepresentation
2904
+ property :data_sampling_report, as: 'dataSamplingReport', class: Google::Apis::DataflowV1b3::DataSamplingReport, decorator: Google::Apis::DataflowV1b3::DataSamplingReport::Representation
2905
+
2851
2906
  hash :labels, as: 'labels'
2852
2907
  property :time, as: 'time'
2853
2908
  property :worker_health_report, as: 'workerHealthReport', class: Google::Apis::DataflowV1b3::WorkerHealthReport, decorator: Google::Apis::DataflowV1b3::WorkerHealthReport::Representation
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.41.0
4
+ version: 0.43.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-06-25 00:00:00.000000000 Z
11
+ date: 2023-08-06 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.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataflow_v1b3/v0.43.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: []