google-apis-dataflow_v1b3 0.60.0 → 0.62.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: 72e3ff3d56fb03691038e4c0987433c5ca976d89e23676d66458b020e3c00da3
4
- data.tar.gz: 794a7038d3f522a7027624477c0cef8993eccde5eaac764a3e3779bf6e90d1ba
3
+ metadata.gz: 63aa367a23872ed3fc722587d158ee976c10d8a1b9d0052405bf142a8cd3f6a6
4
+ data.tar.gz: 69359940a1fb2a1ab727f1c3c11981cd757025ec27f91e3b294e2b55b6fa291b
5
5
  SHA512:
6
- metadata.gz: cc98b964e666a1fc0be8899590f5f7d27a075ab64fa9c47d463218b46b0653d6e38408db5b48e236ebd24601725fa9d0116b750159ca0ad9d3b97c44533dae11
7
- data.tar.gz: 01627314533cef4ef12baebbf17aa3453c58ccb5da063c4404fd01b4b198e2010b5a18eb2b531ad53d1a97c77ce3f533047f6b1ce08e762b1fb054e74e0611a8
6
+ metadata.gz: 495fe7461fe6862398608155aa15a820b6154c2f5fe35345e0cd2f9436dfa2bd89ed0f926e2e62ab3fa2251bc5a1b4fad24686c0d9d3368d9f355bf1b69af0f1
7
+ data.tar.gz: baae914b849c24ccef85610cba574143918474d22a393b81a3d9538da8d85c6da597e656a821a04ad40e8d1ada81fc44f70141d930d196d17485c2a83bd8bd56
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dataflow_v1b3
2
2
 
3
+ ### v0.62.0 (2024-11-03)
4
+
5
+ * Regenerated from discovery document revision 20241028
6
+
7
+ ### v0.61.0 (2024-10-20)
8
+
9
+ * Regenerated from discovery document revision 20241014
10
+
3
11
  ### v0.60.0 (2024-08-25)
4
12
 
5
13
  * Regenerated from discovery document revision 20240817
@@ -514,7 +514,7 @@ module Google
514
514
  class ContainerSpec
515
515
  include Google::Apis::Core::Hashable
516
516
 
517
- # The environment values to be set at runtime for flex template. LINT.IfChange
517
+ # The environment values to be set at runtime for flex template.
518
518
  # Corresponds to the JSON property `defaultEnvironment`
519
519
  # @return [Google::Apis::DataflowV1b3::FlexTemplateRuntimeEnvironment]
520
520
  attr_accessor :default_environment
@@ -824,7 +824,7 @@ module Google
824
824
  class CreateJobFromTemplateRequest
825
825
  include Google::Apis::Core::Hashable
826
826
 
827
- # The environment values to set at runtime. LINT.IfChange
827
+ # The environment values to set at runtime.
828
828
  # Corresponds to the JSON property `environment`
829
829
  # @return [Google::Apis::DataflowV1b3::RuntimeEnvironment]
830
830
  attr_accessor :environment
@@ -1670,7 +1670,7 @@ module Google
1670
1670
  end
1671
1671
  end
1672
1672
 
1673
- # The environment values to be set at runtime for flex template. LINT.IfChange
1673
+ # The environment values to be set at runtime for flex template.
1674
1674
  class FlexTemplateRuntimeEnvironment
1675
1675
  include Google::Apis::Core::Hashable
1676
1676
 
@@ -1920,6 +1920,51 @@ module Google
1920
1920
  end
1921
1921
  end
1922
1922
 
1923
+ # Information about the GPU usage on the worker.
1924
+ class GpuUsage
1925
+ include Google::Apis::Core::Hashable
1926
+
1927
+ # Required. Timestamp of the measurement.
1928
+ # Corresponds to the JSON property `timestamp`
1929
+ # @return [String]
1930
+ attr_accessor :timestamp
1931
+
1932
+ # Utilization details about the GPU.
1933
+ # Corresponds to the JSON property `utilization`
1934
+ # @return [Google::Apis::DataflowV1b3::GpuUtilization]
1935
+ attr_accessor :utilization
1936
+
1937
+ def initialize(**args)
1938
+ update!(**args)
1939
+ end
1940
+
1941
+ # Update properties of this object
1942
+ def update!(**args)
1943
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
1944
+ @utilization = args[:utilization] if args.key?(:utilization)
1945
+ end
1946
+ end
1947
+
1948
+ # Utilization details about the GPU.
1949
+ class GpuUtilization
1950
+ include Google::Apis::Core::Hashable
1951
+
1952
+ # Required. GPU utilization rate of any kernel over the last sample period in
1953
+ # the range of [0, 1].
1954
+ # Corresponds to the JSON property `rate`
1955
+ # @return [Float]
1956
+ attr_accessor :rate
1957
+
1958
+ def initialize(**args)
1959
+ update!(**args)
1960
+ end
1961
+
1962
+ # Update properties of this object
1963
+ def update!(**args)
1964
+ @rate = args[:rate] if args.key?(:rate)
1965
+ end
1966
+ end
1967
+
1923
1968
  # Request to get updated debug configuration for component.
