google-apis-run_v2 0.122.0 → 0.124.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: 2d74210e3b4d62003ee54f991b8fc230ac5400168e81c46feb668a11f8e8fcfb
4
+ data.tar.gz: 75005150f7b9b0b1b162c64b0e2842c17a35aeb0f3ca551fc1e1da3a9e147e14
5
5
  SHA512:
6
- metadata.gz: 9273b66f77faef582c33f6dc86224c63eef56f02e36445f52dd146546870917c3a03cdd6c47944974022b70f9a940858f2169a33e95e2e74ef74f41447d7243b
7
- data.tar.gz: 0b52a83e3df94c1e20ab83b0566eb249d350f0a37d0f7594613b8eb7259cd17a8fab90a4e30524ba2c9da1952eec94eb1b27ca161e3bc442d0737a9edf5717e9
6
+ metadata.gz: ec9c115334635120449630b190e8ca210a0f1ac535c52fe25579f4866d669b6233953301058f6b19cafce3b7a931bd7644df7414f1173cb28c2f00b14a1dc700
7
+ data.tar.gz: 7611c4b0768ee18b2f9d10a0b5a23a98afd6a7ef54808ab0e4448a5a77cef4d53afc08a3d383404b5f227ea098d21750d5b4fa0cd934b1bbb506b060cf86703a
data/CHANGELOG.md CHANGED
@@ -1,8 +1,17 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
- ### v0.122.0 (2026-09-20)
3
+ ### v0.124.0 (2026-11-01)
4
4
 
5
- * Regenerated from discovery document revision 20260904
5
+ * Regenerated from discovery document revision 20261023
6
+
7
+ ### v0.123.0 (2026-10-21)
8
+
9
+ * Regenerated from discovery document revision 20261016
10
+ * Regenerated using generator version 0.19.1
11
+
12
+ ### v0.122.0 (2026-09-27)
13
+
14
+ * Regenerated from discovery document revision 20260917
6
15
 
7
16
  ### v0.121.0 (2026-09-06)
8
17
 
@@ -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
@@ -1143,7 +1169,8 @@ module Google
1143
1169
  end
1144
1170
  end
1145
1171
 
1146
- # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE.
1172
+ # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud
1173
+ # Storage FUSE or as a block device disk).
1147
1174
  class GoogleCloudRunV2GcsVolumeSource
1148
1175
  include Google::Apis::Core::Hashable
1149
1176
 
@@ -1525,6 +1552,11 @@ module Google
1525
1552
  # @return [String]
1526
1553
  attr_accessor :restart_policy
1527
1554
 
1555
+ # Configuration for sandboxes.
1556
+ # Corresponds to the JSON property `sandboxes`
1557
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration]
1558
+ attr_accessor :sandboxes
1559
+
1528
1560
  # Output only. Reserved for future use.
1529
1561
  # Corresponds to the JSON property `satisfiesPzs`
1530
1562
  # @return [Boolean]
@@ -1611,6 +1643,7 @@ module Google
1611
1643
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
1612
1644
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1613
1645
  @restart_policy = args[:restart_policy] if args.key?(:restart_policy)
1646
+ @sandboxes = args[:sandboxes] if args.key?(:sandboxes)
1614
1647
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1615
1648
  @service_account = args[:service_account] if args.key?(:service_account)
1616
1649
  @ssh_enabled = args[:ssh_enabled] if args.key?(:ssh_enabled)
@@ -2394,6 +2427,11 @@ module Google
2394
2427
  class GoogleCloudRunV2Revision
2395
2428
  include Google::Apis::Core::Hashable
2396
2429
 
2430
+ # Configuration for Ambient Networking.
2431
+ # Corresponds to the JSON property `ambientNetworking`
2432
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2AmbientNetworking]
2433
+ attr_accessor :ambient_networking
2434
+
2397
2435
  # Output only. Unstructured key value map that may be set by external tools to
2398
2436
  # store and arbitrary metadata. They are not queryable and should be preserved
2399
2437
  # when modifying objects.
