google-apis-run_v1 0.113.0 → 0.115.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: 8a92a04e676cf1f84469f016be935c4a4f9cca6c6486ddb8277aa46d2bedf783
4
- data.tar.gz: 63b6fe1fcfcabc48c61c8f11b340da055685c42b982b61e07ba2faae5919f4f4
3
+ metadata.gz: 39af844a495fa00ecc57b19f193ee677af7253adf2651a5343d02d47c8b1845a
4
+ data.tar.gz: d6e93d8bd2f6b8a1b78e7ff339dc21c883df362295ba21a597fc117f5ed992ee
5
5
  SHA512:
6
- metadata.gz: f73db041146807af193cf5f39a34b7b41b9189af7fd1b48ced3baf96dca4ce1e35276646661634c3cbe1968c030a3c8b8887d6beecc1ffbd8bfc3e4d34f65f6d
7
- data.tar.gz: d6837bde947cdac57b7a8056d90d10f5c930559744e57f5c8ecd591cf9f3603c7fb52e57c59687ca6ed3b5ac5757f9f7d0f1fb0cfa2dbd0c126313911765c539
6
+ metadata.gz: bdd2a88046964735baf8161af3e396444be09fdf983b114accbb574bbbfcfa14001fe19310ece10e83cf5eb8c47f9f00f36ca519b6389f08a3d6f36140d08014
7
+ data.tar.gz: d11174a7c459459c32802e92393af91760c42a181306bc1cabfe0a054b7fd983954c268aa11677db502124673324589bf1e54baa62f40b1e9a4a9d810d8e5680
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-run_v1
2
2
 
3
+ ### v0.115.0 (2026-10-21)
4
+
5
+ * Regenerated from discovery document revision 20261016
6
+ * Regenerated using generator version 0.19.1
7
+
8
+ ### v0.114.0 (2026-09-24)
9
+
10
+ * Regenerated from discovery document revision 20260917
11
+
3
12
  ### v0.113.0 (2026-09-20)
4
13
 
5
14
  * Regenerated from discovery document revision 20260904
@@ -917,15 +917,15 @@ module Google
917
917
  end
918
918
  end
919
919
 
920
- # In memory (tmpfs) ephemeral storage. It is ephemeral in the sense that when
921
- # the sandbox is taken down, the data is destroyed with it (it does not persist
922
- # across sandbox runs).
920
+ # In memory or disk-backed ephemeral storage. It is ephemeral in the sense that
921
+ # when the sandbox is taken down, the data is destroyed with it (it does not
922
+ # persist across sandbox runs).
923
923
  class EmptyDirVolumeSource
924
924
  include Google::Apis::Core::Hashable
925
925
 
926
926
  # The medium on which the data is stored. The default is "" which means to use
927
- # the node's default medium. Must be an empty string (default) or Memory. More
928
- # info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
927
+ # the node's default medium. Must be an empty string (default), `Memory`, or `
928
+ # Disk`. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
929
929
  # Corresponds to the JSON property `medium`
930
930
  # @return [String]
931
931
  attr_accessor :medium
@@ -2029,11 +2029,25 @@ module Google
2029
2029
  # @return [String]
2030
2030
  attr_accessor :pubsub_topic
2031
2031
 
2032
+ # Optional. Ranked list (earlier items have higher priority) of Machine Series
2033
+ # to consider when provisioning Worker VMs. A concrete machine type will be
2034
+ # selected based on machine availability in the given region. This field must be
2035
+ # empty for the Build to be eligible to be paired with a pre-provisioned worker
2036
+ # VM.
2037
+ # Corresponds to the JSON property `rankedMachineSeries`
2038
+ # @return [Array<String>]
2039
+ attr_accessor :ranked_machine_series
2040
+
2032
2041
  # Requested verifiability options.
2033
2042
  # Corresponds to the JSON property `requestedVerifyOption`
2034
2043
  # @return [String]
2035
2044
  attr_accessor :requested_verify_option
2036
2045
 
2046
+ # Output only. Worker release resolved from the release channel.
2047
+ # Corresponds to the JSON property `resolvedWorkerRelease`
2048
+ # @return [String]
2049
+ attr_accessor :resolved_worker_release
2050
+
2037
2051
  # A list of global environment variables, which are encrypted using a Cloud Key
2038
2052
  # Management Service crypto key. These values must be specified in the build's `
2039
2053
  # Secret`. These variables will be available to all build steps in this build.
@@ -2068,6 +2082,12 @@ module Google
2068
2082
  # @return [String]
2069
2083
  attr_accessor :worker_pool
2070
2084
 
2085
+ # Optional. Option to specify which release or release channel (rapid|regular|
2086
+ # stable) to use to run this build.
2087
+ # Corresponds to the JSON property `workerRelease`
2088
+ # @return [String]
2089
+ attr_accessor :worker_release
2090
+
2071
2091
  def initialize(**args)
2072
2092
  update!(**args)
2073
2093
  end
@@ -2085,12 +2105,63 @@ module Google
2085
2105
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2086
2106
  @pool = args[:pool] if args.key?(:pool)
2087
2107
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
2108
+ @ranked_machine_series = args[:ranked_machine_series] if args.key?(:ranked_machine_series)
2088
2109
  @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
2110
+ @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
2089
2111
  @secret_env = args[:secret_env] if args.key?(:secret_env)
2090
2112
  @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
2091
2113
  @substitution_option = args[:substitution_option] if args.key?(:substitution_option)
2092
2114
  @volumes = args[:volumes] if args.key?(:volumes)
2093
2115
  @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
2116
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
2117
+ end
2118
+ end
2119
+
2120
+ # Aggregated/summary metrics over the entire build lifecycle.
2121
+ class GoogleDevtoolsCloudbuildV1BuildResourceUsage
2122
+ include Google::Apis::Core::Hashable
2123
+
2124
+ # Output only. The average CPU utilization ratio across all vCPUs over the
2125
+ # duration of the build, expressed as a fraction in the range [0.0, 1.0].
2126
+ # Corresponds to the JSON property `averageCpuUtilization`
2127
+ # @return [Float]
2128
+ attr_accessor :average_cpu_utilization
2129
+
2130
+ # Output only. The average memory utilization ratio over the duration of the
2131
+ # build, expressed as a fraction in the range [0.0, 1.0].
2132
+ # Corresponds to the JSON property `averageMemoryUtilization`
2133
+ # @return [Float]
2134
+ attr_accessor :average_memory_utilization
2135
+
2136
+ # Output only. The highest CPU utilization ratio across all vCPUs observed over
2137
+ # the duration of the build, expressed as a fraction in the range [0.0, 1.0].
2138
+ # Corresponds to the JSON property `peakCpuUtilization`
2139
+ # @return [Float]
2140
+ attr_accessor :peak_cpu_utilization
2141
+
2142
+ # Output only. The highest memory utilization ratio observed over the duration
2143
+ # of the build, expressed as a fraction in the range [0.0, 1.0].
2144
+ # Corresponds to the JSON property `peakMemoryUtilization`
2145
+ # @return [Float]
2146
+ attr_accessor :peak_memory_utilization
2147
+
2148
+ # Output only. Total CPU execution time consumed across all cores during build
2149
+ # execution.
2150
+ # Corresponds to the JSON property `totalCpuDuration`
2151
+ # @return [String]
2152
+ attr_accessor :total_cpu_duration
2153
+
2154
+ def initialize(**args)
2155
+ update!(**args)
2156
+ end
2157
+
2158
+ # Update properties of this object
2159
+ def update!(**args)
2160
+ @average_cpu_utilization = args[:average_cpu_utilization] if args.key?(:average_cpu_utilization)
2161
+ @average_memory_utilization = args[:average_memory_utilization] if args.key?(:average_memory_utilization)
2162
+ @peak_cpu_utilization = args[:peak_cpu_utilization] if args.key?(:peak_cpu_utilization)
2163
+ @peak_memory_utilization = args[:peak_memory_utilization] if args.key?(:peak_memory_utilization)
2164
+ @total_cpu_duration = args[:total_cpu_duration] if args.key?(:total_cpu_duration)
2094
2165
  end
2095
2166
  end
2096
2167
 
@@ -2509,7 +2580,8 @@ module Google
2509
2580
  class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
2510
2581
  include Google::Apis::Core::Hashable
2511
2582
 
2512
- # Required. Where the artifact files should be placed on the worker.
2583
+ # Optional. Where the artifact files should be placed on the worker. Required
2584
+ # when specified in `Build.dependencies`.
2513
2585
  # Corresponds to the JSON property `destPath`
2514
2586
  # @return [String]
2515
2587
  attr_accessor :dest_path
@@ -2940,6 +3012,18 @@ module Google
2940
3012
  # @return [String]
2941
3013
  attr_accessor :name
2942
3014
 
3015
+ # Output only. OUTPUT_ONLY. Worker release resolved from the release channel.
3016
+ # Corresponds to the JSON property `resolvedWorkerRelease`
3017
+ # @return [String]
3018
+ attr_accessor :resolved_worker_release
3019
+
3020
+ # Output only. OUTPUT_ONLY. The release or release channel used to run the Build.
3021
+ # This is set to the same value as `PrivatePoolV1Config.WorkerConfig.
3022
+ # worker_release` for the UI to easily access.
3023
+ # Corresponds to the JSON property `workerRelease`
3024
+ # @return [String]
3025
+ attr_accessor :worker_release
3026
+
2943
3027
  def initialize(**args)
2944
3028
  update!(**args)
2945
3029
  end
@@ -2947,6 +3031,8 @@ module Google
2947
3031
  # Update properties of this object
2948
3032
  def update!(**args)
2949
3033
  @name = args[:name] if args.key?(:name)
3034
+ @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
3035
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
2950
3036
  end
2951
3037
  end
2952
3038
 
@@ -3123,6 +3209,11 @@ module Google
3123
3209
  # @return [Array<Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedPythonPackage>]
3124
3210
  attr_accessor :python_packages
3125
3211
 
3212
+ # Aggregated/summary metrics over the entire build lifecycle.
3213
+ # Corresponds to the JSON property `resourceUsage`
3214
+ # @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuildResourceUsage]
3215
+ attr_accessor :resource_usage
3216
+
3126
3217
  def initialize(**args)
3127
3218
  update!(**args)
3128
3219
  end
@@ -3141,6 +3232,7 @@ module Google
3141
3232
  @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
3142
3233
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
3143
3234
  @python_packages = args[:python_packages] if args.key?(:python_packages)
3235
+ @resource_usage = args[:resource_usage] if args.key?(:resource_usage)
3144
3236
  end
3145
3237
  end
3146
3238
 
@@ -4948,7 +5040,7 @@ module Google
4948
5040
  # throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `
4949
5041
  # run.googleapis.com/default-url-disabled`: Service. * `run.googleapis.com/
4950
5042
  # description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`:
4951
- # Revision * `run.googleapis.com/encryption-key`: Revision, Execution, Instance.
5043
+ # Revision. * `run.googleapis.com/encryption-key`: Revision, Execution, Instance.
4952
5044
  # * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.
4953
5045
  # googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/gpu-zonal-
4954
5046
  # redundancy-disabled`: Revision. * `run.googleapis.com/health-check-disabled`:
@@ -6712,9 +6804,9 @@ module Google
6712
6804
  # @return [Google::Apis::RunV1::CsiVolumeSource]
6713
6805
  attr_accessor :csi
6714
6806
 
6715
- # In memory (tmpfs) ephemeral storage. It is ephemeral in the sense that when
6716
- # the sandbox is taken down, the data is destroyed with it (it does not persist
6717
- # across sandbox runs).
6807
+ # In memory or disk-backed ephemeral storage. It is ephemeral in the sense that
6808
+ # when the sandbox is taken down, the data is destroyed with it (it does not
6809
+ # persist across sandbox runs).
6718
6810
  # Corresponds to the JSON property `emptyDir`
6719
6811
  # @return [Google::Apis::RunV1::EmptyDirVolumeSource]
6720
6812
  attr_accessor :empty_dir
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV1
18
18
  # Version of the google-apis-run_v1 gem
19
- GEM_VERSION = "0.113.0"
19
+ GEM_VERSION = "0.115.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260904"
25
+ REVISION = "20261016"
26
26
  end
27
27
  end
28
28
  end
@@ -268,6 +268,12 @@ module Google
268
268
  include Google::Apis::Core::JsonObjectSupport
269
269
  end
270
270
 
271
+ class GoogleDevtoolsCloudbuildV1BuildResourceUsage
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
271
277
  class GoogleDevtoolsCloudbuildV1BuildStep
272
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
279
 
@@ -1436,13 +1442,27 @@ module Google
1436
1442
  property :pool, as: 'pool', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1PoolOption, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1PoolOption::Representation
1437
1443
 
1438
1444
  property :pubsub_topic, as: 'pubsubTopic'
1445
+ collection :ranked_machine_series, as: 'rankedMachineSeries'
1439
1446
  property :requested_verify_option, as: 'requestedVerifyOption'
1447
+ property :resolved_worker_release, as: 'resolvedWorkerRelease'
1440
1448
  collection :secret_env, as: 'secretEnv'
1441
1449
  collection :source_provenance_hash, as: 'sourceProvenanceHash'
1442
1450
  property :substitution_option, as: 'substitutionOption'
1443
1451
  collection :volumes, as: 'volumes', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1Volume, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1Volume::Representation
1444
1452
 
1445
1453
  property :worker_pool, as: 'workerPool'
1454
+ property :worker_release, as: 'workerRelease'
1455
+ end
1456
+ end
1457
+
1458
+ class GoogleDevtoolsCloudbuildV1BuildResourceUsage
1459
+ # @private
1460
+ class Representation < Google::Apis::Core::JsonRepresentation
1461
+ property :average_cpu_utilization, as: 'averageCpuUtilization'
1462
+ property :average_memory_utilization, as: 'averageMemoryUtilization'
1463
+ property :peak_cpu_utilization, as: 'peakCpuUtilization'
1464
+ property :peak_memory_utilization, as: 'peakMemoryUtilization'
1465
+ property :total_cpu_duration, as: 'totalCpuDuration'
1446
1466
  end
1447
1467
  end
1448
1468
 
@@ -1661,6 +1681,8 @@ module Google
1661
1681
  # @private
1662
1682
  class Representation < Google::Apis::Core::JsonRepresentation
1663
1683
  property :name, as: 'name'
1684
+ property :resolved_worker_release, as: 'resolvedWorkerRelease'
1685
+ property :worker_release, as: 'workerRelease'
1664
1686
  end
1665
1687
  end
1666
1688
 
@@ -1709,6 +1731,8 @@ module Google
1709
1731
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1710
1732
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedPythonPackage, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedPythonPackage::Representation
1711
1733
 
1734
+ property :resource_usage, as: 'resourceUsage', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuildResourceUsage, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuildResourceUsage::Representation
1735
+
1712
1736
  end
1713
1737
  end
1714
1738
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.113.0
4
+ version: 0.115.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.113.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.115.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1
62
62
  rdoc_options: []
63
63
  require_paths: