google-apis-run_v2 0.84.0 → 0.85.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 +4 -0
- data/lib/google/apis/run_v2/classes.rb +19 -30
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51dcbd1e91186395143c71cdab8071661766f1cbd8dc287799196f811b587e82
|
4
|
+
data.tar.gz: 8b2a30f1d2e62d68c455f26e9e686abfe4f55e96d4068cb41c9df97589aaa1aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4735299946bbe24a14c43781fe51cddf56ddf1e367c471fdafff296223db66249f4481814fbe159a4ef3b27188daa0056992e701e994ecb1c29ec1d37efb4a5
|
7
|
+
data.tar.gz: af8d923a9c24b572e536a493b7c94ce48ecc87aebb9e87f1df4ff9e2d357370718cb9b0d1f218492db33b197815c6c7b06fbfae4a98542d4cb192ca912843e98
|
data/CHANGELOG.md
CHANGED
@@ -2547,6 +2547,12 @@ module Google
|
|
2547
2547
|
# @return [Fixnum]
|
2548
2548
|
attr_accessor :generation
|
2549
2549
|
|
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
|
+
|
2550
2556
|
# Optional. Provides the ingress settings for this Service. On output, returns
|
2551
2557
|
# the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
|
2552
2558
|
# revision is active.
|
@@ -2555,9 +2561,8 @@ module Google
|
|
2555
2561
|
attr_accessor :ingress
|
2556
2562
|
|
2557
2563
|
# Optional. Disables IAM permission check for run.routes.invoke for callers of
|
2558
|
-
# this service.
|
2559
|
-
#
|
2560
|
-
# invoker_check.
|
2564
|
+
# this service. For more information, visit https://cloud.google.com/run/docs/
|
2565
|
+
# securing/managing-access#invoker_check.
|
2561
2566
|
# Corresponds to the JSON property `invokerIamDisabled`
|
2562
2567
|
# @return [Boolean]
|
2563
2568
|
attr_accessor :invoker_iam_disabled
|
@@ -2667,6 +2672,13 @@ module Google
|
|
2667
2672
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2Condition]
|
2668
2673
|
attr_accessor :terminal_condition
|
2669
2674
|
|
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
|
+
|
2670
2682
|
# Optional. Specifies how to distribute traffic over a collection of Revisions
|
2671
2683
|
# belonging to the Service. If traffic is empty or not provided, defaults to 100%
|
2672
2684
|
# traffic to the latest `Ready` Revision.
|
@@ -2723,6 +2735,7 @@ module Google
|
|
2723
2735
|
@etag = args[:etag] if args.key?(:etag)
|
2724
2736
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
2725
2737
|
@generation = args[:generation] if args.key?(:generation)
|
2738
|
+
@iap_enabled = args[:iap_enabled] if args.key?(:iap_enabled)
|
2726
2739
|
@ingress = args[:ingress] if args.key?(:ingress)
|
2727
2740
|
@invoker_iam_disabled = args[:invoker_iam_disabled] if args.key?(:invoker_iam_disabled)
|
2728
2741
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -2737,6 +2750,7 @@ module Google
|
|
2737
2750
|
@scaling = args[:scaling] if args.key?(:scaling)
|
2738
2751
|
@template = args[:template] if args.key?(:template)
|
2739
2752
|
@terminal_condition = args[:terminal_condition] if args.key?(:terminal_condition)
|
2753
|
+
@threat_detection_enabled = args[:threat_detection_enabled] if args.key?(:threat_detection_enabled)
|
2740
2754
|
@traffic = args[:traffic] if args.key?(:traffic)
|
2741
2755
|
@traffic_statuses = args[:traffic_statuses] if args.key?(:traffic_statuses)
|
2742
2756
|
@uid = args[:uid] if args.key?(:uid)
|
@@ -3947,27 +3961,6 @@ module Google
|
|
3947
3961
|
# @return [Fixnum]
|
3948
3962
|
attr_accessor :max_instance_count
|
3949
3963
|
|
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
|
-
|
3971
3964
|
# Optional. The minimum count of instances distributed among revisions based on
|
3972
3965
|
# the specified instance split percentages.
|
3973
3966
|
# Corresponds to the JSON property `minInstanceCount`
|
@@ -3987,8 +3980,6 @@ module Google
|
|
3987
3980
|
def update!(**args)
|
3988
3981
|
@manual_instance_count = args[:manual_instance_count] if args.key?(:manual_instance_count)
|
3989
3982
|
@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)
|
3992
3983
|
@min_instance_count = args[:min_instance_count] if args.key?(:min_instance_count)
|
3993
3984
|
@scaling_mode = args[:scaling_mode] if args.key?(:scaling_mode)
|
3994
3985
|
end
|
@@ -6551,7 +6542,7 @@ module Google
|
|
6551
6542
|
end
|
6552
6543
|
end
|
6553
6544
|
|
6554
|
-
#
|
6545
|
+
# This is proto2's version of MessageSet.
|
6555
6546
|
class Proto2BridgeMessageSet
|
6556
6547
|
include Google::Apis::Core::Hashable
|
6557
6548
|
|
@@ -6588,9 +6579,7 @@ module Google
|
|
6588
6579
|
# @return [String]
|
6589
6580
|
attr_accessor :message
|
6590
6581
|
|
6591
|
-
#
|
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.
|
6594
6583
|
# Corresponds to the JSON property `messageSet`
|
6595
6584
|
# @return [Google::Apis::RunV2::Proto2BridgeMessageSet]
|
6596
6585
|
attr_accessor :message_set
|
@@ -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.85.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250321"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1372,6 +1372,7 @@ module Google
|
|
1372
1372
|
property :etag, as: 'etag'
|
1373
1373
|
property :expire_time, as: 'expireTime'
|
1374
1374
|
property :generation, :numeric_string => true, as: 'generation'
|
1375
|
+
property :iap_enabled, as: 'iapEnabled'
|
1375
1376
|
property :ingress, as: 'ingress'
|
1376
1377
|
property :invoker_iam_disabled, as: 'invokerIamDisabled'
|
1377
1378
|
hash :labels, as: 'labels'
|
@@ -1389,6 +1390,7 @@ module Google
|
|
1389
1390
|
|
1390
1391
|
property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
1391
1392
|
|
1393
|
+
property :threat_detection_enabled, as: 'threatDetectionEnabled'
|
1392
1394
|
collection :traffic, as: 'traffic', class: Google::Apis::RunV2::GoogleCloudRunV2TrafficTarget, decorator: Google::Apis::RunV2::GoogleCloudRunV2TrafficTarget::Representation
|
1393
1395
|
|
1394
1396
|
collection :traffic_statuses, as: 'trafficStatuses', class: Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus, decorator: Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus::Representation
|
@@ -1667,8 +1669,6 @@ module Google
|
|
1667
1669
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1668
1670
|
property :manual_instance_count, as: 'manualInstanceCount'
|
1669
1671
|
property :max_instance_count, as: 'maxInstanceCount'
|
1670
|
-
property :max_surge, as: 'maxSurge'
|
1671
|
-
property :max_unavailable, as: 'maxUnavailable'
|
1672
1672
|
property :min_instance_count, as: 'minInstanceCount'
|
1673
1673
|
property :scaling_mode, as: 'scalingMode'
|
1674
1674
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.85.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-30 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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.85.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:
|