google-apis-dataflow_v1b3 0.61.0 → 0.63.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: 4db9e790ef0ff93bdf8f1a4db92efb68e4ebe6bcef09cc88d4220114aef39736
4
- data.tar.gz: 02a9ac8fb4f62c2ad036c9d636a98f13d00684c9117df35fd8712d0d23a2cca3
3
+ metadata.gz: a22e80f3219a59655f807a8cb0b0de54d240bdaf4f600305d5722443a11debe7
4
+ data.tar.gz: 48a68c694b1d0489c0e57a99f9949026a37680af7432ff9c8c7232cb6d5d99b8
5
5
  SHA512:
6
- metadata.gz: c2f1a864735d5758980a60edbfbf0ecabe0f4eda6ad4e67438971b8ec34592cf0379e91999d90bbe632a2d95bf195e7e8be8fab50713a48d391093c05172c280
7
- data.tar.gz: 7013c5defa63f3883fc1e756d1e27449a9de2b15e03bc4afe2edb1dc401bd7f8b924ffe32fee3af563f0df515d8d52f98927480c933e30e966788e1f549198da
6
+ metadata.gz: 65137fe5bc31c3b7560698ff1651248be8a440f6dc060c1f391b99b2647df09ba9b32307873b01e47341d19acca12f2cc20e027876146e6bedb3a657400d3268
7
+ data.tar.gz: 0dcd71341b472d33aa02769fd31c097d609d96a618ecd2c57819f9d8a2d9ee5bdf68c6caa8ae8b7d0f2169260ce344dd50d76d6d64f1aba9e89c845244797d06
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dataflow_v1b3
2
2
 
3
+ ### v0.63.0 (2024-12-15)
4
+
5
+ * Regenerated from discovery document revision 20241209
6
+
7
+ ### v0.62.0 (2024-11-03)
8
+
9
+ * Regenerated from discovery document revision 20241028
10
+
3
11
  ### v0.61.0 (2024-10-20)
4
12
 
5
13
  * Regenerated from discovery document revision 20241014
@@ -996,6 +996,31 @@ module Google
996
996
  end
997
997
  end
998
998
 
999
+ # The gauge value of a metric.
1000
+ class DataflowGaugeValue
1001
+ include Google::Apis::Core::Hashable
1002
+
1003
+ # The timestamp when the gauge was recorded.
1004
+ # Corresponds to the JSON property `measuredTime`
1005
+ # @return [String]
1006
+ attr_accessor :measured_time
1007
+
1008
+ # The value of the gauge.
1009
+ # Corresponds to the JSON property `value`
1010
+ # @return [Fixnum]
1011
+ attr_accessor :value
1012
+
1013
+ def initialize(**args)
1014
+ update!(**args)
1015
+ end
1016
+
1017
+ # Update properties of this object
1018
+ def update!(**args)
1019
+ @measured_time = args[:measured_time] if args.key?(:measured_time)
1020
+ @value = args[:value] if args.key?(:value)
1021
+ end
1022
+ end
1023
+
999
1024
  # Summary statistics for a population of values. HistogramValue contains a
1000
1025
  # sequence of buckets and gives a count of values that fall into each bucket.
1001
1026
  # Bucket boundares are defined by a formula and bucket widths are either fixed
@@ -1920,6 +1945,51 @@ module Google
1920
1945
  end
1921
1946
  end
1922
1947
 
1948
+ # Information about the GPU usage on the worker.
1949
+ class GpuUsage
1950
+ include Google::Apis::Core::Hashable
1951
+
1952
+ # Required. Timestamp of the measurement.
1953
+ # Corresponds to the JSON property `timestamp`
1954
+ # @return [String]
1955
+ attr_accessor :timestamp
1956
+
1957
+ # Utilization details about the GPU.
1958
+ # Corresponds to the JSON property `utilization`
1959
+ # @return [Google::Apis::DataflowV1b3::GpuUtilization]
1960
+ attr_accessor :utilization
1961
+
1962
+ def initialize(**args)
1963
+ update!(**args)
1964
+ end
1965
+
1966
+ # Update properties of this object
1967
+ def update!(**args)
1968
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
1969
+ @utilization = args[:utilization] if args.key?(:utilization)
1970
+ end
1971
+ end
1972
+
1973
+ # Utilization details about the GPU.
1974
+ class GpuUtilization
1975
+ include Google::Apis::Core::Hashable
1976
+
1977
+ # Required. GPU utilization rate of any kernel over the last sample period in
1978
+ # the range of [0, 1].
1979
+ # Corresponds to the JSON property `rate`
1980
+ # @return [Float]
1981
+ attr_accessor :rate
1982
+
1983
+ def initialize(**args)
1984
+ update!(**args)
1985
+ end
1986
+
1987
+ # Update properties of this object
1988
+ def update!(**args)
1989
+ @rate = args[:rate] if args.key?(:rate)
1990
+ end
1991
+ end
1992
+
1923
1993
  # Request to get updated debug configuration for component.
1924
1994
  class GetDebugConfigRequest
1925
1995
  include Google::Apis::Core::Hashable
@@ -3448,6 +3518,11 @@ module Google
3448
3518
  # @return [Hash<String,String>]
3449
3519
  attr_accessor :metric_labels
3450
3520
 
3521
+ # The gauge value of a metric.
3522
+ # Corresponds to the JSON property `valueGauge64`
3523
+ # @return [Google::Apis::DataflowV1b3::DataflowGaugeValue]
3524
+ attr_accessor :value_gauge64
3525
+
3451
3526
  # Summary statistics for a population of values. HistogramValue contains a
