google-apis-dataflow_v1b3 0.42.0 → 0.44.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: dc4e10608d38b0be729cf8e9a67ed19fdb9de04d4f5411b59e060d9c5c8551a7
4
- data.tar.gz: c78d35ae9228b8705494d51b47b6de08102a17a42a854d7987e491526e7edb6c
3
+ metadata.gz: c0755b1317352b7c4daa29272f352d2c68eb915141162c36b1fb9dc1cad07a55
4
+ data.tar.gz: 8b4beea3b521b96f9cae8be0758c630486d8263f1a190e8483214f747c1db362
5
5
  SHA512:
6
- metadata.gz: 6e99413f287e6913e1e4fea0791fa3ec81cad71221c938a2f6b4b3df9a977970ee4660365f422abbbdcd15e84675d8255dd2802515881a6aa5e3c9117e40f144
7
- data.tar.gz: 5a9160059b2ad4376afe63be1c93c5186872b397e420e8839760c0be46385de668a34ed3f3f6409c0fad99cde06e23340e71320d52e35b60172dbbd1fd7f23bf
6
+ metadata.gz: e4d5ae0ab7c321b8064d00eafb62ad0257b46fa47377ecafe309feda63e45e9e4d252593943aaa5e3a04d18c196587d3f29666a27803b642433e57d20dba0b34
7
+ data.tar.gz: e352c32edf9ef7b2fdbdbaa13aadca4707b805b3752fd759f3ec0e1fe3a673aa4ae65073d4a4d1416188e5cb14017155938ddbe67534d5cc0366c5f77170cccb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dataflow_v1b3
2
2
 
3
+ ### v0.44.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230902
6
+
7
+ ### v0.43.0 (2023-08-06)
8
+
9
+ * Regenerated from discovery document revision 20230729
10
+
3
11
  ### v0.42.0 (2023-07-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230703
@@ -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)
@@ -3404,6 +3500,13 @@ module Google
3404
3500
  # @return [Hash<String,String>]
3405
3501
  attr_accessor :custom_metadata
3406
3502
 
3503
+ # Optional. The default values will pre-populate the parameter with the given
3504
+ # value from the proto. If default_value is left empty, the parameter will be
3505
+ # populated with a default of the relevant type, e.g. false for a boolean.
3506
+ # Corresponds to the JSON property `defaultValue`
3507
+ # @return [String]
3508
+ attr_accessor :default_value
3509
+
3407
3510
  # Optional. The options shown when ENUM ParameterType is specified.
3408
3511
  # Corresponds to the JSON property `enumOptions`
3409
3512
  # @return [Array<Google::Apis::DataflowV1b3::ParameterMetadataEnumOption>]
@@ -3469,6 +3572,7 @@ module Google
3469
3572
  # Update properties of this object
3470
3573
  def update!(**args)
3471
3574
  @custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
3575
+ @default_value = args[:default_value] if args.key?(:default_value)
3472
3576
  @enum_options = args[:enum_options] if args.key?(:enum_options)
3473
3577
  @group_name = args[:group_name] if args.key?(:group_name)
3474
3578
  @help_text = args[:help_text] if args.key?(:help_text)
@@ -4229,6 +4333,37 @@ module Google
4229
4333
  end
4230
4334
  end
4231
4335
 
4336
+ # A bug found in the Dataflow SDK.
4337
+ class SdkBug
4338
+ include Google::Apis::Core::Hashable
4339
+
4340
+ # Output only. How severe the SDK bug is.
4341
+ # Corresponds to the JSON property `severity`
4342
+ # @return [String]
4343
+ attr_accessor :severity
4344
+
4345
+ # Output only. Describes the impact of this SDK bug.
4346
+ # Corresponds to the JSON property `type`
4347
+ # @return [String]
4348
+ attr_accessor :type
4349
+
4350
+ # Output only. Link to more information on the bug.
4351
+ # Corresponds to the JSON property `uri`
4352
+ # @return [String]
4353
+ attr_accessor :uri
4354
+
4355
+ def initialize(**args)
4356
+ update!(**args)
4357
+ end
4358
+
4359
+ # Update properties of this object
4360
+ def update!(**args)
4361
+ @severity = args[:severity] if args.key?(:severity)
4362
+ @type = args[:type] if args.key?(:type)
4363
+ @uri = args[:uri] if args.key?(:uri)
4364
+ end
4365
+ end
4366
+
4232
4367
  # Defines an SDK harness container for executing Dataflow pipelines.
4233
4368
  class SdkHarnessContainerImage
4234
4369
  include Google::Apis::Core::Hashable
@@ -4278,6 +4413,11 @@ module Google
4278
4413
  class SdkVersion
4279
4414
  include Google::Apis::Core::Hashable