1924
1969
  class GetDebugConfigRequest
1925
1970
  include Google::Apis::Core::Hashable
@@ -2816,7 +2861,7 @@ module Google
2816
2861
  # @return [String]
2817
2862
  attr_accessor :container_spec_gcs_path
2818
2863
 
2819
- # The environment values to be set at runtime for flex template. LINT.IfChange
2864
+ # The environment values to be set at runtime for flex template.
2820
2865
  # Corresponds to the JSON property `environment`
2821
2866
  # @return [Google::Apis::DataflowV1b3::FlexTemplateRuntimeEnvironment]
2822
2867
  attr_accessor :environment
@@ -2920,7 +2965,7 @@ module Google
2920
2965
  class LaunchTemplateParameters
2921
2966
  include Google::Apis::Core::Hashable
2922
2967
 
2923
- # The environment values to set at runtime. LINT.IfChange
2968
+ # The environment values to set at runtime.
2924
2969
  # Corresponds to the JSON property `environment`
2925
2970
  # @return [Google::Apis::DataflowV1b3::RuntimeEnvironment]
2926
2971
  attr_accessor :environment
@@ -4399,6 +4444,11 @@ module Google
4399
4444
  # @return [Array<Google::Apis::DataflowV1b3::CpuTime>]
4400
4445
  attr_accessor :cpu_time
4401
4446
 
4447
+ # Optional. GPU usage samples.
4448
+ # Corresponds to the JSON property `gpuUsage`
4449
+ # @return [Array<Google::Apis::DataflowV1b3::GpuUsage>]
4450
+ attr_accessor :gpu_usage
4451
+
4402
4452
  # Memory utilization samples.
4403
4453
  # Corresponds to the JSON property `memoryInfo`
4404
4454
  # @return [Array<Google::Apis::DataflowV1b3::MemInfo>]
@@ -4412,6 +4462,7 @@ module Google
4412
4462
  def update!(**args)
4413
4463
  @containers = args[:containers] if args.key?(:containers)
4414
4464
  @cpu_time = args[:cpu_time] if args.key?(:cpu_time)
4465
+ @gpu_usage = args[:gpu_usage] if args.key?(:gpu_usage)
4415
4466
  @memory_info = args[:memory_info] if args.key?(:memory_info)
4416
4467
  end
4417
4468
  end
@@ -4429,7 +4480,7 @@ module Google
4429
4480
  end
4430
4481
  end
4431
4482
 
4432
- # The environment values to set at runtime. LINT.IfChange
4483
+ # The environment values to set at runtime.
4433
4484
  class RuntimeEnvironment
4434
4485
  include Google::Apis::Core::Hashable
4435
4486
 
@@ -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.60.0"
19
+ GEM_VERSION = "0.62.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 = "20240817"
25
+ REVISION = "20241028"
26
26
  end
27
27
  end
28
28
  end
@@ -274,6 +274,18 @@ module Google
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
+ class GpuUsage
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GpuUtilization
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
277
289
  class GetDebugConfigRequest
278
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
291
 
@@ -1626,6 +1638,22 @@ module Google
1626
1638
  end
1627
1639
  end
1628
1640
 
1641
+ class GpuUsage
1642
+ # @private
1643
+ class Representation < Google::Apis::Core::JsonRepresentation
1644
+ property :timestamp, as: 'timestamp'
1645
+ property :utilization, as: 'utilization', class: Google::Apis::DataflowV1b3::GpuUtilization, decorator: Google::Apis::DataflowV1b3::GpuUtilization::Representation
1646
+
1647
+ end
1648
+ end
1649
+
1650
+ class GpuUtilization
1651
+ # @private
1652
+ class Representation < Google::Apis::Core::JsonRepresentation
1653
+ property :rate, as: 'rate'
1654
+ end
1655
+ end
1656
+
1629
1657
  class GetDebugConfigRequest
1630
1658
  # @private
1631
1659
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2308,6 +2336,8 @@ module Google
2308
2336
 
2309
2337
  collection :cpu_time, as: 'cpuTime', class: Google::Apis::DataflowV1b3::CpuTime, decorator: Google::Apis::DataflowV1b3::CpuTime::Representation
2310
2338
 
2339
+ collection :gpu_usage, as: 'gpuUsage', class: Google::Apis::DataflowV1b3::GpuUsage, decorator: Google::Apis::DataflowV1b3::GpuUsage::Representation
2340
+
2311
2341
  collection :memory_info, as: 'memoryInfo', class: Google::Apis::DataflowV1b3::MemInfo, decorator: Google::Apis::DataflowV1b3::MemInfo::Representation
2312
2342
 
2313
2343
  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.60.0
4
+ version: 0.62.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-08-25 00:00:00.000000000 Z
11
+ date: 2024-11-03 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.60.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataflow_v1b3/v0.62.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.6
78
+ rubygems_version: 3.5.21
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dataflow API V1b3