3452
3527
  # sequence of buckets and gives a count of values that fall into each bucket.
3453
3528
  # Bucket boundares are defined by a formula and bucket widths are either fixed
@@ -3469,6 +3544,7 @@ module Google
3469
3544
  def update!(**args)
3470
3545
  @metric = args[:metric] if args.key?(:metric)
3471
3546
  @metric_labels = args[:metric_labels] if args.key?(:metric_labels)
3547
+ @value_gauge64 = args[:value_gauge64] if args.key?(:value_gauge64)
3472
3548
  @value_histogram = args[:value_histogram] if args.key?(:value_histogram)
3473
3549
  @value_int64 = args[:value_int64] if args.key?(:value_int64)
3474
3550
  end
@@ -4399,6 +4475,11 @@ module Google
4399
4475
  # @return [Array<Google::Apis::DataflowV1b3::CpuTime>]
4400
4476
  attr_accessor :cpu_time
4401
4477
 
4478
+ # Optional. GPU usage samples.
4479
+ # Corresponds to the JSON property `gpuUsage`
4480
+ # @return [Array<Google::Apis::DataflowV1b3::GpuUsage>]
4481
+ attr_accessor :gpu_usage
4482
+
4402
4483
  # Memory utilization samples.
4403
4484
  # Corresponds to the JSON property `memoryInfo`
4404
4485
  # @return [Array<Google::Apis::DataflowV1b3::MemInfo>]
@@ -4412,6 +4493,7 @@ module Google
4412
4493
  def update!(**args)
4413
4494
  @containers = args[:containers] if args.key?(:containers)
4414
4495
  @cpu_time = args[:cpu_time] if args.key?(:cpu_time)
4496
+ @gpu_usage = args[:gpu_usage] if args.key?(:gpu_usage)
4415
4497
  @memory_info = args[:memory_info] if args.key?(:memory_info)
4416
4498
  end
4417
4499
  end
@@ -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.61.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241014"
25
+ REVISION = "20241209"
26
26
  end
27
27
  end
28
28
  end
@@ -166,6 +166,12 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class DataflowGaugeValue
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
169
175
  class DataflowHistogramValue
170
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
177
 
@@ -274,6 +280,18 @@ module Google
274
280
  include Google::Apis::Core::JsonObjectSupport
275
281
  end
276
282
 
283
+ class GpuUsage
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GpuUtilization
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
277
295
  class GetDebugConfigRequest
278
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
297
 
@@ -1405,6 +1423,14 @@ module Google
1405
1423
  end
1406
1424
  end
1407
1425
 
1426
+ class DataflowGaugeValue
1427
+ # @private
1428
+ class Representation < Google::Apis::Core::JsonRepresentation
1429
+ property :measured_time, as: 'measuredTime'
1430
+ property :value, :numeric_string => true, as: 'value'
1431
+ end
1432
+ end
1433
+
1408
1434
  class DataflowHistogramValue
1409
1435
  # @private
1410
1436
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1626,6 +1652,22 @@ module Google
1626
1652
  end
1627
1653
  end
1628
1654
 
1655
+ class GpuUsage
1656
+ # @private
1657
+ class Representation < Google::Apis::Core::JsonRepresentation
1658
+ property :timestamp, as: 'timestamp'
1659
+ property :utilization, as: 'utilization', class: Google::Apis::DataflowV1b3::GpuUtilization, decorator: Google::Apis::DataflowV1b3::GpuUtilization::Representation
1660
+
1661
+ end
1662
+ end
1663
+
1664
+ class GpuUtilization
1665
+ # @private
1666
+ class Representation < Google::Apis::Core::JsonRepresentation
1667
+ property :rate, as: 'rate'
1668
+ end
1669
+ end
1670
+
1629
1671
  class GetDebugConfigRequest
1630
1672
  # @private
1631
1673
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2039,6 +2081,8 @@ module Google
2039
2081
  class Representation < Google::Apis::Core::JsonRepresentation
2040
2082
  property :metric, as: 'metric'
2041
2083
  hash :metric_labels, as: 'metricLabels'
2084
+ property :value_gauge64, as: 'valueGauge64', class: Google::Apis::DataflowV1b3::DataflowGaugeValue, decorator: Google::Apis::DataflowV1b3::DataflowGaugeValue::Representation
2085
+
2042
2086
  property :value_histogram, as: 'valueHistogram', class: Google::Apis::DataflowV1b3::DataflowHistogramValue, decorator: Google::Apis::DataflowV1b3::DataflowHistogramValue::Representation
2043
2087
 
2044
2088
  property :value_int64, :numeric_string => true, as: 'valueInt64'
@@ -2308,6 +2352,8 @@ module Google
2308
2352
 
2309
2353
  collection :cpu_time, as: 'cpuTime', class: Google::Apis::DataflowV1b3::CpuTime, decorator: Google::Apis::DataflowV1b3::CpuTime::Representation
2310
2354
 
2355
+ collection :gpu_usage, as: 'gpuUsage', class: Google::Apis::DataflowV1b3::GpuUsage, decorator: Google::Apis::DataflowV1b3::GpuUsage::Representation
2356
+
2311
2357
  collection :memory_info, as: 'memoryInfo', class: Google::Apis::DataflowV1b3::MemInfo, decorator: Google::Apis::DataflowV1b3::MemInfo::Representation
2312
2358
 
2313
2359
  end
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.61.0
4
+ version: 0.63.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: 2024-10-27 00:00:00.000000000 Z
11
+ date: 2024-12-15 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.61.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataflow_v1b3/v0.63.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.5.21
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dataflow API V1b3