Skip to content

Commit 02a2380

Browse files
feat: Automated regeneration of run v2 client (googleapis#25751)
Auto-created at 2026-02-15 11:08:41 +0000 using the toys pull request generator.
1 parent e7dc41b commit 02a2380

File tree

5 files changed

+33
-3
lines changed

5 files changed

+33
-3
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353467,6 +353467,7 @@
353467353467
"/run:v2/GoogleCloudRunV2Instance/satisfiesPzs": satisfies_pzs
353468353468
"/run:v2/GoogleCloudRunV2Instance/serviceAccount": service_account
353469353469
"/run:v2/GoogleCloudRunV2Instance/terminalCondition": terminal_condition
353470+
"/run:v2/GoogleCloudRunV2Instance/timeout": timeout
353470353471
"/run:v2/GoogleCloudRunV2Instance/uid": uid
353471353472
"/run:v2/GoogleCloudRunV2Instance/updateTime": update_time
353472353473
"/run:v2/GoogleCloudRunV2Instance/urls": urls
@@ -353624,6 +353625,8 @@
353624353625
"/run:v2/GoogleCloudRunV2Revision/volumes/volume": volume
353625353626
"/run:v2/GoogleCloudRunV2Revision/vpcAccess": vpc_access
353626353627
"/run:v2/GoogleCloudRunV2RevisionScaling": google_cloud_run_v2_revision_scaling
353628+
"/run:v2/GoogleCloudRunV2RevisionScaling/concurrencyUtilization": concurrency_utilization
353629+
"/run:v2/GoogleCloudRunV2RevisionScaling/cpuUtilization": cpu_utilization
353627353630
"/run:v2/GoogleCloudRunV2RevisionScaling/maxInstanceCount": max_instance_count
353628353631
"/run:v2/GoogleCloudRunV2RevisionScaling/minInstanceCount": min_instance_count
353629353632
"/run:v2/GoogleCloudRunV2RevisionScalingStatus": google_cloud_run_v2_revision_scaling_status

generated/google-apis-run_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-run_v2
22

3+
### v0.107.0 (2026-02-15)
4+
5+
* Regenerated from discovery document revision 20260206
6+
37
### v0.106.0 (2026-02-08)
48

59
* Regenerated from discovery document revision 20260130

generated/google-apis-run_v2/lib/google/apis/run_v2/classes.rb

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,6 +1484,12 @@ class GoogleCloudRunV2Instance
14841484
# @return [Google::Apis::RunV2::GoogleCloudRunV2Condition]
14851485
attr_accessor :terminal_condition
14861486

1487+
# Optional. Duration the instance may be active before the system will shut it
1488+
# down.
1489+
# Corresponds to the JSON property `timeout`
1490+
# @return [String]
1491+
attr_accessor :timeout
1492+
14871493
# Output only. Server assigned unique identifier for the trigger. The value is a
14881494
# UUID4 string and guaranteed to remain unchanged until the resource is deleted.
14891495
# Corresponds to the JSON property `uid`
@@ -1549,6 +1555,7 @@ def update!(**args)
15491555
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
15501556
@service_account = args[:service_account] if args.key?(:service_account)
15511557
@terminal_condition = args[:terminal_condition] if args.key?(:terminal_condition)
1558+
@timeout = args[:timeout] if args.key?(:timeout)
15521559
@uid = args[:uid] if args.key?(:uid)
15531560
@update_time = args[:update_time] if args.key?(:update_time)
15541561
@urls = args[:urls] if args.key?(:urls)
@@ -2337,7 +2344,7 @@ class GoogleCloudRunV2Revision
23372344
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Condition>]
23382345
attr_accessor :conditions
23392346

2340-
# Holds the single container that defines the unit of execution for this
2347+
# Containers holds the list which define the units of execution for this
23412348
# Revision.
23422349
# Corresponds to the JSON property `containers`
23432350
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Container>]
@@ -2579,6 +2586,17 @@ def update!(**args)
25792586
class GoogleCloudRunV2RevisionScaling
25802587
include Google::Apis::Core::Hashable
25812588

2589+
# Optional. Determines a threshold for concurrency utilization before scaling
2590+
# begins.
2591+
# Corresponds to the JSON property `concurrencyUtilization`
2592+
# @return [Float]
2593+
attr_accessor :concurrency_utilization
2594+
2595+
# Optional. Determines a threshold for CPU utilization before scaling begins.
2596+
# Corresponds to the JSON property `cpuUtilization`
2597+
# @return [Float]
2598+
attr_accessor :cpu_utilization
2599+
25822600
# Optional. Maximum number of serving instances that this resource should have.
25832601
# When unspecified, the field is set to the server default value of 100. For
25842602
# more information see https://cloud.google.com/run/docs/configuring/max-
@@ -2598,6 +2616,8 @@ def initialize(**args)
25982616

25992617
# Update properties of this object
26002618
def update!(**args)
2619+
@concurrency_utilization = args[:concurrency_utilization] if args.key?(:concurrency_utilization)
2620+
@cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization)
26012621
@max_instance_count = args[:max_instance_count] if args.key?(:max_instance_count)
26022622
@min_instance_count = args[:min_instance_count] if args.key?(:min_instance_count)
26032623
end

generated/google-apis-run_v2/lib/google/apis/run_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module RunV2
1818
# Version of the google-apis-run_v2 gem
19-
GEM_VERSION = "0.106.0"
19+
GEM_VERSION = "0.107.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260130"
25+
REVISION = "20260206"
2626
end
2727
end
2828
end

generated/google-apis-run_v2/lib/google/apis/run_v2/representations.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,6 +1167,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
11671167
property :service_account, as: 'serviceAccount'
11681168
property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
11691169

1170+
property :timeout, as: 'timeout'
11701171
property :uid, as: 'uid'
11711172
property :update_time, as: 'updateTime'
11721173
collection :urls, as: 'urls'
@@ -1424,6 +1425,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
14241425
class GoogleCloudRunV2RevisionScaling
14251426
# @private
14261427
class Representation < Google::Apis::Core::JsonRepresentation
1428+
property :concurrency_utilization, as: 'concurrencyUtilization'
1429+
property :cpu_utilization, as: 'cpuUtilization'
14271430
property :max_instance_count, as: 'maxInstanceCount'
14281431
property :min_instance_count, as: 'minInstanceCount'
14291432
end

0 commit comments

Comments
 (0)