google-apis-run_v2 0.122.0 → 0.123.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: f16ac51af6dd037d587b95995c5d309f26f395b86a16814bf46bbe9a1768ebfc
4
- data.tar.gz: 2d1382e53cd3eed81c2706cbe32f3fe1f9e1d4756c109d1b7b4b2c8c691f8d7c
3
+ metadata.gz: d001b63154abe6b33d7649dd8a41c6f545fbef56ad7e516521d27cb32bc1f3fb
4
+ data.tar.gz: fcfa7dfdb77b5f82edb765ba04ef91d53c3778dde94727a7d0668455ccff0fd6
5
5
  SHA512:
6
- metadata.gz: 9273b66f77faef582c33f6dc86224c63eef56f02e36445f52dd146546870917c3a03cdd6c47944974022b70f9a940858f2169a33e95e2e74ef74f41447d7243b
7
- data.tar.gz: 0b52a83e3df94c1e20ab83b0566eb249d350f0a37d0f7594613b8eb7259cd17a8fab90a4e30524ba2c9da1952eec94eb1b27ca161e3bc442d0737a9edf5717e9
6
+ metadata.gz: a51123ba0ddcb434f8287c4ffc7731b47f23428ff90a6c672f1349d83384d881276f2b161ac760185b24cbe49700555f13e73f03dcae3380692161c609f6db43
7
+ data.tar.gz: 58514023ee329b7cf4021c8d01edb66122066d4f0fafe935e76e7234b433895ca37fb6b5949cbb8d3c28bb552c91a355b8f8efb8a338ed3969e2b2b565d941d3
data/CHANGELOG.md CHANGED
@@ -1,8 +1,13 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
- ### v0.122.0 (2026-09-20)
3
+ ### v0.123.0 (2026-10-21)
4
4
 
5
- * Regenerated from discovery document revision 20260904
5
+ * Regenerated from discovery document revision 20261016
6
+ * Regenerated using generator version 0.19.1
7
+
8
+ ### v0.122.0 (2026-09-27)
9
+
10
+ * Regenerated from discovery document revision 20260917
6
11
 
7
12
  ### v0.121.0 (2026-09-06)
8
13
 
@@ -22,6 +22,32 @@ module Google
22
22
  module Apis
23
23
  module RunV2
24
24
 
25
+ # Configuration for Ambient Networking.
26
+ class GoogleCloudRunV2AmbientNetworking
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The ambient networking scope of the instance.
30
+ # Corresponds to the JSON property `ambientScope`
31
+ # @return [String]
32
+ attr_accessor :ambient_scope
33
+
34
+ # Optional. Whether ambient networking is enabled.
35
+ # Corresponds to the JSON property `enabled`
36
+ # @return [Boolean]
37
+ attr_accessor :enabled
38
+ alias_method :enabled?, :enabled
39
+
40
+ def initialize(**args)
41
+ update!(**args)
42
+ end
43
+
44
+ # Update properties of this object
45
+ def update!(**args)
46
+ @ambient_scope = args[:ambient_scope] if args.key?(:ambient_scope)
47
+ @enabled = args[:enabled] if args.key?(:enabled)
48
+ end
49
+ end
50
+
25
51
  # Settings for Binary Authorization feature.
26
52
  class GoogleCloudRunV2BinaryAuthorization
27
53
  include Google::Apis::Core::Hashable
@@ -2394,6 +2420,11 @@ module Google
2394
2420
  class GoogleCloudRunV2Revision
2395
2421
  include Google::Apis::Core::Hashable
2396
2422
 
2423
+ # Configuration for Ambient Networking.
2424
+ # Corresponds to the JSON property `ambientNetworking`
2425
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2AmbientNetworking]
2426
+ attr_accessor :ambient_networking
2427
+
2397
2428
  # Output only. Unstructured key value map that may be set by external tools to
2398
2429
  # store and arbitrary metadata. They are not queryable and should be preserved
2399
2430
  # when modifying objects.
@@ -2620,6 +2651,7 @@ module Google
2620
2651
 
2621
2652
  # Update properties of this object
2622
2653
  def update!(**args)
2654
+ @ambient_networking = args[:ambient_networking] if args.key?(:ambient_networking)
2623
2655
  @annotations = args[:annotations] if args.key?(:annotations)
2624
2656
  @client = args[:client] if args.key?(:client)
2625
2657
  @client_version = args[:client_version] if args.key?(:client_version)
@@ -2730,6 +2762,11 @@ module Google
2730
2762
  class GoogleCloudRunV2RevisionTemplate
2731
2763
  include Google::Apis::Core::Hashable
