Skip to content

Commit f2e6193

Browse files
feat: Automated regeneration of run v2 client (googleapis#22297)
Auto-created at 2025-03-30 10:23:16 +0000 using the toys pull request generator.
1 parent 0b47a08 commit f2e6193

File tree

5 files changed

+29
-34
lines changed

5 files changed

+29
-34
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313031,6 +313031,7 @@
313031313031
"/run:v2/GoogleCloudRunV2Service/etag": etag
313032313032
"/run:v2/GoogleCloudRunV2Service/expireTime": expire_time
313033313033
"/run:v2/GoogleCloudRunV2Service/generation": generation
313034+
"/run:v2/GoogleCloudRunV2Service/iapEnabled": iap_enabled
313034313035
"/run:v2/GoogleCloudRunV2Service/ingress": ingress
313035313036
"/run:v2/GoogleCloudRunV2Service/invokerIamDisabled": invoker_iam_disabled
313036313037
"/run:v2/GoogleCloudRunV2Service/labels": labels
@@ -313046,6 +313047,7 @@
313046313047
"/run:v2/GoogleCloudRunV2Service/scaling": scaling
313047313048
"/run:v2/GoogleCloudRunV2Service/template": template
313048313049
"/run:v2/GoogleCloudRunV2Service/terminalCondition": terminal_condition
313050+
"/run:v2/GoogleCloudRunV2Service/threatDetectionEnabled": threat_detection_enabled
313049313051
"/run:v2/GoogleCloudRunV2Service/traffic": traffic
313050313052
"/run:v2/GoogleCloudRunV2Service/traffic/traffic": traffic
313051313053
"/run:v2/GoogleCloudRunV2Service/trafficStatuses": traffic_statuses

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.85.0 (2025-03-30)
4+
5+
* Regenerated from discovery document revision 20250321
6+
37
### v0.84.0 (2025-03-23)
48

59
* Regenerated from discovery document revision 20250314

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

Lines changed: 19 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2547,6 +2547,12 @@ class GoogleCloudRunV2Service
25472547
# @return [Fixnum]
25482548
attr_accessor :generation
25492549

2550+
# Optional. IAP settings on the Service.
2551+
# Corresponds to the JSON property `iapEnabled`
2552+
# @return [Boolean]
2553+
attr_accessor :iap_enabled
2554+
alias_method :iap_enabled?, :iap_enabled
2555+
25502556
# Optional. Provides the ingress settings for this Service. On output, returns
25512557
# the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
25522558
# revision is active.
@@ -2555,9 +2561,8 @@ class GoogleCloudRunV2Service
25552561
attr_accessor :ingress
25562562

25572563
# Optional. Disables IAM permission check for run.routes.invoke for callers of
2558-
# this service. This feature is available by invitation only. For more
2559-
# information, visit https://cloud.google.com/run/docs/securing/managing-access#
2560-
# invoker_check.
2564+
# this service. For more information, visit https://cloud.google.com/run/docs/
2565+
# securing/managing-access#invoker_check.
25612566
# Corresponds to the JSON property `invokerIamDisabled`
25622567
# @return [Boolean]
25632568
attr_accessor :invoker_iam_disabled
@@ -2667,6 +2672,13 @@ class GoogleCloudRunV2Service
26672672
# @return [Google::Apis::RunV2::GoogleCloudRunV2Condition]
26682673
attr_accessor :terminal_condition
26692674

2675+
# Output only. True if Cloud Run Threat Detection monitoring is enabled for the
2676+
# parent project of this Service.
2677+
# Corresponds to the JSON property `threatDetectionEnabled`
2678+
# @return [Boolean]
2679+
attr_accessor :threat_detection_enabled
2680+
alias_method :threat_detection_enabled?, :threat_detection_enabled
2681+
26702682
# Optional. Specifies how to distribute traffic over a collection of Revisions
26712683
# belonging to the Service. If traffic is empty or not provided, defaults to 100%
26722684
# traffic to the latest `Ready` Revision.
@@ -2723,6 +2735,7 @@ def update!(**args)
27232735
@etag = args[:etag] if args.key?(:etag)
27242736
@expire_time = args[:expire_time] if args.key?(:expire_time)
27252737
@generation = args[:generation] if args.key?(:generation)
2738+
@iap_enabled = args[:iap_enabled] if args.key?(:iap_enabled)
27262739
@ingress = args[:ingress] if args.key?(:ingress)
27272740
@invoker_iam_disabled = args[:invoker_iam_disabled] if args.key?(:invoker_iam_disabled)
27282741
@labels = args[:labels] if args.key?(:labels)
@@ -2737,6 +2750,7 @@ def update!(**args)
27372750
@scaling = args[:scaling] if args.key?(:scaling)
27382751
@template = args[:template] if args.key?(:template)
27392752
@terminal_condition = args[:terminal_condition] if args.key?(:terminal_condition)
2753+
@threat_detection_enabled = args[:threat_detection_enabled] if args.key?(:threat_detection_enabled)
27402754
@traffic = args[:traffic] if args.key?(:traffic)
27412755
@traffic_statuses = args[:traffic_statuses] if args.key?(:traffic_statuses)
27422756
@uid = args[:uid] if args.key?(:uid)
@@ -3947,27 +3961,6 @@ class GoogleCloudRunV2WorkerPoolScaling
39473961
# @return [Fixnum]
39483962
attr_accessor :max_instance_count
39493963

3950-
# Optional. A maximum percentage of instances that will be moved in each step of
3951-
# traffic split changes. When set to a positive value, the server will bring up,
3952-
# at most, that percentage of new instances at a time before moving traffic to
3953-
# them. After moving traffic, the server will bring down instances of the old
3954-
# revision. This can reduce a spike of total active instances during changes
3955-
# from one revision to another but specifying how many extra instances can be
3956-
# brought up at a time.
3957-
# Corresponds to the JSON property `maxSurge`
3958-
# @return [Fixnum]
3959-
attr_accessor :max_surge
3960-
3961-
# Optional. A maximum percentage of instances that may be unavailable during
3962-
# changes from one revision to another. When set to a positive value, the server
3963-
# may bring down instances before bringing up new instances. This can prevent a
3964-
# spike of total active instances during changes from one revision by reducing
3965-
# the pool of instances before bringing up new ones. Some requests may be slow
3966-
# or fail to serve during the transition.
3967-
# Corresponds to the JSON property `maxUnavailable`
3968-
# @return [Fixnum]
3969-
attr_accessor :max_unavailable
3970-
39713964
# Optional. The minimum count of instances distributed among revisions based on
39723965
# the specified instance split percentages.
39733966
# Corresponds to the JSON property `minInstanceCount`
@@ -3987,8 +3980,6 @@ def initialize(**args)
39873980
def update!(**args)
39883981
@manual_instance_count = args[:manual_instance_count] if args.key?(:manual_instance_count)
39893982
@max_instance_count = args[:max_instance_count] if args.key?(:max_instance_count)
3990-
@max_surge = args[:max_surge] if args.key?(:max_surge)
3991-
@max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
39923983
@min_instance_count = args[:min_instance_count] if args.key?(:min_instance_count)
39933984
@scaling_mode = args[:scaling_mode] if args.key?(:scaling_mode)
39943985
end
@@ -6551,7 +6542,7 @@ def update!(**args)
65516542
end
65526543
end
65536544

6554-
#
6545+
# This is proto2's version of MessageSet.
65556546
class Proto2BridgeMessageSet
65566547
include Google::Apis::Core::Hashable
65576548

@@ -6588,9 +6579,7 @@ class UtilStatusProto
65886579
# @return [String]
65896580
attr_accessor :message
65906581

6591-
# message_set associates an arbitrary proto message with the status. copybara:
6592-
# strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.
6593-
# MessageSet message_set = 5;
6582+
# This is proto2's version of MessageSet.
65946583
# Corresponds to the JSON property `messageSet`
65956584
# @return [Google::Apis::RunV2::Proto2BridgeMessageSet]
65966585
attr_accessor :message_set

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.84.0"
19+
GEM_VERSION = "0.85.0"
2020

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

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,6 +1372,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
13721372
property :etag, as: 'etag'
13731373
property :expire_time, as: 'expireTime'
13741374
property :generation, :numeric_string => true, as: 'generation'
1375+
property :iap_enabled, as: 'iapEnabled'
13751376
property :ingress, as: 'ingress'
13761377
property :invoker_iam_disabled, as: 'invokerIamDisabled'
13771378
hash :labels, as: 'labels'
@@ -1389,6 +1390,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
13891390

13901391
property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
13911392

1393+
property :threat_detection_enabled, as: 'threatDetectionEnabled'
13921394
collection :traffic, as: 'traffic', class: Google::Apis::RunV2::GoogleCloudRunV2TrafficTarget, decorator: Google::Apis::RunV2::GoogleCloudRunV2TrafficTarget::Representation
13931395

13941396
collection :traffic_statuses, as: 'trafficStatuses', class: Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus, decorator: Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus::Representation
@@ -1667,8 +1669,6 @@ class GoogleCloudRunV2WorkerPoolScaling
16671669
class Representation < Google::Apis::Core::JsonRepresentation
16681670
property :manual_instance_count, as: 'manualInstanceCount'
16691671
property :max_instance_count, as: 'maxInstanceCount'
1670-
property :max_surge, as: 'maxSurge'
1671-
property :max_unavailable, as: 'maxUnavailable'
16721672
property :min_instance_count, as: 'minInstanceCount'
16731673
property :scaling_mode, as: 'scalingMode'
16741674
end

0 commit comments

Comments
 (0)