@@ -2541,6 +2579,11 @@ module Google
2541
2579
  attr_accessor :reconciling
2542
2580
  alias_method :reconciling?, :reconciling
2543
2581
 
2582
+ # Configuration for sandboxes.
2583
+ # Corresponds to the JSON property `sandboxes`
2584
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration]
2585
+ attr_accessor :sandboxes
2586
+
2544
2587
  # Output only. Reserved for future use.
2545
2588
  # Corresponds to the JSON property `satisfiesPzs`
2546
2589
  # @return [Boolean]
@@ -2620,6 +2663,7 @@ module Google
2620
2663
 
2621
2664
  # Update properties of this object
2622
2665
  def update!(**args)
2666
+ @ambient_networking = args[:ambient_networking] if args.key?(:ambient_networking)
2623
2667
  @annotations = args[:annotations] if args.key?(:annotations)
2624
2668
  @client = args[:client] if args.key?(:client)
2625
2669
  @client_version = args[:client_version] if args.key?(:client_version)
@@ -2644,6 +2688,7 @@ module Google
2644
2688
  @node_selector = args[:node_selector] if args.key?(:node_selector)
2645
2689
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
2646
2690
  @reconciling = args[:reconciling] if args.key?(:reconciling)
2691
+ @sandboxes = args[:sandboxes] if args.key?(:sandboxes)
2647
2692
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
2648
2693
  @scaling = args[:scaling] if args.key?(:scaling)
2649
2694
  @scaling_status = args[:scaling_status] if args.key?(:scaling_status)
@@ -2730,6 +2775,11 @@ module Google
2730
2775
  class GoogleCloudRunV2RevisionTemplate
2731
2776
  include Google::Apis::Core::Hashable
2732
2777
 
2778
+ # Configuration for Ambient Networking.
2779
+ # Corresponds to the JSON property `ambientNetworking`
2780
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2AmbientNetworking]
2781
+ attr_accessor :ambient_networking
2782
+
2733
2783
  # Optional. Unstructured key value map that may be set by external tools to
2734
2784
  # store and arbitrary metadata. They are not queryable and should be preserved
2735
2785
  # when modifying objects. Cloud Run API v2 does not support annotations with `
@@ -2822,6 +2872,11 @@ module Google
2822
2872
  # @return [String]
2823
2873
  attr_accessor :revision
2824
2874
 
2875
+ # Configuration for sandboxes.
2876
+ # Corresponds to the JSON property `sandboxes`
2877
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration]
2878
+ attr_accessor :sandboxes
2879
+
2825
2880
  # Settings for revision-level scaling settings.
2826
2881
  # Corresponds to the JSON property `scaling`
2827
2882
  # @return [Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling]
@@ -2874,6 +2929,7 @@ module Google
2874
2929
 
2875
2930
  # Update properties of this object
2876
2931
  def update!(**args)
2932
+ @ambient_networking = args[:ambient_networking] if args.key?(:ambient_networking)
2877
2933
  @annotations = args[:annotations] if args.key?(:annotations)
2878
2934
  @client = args[:client] if args.key?(:client)
2879
2935
  @client_version = args[:client_version] if args.key?(:client_version)
@@ -2888,6 +2944,7 @@ module Google
2888
2944
  @max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
2889
2945
  @node_selector = args[:node_selector] if args.key?(:node_selector)
2890
2946
  @revision = args[:revision] if args.key?(:revision)
2947
+ @sandboxes = args[:sandboxes] if args.key?(:sandboxes)
2891
2948
  @scaling = args[:scaling] if args.key?(:scaling)
2892
2949
  @service_account = args[:service_account] if args.key?(:service_account)
2893
2950
  @service_mesh = args[:service_mesh] if args.key?(:service_mesh)
@@ -2933,6 +2990,85 @@ module Google
2933
2990
  end
2934
2991
  end
2935
2992
 