2732
2764
 
2765
+ # Configuration for Ambient Networking.
2766
+ # Corresponds to the JSON property `ambientNetworking`
2767
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2AmbientNetworking]
2768
+ attr_accessor :ambient_networking
2769
+
2733
2770
  # Optional. Unstructured key value map that may be set by external tools to
2734
2771
  # store and arbitrary metadata. They are not queryable and should be preserved
2735
2772
  # when modifying objects. Cloud Run API v2 does not support annotations with `
@@ -2874,6 +2911,7 @@ module Google
2874
2911
 
2875
2912
  # Update properties of this object
2876
2913
  def update!(**args)
2914
+ @ambient_networking = args[:ambient_networking] if args.key?(:ambient_networking)
2877
2915
  @annotations = args[:annotations] if args.key?(:annotations)
2878
2916
  @client = args[:client] if args.key?(:client)
2879
2917
  @client_version = args[:client_version] if args.key?(:client_version)
@@ -5385,11 +5423,25 @@ module Google
5385
5423
  # @return [String]
5386
5424
  attr_accessor :pubsub_topic
5387
5425
 
5426
+ # Optional. Ranked list (earlier items have higher priority) of Machine Series
5427
+ # to consider when provisioning Worker VMs. A concrete machine type will be
5428
+ # selected based on machine availability in the given region. This field must be
5429
+ # empty for the Build to be eligible to be paired with a pre-provisioned worker
5430
+ # VM.
5431
+ # Corresponds to the JSON property `rankedMachineSeries`
5432
+ # @return [Array<String>]
5433
+ attr_accessor :ranked_machine_series
5434
+
5388
5435
  # Requested verifiability options.
5389
5436
  # Corresponds to the JSON property `requestedVerifyOption`
5390
5437
  # @return [String]
5391
5438
  attr_accessor :requested_verify_option
5392
5439
 
5440
+ # Output only. Worker release resolved from the release channel.
5441
+ # Corresponds to the JSON property `resolvedWorkerRelease`
5442
+ # @return [String]
5443
+ attr_accessor :resolved_worker_release
5444
+
5393
5445
  # A list of global environment variables, which are encrypted using a Cloud Key
5394
5446
  # Management Service crypto key. These values must be specified in the build's `
5395
5447
  # Secret`. These variables will be available to all build steps in this build.
@@ -5424,6 +5476,12 @@ module Google
5424
5476
  # @return [String]
5425
5477
  attr_accessor :worker_pool
5426
5478
 
5479
+ # Optional. Option to specify which release or release channel (rapid|regular|
5480
+ # stable) to use to run this build.
5481
+ # Corresponds to the JSON property `workerRelease`
5482
+ # @return [String]
5483
+ attr_accessor :worker_release
5484
+
5427
5485
  def initialize(**args)
5428
5486
  update!(**args)
5429
5487
  end
@@ -5441,12 +5499,63 @@ module Google
5441
5499
  @machine_type = args[:machine_type] if args.key?(:machine_type)
5442
5500
  @pool = args[:pool] if args.key?(:pool)
5443
5501
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
5502
+ @ranked_machine_series = args[:ranked_machine_series] if args.key?(:ranked_machine_series)
5444
5503
  @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
5504
+ @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
5445
5505
  @secret_env = args[:secret_env] if args.key?(:secret_env)
5446
5506
  @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
5447
5507
  @substitution_option = args[:substitution_option] if args.key?(:substitution_option)
5448
5508
  @volumes = args[:volumes] if args.key?(:volumes)
5449
5509
  @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