4280
4415
 
4416
+ # Output only. Known bugs found in this SDK version.
4417
+ # Corresponds to the JSON property `bugs`
4418
+ # @return [Array<Google::Apis::DataflowV1b3::SdkBug>]
4419
+ attr_accessor :bugs
4420
+
4281
4421
  # The support status for this SDK version.
4282
4422
  # Corresponds to the JSON property `sdkSupportStatus`
4283
4423
  # @return [String]
@@ -4299,6 +4439,7 @@ module Google
4299
4439
 
4300
4440
  # Update properties of this object
4301
4441
  def update!(**args)
4442
+ @bugs = args[:bugs] if args.key?(:bugs)
4302
4443
  @sdk_support_status = args[:sdk_support_status] if args.key?(:sdk_support_status)
4303
4444
  @version = args[:version] if args.key?(:version)
4304
4445
  @version_display_name = args[:version_display_name] if args.key?(:version_display_name)
@@ -6660,6 +6801,11 @@ module Google
6660
6801
  class WorkerMessage
6661
6802
  include Google::Apis::Core::Hashable
6662
6803
 
6804
+ # Contains per-worker telemetry about the data sampling feature.
6805
+ # Corresponds to the JSON property `dataSamplingReport`
6806
+ # @return [Google::Apis::DataflowV1b3::DataSamplingReport]
6807
+ attr_accessor :data_sampling_report
6808
+
6663
6809
  # Labels are used to group WorkerMessages. For example, a worker_message about a
6664
6810
  # particular container might have the labels: ` "JOB_ID": "2015-04-22", "
6665
6811
  # WORKER_ID": "wordcount-vm-2015…" "CONTAINER_TYPE": "worker", "CONTAINER_ID": "
@@ -6724,6 +6870,7 @@ module Google
6724
6870
 
6725
6871
  # Update properties of this object
6726
6872
  def update!(**args)
6873
+ @data_sampling_report = args[:data_sampling_report] if args.key?(:data_sampling_report)
6727
6874
  @labels = args[:labels] if args.key?(:labels)
6728
6875
  @time = args[:time] if args.key?(:time)
6729
6876
  @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.42.0"
19
+ GEM_VERSION = "0.44.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 = "20230703"
25
+ REVISION = "20230902"
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
@@ -1953,6 +1994,7 @@ module Google
1953
1994
  # @private
1954
1995
  class Representation < Google::Apis::Core::JsonRepresentation
1955
1996
  hash :custom_metadata, as: 'customMetadata'
1997
+ property :default_value, as: 'defaultValue'
1956
1998
  collection :enum_options, as: 'enumOptions', class: Google::Apis::DataflowV1b3::ParameterMetadataEnumOption, decorator: Google::Apis::DataflowV1b3::ParameterMetadataEnumOption::Representation
1957
1999
 
1958
2000
  property :group_name, as: 'groupName'
@@ -2168,6 +2210,15 @@ module Google
2168
2210
  end
2169
2211
  end
2170
2212
 
2213
+ class SdkBug
2214
+ # @private
2215
+ class Representation < Google::Apis::Core::JsonRepresentation
2216
+ property :severity, as: 'severity'
2217
+ property :type, as: 'type'
2218
+ property :uri, as: 'uri'
2219
+ end
2220
+ end
2221
+
2171
2222
  class SdkHarnessContainerImage
2172
2223
  # @private
2173
2224
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2181,6 +2232,8 @@ module Google
2181
2232
  class SdkVersion
2182
2233
  # @private
2183
2234
  class Representation < Google::Apis::Core::JsonRepresentation
2235
+ collection :bugs, as: 'bugs', class: Google::Apis::DataflowV1b3::SdkBug, decorator: Google::Apis::DataflowV1b3::SdkBug::Representation
2236
+
2184
2237
  property :sdk_support_status, as: 'sdkSupportStatus'
2185
2238
  property :version, as: 'version'
2186
2239
  property :version_display_name, as: 'versionDisplayName'
@@ -2849,6 +2902,8 @@ module Google
2849
2902
  class WorkerMessage
2850
2903
  # @private
2851
2904
  class Representation < Google::Apis::Core::JsonRepresentation
2905
+ property :data_sampling_report, as: 'dataSamplingReport', class: Google::Apis::DataflowV1b3::DataSamplingReport, decorator: Google::Apis::DataflowV1b3::DataSamplingReport::Representation
2906
+
2852
2907
  hash :labels, as: 'labels'
2853
2908
  property :time, as: 'time'
2854
2909
  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.42.0
4
+ version: 0.44.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-07-16 00:00:00.000000000 Z
11
+ date: 2023-09-10 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.42.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataflow_v1b3/v0.44.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dataflow API V1b3