2993
+ # Configuration for sandboxes.
2994
+ class GoogleCloudRunV2SandboxConfiguration
2995
+ include Google::Apis::Core::Hashable
2996
+
2997
+ # Required. Sandbox templates that can be launched through the `sandbox` CLI.
2998
+ # Corresponds to the JSON property `templates`
2999
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2SandboxTemplate>]
3000
+ attr_accessor :templates
3001
+
3002
+ def initialize(**args)
3003
+ update!(**args)
3004
+ end
3005
+
3006
+ # Update properties of this object
3007
+ def update!(**args)
3008
+ @templates = args[:templates] if args.key?(:templates)
3009
+ end
3010
+ end
3011
+
3012
+ # Template for a single sandbox.
3013
+ class GoogleCloudRunV2SandboxTemplate
3014
+ include Google::Apis::Core::Hashable
3015
+
3016
+ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this
3017
+ # is not provided.
3018
+ # Corresponds to the JSON property `args`
3019
+ # @return [Array<String>]
3020
+ attr_accessor :args
3021
+
3022
+ # Optional. Entrypoint array. Not executed within a shell. The docker image's
3023
+ # ENTRYPOINT is used if this is not provided.
3024
+ # Corresponds to the JSON property `command`
3025
+ # @return [Array<String>]
3026
+ attr_accessor :command
3027
+
3028
+ # Optional. List of environment variables to set in the sandbox.
3029
+ # Corresponds to the JSON property `env`
3030
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2EnvVar>]
3031
+ attr_accessor :env
3032
+
3033
+ # Required. Name of the container image in Dockerhub or Artifact Registry. If
3034
+ # the host is not provided, Dockerhub is assumed.
3035
+ # Corresponds to the JSON property `image`
3036
+ # @return [String]
3037
+ attr_accessor :image
3038
+
3039
+ # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123).
3040
+ # Corresponds to the JSON property `name`
3041
+ # @return [String]
3042
+ attr_accessor :name
3043
+
3044
+ # Optional. Volume to mount into the container's filesystem.
3045
+ # Corresponds to the JSON property `volumeMounts`
3046
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2VolumeMount>]
3047
+ attr_accessor :volume_mounts
3048
+
3049
+ # Optional. Container's working directory. If not specified, the container
3050
+ # runtime's default will be used, which might be configured in the container
3051
+ # image.
3052
+ # Corresponds to the JSON property `workingDir`
3053
+ # @return [String]
3054
+ attr_accessor :working_dir
3055
+
3056
+ def initialize(**args)
3057
+ update!(**args)
3058
+ end
3059
+
3060
+ # Update properties of this object
3061
+ def update!(**args)
3062
+ @args = args[:args] if args.key?(:args)
3063
+ @command = args[:command] if args.key?(:command)
3064
+ @env = args[:env] if args.key?(:env)
3065
+ @image = args[:image] if args.key?(:image)
3066
+ @name = args[:name] if args.key?(:name)
3067
+ @volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
3068
+ @working_dir = args[:working_dir] if args.key?(:working_dir)
3069
+ end
3070
+ end
3071
+
2936
3072
  # SecretEnvVarSource represents a source for the value of an EnvVar.
2937
3073
  class GoogleCloudRunV2SecretKeySelector
2938
3074
  include Google::Apis::Core::Hashable
@@ -3841,6 +3977,11 @@ module Google
3841
3977
  # @return [Fixnum]
3842
3978
  attr_accessor :retried
3843
3979
 
3980
+ # Configuration for sandboxes.
3981
+ # Corresponds to the JSON property `sandboxes`
3982
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration]
3983
+ attr_accessor :sandboxes
3984
+
3844
3985
  # Output only. Reserved for future use.
3845
3986
  # Corresponds to the JSON property `satisfiesPzs`
3846
3987
  # @return [Boolean]
@@ -3932,6 +4073,7 @@ module Google
3932
4073
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
3933
4074
  @reconciling = args[:reconciling] if args.key?(:reconciling)
3934
4075
  @retried = args[:retried] if args.key?(:retried)
4076
+ @sandboxes = args[:sandboxes] if args.key?(:sandboxes)
3935
4077
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
3936
4078
  @scheduled_time = args[:scheduled_time] if args.key?(:scheduled_time)