5510
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
5511
+ end
5512
+ end
5513
+
5514
+ # Aggregated/summary metrics over the entire build lifecycle.
5515
+ class GoogleDevtoolsCloudbuildV1BuildResourceUsage
5516
+ include Google::Apis::Core::Hashable
5517
+
5518
+ # Output only. The average CPU utilization ratio across all vCPUs over the
5519
+ # duration of the build, expressed as a fraction in the range [0.0, 1.0].
5520
+ # Corresponds to the JSON property `averageCpuUtilization`
5521
+ # @return [Float]
5522
+ attr_accessor :average_cpu_utilization
5523
+
5524
+ # Output only. The average memory utilization ratio over the duration of the
5525
+ # build, expressed as a fraction in the range [0.0, 1.0].
5526
+ # Corresponds to the JSON property `averageMemoryUtilization`
5527
+ # @return [Float]
5528
+ attr_accessor :average_memory_utilization
5529
+
5530
+ # Output only. The highest CPU utilization ratio across all vCPUs observed over
5531
+ # the duration of the build, expressed as a fraction in the range [0.0, 1.0].
5532
+ # Corresponds to the JSON property `peakCpuUtilization`
5533
+ # @return [Float]
5534
+ attr_accessor :peak_cpu_utilization
5535
+
5536
+ # Output only. The highest memory utilization ratio observed over the duration
5537
+ # of the build, expressed as a fraction in the range [0.0, 1.0].
5538
+ # Corresponds to the JSON property `peakMemoryUtilization`
5539
+ # @return [Float]
5540
+ attr_accessor :peak_memory_utilization
5541
+
5542
+ # Output only. Total CPU execution time consumed across all cores during build
5543
+ # execution.
5544
+ # Corresponds to the JSON property `totalCpuDuration`
5545
+ # @return [String]
5546
+ attr_accessor :total_cpu_duration
5547
+
5548
+ def initialize(**args)
5549
+ update!(**args)
5550
+ end
5551
+
5552
+ # Update properties of this object
5553
+ def update!(**args)
5554
+ @average_cpu_utilization = args[:average_cpu_utilization] if args.key?(:average_cpu_utilization)
5555
+ @average_memory_utilization = args[:average_memory_utilization] if args.key?(:average_memory_utilization)
5556
+ @peak_cpu_utilization = args[:peak_cpu_utilization] if args.key?(:peak_cpu_utilization)
5557
+ @peak_memory_utilization = args[:peak_memory_utilization] if args.key?(:peak_memory_utilization)
5558
+ @total_cpu_duration = args[:total_cpu_duration] if args.key?(:total_cpu_duration)
5450
5559
  end
5451
5560
  end
5452
5561
 
@@ -5865,7 +5974,8 @@ module Google
5865
5974
  class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
5866
5975
  include Google::Apis::Core::Hashable
5867
5976
 
5868
- # Required. Where the artifact files should be placed on the worker.
5977
+ # Optional. Where the artifact files should be placed on the worker. Required
5978
+ # when specified in `Build.dependencies`.
5869
5979
  # Corresponds to the JSON property `destPath`
5870
5980
  # @return [String]
5871
5981
  attr_accessor :dest_path
@@ -6296,6 +6406,18 @@ module Google
6296
6406
  # @return [String]
6297
6407
  attr_accessor :name
6298
6408
 
6409
+ # Output only. OUTPUT_ONLY. Worker release resolved from the release channel.
6410
+ # Corresponds to the JSON property `resolvedWorkerRelease`
6411
+ # @return [String]
6412
+ attr_accessor :resolved_worker_release
6413
+
6414
+ # Output only. OUTPUT_ONLY. The release or release channel used to run the Build.
6415
+ # This is set to the same value as `PrivatePoolV1Config.WorkerConfig.
6416
+ # worker_release` for the UI to easily access.
6417
+ # Corresponds to the JSON property `workerRelease`
6418
+ # @return [String]
6419
+ attr_accessor :worker_release
6420
+
6299
6421
  def initialize(**args)
6300
6422
  update!(**args)
6301
6423
  end
@@ -6303,6 +6425,8 @@ module Google
6303
6425
  # Update properties of this object
6304
6426
  def update!(**args)
6305
6427
  @name = args[:name] if args.key?(:name)
6428
+ @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
6429
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
6306
6430
  end
6307
6431
  end
6308
6432
 
@@ -6479,6 +6603,11 @@ module Google
6479
6603
  # @return [Array<Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedPythonPackage>]
6480
6604
  attr_accessor :python_packages
6481
6605
 
6606
+ # Aggregated/summary metrics over the entire build lifecycle.
6607
+ # Corresponds to the JSON property `resourceUsage`
6608
+ # @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildResourceUsage]
6609
+ attr_accessor :resource_usage
6610
+
6482
6611
  def initialize(**args)
6483
6612
  update!(**args)
6484
6613
  end
@@ -6497,6 +6626,7 @@ module Google
6497
6626
  @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
6498
6627
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
6499
6628
  @python_packages = args[:python_packages] if args.key?(:python_packages)
6629
+ @resource_usage = args[:resource_usage] if args.key?(:resource_usage)
6500
6630
  end
6501
6631
  end
6502
6632
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV2
18
18
  # Version of the google-apis-run_v2 gem
19
- GEM_VERSION = "0.122.0"
19
+ GEM_VERSION = "0.123.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
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module RunV2
24
24
 
25
+ class GoogleCloudRunV2AmbientNetworking
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class GoogleCloudRunV2BinaryAuthorization
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -550,6 +556,12 @@ module Google
550
556
  include Google::Apis::Core::JsonObjectSupport
551
557
  end
552
558
 
559
+ class GoogleDevtoolsCloudbuildV1BuildResourceUsage
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
553
565
  class GoogleDevtoolsCloudbuildV1BuildStep
554
566
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
567
 
@@ -886,6 +898,14 @@ module Google
886
898
  include Google::Apis::Core::JsonObjectSupport
887
899
  end
888
900
 
901
+ class GoogleCloudRunV2AmbientNetworking
902
+ # @private
903
+ class Representation < Google::Apis::Core::JsonRepresentation
904
+ property :ambient_scope, as: 'ambientScope'
905
+ property :enabled, as: 'enabled'
906
+ end
907
+ end
908
+
889
909
  class GoogleCloudRunV2BinaryAuthorization
890
910
  # @private
891
911
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1456,6 +1476,8 @@ module Google
1456
1476
  class GoogleCloudRunV2Revision
1457
1477
  # @private
1458
1478
  class Representation < Google::Apis::Core::JsonRepresentation
1479
+ property :ambient_networking, as: 'ambientNetworking', class: Google::Apis::RunV2::GoogleCloudRunV2AmbientNetworking, decorator: Google::Apis::RunV2::GoogleCloudRunV2AmbientNetworking::Representation
1480
+
1459
1481
  hash :annotations, as: 'annotations'
1460
1482
  property :client, as: 'client'
1461
1483
  property :client_version, as: 'clientVersion'
@@ -1525,6 +1547,8 @@ module Google
1525
1547
  class GoogleCloudRunV2RevisionTemplate
1526
1548
  # @private
1527
1549
  class Representation < Google::Apis::Core::JsonRepresentation
1550
+ property :ambient_networking, as: 'ambientNetworking', class: Google::Apis::RunV2::GoogleCloudRunV2AmbientNetworking, decorator: Google::Apis::RunV2::GoogleCloudRunV2AmbientNetworking::Representation
1551
+
1528
1552
  hash :annotations, as: 'annotations'
1529
1553
  property :client, as: 'client'
1530
1554
  property :client_version, as: 'clientVersion'
@@ -2115,13 +2139,27 @@ module Google
2115
2139
  property :pool, as: 'pool', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1PoolOption, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1PoolOption::Representation
2116
2140
 
2117
2141
  property :pubsub_topic, as: 'pubsubTopic'
2142
+ collection :ranked_machine_series, as: 'rankedMachineSeries'
2118
2143
  property :requested_verify_option, as: 'requestedVerifyOption'
2144
+ property :resolved_worker_release, as: 'resolvedWorkerRelease'
2119
2145
  collection :secret_env, as: 'secretEnv'
2120
2146
  collection :source_provenance_hash, as: 'sourceProvenanceHash'
2121
2147
  property :substitution_option, as: 'substitutionOption'
2122
2148
  collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1Volume, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1Volume::Representation
2123
2149
 
2124
2150
  property :worker_pool, as: 'workerPool'
2151
+ property :worker_release, as: 'workerRelease'
2152
+ end
2153
+ end
2154
+
2155
+ class GoogleDevtoolsCloudbuildV1BuildResourceUsage
2156
+ # @private
2157
+ class Representation < Google::Apis::Core::JsonRepresentation
2158
+ property :average_cpu_utilization, as: 'averageCpuUtilization'
2159
+ property :average_memory_utilization, as: 'averageMemoryUtilization'
2160
+ property :peak_cpu_utilization, as: 'peakCpuUtilization'
2161
+ property :peak_memory_utilization, as: 'peakMemoryUtilization'
2162
+ property :total_cpu_duration, as: 'totalCpuDuration'
2125
2163
  end
2126
2164
  end
2127
2165
 
@@ -2340,6 +2378,8 @@ module Google
2340
2378
  # @private
2341
2379
  class Representation < Google::Apis::Core::JsonRepresentation
2342
2380
  property :name, as: 'name'
2381
+ property :resolved_worker_release, as: 'resolvedWorkerRelease'
2382
+ property :worker_release, as: 'workerRelease'
2343
2383
  end
2344
2384
  end
2345
2385
 
@@ -2388,6 +2428,8 @@ module Google
2388
2428
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
2389
2429
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedPythonPackage, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedPythonPackage::Representation
2390
2430
 
2431
+ property :resource_usage, as: 'resourceUsage', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildResourceUsage, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildResourceUsage::Representation
2432
+
2391
2433
  end
2392
2434
  end
2393
2435
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.122.0
4
+ version: 0.123.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_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.122.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.123.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
62
62
  rdoc_options: []
63
63
  require_paths: