google-apis-cloudfunctions_v1 0.45.0 → 0.47.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: 4c9d6d7a837ee9ec704067c24ee90c5e7140ed58badc077c70bb1264d475c43e
|
4
|
+
data.tar.gz: e4b649a04c4d8954ce0ca7cccd2021fabc1a574b59b69d036094d26f3ff72d89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d82bd850a3609c6ba82846db30147521acab6230519a161a9f5aadc7bd9f55139d4e19886decd9f1084a7e046f1a029241de7b13afbaa7a895aaea87ca26698
|
7
|
+
data.tar.gz: d09952bf383dc0e582f0b31148dc7d0a8abfe9be39d1e3ca86da9deb72cc818d97bd8641cd6d7c4586c05031f300da51e2036b8b51074fdf2dad4bfaca63a493
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudfunctions_v1
|
2
2
|
|
3
|
+
### v0.47.0 (2023-12-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231207
|
6
|
+
|
7
|
+
### v0.46.0 (2023-12-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231130
|
10
|
+
|
3
11
|
### v0.45.0 (2023-11-19)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231109
|
@@ -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)
|
@@ -770,6 +797,11 @@ module Google
|
|
770
797
|
# @return [String]
|
771
798
|
attr_accessor :end_time
|
772
799
|
|
800
|
+
# The operation type.
|
801
|
+
# Corresponds to the JSON property `operationType`
|
802
|
+
# @return [String]
|
803
|
+
attr_accessor :operation_type
|
804
|
+
|
773
805
|
# The original request that started the operation.
|
774
806
|
# Corresponds to the JSON property `requestResource`
|
775
807
|
# @return [Hash<String,Object>]
|
@@ -811,6 +843,7 @@ module Google
|
|
811
843
|
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
812
844
|
@create_time = args[:create_time] if args.key?(:create_time)
|
813
845
|
@end_time = args[:end_time] if args.key?(:end_time)
|
846
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
814
847
|
@request_resource = args[:request_resource] if args.key?(:request_resource)
|
815
848
|
@source_token = args[:source_token] if args.key?(:source_token)
|
816
849
|
@stages = args[:stages] if args.key?(:stages)
|
@@ -947,6 +980,11 @@ module Google
|
|
947
980
|
# @return [String]
|
948
981
|
attr_accessor :end_time
|
949
982
|
|
983
|
+
# The operation type.
|
984
|
+
# Corresponds to the JSON property `operationType`
|
985
|
+
# @return [String]
|
986
|
+
attr_accessor :operation_type
|
987
|
+
|
950
988
|
# The original request that started the operation.
|
951
989
|
# Corresponds to the JSON property `requestResource`
|
952
990
|
# @return [Hash<String,Object>]
|
@@ -988,6 +1026,7 @@ module Google
|
|
988
1026
|
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
989
1027
|
@create_time = args[:create_time] if args.key?(:create_time)
|
990
1028
|
@end_time = args[:end_time] if args.key?(:end_time)
|
1029
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
991
1030
|
@request_resource = args[:request_resource] if args.key?(:request_resource)
|
992
1031
|
@source_token = args[:source_token] if args.key?(:source_token)
|
993
1032
|
@stages = args[:stages] if args.key?(:stages)
|
@@ -1124,6 +1163,11 @@ module Google
|
|
1124
1163
|
# @return [String]
|
1125
1164
|
attr_accessor :end_time
|
1126
1165
|
|
1166
|
+
# The operation type.
|
1167
|
+
# Corresponds to the JSON property `operationType`
|
1168
|
+
# @return [String]
|
1169
|
+
attr_accessor :operation_type
|
1170
|
+
|
1127
1171
|
# The original request that started the operation.
|
1128
1172
|
# Corresponds to the JSON property `requestResource`
|
1129
1173
|
# @return [Hash<String,Object>]
|
@@ -1165,6 +1209,7 @@ module Google
|
|
1165
1209
|
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
1166
1210
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1167
1211
|
@end_time = args[:end_time] if args.key?(:end_time)
|
1212
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
1168
1213
|
@request_resource = args[:request_resource] if args.key?(:request_resource)
|
1169
1214
|
@source_token = args[:source_token] if args.key?(:source_token)
|
1170
1215
|
@stages = args[:stages] if args.key?(:stages)
|
@@ -1410,6 +1455,26 @@ module Google
|
|
1410
1455
|
end
|
1411
1456
|
end
|
1412
1457
|
|
1458
|
+
# Security patches are only applied when a function is redeployed.
|
1459
|
+
class OnDeployUpdatePolicy
|
1460
|
+
include Google::Apis::Core::Hashable
|
1461
|
+
|
1462
|
+
# Output only. contains the runtime version which was used during latest
|
1463
|
+
# function deployment.
|
1464
|
+
# Corresponds to the JSON property `runtimeVersion`
|
1465
|
+
# @return [String]
|
1466
|
+
attr_accessor :runtime_version
|
1467
|
+
|
1468
|
+
def initialize(**args)
|
1469
|
+
update!(**args)
|
1470
|
+
end
|
1471
|
+
|
1472
|
+
# Update properties of this object
|
1473
|
+
def update!(**args)
|
1474
|
+
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
|
1475
|
+
end
|
1476
|
+
end
|
1477
|
+
|
1413
1478
|
# This resource represents a long-running operation that is the result of a
|
1414
1479
|
# network API call.
|
1415
1480
|
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.47.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 = "20231207"
|
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
|
|
@@ -432,6 +454,7 @@ module Google
|
|
432
454
|
property :cancel_requested, as: 'cancelRequested'
|
433
455
|
property :create_time, as: 'createTime'
|
434
456
|
property :end_time, as: 'endTime'
|
457
|
+
property :operation_type, as: 'operationType'
|
435
458
|
hash :request_resource, as: 'requestResource'
|
436
459
|
property :source_token, as: 'sourceToken'
|
437
460
|
collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2Stage, decorator: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2Stage::Representation
|
@@ -478,6 +501,7 @@ module Google
|
|
478
501
|
property :cancel_requested, as: 'cancelRequested'
|
479
502
|
property :create_time, as: 'createTime'
|
480
503
|
property :end_time, as: 'endTime'
|
504
|
+
property :operation_type, as: 'operationType'
|
481
505
|
hash :request_resource, as: 'requestResource'
|
482
506
|
property :source_token, as: 'sourceToken'
|
483
507
|
collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStage, decorator: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStage::Representation
|
@@ -524,6 +548,7 @@ module Google
|
|
524
548
|
property :cancel_requested, as: 'cancelRequested'
|
525
549
|
property :create_time, as: 'createTime'
|
526
550
|
property :end_time, as: 'endTime'
|
551
|
+
property :operation_type, as: 'operationType'
|
527
552
|
hash :request_resource, as: 'requestResource'
|
528
553
|
property :source_token, as: 'sourceToken'
|
529
554
|
collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2betaStage, decorator: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2betaStage::Representation
|
@@ -603,6 +628,13 @@ module Google
|
|
603
628
|
end
|
604
629
|
end
|
605
630
|
|
631
|
+
class OnDeployUpdatePolicy
|
632
|
+
# @private
|
633
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
634
|
+
property :runtime_version, as: 'runtimeVersion'
|
635
|
+
end
|
636
|
+
end
|
637
|
+
|
606
638
|
class Operation
|
607
639
|
# @private
|
608
640
|
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.47.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-17 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.47.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: []
|