3937
4079
  @service_account = args[:service_account] if args.key?(:service_account)
@@ -4025,6 +4167,11 @@ module Google
4025
4167
  # @return [Google::Apis::RunV2::GoogleCloudRunV2NodeSelector]
4026
4168
  attr_accessor :node_selector
4027
4169
 
4170
+ # Configuration for sandboxes.
4171
+ # Corresponds to the JSON property `sandboxes`
4172
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration]
4173
+ attr_accessor :sandboxes
4174
+
4028
4175
  # Optional. Email address of the IAM service account associated with the Task of
4029
4176
  # a Job. The service account represents the identity of the running task, and
4030
4177
  # determines what permissions the task has. If not provided, the task will use
@@ -4069,6 +4216,7 @@ module Google
4069
4216
  @gpu_zonal_redundancy_disabled = args[:gpu_zonal_redundancy_disabled] if args.key?(:gpu_zonal_redundancy_disabled)
4070
4217
  @max_retries = args[:max_retries] if args.key?(:max_retries)
4071
4218
  @node_selector = args[:node_selector] if args.key?(:node_selector)
4219
+ @sandboxes = args[:sandboxes] if args.key?(:sandboxes)
4072
4220
  @service_account = args[:service_account] if args.key?(:service_account)
4073
4221
  @timeout = args[:timeout] if args.key?(:timeout)
4074
4222
  @volumes = args[:volumes] if args.key?(:volumes)
@@ -4257,7 +4405,8 @@ module Google
4257
4405
  # @return [Google::Apis::RunV2::GoogleCloudRunV2EmptyDirVolumeSource]
4258
4406
  attr_accessor :empty_dir
4259
4407
 
4260
- # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE.
4408
+ # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud
4409
+ # Storage FUSE or as a block device disk).
4261
4410
  # Corresponds to the JSON property `gcs`
4262
4411
  # @return [Google::Apis::RunV2::GoogleCloudRunV2GcsVolumeSource]
4263
4412
  attr_accessor :gcs
@@ -4715,6 +4864,11 @@ module Google
4715
4864
  # @return [String]
4716
4865
  attr_accessor :revision
4717
4866
 
4867
+ # Configuration for sandboxes.
4868
+ # Corresponds to the JSON property `sandboxes`
4869
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration]
4870
+ attr_accessor :sandboxes
4871
+
4718
4872
  # Optional. Email address of the IAM service account associated with the
4719
4873
  # revision of the service. The service account represents the identity of the
4720
4874
  # running revision, and determines what permissions the revision has. If not
@@ -4757,6 +4911,7 @@ module Google
4757
4911
  @labels = args[:labels] if args.key?(:labels)
4758
4912
  @node_selector = args[:node_selector] if args.key?(:node_selector)
4759
4913
  @revision = args[:revision] if args.key?(:revision)
4914
+ @sandboxes = args[:sandboxes] if args.key?(:sandboxes)
4760
4915
  @service_account = args[:service_account] if args.key?(:service_account)
4761
4916
  @service_mesh = args[:service_mesh] if args.key?(:service_mesh)
4762
4917
  @volumes = args[:volumes] if args.key?(:volumes)
@@ -5385,11 +5540,25 @@ module Google
5385
5540
  # @return [String]
5386
5541
  attr_accessor :pubsub_topic
5387
5542
 
5543
+ # Optional. Ranked list (earlier items have higher priority) of Machine Series
5544
+ # to consider when provisioning Worker VMs. A concrete machine type will be
5545
+ # selected based on machine availability in the given region. This field must be
5546
+ # empty for the Build to be eligible to be paired with a pre-provisioned worker
5547
+ # VM.
5548
+ # Corresponds to the JSON property `rankedMachineSeries`
5549
+ # @return [Array<String>]
5550
+ attr_accessor :ranked_machine_series
5551
+
5388
5552
  # Requested verifiability options.
5389
5553
  # Corresponds to the JSON property `requestedVerifyOption`
