google-apis-cloudfunctions_v1 0.44.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
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudfunctions_v1
|
2
2
|
|
3
|
+
### v0.46.0 (2023-12-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231130
|
6
|
+
|
7
|
+
### v0.45.0 (2023-11-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231109
|
10
|
+
|
3
11
|
### v0.44.0 (2023-10-22)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231012
|
@@ -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]
|
@@ -362,20 +382,16 @@ module Google
|
|
362
382
|
# @return [String]
|
363
383
|
attr_accessor :name
|
364
384
|
|
365
|
-
#
|
366
|
-
# fully-qualified URI, or the short name of the network resource. If the short
|
367
|
-
# network name is used, the network must belong to the same project. Otherwise,
|
368
|
-
# it must belong to a project within the same organization. The format of this
|
369
|
-
# field is either `projects/`project`/global/networks/`network`` or ``network``,
|
370
|
-
# where ``project`` is a project id where the network is defined, and ``network``
|
371
|
-
# is the short name of the network. This field is mutually exclusive with `
|
372
|
-
# vpc_connector` and will be replaced by it. See [the VPC documentation](https://
|
373
|
-
# cloud.google.com/compute/docs/vpc) for more information on connecting Cloud
|
374
|
-
# projects.
|
385
|
+
# Deprecated: use vpc_connector
|
375
386
|
# Corresponds to the JSON property `network`
|
376
387
|
# @return [String]
|
377
388
|
attr_accessor :network
|
378
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
|
+
|
379
395
|
# The runtime in which to run the function. Required when deploying a new
|
380
396
|
# function, optional when updating an existing function. For a complete list of
|
381
397
|
# possible choices, see the [`gcloud` command reference](https://cloud.google.
|
@@ -471,6 +487,7 @@ module Google
|
|
471
487
|
|
472
488
|
# Update properties of this object
|
473
489
|
def update!(**args)
|
490
|
+
@automatic_update_policy = args[:automatic_update_policy] if args.key?(:automatic_update_policy)
|
474
491
|
@available_memory_mb = args[:available_memory_mb] if args.key?(:available_memory_mb)
|
475
492
|
@build_environment_variables = args[:build_environment_variables] if args.key?(:build_environment_variables)
|
476
493
|
@build_id = args[:build_id] if args.key?(:build_id)
|
@@ -490,6 +507,7 @@ module Google
|
|
490
507
|
@min_instances = args[:min_instances] if args.key?(:min_instances)
|
491
508
|
@name = args[:name] if args.key?(:name)
|
492
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)
|
493
511
|
@runtime = args[:runtime] if args.key?(:runtime)
|
494
512
|
@secret_environment_variables = args[:secret_environment_variables] if args.key?(:secret_environment_variables)
|
495
513
|
@secret_volumes = args[:secret_volumes] if args.key?(:secret_volumes)
|
@@ -1419,6 +1437,26 @@ module Google
|
|
1419
1437
|
end
|
1420
1438
|
end
|
1421
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
|
+
|
1422
1460
|
# This resource represents a long-running operation that is the result of a
|
1423
1461
|
# network API call.
|
1424
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-10
|
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: []
|