google-apis-cloudfunctions_v1 0.45.0 → 0.46.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07d1e2b0d3b3c327020a7d5d4d5c1759e64e3997e55ed5b4ea2e7550ece89d7a
|
4
|
+
data.tar.gz: 59371ad3f51ed5057cc8a411b2202e3b23440bfdbf9db431ebaa5f71ddbfd1e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccf921ec6dda549a798b360024b09102ff014f1cc738e6666e575e8d78ea63b02f3ec874a156eea6f8b885d3e64aac5eb7d03c4a058eb496a4722e2bd4f3aa22
|
7
|
+
data.tar.gz: 13b6a6445c119dbb00bf8995cd509ab3d5952ca8984cc701b25a6ff8ddc23ef159dfa1bae18b126ba8e0a33f2803cef4360f97eff2af548d538866a9ccdea4c8
|
data/CHANGELOG.md
CHANGED
@@ -93,6 +93,20 @@ module Google
|
|
93
93
|
end
|
94
94
|
end
|
95
95
|
|
96
|
+
# Security patches are applied automatically to the runtime without requiring
|
97
|
+
# the function to be redeployed.
|
98
|
+
class AutomaticUpdatePolicy
|
99
|
+
include Google::Apis::Core::Hashable
|
100
|
+
|
101
|
+
def initialize(**args)
|
102
|
+
update!(**args)
|
103
|
+
end
|
104
|
+
|
105
|
+
# Update properties of this object
|
106
|
+
def update!(**args)
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
96
110
|
# Associates `members`, or principals, with a `role`.
|
97
111
|
class Binding
|
98
112
|
include Google::Apis::Core::Hashable
|
@@ -226,6 +240,12 @@ module Google
|
|
226
240
|
class CloudFunction
|
227
241
|
include Google::Apis::Core::Hashable
|
228
242
|
|
243
|
+
# Security patches are applied automatically to the runtime without requiring
|
244
|
+
# the function to be redeployed.
|
245
|
+
# Corresponds to the JSON property `automaticUpdatePolicy`
|
246
|
+
# @return [Google::Apis::CloudfunctionsV1::AutomaticUpdatePolicy]
|
247
|
+
attr_accessor :automatic_update_policy
|
248
|
+
|
229
249
|
# The amount of memory in MB available for a function. Defaults to 256MB.
|
230
250
|
# Corresponds to the JSON property `availableMemoryMb`
|
231
251
|
# @return [Fixnum]
|
@@ -367,6 +387,11 @@ module Google
|
|
367
387
|
# @return [String]
|
368
388
|
attr_accessor :network
|
369
389
|
|
390
|
+
# Security patches are only applied when a function is redeployed.
|
391
|
+
# Corresponds to the JSON property `onDeployUpdatePolicy`
|
392
|
+
# @return [Google::Apis::CloudfunctionsV1::OnDeployUpdatePolicy]
|
393
|
+
attr_accessor :on_deploy_update_policy
|
394
|
+
|
370
395
|
# The runtime in which to run the function. Required when deploying a new
|
371
396
|
# function, optional when updating an existing function. For a complete list of
|
372
397
|
# possible choices, see the [`gcloud` command reference](https://cloud.google.
|
@@ -462,6 +487,7 @@ module Google
|
|
462
487
|
|
463
488
|
# Update properties of this object
|
464
489
|
def update!(**args)
|
490
|
+
@automatic_update_policy = args[:automatic_update_policy] if args.key?(:automatic_update_policy)
|
465
491
|
@available_memory_mb = args[:available_memory_mb] if args.key?(:available_memory_mb)
|
466
492
|
@build_environment_variables = args[:build_environment_variables] if args.key?(:build_environment_variables)
|
467
493
|
@build_id = args[:build_id] if args.key?(:build_id)
|
@@ -481,6 +507,7 @@ module Google
|
|
481
507
|
@min_instances = args[:min_instances] if args.key?(:min_instances)
|
482
508
|
@name = args[:name] if args.key?(:name)
|
483
509
|
@network = args[:network] if args.key?(:network)
|
510
|
+
@on_deploy_update_policy = args[:on_deploy_update_policy] if args.key?(:on_deploy_update_policy)
|
484
511
|
@runtime = args[:runtime] if args.key?(:runtime)
|
485
512
|
@secret_environment_variables = args[:secret_environment_variables] if args.key?(:secret_environment_variables)
|
486
513
|
@secret_volumes = args[:secret_volumes] if args.key?(:secret_volumes)
|
@@ -1410,6 +1437,26 @@ module Google
|
|
1410
1437
|
end
|
1411
1438
|
end
|
1412
1439
|
|
1440
|
+
# Security patches are only applied when a function is redeployed.
|
1441
|
+
class OnDeployUpdatePolicy
|
1442
|
+
include Google::Apis::Core::Hashable
|
1443
|
+
|
1444
|
+
# Output only. contains the runtime version which was used during latest
|
1445
|
+
# function deployment.
|
1446
|
+
# Corresponds to the JSON property `runtimeVersion`
|
1447
|
+
# @return [String]
|
1448
|
+
attr_accessor :runtime_version
|
1449
|
+
|
1450
|
+
def initialize(**args)
|
1451
|
+
update!(**args)
|
1452
|
+
end
|
1453
|
+
|
1454
|
+
# Update properties of this object
|
1455
|
+
def update!(**args)
|
1456
|
+
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
|
1457
|
+
end
|
1458
|
+
end
|
1459
|
+
|
1413
1460
|
# This resource represents a long-running operation that is the result of a
|
1414
1461
|
# network API call.
|
1415
1462
|
class Operation
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudfunctionsV1
|
18
18
|
# Version of the google-apis-cloudfunctions_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.46.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231130"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class AutomaticUpdatePolicy
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class Binding
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -202,6 +208,12 @@ module Google
|
|
202
208
|
include Google::Apis::Core::JsonObjectSupport
|
203
209
|
end
|
204
210
|
|
211
|
+
class OnDeployUpdatePolicy
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
205
217
|
class Operation
|
206
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
219
|
|
@@ -291,6 +303,12 @@ module Google
|
|
291
303
|
end
|
292
304
|
end
|
293
305
|
|
306
|
+
class AutomaticUpdatePolicy
|
307
|
+
# @private
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
294
312
|
class Binding
|
295
313
|
# @private
|
296
314
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -320,6 +338,8 @@ module Google
|
|
320
338
|
class CloudFunction
|
321
339
|
# @private
|
322
340
|
class Representation < Google::Apis::Core::JsonRepresentation
|
341
|
+
property :automatic_update_policy, as: 'automaticUpdatePolicy', class: Google::Apis::CloudfunctionsV1::AutomaticUpdatePolicy, decorator: Google::Apis::CloudfunctionsV1::AutomaticUpdatePolicy::Representation
|
342
|
+
|
323
343
|
property :available_memory_mb, as: 'availableMemoryMb'
|
324
344
|
hash :build_environment_variables, as: 'buildEnvironmentVariables'
|
325
345
|
property :build_id, as: 'buildId'
|
@@ -341,6 +361,8 @@ module Google
|
|
341
361
|
property :min_instances, as: 'minInstances'
|
342
362
|
property :name, as: 'name'
|
343
363
|
property :network, as: 'network'
|
364
|
+
property :on_deploy_update_policy, as: 'onDeployUpdatePolicy', class: Google::Apis::CloudfunctionsV1::OnDeployUpdatePolicy, decorator: Google::Apis::CloudfunctionsV1::OnDeployUpdatePolicy::Representation
|
365
|
+
|
344
366
|
property :runtime, as: 'runtime'
|
345
367
|
collection :secret_environment_variables, as: 'secretEnvironmentVariables', class: Google::Apis::CloudfunctionsV1::SecretEnvVar, decorator: Google::Apis::CloudfunctionsV1::SecretEnvVar::Representation
|
346
368
|
|
@@ -603,6 +625,13 @@ module Google
|
|
603
625
|
end
|
604
626
|
end
|
605
627
|
|
628
|
+
class OnDeployUpdatePolicy
|
629
|
+
# @private
|
630
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
631
|
+
property :runtime_version, as: 'runtimeVersion'
|
632
|
+
end
|
633
|
+
end
|
634
|
+
|
606
635
|
class Operation
|
607
636
|
# @private
|
608
637
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudfunctions_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.46.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: 2023-
|
11
|
+
date: 2023-12-10 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-cloudfunctions_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v1/v0.46.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|