google-apis-run_v2 0.78.0 → 0.80.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 +8 -0
- data/lib/google/apis/run_v2/classes.rb +40 -13
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +4 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb1c7917e60e564a8cfc51d3c75c214f8b8aec2c75bcde95993996f3188e0e05
|
4
|
+
data.tar.gz: 3dbe8ed269e1793d63b5836263dc75cfad52cf218d4b955f87f14ff9551e1a4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab185b8edc259e6b8ca32d048d81a15a625e1b7e5b13dc0567a721a39007e5096430a32b15b5131a264f4e9e95c3e2a0b68e1760168e8d7cd32c34c6fe1bc18d
|
7
|
+
data.tar.gz: e2ddc93f62f4916b83226d50bdb379e5e101aaf834862d24d6bd8d5d9192acf8992b96ee8e10d9bcd459d5c122ce80541798c4042abfcee0f6e77bc3c1da6e09
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-run_v2
|
2
2
|
|
3
|
+
### v0.80.0 (2024-12-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241206
|
6
|
+
|
7
|
+
### v0.79.0 (2024-11-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241115
|
10
|
+
|
3
11
|
### v0.78.0 (2024-11-03)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20241025
|
@@ -96,6 +96,12 @@ module Google
|
|
96
96
|
# @return [String]
|
97
97
|
attr_accessor :function_target
|
98
98
|
|
99
|
+
# Optional. project_descriptor stores the path to the project descriptor file.
|
100
|
+
# When empty, it means that there is no project descriptor file in the source.
|
101
|
+
# Corresponds to the JSON property `projectDescriptor`
|
102
|
+
# @return [String]
|
103
|
+
attr_accessor :project_descriptor
|
104
|
+
|
99
105
|
# The runtime name, e.g. 'go113'. Leave blank for generic builds.
|
100
106
|
# Corresponds to the JSON property `runtime`
|
101
107
|
# @return [String]
|
@@ -112,6 +118,7 @@ module Google
|
|
112
118
|
@enable_automatic_updates = args[:enable_automatic_updates] if args.key?(:enable_automatic_updates)
|
113
119
|
@environment_variables = args[:environment_variables] if args.key?(:environment_variables)
|
114
120
|
@function_target = args[:function_target] if args.key?(:function_target)
|
121
|
+
@project_descriptor = args[:project_descriptor] if args.key?(:project_descriptor)
|
115
122
|
@runtime = args[:runtime] if args.key?(:runtime)
|
116
123
|
end
|
117
124
|
end
|
@@ -1967,6 +1974,17 @@ module Google
|
|
1967
1974
|
# @return [String]
|
1968
1975
|
attr_accessor :encryption_key
|
1969
1976
|
|
1977
|
+
# Optional. The action to take if the encryption key is revoked.
|
1978
|
+
# Corresponds to the JSON property `encryptionKeyRevocationAction`
|
1979
|
+
# @return [String]
|
1980
|
+
attr_accessor :encryption_key_revocation_action
|
1981
|
+
|
1982
|
+
# Optional. If encryption_key_revocation_action is SHUTDOWN, the duration before
|
1983
|
+
# shutting down all instances. The minimum increment is 1 hour.
|
1984
|
+
# Corresponds to the JSON property `encryptionKeyShutdownDuration`
|
1985
|
+
# @return [String]
|
1986
|
+
attr_accessor :encryption_key_shutdown_duration
|
1987
|
+
|
1970
1988
|
# Optional. The sandbox environment to host this Revision.
|
1971
1989
|
# Corresponds to the JSON property `executionEnvironment`
|
1972
1990
|
# @return [String]
|
@@ -1992,8 +2010,8 @@ module Google
|
|
1992
2010
|
attr_accessor :labels
|
1993
2011
|
|
1994
2012
|
# Optional. Sets the maximum number of requests that each serving instance can
|
1995
|
-
# receive. If not specified or 0, defaults to 80 when requested `CPU
|
1996
|
-
# defaults to 1 when requested `CPU < 1`.
|
2013
|
+
# receive. If not specified or 0, concurrency defaults to 80 when requested `CPU
|
2014
|
+
# >= 1` and defaults to 1 when requested `CPU < 1`.
|
1997
2015
|
# Corresponds to the JSON property `maxInstanceRequestConcurrency`
|
1998
2016
|
# @return [Fixnum]
|
1999
2017
|
attr_accessor :max_instance_request_concurrency
|
@@ -2059,6 +2077,8 @@ module Google
|
|
2059
2077
|
@annotations = args[:annotations] if args.key?(:annotations)
|
2060
2078
|
@containers = args[:containers] if args.key?(:containers)
|
2061
2079
|
@encryption_key = args[:encryption_key] if args.key?(:encryption_key)
|
2080
|
+
@encryption_key_revocation_action = args[:encryption_key_revocation_action] if args.key?(:encryption_key_revocation_action)
|
2081
|
+
@encryption_key_shutdown_duration = args[:encryption_key_shutdown_duration] if args.key?(:encryption_key_shutdown_duration)
|
2062
2082
|
@execution_environment = args[:execution_environment] if args.key?(:execution_environment)
|
2063
2083
|
@health_check_disabled = args[:health_check_disabled] if args.key?(:health_check_disabled)
|
2064
2084
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -2149,12 +2169,12 @@ module Google
|
|
2149
2169
|
# of 0222 will be applied to any non-zero value. * This is an integer
|
2150
2170
|
# representation of the mode bits. So, the octal integer value should look
|
2151
2171
|
# exactly as the chmod numeric notation with a leading zero. Some examples: for
|
2152
|
-
# chmod
|
2153
|
-
#
|
2154
|
-
#
|
2155
|
-
#
|
2156
|
-
#
|
2157
|
-
#
|
2172
|
+
# chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=
|
2173
|
+
# rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in
|
2174
|
+
# conflict with other options that affect the file mode, like fsGroup, and the
|
2175
|
+
# result can be other mode bits set. This might be in conflict with other
|
2176
|
+
# options that affect the file mode, like fsGroup, and as a result, other mode
|
2177
|
+
# bits could be set.
|
2158
2178
|
# Corresponds to the JSON property `defaultMode`
|
2159
2179
|
# @return [Fixnum]
|
2160
2180
|
attr_accessor :default_mode
|
@@ -2510,6 +2530,13 @@ module Google
|
|
2510
2530
|
class GoogleCloudRunV2ServiceScaling
|
2511
2531
|
include Google::Apis::Core::Hashable
|
2512
2532
|
|
2533
|
+
# Optional. total instance count for the service in manual scaling mode. This
|
2534
|
+
# number of instances is divided among all revisions with specified traffic
|
2535
|
+
# based on the percent of traffic they are receiving.
|
2536
|
+
# Corresponds to the JSON property `manualInstanceCount`
|
2537
|
+
# @return [Fixnum]
|
2538
|
+
attr_accessor :manual_instance_count
|
2539
|
+
|
2513
2540
|
# Optional. total min instances for the service. This number of instances is
|
2514
2541
|
# divided among all revisions with specified traffic based on the percent of
|
2515
2542
|
# traffic they are receiving.
|
@@ -2528,6 +2555,7 @@ module Google
|
|
2528
2555
|
|
2529
2556
|
# Update properties of this object
|
2530
2557
|
def update!(**args)
|
2558
|
+
@manual_instance_count = args[:manual_instance_count] if args.key?(:manual_instance_count)
|
2531
2559
|
@min_instance_count = args[:min_instance_count] if args.key?(:min_instance_count)
|
2532
2560
|
@scaling_mode = args[:scaling_mode] if args.key?(:scaling_mode)
|
2533
2561
|
end
|
@@ -3110,11 +3138,10 @@ module Google
|
|
3110
3138
|
# Internally, a umask of 0222 will be applied to any non-zero value. * This is
|
3111
3139
|
# an integer representation of the mode bits. So, the octal integer value should
|
3112
3140
|
# look exactly as the chmod numeric notation with a leading zero. Some examples:
|
3113
|
-
# for chmod
|
3114
|
-
#
|
3115
|
-
#
|
3116
|
-
#
|
3117
|
-
# mode bits set.
|
3141
|
+
# for chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (
|
3142
|
+
# u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in
|
3143
|
+
# conflict with other options that affect the file mode, like fsGroup, and the
|
3144
|
+
# result can be other mode bits set.
|
3118
3145
|
# Corresponds to the JSON property `mode`
|
3119
3146
|
# @return [Fixnum]
|
3120
3147
|
attr_accessor :mode
|
@@ -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.80.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241206"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -711,6 +711,7 @@ module Google
|
|
711
711
|
property :enable_automatic_updates, as: 'enableAutomaticUpdates'
|
712
712
|
hash :environment_variables, as: 'environmentVariables'
|
713
713
|
property :function_target, as: 'functionTarget'
|
714
|
+
property :project_descriptor, as: 'projectDescriptor'
|
714
715
|
property :runtime, as: 'runtime'
|
715
716
|
end
|
716
717
|
end
|
@@ -1164,6 +1165,8 @@ module Google
|
|
1164
1165
|
collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
|
1165
1166
|
|
1166
1167
|
property :encryption_key, as: 'encryptionKey'
|
1168
|
+
property :encryption_key_revocation_action, as: 'encryptionKeyRevocationAction'
|
1169
|
+
property :encryption_key_shutdown_duration, as: 'encryptionKeyShutdownDuration'
|
1167
1170
|
property :execution_environment, as: 'executionEnvironment'
|
1168
1171
|
property :health_check_disabled, as: 'healthCheckDisabled'
|
1169
1172
|
hash :labels, as: 'labels'
|
@@ -1270,6 +1273,7 @@ module Google
|
|
1270
1273
|
class GoogleCloudRunV2ServiceScaling
|
1271
1274
|
# @private
|
1272
1275
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1276
|
+
property :manual_instance_count, as: 'manualInstanceCount'
|
1273
1277
|
property :min_instance_count, as: 'minInstanceCount'
|
1274
1278
|
property :scaling_mode, as: 'scalingMode'
|
1275
1279
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.80.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.80.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Run Admin API V2
|