diff --git a/api_names_out.yaml b/api_names_out.yaml index 0db360812b9..1888e01684e 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -352616,6 +352616,7 @@ "/run:v2/GoogleCloudRunV2Instance/satisfiesPzs": satisfies_pzs "/run:v2/GoogleCloudRunV2Instance/serviceAccount": service_account "/run:v2/GoogleCloudRunV2Instance/terminalCondition": terminal_condition +"/run:v2/GoogleCloudRunV2Instance/timeout": timeout "/run:v2/GoogleCloudRunV2Instance/uid": uid "/run:v2/GoogleCloudRunV2Instance/updateTime": update_time "/run:v2/GoogleCloudRunV2Instance/urls": urls @@ -352773,6 +352774,8 @@ "/run:v2/GoogleCloudRunV2Revision/volumes/volume": volume "/run:v2/GoogleCloudRunV2Revision/vpcAccess": vpc_access "/run:v2/GoogleCloudRunV2RevisionScaling": google_cloud_run_v2_revision_scaling +"/run:v2/GoogleCloudRunV2RevisionScaling/concurrencyUtilization": concurrency_utilization +"/run:v2/GoogleCloudRunV2RevisionScaling/cpuUtilization": cpu_utilization "/run:v2/GoogleCloudRunV2RevisionScaling/maxInstanceCount": max_instance_count "/run:v2/GoogleCloudRunV2RevisionScaling/minInstanceCount": min_instance_count "/run:v2/GoogleCloudRunV2RevisionScalingStatus": google_cloud_run_v2_revision_scaling_status diff --git a/generated/google-apis-run_v2/CHANGELOG.md b/generated/google-apis-run_v2/CHANGELOG.md index 789cc384831..c9bee64763f 100644 --- a/generated/google-apis-run_v2/CHANGELOG.md +++ b/generated/google-apis-run_v2/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-run_v2 +### v0.107.0 (2026-02-15) + +* Regenerated from discovery document revision 20260206 + ### v0.106.0 (2026-02-08) * Regenerated from discovery document revision 20260130 diff --git a/generated/google-apis-run_v2/lib/google/apis/run_v2/classes.rb b/generated/google-apis-run_v2/lib/google/apis/run_v2/classes.rb index 16e3c643935..6bf26e4c7f4 100644 --- a/generated/google-apis-run_v2/lib/google/apis/run_v2/classes.rb +++ b/generated/google-apis-run_v2/lib/google/apis/run_v2/classes.rb @@ -1484,6 +1484,12 @@ class GoogleCloudRunV2Instance # @return [Google::Apis::RunV2::GoogleCloudRunV2Condition] attr_accessor :terminal_condition + # Optional. Duration the instance may be active before the system will shut it + # down. + # Corresponds to the JSON property `timeout` + # @return [String] + attr_accessor :timeout + # Output only. Server assigned unique identifier for the trigger. The value is a # UUID4 string and guaranteed to remain unchanged until the resource is deleted. # Corresponds to the JSON property `uid` @@ -1549,6 +1555,7 @@ def update!(**args) @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) @service_account = args[:service_account] if args.key?(:service_account) @terminal_condition = args[:terminal_condition] if args.key?(:terminal_condition) + @timeout = args[:timeout] if args.key?(:timeout) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) @urls = args[:urls] if args.key?(:urls) @@ -2337,7 +2344,7 @@ class GoogleCloudRunV2Revision # @return [Array] attr_accessor :conditions - # Holds the single container that defines the unit of execution for this + # Containers holds the list which define the units of execution for this # Revision. # Corresponds to the JSON property `containers` # @return [Array] @@ -2579,6 +2586,17 @@ def update!(**args) class GoogleCloudRunV2RevisionScaling include Google::Apis::Core::Hashable + # Optional. Determines a threshold for concurrency utilization before scaling + # begins. + # Corresponds to the JSON property `concurrencyUtilization` + # @return [Float] + attr_accessor :concurrency_utilization + + # Optional. Determines a threshold for CPU utilization before scaling begins. + # Corresponds to the JSON property `cpuUtilization` + # @return [Float] + attr_accessor :cpu_utilization + # Optional. Maximum number of serving instances that this resource should have. # When unspecified, the field is set to the server default value of 100. For # more information see https://cloud.google.com/run/docs/configuring/max- @@ -2598,6 +2616,8 @@ def initialize(**args) # Update properties of this object def update!(**args) + @concurrency_utilization = args[:concurrency_utilization] if args.key?(:concurrency_utilization) + @cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization) @max_instance_count = args[:max_instance_count] if args.key?(:max_instance_count) @min_instance_count = args[:min_instance_count] if args.key?(:min_instance_count) end diff --git a/generated/google-apis-run_v2/lib/google/apis/run_v2/gem_version.rb b/generated/google-apis-run_v2/lib/google/apis/run_v2/gem_version.rb index 5d5c5734fc0..dca37ae0b00 100644 --- a/generated/google-apis-run_v2/lib/google/apis/run_v2/gem_version.rb +++ b/generated/google-apis-run_v2/lib/google/apis/run_v2/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module RunV2 # Version of the google-apis-run_v2 gem - GEM_VERSION = "0.106.0" + GEM_VERSION = "0.107.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20260130" + REVISION = "20260206" end end end diff --git a/generated/google-apis-run_v2/lib/google/apis/run_v2/representations.rb b/generated/google-apis-run_v2/lib/google/apis/run_v2/representations.rb index f6f254fc612..dd9503314bf 100644 --- a/generated/google-apis-run_v2/lib/google/apis/run_v2/representations.rb +++ b/generated/google-apis-run_v2/lib/google/apis/run_v2/representations.rb @@ -1167,6 +1167,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :service_account, as: 'serviceAccount' property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation + property :timeout, as: 'timeout' property :uid, as: 'uid' property :update_time, as: 'updateTime' collection :urls, as: 'urls' @@ -1424,6 +1425,8 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudRunV2RevisionScaling # @private class Representation < Google::Apis::Core::JsonRepresentation + property :concurrency_utilization, as: 'concurrencyUtilization' + property :cpu_utilization, as: 'cpuUtilization' property :max_instance_count, as: 'maxInstanceCount' property :min_instance_count, as: 'minInstanceCount' end