google-apis-run_v2 0.121.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/run_v2/classes.rb +208 -1
- data/lib/google/apis/run_v2/gem_version.rb +3 -3
- data/lib/google/apis/run_v2/representations.rb +68 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d001b63154abe6b33d7649dd8a41c6f545fbef56ad7e516521d27cb32bc1f3fb
|
|
4
|
+
data.tar.gz: fcfa7dfdb77b5f82edb765ba04ef91d53c3778dde94727a7d0668455ccff0fd6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a51123ba0ddcb434f8287c4ffc7731b47f23428ff90a6c672f1349d83384d881276f2b161ac760185b24cbe49700555f13e73f03dcae3380692161c609f6db43
|
|
7
|
+
data.tar.gz: 58514023ee329b7cf4021c8d01edb66122066d4f0fafe935e76e7234b433895ca37fb6b5949cbb8d3c28bb552c91a355b8f8efb8a338ed3969e2b2b565d941d3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-run_v2
|
|
2
2
|
|
|
3
|
+
### v0.123.0 (2026-10-21)
|
|
4
|
+
|
|
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
|
|
11
|
+
|
|
3
12
|
### v0.121.0 (2026-09-06)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20260828
|
|
@@ -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
|
|
@@ -1536,6 +1562,12 @@ module Google
|
|
|
1536
1562
|
# @return [String]
|
|
1537
1563
|
attr_accessor :service_account
|
|
1538
1564
|
|
|
1565
|
+
# Optional. Enables SSH access to the Instance.
|
|
1566
|
+
# Corresponds to the JSON property `sshEnabled`
|
|
1567
|
+
# @return [Boolean]
|
|
1568
|
+
attr_accessor :ssh_enabled
|
|
1569
|
+
alias_method :ssh_enabled?, :ssh_enabled
|
|
1570
|
+
|
|
1539
1571
|
# Defines a status condition for a resource.
|
|
1540
1572
|
# Corresponds to the JSON property `terminalCondition`
|
|
1541
1573
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2Condition]
|
|
@@ -1607,6 +1639,7 @@ module Google
|
|
|
1607
1639
|
@restart_policy = args[:restart_policy] if args.key?(:restart_policy)
|
|
1608
1640
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
|
1609
1641
|
@service_account = args[:service_account] if args.key?(:service_account)
|
|
1642
|
+
@ssh_enabled = args[:ssh_enabled] if args.key?(:ssh_enabled)
|
|
1610
1643
|
@terminal_condition = args[:terminal_condition] if args.key?(:terminal_condition)
|
|
1611
1644
|
@uid = args[:uid] if args.key?(:uid)
|
|
1612
1645
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
@@ -1753,6 +1786,11 @@ module Google
|
|
|
1753
1786
|
# @return [String]
|
|
1754
1787
|
attr_accessor :expire_time
|
|
1755
1788
|
|
|
1789
|
+
# Optional. The functional type of the Job.
|
|
1790
|
+
# Corresponds to the JSON property `functionalType`
|
|
1791
|
+
# @return [String]
|
|
1792
|
+
attr_accessor :functional_type
|
|
1793
|
+
|
|
1756
1794
|
# Output only. A number that monotonically increases every time the user
|
|
1757
1795
|
# modifies the desired state.
|
|
1758
1796
|
# Corresponds to the JSON property `generation`
|
|
@@ -1887,6 +1925,7 @@ module Google
|
|
|
1887
1925
|
@etag = args[:etag] if args.key?(:etag)
|
|
1888
1926
|
@execution_count = args[:execution_count] if args.key?(:execution_count)
|
|
1889
1927
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
1928
|
+
@functional_type = args[:functional_type] if args.key?(:functional_type)
|
|
1890
1929
|
@generation = args[:generation] if args.key?(:generation)
|
|
1891
1930
|
@labels = args[:labels] if args.key?(:labels)
|
|
1892
1931
|
@last_modifier = args[:last_modifier] if args.key?(:last_modifier)
|
|
@@ -2381,6 +2420,11 @@ module Google
|
|
|
2381
2420
|
class GoogleCloudRunV2Revision
|
|
2382
2421
|
include Google::Apis::Core::Hashable
|
|
2383
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
|
+
|
|
2384
2428
|
# Output only. Unstructured key value map that may be set by external tools to
|
|
2385
2429
|
# store and arbitrary metadata. They are not queryable and should be preserved
|
|
2386
2430
|
# when modifying objects.
|
|
@@ -2596,12 +2640,18 @@ module Google
|
|
|
2596
2640
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2VpcAccess]
|
|
2597
2641
|
attr_accessor :vpc_access
|
|
2598
2642
|
|
|
2643
|
+
# Workload identity settings.
|
|
2644
|
+
# Corresponds to the JSON property `workloadIdentityConfig`
|
|
2645
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2WorkloadIdentityConfig]
|
|
2646
|
+
attr_accessor :workload_identity_config
|
|
2647
|
+
|
|
2599
2648
|
def initialize(**args)
|
|
2600
2649
|
update!(**args)
|
|
2601
2650
|
end
|
|
2602
2651
|
|
|
2603
2652
|
# Update properties of this object
|
|
2604
2653
|
def update!(**args)
|
|
2654
|
+
@ambient_networking = args[:ambient_networking] if args.key?(:ambient_networking)
|
|
2605
2655
|
@annotations = args[:annotations] if args.key?(:annotations)
|
|
2606
2656
|
@client = args[:client] if args.key?(:client)
|
|
2607
2657
|
@client_version = args[:client_version] if args.key?(:client_version)
|
|
@@ -2638,6 +2688,7 @@ module Google
|
|
|
2638
2688
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
2639
2689
|
@volumes = args[:volumes] if args.key?(:volumes)
|
|
2640
2690
|
@vpc_access = args[:vpc_access] if args.key?(:vpc_access)
|
|
2691
|
+
@workload_identity_config = args[:workload_identity_config] if args.key?(:workload_identity_config)
|
|
2641
2692
|
end
|
|
2642
2693
|
end
|
|
2643
2694
|
|
|
@@ -2711,6 +2762,11 @@ module Google
|
|
|
2711
2762
|
class GoogleCloudRunV2RevisionTemplate
|
|
2712
2763
|
include Google::Apis::Core::Hashable
|
|
2713
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
|
+
|
|
2714
2770
|
# Optional. Unstructured key value map that may be set by external tools to
|
|
2715
2771
|
# store and arbitrary metadata. They are not queryable and should be preserved
|
|
2716
2772
|
# when modifying objects. Cloud Run API v2 does not support annotations with `
|
|
@@ -2844,12 +2900,18 @@ module Google
|
|
|
2844
2900
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2VpcAccess]
|
|
2845
2901
|
attr_accessor :vpc_access
|
|
2846
2902
|
|
|
2903
|
+
# Workload identity settings.
|
|
2904
|
+
# Corresponds to the JSON property `workloadIdentityConfig`
|
|
2905
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2WorkloadIdentityConfig]
|
|
2906
|
+
attr_accessor :workload_identity_config
|
|
2907
|
+
|
|
2847
2908
|
def initialize(**args)
|
|
2848
2909
|
update!(**args)
|
|
2849
2910
|
end
|
|
2850
2911
|
|
|
2851
2912
|
# Update properties of this object
|
|
2852
2913
|
def update!(**args)
|
|
2914
|
+
@ambient_networking = args[:ambient_networking] if args.key?(:ambient_networking)
|
|
2853
2915
|
@annotations = args[:annotations] if args.key?(:annotations)
|
|
2854
2916
|
@client = args[:client] if args.key?(:client)
|
|
2855
2917
|
@client_version = args[:client_version] if args.key?(:client_version)
|
|
@@ -2871,6 +2933,7 @@ module Google
|
|
|
2871
2933
|
@timeout = args[:timeout] if args.key?(:timeout)
|
|
2872
2934
|
@volumes = args[:volumes] if args.key?(:volumes)
|
|
2873
2935
|
@vpc_access = args[:vpc_access] if args.key?(:vpc_access)
|
|
2936
|
+
@workload_identity_config = args[:workload_identity_config] if args.key?(:workload_identity_config)
|
|
2874
2937
|
end
|
|
2875
2938
|
end
|
|
2876
2939
|
|
|
@@ -3083,6 +3146,11 @@ module Google
|
|
|
3083
3146
|
# @return [String]
|
|
3084
3147
|
attr_accessor :expire_time
|
|
3085
3148
|
|
|
3149
|
+
# Optional. The functional type of the Service.
|
|
3150
|
+
# Corresponds to the JSON property `functionalType`
|
|
3151
|
+
# @return [String]
|
|
3152
|
+
attr_accessor :functional_type
|
|
3153
|
+
|
|
3086
3154
|
# Output only. A number that monotonically increases every time the user
|
|
3087
3155
|
# modifies the desired state. Please note that unlike v1, this is an int64 value.
|
|
3088
3156
|
# As with most Google APIs, its JSON representation will be a `string` instead
|
|
@@ -3289,6 +3357,7 @@ module Google
|
|
|
3289
3357
|
@description = args[:description] if args.key?(:description)
|
|
3290
3358
|
@etag = args[:etag] if args.key?(:etag)
|
|
3291
3359
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
3360
|
+
@functional_type = args[:functional_type] if args.key?(:functional_type)
|
|
3292
3361
|
@generation = args[:generation] if args.key?(:generation)
|
|
3293
3362
|
@iap_enabled = args[:iap_enabled] if args.key?(:iap_enabled)
|
|
3294
3363
|
@ingress = args[:ingress] if args.key?(:ingress)
|
|
@@ -3866,6 +3935,11 @@ module Google
|
|
|
3866
3935
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2VpcAccess]
|
|
3867
3936
|
attr_accessor :vpc_access
|
|
3868
3937
|
|
|
3938
|
+
# Workload identity settings.
|
|
3939
|
+
# Corresponds to the JSON property `workloadIdentityConfig`
|
|
3940
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2WorkloadIdentityConfig]
|
|
3941
|
+
attr_accessor :workload_identity_config
|
|
3942
|
+
|
|
3869
3943
|
def initialize(**args)
|
|
3870
3944
|
update!(**args)
|
|
3871
3945
|
end
|
|
@@ -3905,6 +3979,7 @@ module Google
|
|
|
3905
3979
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
3906
3980
|
@volumes = args[:volumes] if args.key?(:volumes)
|
|
3907
3981
|
@vpc_access = args[:vpc_access] if args.key?(:vpc_access)
|
|
3982
|
+
@workload_identity_config = args[:workload_identity_config] if args.key?(:workload_identity_config)
|
|
3908
3983
|
end
|
|
3909
3984
|
end
|
|
3910
3985
|
|
|
@@ -4015,6 +4090,11 @@ module Google
|
|
|
4015
4090
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2VpcAccess]
|
|
4016
4091
|
attr_accessor :vpc_access
|
|
4017
4092
|
|
|
4093
|
+
# Workload identity settings.
|
|
4094
|
+
# Corresponds to the JSON property `workloadIdentityConfig`
|
|
4095
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2WorkloadIdentityConfig]
|
|
4096
|
+
attr_accessor :workload_identity_config
|
|
4097
|
+
|
|
4018
4098
|
def initialize(**args)
|
|
4019
4099
|
update!(**args)
|
|
4020
4100
|
end
|
|
@@ -4031,6 +4111,7 @@ module Google
|
|
|
4031
4111
|
@timeout = args[:timeout] if args.key?(:timeout)
|
|
4032
4112
|
@volumes = args[:volumes] if args.key?(:volumes)
|
|
4033
4113
|
@vpc_access = args[:vpc_access] if args.key?(:vpc_access)
|
|
4114
|
+
@workload_identity_config = args[:workload_identity_config] if args.key?(:workload_identity_config)
|
|
4034
4115
|
end
|
|
4035
4116
|
end
|
|
4036
4117
|
|
|
@@ -4740,6 +4821,40 @@ module Google
|
|
|
4740
4821
|
end
|
|
4741
4822
|
end
|
|
4742
4823
|
|
|
4824
|
+
# Workload identity settings.
|
|
4825
|
+
class GoogleCloudRunV2WorkloadIdentityConfig
|
|
4826
|
+
include Google::Apis::Core::Hashable
|
|
4827
|
+
|
|
4828
|
+
# Optional. The Revision's SPIFFE workload identity. Enables provisioning of
|
|
4829
|
+
# SPIFFE workload certificates.
|
|
4830
|
+
# Corresponds to the JSON property `identity`
|
|
4831
|
+
# @return [String]
|
|
4832
|
+
attr_accessor :identity
|
|
4833
|
+
|
|
4834
|
+
# Optional. Controls whether an instance receives a MWLID certificate.
|
|
4835
|
+
# Corresponds to the intention of the original --[no-]identity-certificate flag.
|
|
4836
|
+
# Corresponds to the JSON property `identityCertificateEnabled`
|
|
4837
|
+
# @return [Boolean]
|
|
4838
|
+
attr_accessor :identity_certificate_enabled
|
|
4839
|
+
alias_method :identity_certificate_enabled?, :identity_certificate_enabled
|
|
4840
|
+
|
|
4841
|
+
# Optional. The type of identity to use.
|
|
4842
|
+
# Corresponds to the JSON property `identityType`
|
|
4843
|
+
# @return [String]
|
|
4844
|
+
attr_accessor :identity_type
|
|
4845
|
+
|
|
4846
|
+
def initialize(**args)
|
|
4847
|
+
update!(**args)
|
|
4848
|
+
end
|
|
4849
|
+
|
|
4850
|
+
# Update properties of this object
|
|
4851
|
+
def update!(**args)
|
|
4852
|
+
@identity = args[:identity] if args.key?(:identity)
|
|
4853
|
+
@identity_certificate_enabled = args[:identity_certificate_enabled] if args.key?(:identity_certificate_enabled)
|
|
4854
|
+
@identity_type = args[:identity_type] if args.key?(:identity_type)
|
|
4855
|
+
end
|
|
4856
|
+
end
|
|
4857
|
+
|
|
4743
4858
|
# ApprovalConfig describes configuration for manual approval of a build.
|
|
4744
4859
|
class GoogleDevtoolsCloudbuildV1ApprovalConfig
|
|
4745
4860
|
include Google::Apis::Core::Hashable
|
|
@@ -5308,11 +5423,25 @@ module Google
|
|
|
5308
5423
|
# @return [String]
|
|
5309
5424
|
attr_accessor :pubsub_topic
|
|
5310
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
|
+
|
|
5311
5435
|
# Requested verifiability options.
|
|
5312
5436
|
# Corresponds to the JSON property `requestedVerifyOption`
|
|
5313
5437
|
# @return [String]
|
|
5314
5438
|
attr_accessor :requested_verify_option
|
|
5315
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
|
+
|
|
5316
5445
|
# A list of global environment variables, which are encrypted using a Cloud Key
|
|
5317
5446
|
# Management Service crypto key. These values must be specified in the build's `
|
|
5318
5447
|
# Secret`. These variables will be available to all build steps in this build.
|
|
@@ -5347,6 +5476,12 @@ module Google
|
|
|
5347
5476
|
# @return [String]
|
|
5348
5477
|
attr_accessor :worker_pool
|
|
5349
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
|
+
|
|
5350
5485
|
def initialize(**args)
|
|
5351
5486
|
update!(**args)
|
|
5352
5487
|
end
|
|
@@ -5364,12 +5499,63 @@ module Google
|
|
|
5364
5499
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
|
5365
5500
|
@pool = args[:pool] if args.key?(:pool)
|
|
5366
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)
|
|
5367
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)
|
|
5368
5505
|
@secret_env = args[:secret_env] if args.key?(:secret_env)
|
|
5369
5506
|
@source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
|
|
5370
5507
|
@substitution_option = args[:substitution_option] if args.key?(:substitution_option)
|
|
5371
5508
|
@volumes = args[:volumes] if args.key?(:volumes)
|
|
5372
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)
|
|
5373
5559
|
end
|
|
5374
5560
|
end
|
|
5375
5561
|
|
|
@@ -5788,7 +5974,8 @@ module Google
|
|
|
5788
5974
|
class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
|
|
5789
5975
|
include Google::Apis::Core::Hashable
|
|
5790
5976
|
|
|
5791
|
-
#
|
|
5977
|
+
# Optional. Where the artifact files should be placed on the worker. Required
|
|
5978
|
+
# when specified in `Build.dependencies`.
|
|
5792
5979
|
# Corresponds to the JSON property `destPath`
|
|
5793
5980
|
# @return [String]
|
|
5794
5981
|
attr_accessor :dest_path
|
|
@@ -6219,6 +6406,18 @@ module Google
|
|
|
6219
6406
|
# @return [String]
|
|
6220
6407
|
attr_accessor :name
|
|
6221
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
|
+
|
|
6222
6421
|
def initialize(**args)
|
|
6223
6422
|
update!(**args)
|
|
6224
6423
|
end
|
|
@@ -6226,6 +6425,8 @@ module Google
|
|
|
6226
6425
|
# Update properties of this object
|
|
6227
6426
|
def update!(**args)
|
|
6228
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)
|
|
6229
6430
|
end
|
|
6230
6431
|
end
|
|
6231
6432
|
|
|
@@ -6402,6 +6603,11 @@ module Google
|
|
|
6402
6603
|
# @return [Array<Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedPythonPackage>]
|
|
6403
6604
|
attr_accessor :python_packages
|
|
6404
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
|
+
|
|
6405
6611
|
def initialize(**args)
|
|
6406
6612
|
update!(**args)
|
|
6407
6613
|
end
|
|
@@ -6420,6 +6626,7 @@ module Google
|
|
|
6420
6626
|
@npm_packages = args[:npm_packages] if args.key?(:npm_packages)
|
|
6421
6627
|
@num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
|
|
6422
6628
|
@python_packages = args[:python_packages] if args.key?(:python_packages)
|
|
6629
|
+
@resource_usage = args[:resource_usage] if args.key?(:resource_usage)
|
|
6423
6630
|
end
|
|
6424
6631
|
end
|
|
6425
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.
|
|
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.
|
|
22
|
+
GENERATOR_VERSION = "0.19.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
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
|
|
|
@@ -496,6 +502,12 @@ module Google
|
|
|
496
502
|
include Google::Apis::Core::JsonObjectSupport
|
|
497
503
|
end
|
|
498
504
|
|
|
505
|
+
class GoogleCloudRunV2WorkloadIdentityConfig
|
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
507
|
+
|
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
509
|
+
end
|
|
510
|
+
|
|
499
511
|
class GoogleDevtoolsCloudbuildV1ApprovalConfig
|
|
500
512
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
501
513
|
|
|
@@ -544,6 +556,12 @@ module Google
|
|
|
544
556
|
include Google::Apis::Core::JsonObjectSupport
|
|
545
557
|
end
|
|
546
558
|
|
|
559
|
+
class GoogleDevtoolsCloudbuildV1BuildResourceUsage
|
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
561
|
+
|
|
562
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
563
|
+
end
|
|
564
|
+
|
|
547
565
|
class GoogleDevtoolsCloudbuildV1BuildStep
|
|
548
566
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
549
567
|
|
|
@@ -880,6 +898,14 @@ module Google
|
|
|
880
898
|
include Google::Apis::Core::JsonObjectSupport
|
|
881
899
|
end
|
|
882
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
|
+
|
|
883
909
|
class GoogleCloudRunV2BinaryAuthorization
|
|
884
910
|
# @private
|
|
885
911
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1238,6 +1264,7 @@ module Google
|
|
|
1238
1264
|
property :restart_policy, as: 'restartPolicy'
|
|
1239
1265
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
|
1240
1266
|
property :service_account, as: 'serviceAccount'
|
|
1267
|
+
property :ssh_enabled, as: 'sshEnabled'
|
|
1241
1268
|
property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
|
1242
1269
|
|
|
1243
1270
|
property :uid, as: 'uid'
|
|
@@ -1284,6 +1311,7 @@ module Google
|
|
|
1284
1311
|
property :etag, as: 'etag'
|
|
1285
1312
|
property :execution_count, as: 'executionCount'
|
|
1286
1313
|
property :expire_time, as: 'expireTime'
|
|
1314
|
+
property :functional_type, as: 'functionalType'
|
|
1287
1315
|
property :generation, :numeric_string => true, as: 'generation'
|
|
1288
1316
|
hash :labels, as: 'labels'
|
|
1289
1317
|
property :last_modifier, as: 'lastModifier'
|
|
@@ -1448,6 +1476,8 @@ module Google
|
|
|
1448
1476
|
class GoogleCloudRunV2Revision
|
|
1449
1477
|
# @private
|
|
1450
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
|
+
|
|
1451
1481
|
hash :annotations, as: 'annotations'
|
|
1452
1482
|
property :client, as: 'client'
|
|
1453
1483
|
property :client_version, as: 'clientVersion'
|
|
@@ -1492,6 +1522,8 @@ module Google
|
|
|
1492
1522
|
|
|
1493
1523
|
property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess::Representation
|
|
1494
1524
|
|
|
1525
|
+
property :workload_identity_config, as: 'workloadIdentityConfig', class: Google::Apis::RunV2::GoogleCloudRunV2WorkloadIdentityConfig, decorator: Google::Apis::RunV2::GoogleCloudRunV2WorkloadIdentityConfig::Representation
|
|
1526
|
+
|
|
1495
1527
|
end
|
|
1496
1528
|
end
|
|
1497
1529
|
|
|
@@ -1515,6 +1547,8 @@ module Google
|
|
|
1515
1547
|
class GoogleCloudRunV2RevisionTemplate
|
|
1516
1548
|
# @private
|
|
1517
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
|
+
|
|
1518
1552
|
hash :annotations, as: 'annotations'
|
|
1519
1553
|
property :client, as: 'client'
|
|
1520
1554
|
property :client_version, as: 'clientVersion'
|
|
@@ -1542,6 +1576,8 @@ module Google
|
|
|
1542
1576
|
|
|
1543
1577
|
property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess::Representation
|
|
1544
1578
|
|
|
1579
|
+
property :workload_identity_config, as: 'workloadIdentityConfig', class: Google::Apis::RunV2::GoogleCloudRunV2WorkloadIdentityConfig, decorator: Google::Apis::RunV2::GoogleCloudRunV2WorkloadIdentityConfig::Representation
|
|
1580
|
+
|
|
1545
1581
|
end
|
|
1546
1582
|
end
|
|
1547
1583
|
|
|
@@ -1593,6 +1629,7 @@ module Google
|
|
|
1593
1629
|
property :description, as: 'description'
|
|
1594
1630
|
property :etag, as: 'etag'
|
|
1595
1631
|
property :expire_time, as: 'expireTime'
|
|
1632
|
+
property :functional_type, as: 'functionalType'
|
|
1596
1633
|
property :generation, :numeric_string => true, as: 'generation'
|
|
1597
1634
|
property :iap_enabled, as: 'iapEnabled'
|
|
1598
1635
|
property :ingress, as: 'ingress'
|
|
@@ -1765,6 +1802,8 @@ module Google
|
|
|
1765
1802
|
|
|
1766
1803
|
property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess::Representation
|
|
1767
1804
|
|
|
1805
|
+
property :workload_identity_config, as: 'workloadIdentityConfig', class: Google::Apis::RunV2::GoogleCloudRunV2WorkloadIdentityConfig, decorator: Google::Apis::RunV2::GoogleCloudRunV2WorkloadIdentityConfig::Representation
|
|
1806
|
+
|
|
1768
1807
|
end
|
|
1769
1808
|
end
|
|
1770
1809
|
|
|
@@ -1795,6 +1834,8 @@ module Google
|
|
|
1795
1834
|
|
|
1796
1835
|
property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess::Representation
|
|
1797
1836
|
|
|
1837
|
+
property :workload_identity_config, as: 'workloadIdentityConfig', class: Google::Apis::RunV2::GoogleCloudRunV2WorkloadIdentityConfig, decorator: Google::Apis::RunV2::GoogleCloudRunV2WorkloadIdentityConfig::Representation
|
|
1838
|
+
|
|
1798
1839
|
end
|
|
1799
1840
|
end
|
|
1800
1841
|
|
|
@@ -1955,6 +1996,15 @@ module Google
|
|
|
1955
1996
|
end
|
|
1956
1997
|
end
|
|
1957
1998
|
|
|
1999
|
+
class GoogleCloudRunV2WorkloadIdentityConfig
|
|
2000
|
+
# @private
|
|
2001
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2002
|
+
property :identity, as: 'identity'
|
|
2003
|
+
property :identity_certificate_enabled, as: 'identityCertificateEnabled'
|
|
2004
|
+
property :identity_type, as: 'identityType'
|
|
2005
|
+
end
|
|
2006
|
+
end
|
|
2007
|
+
|
|
1958
2008
|
class GoogleDevtoolsCloudbuildV1ApprovalConfig
|
|
1959
2009
|
# @private
|
|
1960
2010
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2089,13 +2139,27 @@ module Google
|
|
|
2089
2139
|
property :pool, as: 'pool', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1PoolOption, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1PoolOption::Representation
|
|
2090
2140
|
|
|
2091
2141
|
property :pubsub_topic, as: 'pubsubTopic'
|
|
2142
|
+
collection :ranked_machine_series, as: 'rankedMachineSeries'
|
|
2092
2143
|
property :requested_verify_option, as: 'requestedVerifyOption'
|
|
2144
|
+
property :resolved_worker_release, as: 'resolvedWorkerRelease'
|
|
2093
2145
|
collection :secret_env, as: 'secretEnv'
|
|
2094
2146
|
collection :source_provenance_hash, as: 'sourceProvenanceHash'
|
|
2095
2147
|
property :substitution_option, as: 'substitutionOption'
|
|
2096
2148
|
collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1Volume, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1Volume::Representation
|
|
2097
2149
|
|
|
2098
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'
|
|
2099
2163
|
end
|
|
2100
2164
|
end
|
|
2101
2165
|
|
|
@@ -2314,6 +2378,8 @@ module Google
|
|
|
2314
2378
|
# @private
|
|
2315
2379
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2316
2380
|
property :name, as: 'name'
|
|
2381
|
+
property :resolved_worker_release, as: 'resolvedWorkerRelease'
|
|
2382
|
+
property :worker_release, as: 'workerRelease'
|
|
2317
2383
|
end
|
|
2318
2384
|
end
|
|
2319
2385
|
|
|
@@ -2362,6 +2428,8 @@ module Google
|
|
|
2362
2428
|
property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
|
|
2363
2429
|
collection :python_packages, as: 'pythonPackages', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedPythonPackage, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedPythonPackage::Representation
|
|
2364
2430
|
|
|
2431
|
+
property :resource_usage, as: 'resourceUsage', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildResourceUsage, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildResourceUsage::Representation
|
|
2432
|
+
|
|
2365
2433
|
end
|
|
2366
2434
|
end
|
|
2367
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.
|
|
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.
|
|
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:
|