5390
5554
  # @return [String]
5391
5555
  attr_accessor :requested_verify_option
5392
5556
 
5557
+ # Output only. Worker release resolved from the release channel.
5558
+ # Corresponds to the JSON property `resolvedWorkerRelease`
5559
+ # @return [String]
5560
+ attr_accessor :resolved_worker_release
5561
+
5393
5562
  # A list of global environment variables, which are encrypted using a Cloud Key
5394
5563
  # Management Service crypto key. These values must be specified in the build's `
5395
5564
  # Secret`. These variables will be available to all build steps in this build.
@@ -5424,6 +5593,12 @@ module Google
5424
5593
  # @return [String]
5425
5594
  attr_accessor :worker_pool
5426
5595
 
5596
+ # Optional. Option to specify which release or release channel (rapid|regular|
5597
+ # stable) to use to run this build.
5598
+ # Corresponds to the JSON property `workerRelease`
5599
+ # @return [String]
5600
+ attr_accessor :worker_release
5601
+
5427
5602
  def initialize(**args)
5428
5603
  update!(**args)
5429
5604
  end
@@ -5441,12 +5616,63 @@ module Google
5441
5616
  @machine_type = args[:machine_type] if args.key?(:machine_type)
5442
5617
  @pool = args[:pool] if args.key?(:pool)
5443
5618
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
5619
+ @ranked_machine_series = args[:ranked_machine_series] if args.key?(:ranked_machine_series)
5444
5620
  @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
5621
+ @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
5445
5622
  @secret_env = args[:secret_env] if args.key?(:secret_env)
5446
5623
  @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
5447
5624
  @substitution_option = args[:substitution_option] if args.key?(:substitution_option)
5448
5625
  @volumes = args[:volumes] if args.key?(:volumes)
5449
5626
  @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
5627
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
5628
+ end
5629
+ end
5630
+
5631
+ # Aggregated/summary metrics over the entire build lifecycle.
5632
+ class GoogleDevtoolsCloudbuildV1BuildResourceUsage
5633
+ include Google::Apis::Core::Hashable
5634
+
5635
+ # Output only. The average CPU utilization ratio across all vCPUs over the
5636
+ # duration of the build, expressed as a fraction in the range [0.0, 1.0].
5637
+ # Corresponds to the JSON property `averageCpuUtilization`
5638
+ # @return [Float]
5639
+ attr_accessor :average_cpu_utilization
5640
+
5641
+ # Output only. The average memory utilization ratio over the duration of the
5642
+ # build, expressed as a fraction in the range [0.0, 1.0].
5643
+ # Corresponds to the JSON property `averageMemoryUtilization`
5644
+ # @return [Float]
5645
+ attr_accessor :average_memory_utilization
5646
+
5647
+ # Output only. The highest CPU utilization ratio across all vCPUs observed over
5648
+ # the duration of the build, expressed as a fraction in the range [0.0, 1.0].
5649
+ # Corresponds to the JSON property `peakCpuUtilization`
5650
+ # @return [Float]
5651
+ attr_accessor :peak_cpu_utilization
5652
+
5653
+ # Output only. The highest memory utilization ratio observed over the duration
5654
+ # of the build, expressed as a fraction in the range [0.0, 1.0].
5655
+ # Corresponds to the JSON property `peakMemoryUtilization`
5656
+ # @return [Float]
5657
+ attr_accessor :peak_memory_utilization
5658
+
5659
+ # Output only. Total CPU execution time consumed across all cores during build
5660
+ # execution.
5661
+ # Corresponds to the JSON property `totalCpuDuration`
5662
+ # @return [String]
5663
+ attr_accessor :total_cpu_duration
5664
+
5665
+ def initialize(**args)
5666
+ update!(**args)
5667
+ end
5668
+
5669
+ # Update properties of this object
5670
+ def update!(**args)
5671
+ @average_cpu_utilization = args[:average_cpu_utilization] if args.key?(:average_cpu_utilization)
5672
+ @average_memory_utilization = args[:average_memory_utilization] if args.key?(:average_memory_utilization)
5673
+ @peak_cpu_utilization = args[:peak_cpu_utilization] if args.key?(:peak_cpu_utilization)
5674
+ @peak_memory_utilization = args[:peak_memory_utilization] if args.key?(:peak_memory_utilization)
5675
+ @total_cpu_duration = args[:total_cpu_duration] if args.key?(:total_cpu_duration)
5450
5676
  end
5451
5677
  end
5452
5678
 
@@ -5865,7 +6091,8 @@ module Google
5865
6091
  class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
5866
6092
  include Google::Apis::Core::Hashable
5867
6093
 
5868
- # Required. Where the artifact files should be placed on the worker.
6094
+ # Optional. Where the artifact files should be placed on the worker. Required
6095
+ # when specified in `Build.dependencies`.
5869
6096
  # Corresponds to the JSON property `destPath`
5870
6097
  # @return [String]
5871
6098
  attr_accessor :dest_path
@@ -6296,6 +6523,18 @@ module Google
6296
6523
  # @return [String]
6297
6524
  attr_accessor :name
6298
6525
 
6526
+ # Output only. OUTPUT_ONLY. Worker release resolved from the release channel.
6527
+ # Corresponds to the JSON property `resolvedWorkerRelease`
6528
+ # @return [String]
6529
+ attr_accessor :resolved_worker_release
6530
+
6531
+ # Output only. OUTPUT_ONLY. The release or release channel used to run the Build.
6532
+ # This is set to the same value as `PrivatePoolV1Config.WorkerConfig.
6533
+ # worker_release` for the UI to easily access.
6534
+ # Corresponds to the JSON property `workerRelease`
6535
+ # @return [String]
6536
+ attr_accessor :worker_release
6537
+
6299
6538
  def initialize(**args)
6300
6539
  update!(**args)
6301
6540
  end
@@ -6303,6 +6542,8 @@ module Google
6303
6542
  # Update properties of this object
6304
6543
  def update!(**args)
6305
6544
  @name = args[:name] if args.key?(:name)
6545
+ @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
6546
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
6306
6547
  end
6307
6548
  end
6308
6549
 
@@ -6479,6 +6720,11 @@ module Google
6479
6720
  # @return [Array<Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedPythonPackage>]
6480
6721
  attr_accessor :python_packages
6481
6722
 
6723
+ # Aggregated/summary metrics over the entire build lifecycle.
6724
+ # Corresponds to the JSON property `resourceUsage`
6725
+ # @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildResourceUsage]
6726
+ attr_accessor :resource_usage
6727
+
6482
6728
  def initialize(**args)
6483
6729
  update!(**args)
6484
6730
  end
@@ -6497,6 +6743,7 @@ module Google
6497
6743
  @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
6498
6744
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
6499
6745
  @python_packages = args[:python_packages] if args.key?(:python_packages)
6746
+ @resource_usage = args[:resource_usage] if args.key?(:resource_usage)
6500
6747
  end
6501
6748
  end
6502
6749
 
@@ -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.124.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 = "20261023"
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
 
@@ -334,6 +340,18 @@ module Google
334
340
  include Google::Apis::Core::JsonObjectSupport
335
341
  end
336
342
 
343
+ class GoogleCloudRunV2SandboxConfiguration
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class GoogleCloudRunV2SandboxTemplate
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
337
355
  class GoogleCloudRunV2SecretKeySelector
338
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
357
 
@@ -550,6 +568,12 @@ module Google
550
568
  include Google::Apis::Core::JsonObjectSupport
551
569
  end
552
570
 
571
+ class GoogleDevtoolsCloudbuildV1BuildResourceUsage
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
553
577
  class GoogleDevtoolsCloudbuildV1BuildStep
554
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
579
 
@@ -886,6 +910,14 @@ module Google
886
910
  include Google::Apis::Core::JsonObjectSupport
887
911
  end
888
912
 
913
+ class GoogleCloudRunV2AmbientNetworking
914
+ # @private
915
+ class Representation < Google::Apis::Core::JsonRepresentation
916
+ property :ambient_scope, as: 'ambientScope'
917
+ property :enabled, as: 'enabled'
918
+ end
919
+ end
920
+
889
921
  class GoogleCloudRunV2BinaryAuthorization
890
922
  # @private
891
923
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1242,6 +1274,8 @@ module Google
1242
1274
  property :observed_generation, :numeric_string => true, as: 'observedGeneration'
1243
1275
  property :reconciling, as: 'reconciling'
1244
1276
  property :restart_policy, as: 'restartPolicy'
1277
+ property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration::Representation
1278
+
1245
1279
  property :satisfies_pzs, as: 'satisfiesPzs'
1246
1280
  property :service_account, as: 'serviceAccount'
1247
1281
  property :ssh_enabled, as: 'sshEnabled'
@@ -1456,6 +1490,8 @@ module Google
1456
1490
  class GoogleCloudRunV2Revision
1457
1491
  # @private
1458
1492
  class Representation < Google::Apis::Core::JsonRepresentation
1493
+ property :ambient_networking, as: 'ambientNetworking', class: Google::Apis::RunV2::GoogleCloudRunV2AmbientNetworking, decorator: Google::Apis::RunV2::GoogleCloudRunV2AmbientNetworking::Representation
1494
+
1459
1495
  hash :annotations, as: 'annotations'
1460
1496
  property :client, as: 'client'
1461
1497
  property :client_version, as: 'clientVersion'
@@ -1483,6 +1519,8 @@ module Google
1483
1519
 
1484
1520
  property :observed_generation, :numeric_string => true, as: 'observedGeneration'
1485
1521
  property :reconciling, as: 'reconciling'
1522
+ property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration::Representation
1523
+
1486
1524
  property :satisfies_pzs, as: 'satisfiesPzs'
1487
1525
  property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
1488
1526
 
@@ -1525,6 +1563,8 @@ module Google
1525
1563
  class GoogleCloudRunV2RevisionTemplate
1526
1564
  # @private
1527
1565
  class Representation < Google::Apis::Core::JsonRepresentation
1566
+ property :ambient_networking, as: 'ambientNetworking', class: Google::Apis::RunV2::GoogleCloudRunV2AmbientNetworking, decorator: Google::Apis::RunV2::GoogleCloudRunV2AmbientNetworking::Representation
1567
+
1528
1568
  hash :annotations, as: 'annotations'
1529
1569
  property :client, as: 'client'
1530
1570
  property :client_version, as: 'clientVersion'
@@ -1541,6 +1581,8 @@ module Google
1541
1581
  property :node_selector, as: 'nodeSelector', class: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector::Representation
1542
1582
 
1543
1583
  property :revision, as: 'revision'
1584
+ property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration::Representation
1585
+
1544
1586
  property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
1545
1587
 
1546
1588
  property :service_account, as: 'serviceAccount'
@@ -1567,6 +1609,29 @@ module Google
1567
1609
  end
1568
1610
  end
1569
1611
 
1612
+ class GoogleCloudRunV2SandboxConfiguration
1613
+ # @private
1614
+ class Representation < Google::Apis::Core::JsonRepresentation
1615
+ collection :templates, as: 'templates', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxTemplate::Representation
1616
+
1617
+ end
1618
+ end
1619
+
1620
+ class GoogleCloudRunV2SandboxTemplate
1621
+ # @private
1622
+ class Representation < Google::Apis::Core::JsonRepresentation
1623
+ collection :args, as: 'args'
1624
+ collection :command, as: 'command'
1625
+ collection :env, as: 'env', class: Google::Apis::RunV2::GoogleCloudRunV2EnvVar, decorator: Google::Apis::RunV2::GoogleCloudRunV2EnvVar::Representation
1626
+
1627
+ property :image, as: 'image'
1628
+ property :name, as: 'name'
1629
+ collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::RunV2::GoogleCloudRunV2VolumeMount, decorator: Google::Apis::RunV2::GoogleCloudRunV2VolumeMount::Representation
1630
+
1631
+ property :working_dir, as: 'workingDir'
1632
+ end
1633
+ end
1634
+
1570
1635
  class GoogleCloudRunV2SecretKeySelector
1571
1636
  # @private
1572
1637
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1767,6 +1832,8 @@ module Google
1767
1832
  property :observed_generation, :numeric_string => true, as: 'observedGeneration'
1768
1833
  property :reconciling, as: 'reconciling'
1769
1834
  property :retried, as: 'retried'
1835
+ property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration::Representation
1836
+
1770
1837
  property :satisfies_pzs, as: 'satisfiesPzs'
1771
1838
  property :scheduled_time, as: 'scheduledTime'
1772
1839
  property :service_account, as: 'serviceAccount'
@@ -1804,6 +1871,8 @@ module Google
1804
1871
  property :max_retries, as: 'maxRetries'
1805
1872
  property :node_selector, as: 'nodeSelector', class: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector::Representation
1806
1873
 
1874
+ property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration::Representation
1875
+
1807
1876
  property :service_account, as: 'serviceAccount'
1808
1877
  property :timeout, as: 'timeout'
1809
1878
  collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
@@ -1955,6 +2024,8 @@ module Google
1955
2024
  property :node_selector, as: 'nodeSelector', class: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector::Representation
1956
2025
 
1957
2026
  property :revision, as: 'revision'
2027
+ property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration::Representation
2028
+
1958
2029
  property :service_account, as: 'serviceAccount'
1959
2030
  property :service_mesh, as: 'serviceMesh', class: Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh, decorator: Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh::Representation
1960
2031
 
@@ -2115,13 +2186,27 @@ module Google
2115
2186
  property :pool, as: 'pool', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1PoolOption, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1PoolOption::Representation
2116
2187
 
2117
2188
  property :pubsub_topic, as: 'pubsubTopic'
2189
+ collection :ranked_machine_series, as: 'rankedMachineSeries'
2118
2190
  property :requested_verify_option, as: 'requestedVerifyOption'
2191
+ property :resolved_worker_release, as: 'resolvedWorkerRelease'
2119
2192
  collection :secret_env, as: 'secretEnv'
2120
2193
  collection :source_provenance_hash, as: 'sourceProvenanceHash'
2121
2194
  property :substitution_option, as: 'substitutionOption'
2122
2195
  collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1Volume, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1Volume::Representation
2123
2196
 
2124
2197
  property :worker_pool, as: 'workerPool'
2198
+ property :worker_release, as: 'workerRelease'
2199
+ end
2200
+ end
2201
+
2202
+ class GoogleDevtoolsCloudbuildV1BuildResourceUsage
2203
+ # @private
2204
+ class Representation < Google::Apis::Core::JsonRepresentation
2205
+ property :average_cpu_utilization, as: 'averageCpuUtilization'
2206
+ property :average_memory_utilization, as: 'averageMemoryUtilization'
2207
+ property :peak_cpu_utilization, as: 'peakCpuUtilization'
2208
+ property :peak_memory_utilization, as: 'peakMemoryUtilization'
2209
+ property :total_cpu_duration, as: 'totalCpuDuration'
2125
2210
  end
2126
2211
  end
2127
2212
 
@@ -2340,6 +2425,8 @@ module Google
2340
2425
  # @private
2341
2426
  class Representation < Google::Apis::Core::JsonRepresentation
2342
2427
  property :name, as: 'name'
2428
+ property :resolved_worker_release, as: 'resolvedWorkerRelease'
2429
+ property :worker_release, as: 'workerRelease'
2343
2430
  end
2344
2431
  end
2345
2432
 
@@ -2388,6 +2475,8 @@ module Google
2388
2475
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
2389
2476
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedPythonPackage, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedPythonPackage::Representation
2390
2477
 
2478
+ property :resource_usage, as: 'resourceUsage', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildResourceUsage, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildResourceUsage::Representation
2479
+
2391
2480
  end
2392
2481
  end
2393
2482
 
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.124.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.124.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: