google-apis-run_v1 0.114.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: feabc4fee372cf5eeb089ea560d62fe4d924eccda4a96bb52174f9de832f50d1
4
- data.tar.gz: c01149c414c8721ab4789a7f43b4d8380f24f4ccd6d23e36822c296ccff19682
3
+ metadata.gz: 39af844a495fa00ecc57b19f193ee677af7253adf2651a5343d02d47c8b1845a
4
+ data.tar.gz: d6e93d8bd2f6b8a1b78e7ff339dc21c883df362295ba21a597fc117f5ed992ee
5
5
  SHA512:
6
- metadata.gz: c8dd3bb06b536f8fbd24994dadd5914001b9306cca5cecc0e19b7d73d147035202981693434e53fb73a582cccdb30d7cb720800ae5ae279e805510b790525e63
7
- data.tar.gz: b994bbd4c478269baec0660841d92d2ff98c5e9f2075858e0d9ec4fceaf9eecef53b731c21bfb99efcd31cc983de6077c91b720428a2497b623be0bd3bbbbba0
6
+ metadata.gz: bdd2a88046964735baf8161af3e396444be09fdf983b114accbb574bbbfcfa14001fe19310ece10e83cf5eb8c47f9f00f36ca519b6389f08a3d6f36140d08014
7
+ data.tar.gz: d11174a7c459459c32802e92393af91760c42a181306bc1cabfe0a054b7fd983954c268aa11677db502124673324589bf1e54baa62f40b1e9a4a9d810d8e5680
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.114.0 (2026-09-24)
4
9
 
5
10
  * Regenerated from discovery document revision 20260917
@@ -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,6 +2029,15 @@ 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]
@@ -2096,6 +2105,7 @@ module Google
2096
2105
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2097
2106
  @pool = args[:pool] if args.key?(:pool)
2098
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)
2099
2109
  @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
2100
2110
  @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
2101
2111
  @secret_env = args[:secret_env] if args.key?(:secret_env)
@@ -2107,6 +2117,54 @@ module Google
2107
2117
  end
2108
2118
  end
2109
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)
2165
+ end
2166
+ end
2167
+
2110
2168
  # A step in the build pipeline.
2111
2169
  class GoogleDevtoolsCloudbuildV1BuildStep
2112
2170
  include Google::Apis::Core::Hashable
@@ -2522,7 +2580,8 @@ module Google
2522
2580
  class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
2523
2581
  include Google::Apis::Core::Hashable
2524
2582
 
2525
- # 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`.
2526
2585
  # Corresponds to the JSON property `destPath`
2527
2586
  # @return [String]
2528
2587
  attr_accessor :dest_path
@@ -3150,6 +3209,11 @@ module Google
3150
3209
  # @return [Array<Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedPythonPackage>]
3151
3210
  attr_accessor :python_packages
3152
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
+
3153
3217
  def initialize(**args)
3154
3218
  update!(**args)
3155
3219
  end
@@ -3168,6 +3232,7 @@ module Google
3168
3232
  @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
3169
3233
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
3170
3234
  @python_packages = args[:python_packages] if args.key?(:python_packages)
3235
+ @resource_usage = args[:resource_usage] if args.key?(:resource_usage)
3171
3236
  end
3172
3237
  end
3173
3238
 
@@ -6739,9 +6804,9 @@ module Google
6739
6804
  # @return [Google::Apis::RunV1::CsiVolumeSource]
6740
6805
  attr_accessor :csi
6741
6806
 
6742
- # In memory (tmpfs) ephemeral storage. It is ephemeral in the sense that when
6743
- # the sandbox is taken down, the data is destroyed with it (it does not persist
6744
- # 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).
6745
6810
  # Corresponds to the JSON property `emptyDir`
6746
6811
  # @return [Google::Apis::RunV1::EmptyDirVolumeSource]
6747
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.114.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 = "20260917"
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,6 +1442,7 @@ 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'
1440
1447
  property :resolved_worker_release, as: 'resolvedWorkerRelease'
1441
1448
  collection :secret_env, as: 'secretEnv'
@@ -1448,6 +1455,17 @@ module Google
1448
1455
  end
1449
1456
  end
1450
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'
1466
+ end
1467
+ end
1468
+
1451
1469
  class GoogleDevtoolsCloudbuildV1BuildStep
1452
1470
  # @private
1453
1471
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1713,6 +1731,8 @@ module Google
1713
1731
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1714
1732
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedPythonPackage, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedPythonPackage::Representation
1715
1733
 
1734
+ property :resource_usage, as: 'resourceUsage', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuildResourceUsage, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuildResourceUsage::Representation
1735
+
1716
1736
  end
1717
1737
  end
1718
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.114.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.114.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: