google-cloud-functions-v1 0.15.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/functions/v1/cloud_functions_service/client.rb +25 -11
- data/lib/google/cloud/functions/v1/cloud_functions_service/operations.rb +13 -5
- data/lib/google/cloud/functions/v1/cloud_functions_service/rest/client.rb +25 -11
- data/lib/google/cloud/functions/v1/cloud_functions_service/rest/operations.rb +11 -4
- data/lib/google/cloud/functions/v1/functions_pb.rb +1 -1
- data/lib/google/cloud/functions/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +18 -10
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/cloud/functions/v1/functions.rb +15 -11
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abaf9cf8d9b39467f53d38db766d367e10b837f2b92670db014fc64a3ff6a7a0
|
4
|
+
data.tar.gz: c3960570848d6445364d2d8eb926f6351fce5393ee2864b91e003a0812e00e17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a85512e35666888a105448b2f78cecb59173441890591c06c1ca04f8faa95e50d02cd6673e795f6f34594273d5214c1fdfc99436d4b2475c1c706d3d2503524
|
7
|
+
data.tar.gz: e4febfe968923ad86bcf3f8beede20759bd3adf006b6af80820e7f37b7f88180425bf4874520b11d1f8685d5d278390a802fe8ec3c032ea090e470ae7e0f9c00
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# A service that application uses to manipulate triggers and functions.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudfunctions.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -299,10 +302,11 @@ module Google
|
|
299
302
|
# Customize the options with defaults
|
300
303
|
metadata = @config.rpcs.list_functions.metadata.to_h
|
301
304
|
|
302
|
-
# Set x-goog-api-client
|
305
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
303
306
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
304
307
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
305
308
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION
|
309
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
306
310
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
307
311
|
|
308
312
|
header_params = {}
|
@@ -392,10 +396,11 @@ module Google
|
|
392
396
|
# Customize the options with defaults
|
393
397
|
metadata = @config.rpcs.get_function.metadata.to_h
|
394
398
|
|
395
|
-
# Set x-goog-api-client
|
399
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
396
400
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
397
401
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
398
402
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION
|
403
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
399
404
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
400
405
|
|
401
406
|
header_params = {}
|
@@ -489,10 +494,11 @@ module Google
|
|
489
494
|
# Customize the options with defaults
|
490
495
|
metadata = @config.rpcs.create_function.metadata.to_h
|
491
496
|
|
492
|
-
# Set x-goog-api-client
|
497
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
493
498
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
494
499
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
495
500
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION
|
501
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
496
502
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
497
503
|
|
498
504
|
header_params = {}
|
@@ -584,10 +590,11 @@ module Google
|
|
584
590
|
# Customize the options with defaults
|
585
591
|
metadata = @config.rpcs.update_function.metadata.to_h
|
586
592
|
|
587
|
-
# Set x-goog-api-client
|
593
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
588
594
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
589
595
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
590
596
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION
|
597
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
591
598
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
592
599
|
|
593
600
|
header_params = {}
|
@@ -679,10 +686,11 @@ module Google
|
|
679
686
|
# Customize the options with defaults
|
680
687
|
metadata = @config.rpcs.delete_function.metadata.to_h
|
681
688
|
|
682
|
-
# Set x-goog-api-client
|
689
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
683
690
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
684
691
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
685
692
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION
|
693
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
686
694
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
687
695
|
|
688
696
|
header_params = {}
|
@@ -770,10 +778,11 @@ module Google
|
|
770
778
|
# Customize the options with defaults
|
771
779
|
metadata = @config.rpcs.call_function.metadata.to_h
|
772
780
|
|
773
|
-
# Set x-goog-api-client
|
781
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
774
782
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
775
783
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
776
784
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION
|
785
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
777
786
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
778
787
|
|
779
788
|
header_params = {}
|
@@ -898,10 +907,11 @@ module Google
|
|
898
907
|
# Customize the options with defaults
|
899
908
|
metadata = @config.rpcs.generate_upload_url.metadata.to_h
|
900
909
|
|
901
|
-
# Set x-goog-api-client
|
910
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
902
911
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
903
912
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
904
913
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION
|
914
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
905
915
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
906
916
|
|
907
917
|
header_params = {}
|
@@ -991,10 +1001,11 @@ module Google
|
|
991
1001
|
# Customize the options with defaults
|
992
1002
|
metadata = @config.rpcs.generate_download_url.metadata.to_h
|
993
1003
|
|
994
|
-
# Set x-goog-api-client
|
1004
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
995
1005
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
996
1006
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
997
1007
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION
|
1008
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
998
1009
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
999
1010
|
|
1000
1011
|
header_params = {}
|
@@ -1089,10 +1100,11 @@ module Google
|
|
1089
1100
|
# Customize the options with defaults
|
1090
1101
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
1091
1102
|
|
1092
|
-
# Set x-goog-api-client
|
1103
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1093
1104
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1094
1105
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1095
1106
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION
|
1107
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1096
1108
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1097
1109
|
|
1098
1110
|
header_params = {}
|
@@ -1180,10 +1192,11 @@ module Google
|
|
1180
1192
|
# Customize the options with defaults
|
1181
1193
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
1182
1194
|
|
1183
|
-
# Set x-goog-api-client
|
1195
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1184
1196
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1185
1197
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1186
1198
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION
|
1199
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1187
1200
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1188
1201
|
|
1189
1202
|
header_params = {}
|
@@ -1274,10 +1287,11 @@ module Google
|
|
1274
1287
|
# Customize the options with defaults
|
1275
1288
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
1276
1289
|
|
1277
|
-
# Set x-goog-api-client
|
1290
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1278
1291
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1279
1292
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1280
1293
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION
|
1294
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1281
1295
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1282
1296
|
|
1283
1297
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module CloudFunctionsService
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudfunctions.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -279,10 +283,11 @@ module Google
|
|
279
283
|
# Customize the options with defaults
|
280
284
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
281
285
|
|
282
|
-
# Set x-goog-api-client
|
286
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
283
287
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
284
288
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
285
289
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION
|
290
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
286
291
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
287
292
|
|
288
293
|
header_params = {}
|
@@ -368,10 +373,11 @@ module Google
|
|
368
373
|
# Customize the options with defaults
|
369
374
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
370
375
|
|
371
|
-
# Set x-goog-api-client
|
376
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
372
377
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
373
378
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
374
379
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION
|
380
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
375
381
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
376
382
|
|
377
383
|
header_params = {}
|
@@ -462,10 +468,11 @@ module Google
|
|
462
468
|
# Customize the options with defaults
|
463
469
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
464
470
|
|
465
|
-
# Set x-goog-api-client
|
471
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
466
472
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
467
473
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
468
474
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION
|
475
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
469
476
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
470
477
|
|
471
478
|
header_params = {}
|
@@ -566,10 +573,11 @@ module Google
|
|
566
573
|
# Customize the options with defaults
|
567
574
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
568
575
|
|
569
|
-
# Set x-goog-api-client
|
576
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
570
577
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
571
578
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
572
579
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION
|
580
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
573
581
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
574
582
|
|
575
583
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# A service that application uses to manipulate triggers and functions.
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudfunctions.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -292,12 +295,13 @@ module Google
|
|
292
295
|
# Customize the options with defaults
|
293
296
|
call_metadata = @config.rpcs.list_functions.metadata.to_h
|
294
297
|
|
295
|
-
# Set x-goog-api-client
|
298
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
296
299
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
297
300
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
298
301
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION,
|
299
302
|
transports_version_send: [:rest]
|
300
303
|
|
304
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
301
305
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
302
306
|
|
303
307
|
options.apply_defaults timeout: @config.rpcs.list_functions.timeout,
|
@@ -377,12 +381,13 @@ module Google
|
|
377
381
|
# Customize the options with defaults
|
378
382
|
call_metadata = @config.rpcs.get_function.metadata.to_h
|
379
383
|
|
380
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
381
385
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
382
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
383
387
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION,
|
384
388
|
transports_version_send: [:rest]
|
385
389
|
|
390
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
386
391
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
387
392
|
|
388
393
|
options.apply_defaults timeout: @config.rpcs.get_function.timeout,
|
@@ -467,12 +472,13 @@ module Google
|
|
467
472
|
# Customize the options with defaults
|
468
473
|
call_metadata = @config.rpcs.create_function.metadata.to_h
|
469
474
|
|
470
|
-
# Set x-goog-api-client
|
475
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
471
476
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
472
477
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
473
478
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION,
|
474
479
|
transports_version_send: [:rest]
|
475
480
|
|
481
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
476
482
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
477
483
|
|
478
484
|
options.apply_defaults timeout: @config.rpcs.create_function.timeout,
|
@@ -555,12 +561,13 @@ module Google
|
|
555
561
|
# Customize the options with defaults
|
556
562
|
call_metadata = @config.rpcs.update_function.metadata.to_h
|
557
563
|
|
558
|
-
# Set x-goog-api-client
|
564
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
559
565
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
560
566
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
561
567
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION,
|
562
568
|
transports_version_send: [:rest]
|
563
569
|
|
570
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
564
571
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
565
572
|
|
566
573
|
options.apply_defaults timeout: @config.rpcs.update_function.timeout,
|
@@ -643,12 +650,13 @@ module Google
|
|
643
650
|
# Customize the options with defaults
|
644
651
|
call_metadata = @config.rpcs.delete_function.metadata.to_h
|
645
652
|
|
646
|
-
# Set x-goog-api-client
|
653
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
647
654
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
648
655
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
649
656
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION,
|
650
657
|
transports_version_send: [:rest]
|
651
658
|
|
659
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
652
660
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
653
661
|
|
654
662
|
options.apply_defaults timeout: @config.rpcs.delete_function.timeout,
|
@@ -727,12 +735,13 @@ module Google
|
|
727
735
|
# Customize the options with defaults
|
728
736
|
call_metadata = @config.rpcs.call_function.metadata.to_h
|
729
737
|
|
730
|
-
# Set x-goog-api-client
|
738
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
731
739
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
732
740
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
733
741
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION,
|
734
742
|
transports_version_send: [:rest]
|
735
743
|
|
744
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
736
745
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
737
746
|
|
738
747
|
options.apply_defaults timeout: @config.rpcs.call_function.timeout,
|
@@ -848,12 +857,13 @@ module Google
|
|
848
857
|
# Customize the options with defaults
|
849
858
|
call_metadata = @config.rpcs.generate_upload_url.metadata.to_h
|
850
859
|
|
851
|
-
# Set x-goog-api-client
|
860
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
852
861
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
853
862
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
854
863
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION,
|
855
864
|
transports_version_send: [:rest]
|
856
865
|
|
866
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
857
867
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
858
868
|
|
859
869
|
options.apply_defaults timeout: @config.rpcs.generate_upload_url.timeout,
|
@@ -934,12 +944,13 @@ module Google
|
|
934
944
|
# Customize the options with defaults
|
935
945
|
call_metadata = @config.rpcs.generate_download_url.metadata.to_h
|
936
946
|
|
937
|
-
# Set x-goog-api-client
|
947
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
938
948
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
939
949
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
940
950
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION,
|
941
951
|
transports_version_send: [:rest]
|
942
952
|
|
953
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
943
954
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
944
955
|
|
945
956
|
options.apply_defaults timeout: @config.rpcs.generate_download_url.timeout,
|
@@ -1025,12 +1036,13 @@ module Google
|
|
1025
1036
|
# Customize the options with defaults
|
1026
1037
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
1027
1038
|
|
1028
|
-
# Set x-goog-api-client
|
1039
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1029
1040
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1030
1041
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1031
1042
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION,
|
1032
1043
|
transports_version_send: [:rest]
|
1033
1044
|
|
1045
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1034
1046
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1035
1047
|
|
1036
1048
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -1109,12 +1121,13 @@ module Google
|
|
1109
1121
|
# Customize the options with defaults
|
1110
1122
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
1111
1123
|
|
1112
|
-
# Set x-goog-api-client
|
1124
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1113
1125
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1114
1126
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1115
1127
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION,
|
1116
1128
|
transports_version_send: [:rest]
|
1117
1129
|
|
1130
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1118
1131
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1119
1132
|
|
1120
1133
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -1196,12 +1209,13 @@ module Google
|
|
1196
1209
|
# Customize the options with defaults
|
1197
1210
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
1198
1211
|
|
1199
|
-
# Set x-goog-api-client
|
1212
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1200
1213
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1201
1214
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1202
1215
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION,
|
1203
1216
|
transports_version_send: [:rest]
|
1204
1217
|
|
1218
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1205
1219
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1206
1220
|
|
1207
1221
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudfunctions.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::Functions::V1::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -18,7 +18,7 @@ require 'google/protobuf/field_mask_pb'
|
|
18
18
|
require 'google/protobuf/timestamp_pb'
|
19
19
|
|
20
20
|
|
21
|
-
descriptor_data = "\n)google/cloud/functions/v1/functions.proto\x12\x19google.cloud.functions.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a*google/cloud/functions/v1/operations.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x98\x14\n\rCloudFunction\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1c\n\x12source_archive_url\x18\x03 \x01(\tH\x00\x12H\n\x11source_repository\x18\x04 \x01(\x0b\x32+.google.cloud.functions.v1.SourceRepositoryH\x00\x12\x1b\n\x11source_upload_url\x18\x10 \x01(\tH\x00\x12@\n\rhttps_trigger\x18\x05 \x01(\x0b\x32\'.google.cloud.functions.v1.HttpsTriggerH\x01\x12@\n\revent_trigger\x18\x06 \x01(\x0b\x32\'.google.cloud.functions.v1.EventTriggerH\x01\x12\x43\n\x06status\x18\x07 \x01(\x0e\x32..google.cloud.functions.v1.CloudFunctionStatusB\x03\xe0\x41\x03\x12\x13\n\x0b\x65ntry_point\x18\x08 \x01(\t\x12\x0f\n\x07runtime\x18\x13 \x01(\t\x12*\n\x07timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1b\n\x13\x61vailable_memory_mb\x18\n \x01(\x05\x12\x1d\n\x15service_account_email\x18\x0b \x01(\t\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x17\n\nversion_id\x18\x0e \x01(\x03\x42\x03\xe0\x41\x03\x12\x44\n\x06labels\x18\x0f \x03(\x0b\x32\x34.google.cloud.functions.v1.CloudFunction.LabelsEntry\x12\x61\n\x15\x65nvironment_variables\x18\x11 \x03(\x0b\x32\x42.google.cloud.functions.v1.CloudFunction.EnvironmentVariablesEntry\x12l\n\x1b\x62uild_environment_variables\x18\x1c \x03(\x0b\x32G.google.cloud.functions.v1.CloudFunction.BuildEnvironmentVariablesEntry\x12\x13\n\x07network\x18\x12 \x01(\tB\x02\x18\x01\x12\x15\n\rmax_instances\x18\x14 \x01(\x05\x12\x15\n\rmin_instances\x18 \x01(\x05\x12\x15\n\rvpc_connector\x18\x16 \x01(\t\x12j\n\x1dvpc_connector_egress_settings\x18\x17 \x01(\x0e\x32\x43.google.cloud.functions.v1.CloudFunction.VpcConnectorEgressSettings\x12R\n\x10ingress_settings\x18\x18 \x01(\x0e\x32\x38.google.cloud.functions.v1.CloudFunction.IngressSettings\x12<\n\x0ckms_key_name\x18\x19 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x19\n\x11\x62uild_worker_pool\x18\x1a \x01(\t\x12\x15\n\x08\x62uild_id\x18\x1b \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nbuild_name\x18! \x01(\tB\x03\xe0\x41\x03\x12M\n\x1csecret_environment_variables\x18\x1d \x03(\x0b\x32\'.google.cloud.functions.v1.SecretEnvVar\x12?\n\x0esecret_volumes\x18\x1e \x03(\x0b\x32\'.google.cloud.functions.v1.SecretVolume\x12\x19\n\x0csource_token\x18\x1f \x01(\tB\x03\xe0\x41\x04\x12J\n\x11\x64ocker_repository\x18\" \x01(\tB/\xfa\x41,\n*artifactregistry.googleapis.com/Repository\x12P\n\x0f\x64ocker_registry\x18# \x01(\x0e\x32\x37.google.cloud.functions.v1.CloudFunction.DockerRegistry\x12\x61\n\x17\x61utomatic_update_policy\x18( \x01(\x0b\x32>.google.cloud.functions.v1.CloudFunction.AutomaticUpdatePolicyH\x02\x12`\n\x17on_deploy_update_policy\x18) \x01(\x0b\x32=.google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicyH\x02\x1a\x17\n\x15\x41utomaticUpdatePolicy\x1a\x34\n\x14OnDeployUpdatePolicy\x12\x1c\n\x0fruntime_version\x18\x01 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x45nvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a@\n\x1e\x42uildEnvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x1aVpcConnectorEgressSettings\x12-\n)VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED\x10\x00\x12\x17\n\x13PRIVATE_RANGES_ONLY\x10\x01\x12\x0f\n\x0b\x41LL_TRAFFIC\x10\x02\"x\n\x0fIngressSettings\x12 \n\x1cINGRESS_SETTINGS_UNSPECIFIED\x10\x00\x12\r\n\tALLOW_ALL\x10\x01\x12\x17\n\x13\x41LLOW_INTERNAL_ONLY\x10\x02\x12\x1b\n\x17\x41LLOW_INTERNAL_AND_GCLB\x10\x03\"`\n\x0e\x44ockerRegistry\x12\x1f\n\x1b\x44OCKER_REGISTRY_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43ONTAINER_REGISTRY\x10\x01\x12\x15\n\x11\x41RTIFACT_REGISTRY\x10\x02:n\xea\x41k\n+cloudfunctions.googleapis.com/CloudFunction\x12<projects/{project}/locations/{location}/functions/{function}B\r\n\x0bsource_codeB\t\n\x07triggerB\x17\n\x15runtime_update_policy\":\n\x10SourceRepository\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x19\n\x0c\x64\x65ployed_url\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xc8\x01\n\x0cHttpsTrigger\x12\x10\n\x03url\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12M\n\x0esecurity_level\x18\x02 \x01(\x0e\x32\x35.google.cloud.functions.v1.HttpsTrigger.SecurityLevel\"W\n\rSecurityLevel\x12\x1e\n\x1aSECURITY_LEVEL_UNSPECIFIED\x10\x00\x12\x11\n\rSECURE_ALWAYS\x10\x01\x12\x13\n\x0fSECURE_OPTIONAL\x10\x02\"\x87\x01\n\x0c\x45ventTrigger\x12\x12\n\nevent_type\x18\x01 \x01(\t\x12\x10\n\x08resource\x18\x02 \x01(\t\x12\x0f\n\x07service\x18\x03 \x01(\t\x12@\n\x0e\x66\x61ilure_policy\x18\x05 \x01(\x0b\x32(.google.cloud.functions.v1.FailurePolicy\"c\n\rFailurePolicy\x12?\n\x05retry\x18\x01 \x01(\x0b\x32..google.cloud.functions.v1.FailurePolicy.RetryH\x00\x1a\x07\n\x05RetryB\x08\n\x06\x61\x63tion\"P\n\x0cSecretEnvVar\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x0e\n\x06secret\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t\"\xbf\x01\n\x0cSecretVolume\x12\x12\n\nmount_path\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x0e\n\x06secret\x18\x03 \x01(\t\x12G\n\x08versions\x18\x04 \x03(\x0b\x32\x35.google.cloud.functions.v1.SecretVolume.SecretVersion\x1a.\n\rSecretVersion\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\"\x95\x01\n\x15\x43reateFunctionRequest\x12;\n\x08location\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12?\n\x08\x66unction\x18\x02 \x01(\x0b\x32(.google.cloud.functions.v1.CloudFunctionB\x03\xe0\x41\x02\"\x89\x01\n\x15UpdateFunctionRequest\x12?\n\x08\x66unction\x18\x01 \x01(\x0b\x32(.google.cloud.functions.v1.CloudFunctionB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"p\n\x12GetFunctionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudfunctions.googleapis.com/CloudFunction\x12\x17\n\nversion_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\"u\n\x14ListFunctionsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x82\x01\n\x15ListFunctionsResponse\x12;\n\tfunctions\x18\x01 \x03(\x0b\x32(.google.cloud.functions.v1.CloudFunction\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Z\n\x15\x44\x65leteFunctionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudfunctions.googleapis.com/CloudFunction\"k\n\x13\x43\x61llFunctionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudfunctions.googleapis.com/CloudFunction\x12\x11\n\x04\x64\x61ta\x18\x02 \x01(\tB\x03\xe0\x41\x02\"K\n\x14\x43\x61llFunctionResponse\x12\x14\n\x0c\x65xecution_id\x18\x01 \x01(\t\x12\x0e\n\x06result\x18\x02 \x01(\t\x12\r\n\x05\x65rror\x18\x03 \x01(\t\"h\n\x18GenerateUploadUrlRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12<\n\x0ckms_key_name\x18\x02 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\"/\n\x19GenerateUploadUrlResponse\x12\x12\n\nupload_url\x18\x01 \x01(\t\">\n\x1aGenerateDownloadUrlRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nversion_id\x18\x02 \x01(\x04\"3\n\x1bGenerateDownloadUrlResponse\x12\x14\n\x0c\x64ownload_url\x18\x01 \x01(\t*\x92\x01\n\x13\x43loudFunctionStatus\x12%\n!CLOUD_FUNCTION_STATUS_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0b\n\x07OFFLINE\x10\x02\x12\x16\n\x12\x44\x45PLOY_IN_PROGRESS\x10\x03\x12\x16\n\x12\x44\x45LETE_IN_PROGRESS\x10\x04\x12\x0b\n\x07UNKNOWN\x10\x05\x32\x97\x11\n\x15\x43loudFunctionsService\x12\xa9\x01\n\rListFunctions\x12/.google.cloud.functions.v1.ListFunctionsRequest\x1a\x30.google.cloud.functions.v1.ListFunctionsResponse\"5\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/functions\x12\xa4\x01\n\x0bGetFunction\x12-.google.cloud.functions.v1.GetFunctionRequest\x1a(.google.cloud.functions.v1.CloudFunction\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/functions/*}\x12\xdf\x01\n\x0e\x43reateFunction\x12\x30.google.cloud.functions.v1.CreateFunctionRequest\x1a\x1d.google.longrunning.Operation\"|\xca\x41$\n\rCloudFunction\x12\x13OperationMetadataV1\xda\x41\x11location,function\x82\xd3\xe4\x93\x02;\"//v1/{location=projects/*/locations/*}/functions:\x08\x66unction\x12\xdd\x01\n\x0eUpdateFunction\x12\x30.google.cloud.functions.v1.UpdateFunctionRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41$\n\rCloudFunction\x12\x13OperationMetadataV1\xda\x41\x08\x66unction\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{function.name=projects/*/locations/*/functions/*}:\x08\x66unction\x12\xce\x01\n\x0e\x44\x65leteFunction\x12\x30.google.cloud.functions.v1.DeleteFunctionRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41,\n\x15google.protobuf.Empty\x12\x13OperationMetadataV1\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/functions/*}\x12\xba\x01\n\x0c\x43\x61llFunction\x12..google.cloud.functions.v1.CallFunctionRequest\x1a/.google.cloud.functions.v1.CallFunctionResponse\"I\xda\x41\tname,data\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/functions/*}:call:\x01*\x12\xca\x01\n\x11GenerateUploadUrl\x12\x33.google.cloud.functions.v1.GenerateUploadUrlRequest\x1a\x34.google.cloud.functions.v1.GenerateUploadUrlResponse\"J\x82\xd3\xe4\x93\x02\x44\"?/v1/{parent=projects/*/locations/*}/functions:generateUploadUrl:\x01*\x12\xd2\x01\n\x13GenerateDownloadUrl\x12\x35.google.cloud.functions.v1.GenerateDownloadUrlRequest\x1a\x36.google.cloud.functions.v1.GenerateDownloadUrlResponse\"L\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/functions/*}:generateDownloadUrl:\x01*\x12\x94\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"I\x82\xd3\xe4\x93\x02\x43\">/v1/{resource=projects/*/locations/*/functions/*}:setIamPolicy:\x01*\x12\x91\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"F\x82\xd3\xe4\x93\x02@\x12>/v1/{resource=projects/*/locations/*/functions/*}:getIamPolicy\x12\xba\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"O\x82\xd3\xe4\x93\x02I\"D/v1/{resource=projects/*/locations/*/functions/*}:testIamPermissions:\x01*\x1aQ\xca\x41\x1d\x63loudfunctions.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe1\x02\n\x1d\x63om.google.cloud.functions.v1B\x0e\x46unctionsProtoP\x01Z;cloud.google.com/go/functions/apiv1/functionspb;functionspb\xa2\x02\x03GCF\xea\x41o\n*artifactregistry.googleapis.com/Repository\x12\x41projects/{project}/locations/{location}/repositories/{repository}\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3"
|
21
|
+
descriptor_data = "\n)google/cloud/functions/v1/functions.proto\x12\x19google.cloud.functions.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a*google/cloud/functions/v1/operations.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x14\n\rCloudFunction\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1c\n\x12source_archive_url\x18\x03 \x01(\tH\x00\x12H\n\x11source_repository\x18\x04 \x01(\x0b\x32+.google.cloud.functions.v1.SourceRepositoryH\x00\x12\x1b\n\x11source_upload_url\x18\x10 \x01(\tH\x00\x12@\n\rhttps_trigger\x18\x05 \x01(\x0b\x32\'.google.cloud.functions.v1.HttpsTriggerH\x01\x12@\n\revent_trigger\x18\x06 \x01(\x0b\x32\'.google.cloud.functions.v1.EventTriggerH\x01\x12\x43\n\x06status\x18\x07 \x01(\x0e\x32..google.cloud.functions.v1.CloudFunctionStatusB\x03\xe0\x41\x03\x12\x13\n\x0b\x65ntry_point\x18\x08 \x01(\t\x12\x0f\n\x07runtime\x18\x13 \x01(\t\x12*\n\x07timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1b\n\x13\x61vailable_memory_mb\x18\n \x01(\x05\x12\x1d\n\x15service_account_email\x18\x0b \x01(\t\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x17\n\nversion_id\x18\x0e \x01(\x03\x42\x03\xe0\x41\x03\x12\x44\n\x06labels\x18\x0f \x03(\x0b\x32\x34.google.cloud.functions.v1.CloudFunction.LabelsEntry\x12\x61\n\x15\x65nvironment_variables\x18\x11 \x03(\x0b\x32\x42.google.cloud.functions.v1.CloudFunction.EnvironmentVariablesEntry\x12l\n\x1b\x62uild_environment_variables\x18\x1c \x03(\x0b\x32G.google.cloud.functions.v1.CloudFunction.BuildEnvironmentVariablesEntry\x12\x13\n\x07network\x18\x12 \x01(\tB\x02\x18\x01\x12\x15\n\rmax_instances\x18\x14 \x01(\x05\x12\x15\n\rmin_instances\x18 \x01(\x05\x12\x15\n\rvpc_connector\x18\x16 \x01(\t\x12j\n\x1dvpc_connector_egress_settings\x18\x17 \x01(\x0e\x32\x43.google.cloud.functions.v1.CloudFunction.VpcConnectorEgressSettings\x12R\n\x10ingress_settings\x18\x18 \x01(\x0e\x32\x38.google.cloud.functions.v1.CloudFunction.IngressSettings\x12<\n\x0ckms_key_name\x18\x19 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x19\n\x11\x62uild_worker_pool\x18\x1a \x01(\t\x12\x15\n\x08\x62uild_id\x18\x1b \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nbuild_name\x18! \x01(\tB\x03\xe0\x41\x03\x12M\n\x1csecret_environment_variables\x18\x1d \x03(\x0b\x32\'.google.cloud.functions.v1.SecretEnvVar\x12?\n\x0esecret_volumes\x18\x1e \x03(\x0b\x32\'.google.cloud.functions.v1.SecretVolume\x12\x19\n\x0csource_token\x18\x1f \x01(\tB\x03\xe0\x41\x04\x12J\n\x11\x64ocker_repository\x18\" \x01(\tB/\xfa\x41,\n*artifactregistry.googleapis.com/Repository\x12P\n\x0f\x64ocker_registry\x18# \x01(\x0e\x32\x37.google.cloud.functions.v1.CloudFunction.DockerRegistry\x12\x61\n\x17\x61utomatic_update_policy\x18( \x01(\x0b\x32>.google.cloud.functions.v1.CloudFunction.AutomaticUpdatePolicyH\x02\x12`\n\x17on_deploy_update_policy\x18) \x01(\x0b\x32=.google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicyH\x02\x12\x1d\n\x15\x62uild_service_account\x18+ \x01(\t\x1a\x17\n\x15\x41utomaticUpdatePolicy\x1a\x34\n\x14OnDeployUpdatePolicy\x12\x1c\n\x0fruntime_version\x18\x01 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x45nvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a@\n\x1e\x42uildEnvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x1aVpcConnectorEgressSettings\x12-\n)VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED\x10\x00\x12\x17\n\x13PRIVATE_RANGES_ONLY\x10\x01\x12\x0f\n\x0b\x41LL_TRAFFIC\x10\x02\"x\n\x0fIngressSettings\x12 \n\x1cINGRESS_SETTINGS_UNSPECIFIED\x10\x00\x12\r\n\tALLOW_ALL\x10\x01\x12\x17\n\x13\x41LLOW_INTERNAL_ONLY\x10\x02\x12\x1b\n\x17\x41LLOW_INTERNAL_AND_GCLB\x10\x03\"`\n\x0e\x44ockerRegistry\x12\x1f\n\x1b\x44OCKER_REGISTRY_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43ONTAINER_REGISTRY\x10\x01\x12\x15\n\x11\x41RTIFACT_REGISTRY\x10\x02:n\xea\x41k\n+cloudfunctions.googleapis.com/CloudFunction\x12<projects/{project}/locations/{location}/functions/{function}B\r\n\x0bsource_codeB\t\n\x07triggerB\x17\n\x15runtime_update_policy\":\n\x10SourceRepository\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x19\n\x0c\x64\x65ployed_url\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xc8\x01\n\x0cHttpsTrigger\x12\x10\n\x03url\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12M\n\x0esecurity_level\x18\x02 \x01(\x0e\x32\x35.google.cloud.functions.v1.HttpsTrigger.SecurityLevel\"W\n\rSecurityLevel\x12\x1e\n\x1aSECURITY_LEVEL_UNSPECIFIED\x10\x00\x12\x11\n\rSECURE_ALWAYS\x10\x01\x12\x13\n\x0fSECURE_OPTIONAL\x10\x02\"\x87\x01\n\x0c\x45ventTrigger\x12\x12\n\nevent_type\x18\x01 \x01(\t\x12\x10\n\x08resource\x18\x02 \x01(\t\x12\x0f\n\x07service\x18\x03 \x01(\t\x12@\n\x0e\x66\x61ilure_policy\x18\x05 \x01(\x0b\x32(.google.cloud.functions.v1.FailurePolicy\"c\n\rFailurePolicy\x12?\n\x05retry\x18\x01 \x01(\x0b\x32..google.cloud.functions.v1.FailurePolicy.RetryH\x00\x1a\x07\n\x05RetryB\x08\n\x06\x61\x63tion\"P\n\x0cSecretEnvVar\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x0e\n\x06secret\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t\"\xbf\x01\n\x0cSecretVolume\x12\x12\n\nmount_path\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x0e\n\x06secret\x18\x03 \x01(\t\x12G\n\x08versions\x18\x04 \x03(\x0b\x32\x35.google.cloud.functions.v1.SecretVolume.SecretVersion\x1a.\n\rSecretVersion\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\"\x95\x01\n\x15\x43reateFunctionRequest\x12;\n\x08location\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12?\n\x08\x66unction\x18\x02 \x01(\x0b\x32(.google.cloud.functions.v1.CloudFunctionB\x03\xe0\x41\x02\"\x89\x01\n\x15UpdateFunctionRequest\x12?\n\x08\x66unction\x18\x01 \x01(\x0b\x32(.google.cloud.functions.v1.CloudFunctionB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"p\n\x12GetFunctionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudfunctions.googleapis.com/CloudFunction\x12\x17\n\nversion_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\"u\n\x14ListFunctionsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x82\x01\n\x15ListFunctionsResponse\x12;\n\tfunctions\x18\x01 \x03(\x0b\x32(.google.cloud.functions.v1.CloudFunction\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Z\n\x15\x44\x65leteFunctionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudfunctions.googleapis.com/CloudFunction\"k\n\x13\x43\x61llFunctionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudfunctions.googleapis.com/CloudFunction\x12\x11\n\x04\x64\x61ta\x18\x02 \x01(\tB\x03\xe0\x41\x02\"K\n\x14\x43\x61llFunctionResponse\x12\x14\n\x0c\x65xecution_id\x18\x01 \x01(\t\x12\x0e\n\x06result\x18\x02 \x01(\t\x12\r\n\x05\x65rror\x18\x03 \x01(\t\"h\n\x18GenerateUploadUrlRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12<\n\x0ckms_key_name\x18\x02 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\"/\n\x19GenerateUploadUrlResponse\x12\x12\n\nupload_url\x18\x01 \x01(\t\">\n\x1aGenerateDownloadUrlRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nversion_id\x18\x02 \x01(\x04\"3\n\x1bGenerateDownloadUrlResponse\x12\x14\n\x0c\x64ownload_url\x18\x01 \x01(\t*\x92\x01\n\x13\x43loudFunctionStatus\x12%\n!CLOUD_FUNCTION_STATUS_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0b\n\x07OFFLINE\x10\x02\x12\x16\n\x12\x44\x45PLOY_IN_PROGRESS\x10\x03\x12\x16\n\x12\x44\x45LETE_IN_PROGRESS\x10\x04\x12\x0b\n\x07UNKNOWN\x10\x05\x32\x97\x11\n\x15\x43loudFunctionsService\x12\xa9\x01\n\rListFunctions\x12/.google.cloud.functions.v1.ListFunctionsRequest\x1a\x30.google.cloud.functions.v1.ListFunctionsResponse\"5\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/functions\x12\xa4\x01\n\x0bGetFunction\x12-.google.cloud.functions.v1.GetFunctionRequest\x1a(.google.cloud.functions.v1.CloudFunction\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/functions/*}\x12\xdf\x01\n\x0e\x43reateFunction\x12\x30.google.cloud.functions.v1.CreateFunctionRequest\x1a\x1d.google.longrunning.Operation\"|\xca\x41$\n\rCloudFunction\x12\x13OperationMetadataV1\xda\x41\x11location,function\x82\xd3\xe4\x93\x02;\"//v1/{location=projects/*/locations/*}/functions:\x08\x66unction\x12\xdd\x01\n\x0eUpdateFunction\x12\x30.google.cloud.functions.v1.UpdateFunctionRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41$\n\rCloudFunction\x12\x13OperationMetadataV1\xda\x41\x08\x66unction\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{function.name=projects/*/locations/*/functions/*}:\x08\x66unction\x12\xce\x01\n\x0e\x44\x65leteFunction\x12\x30.google.cloud.functions.v1.DeleteFunctionRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41,\n\x15google.protobuf.Empty\x12\x13OperationMetadataV1\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/functions/*}\x12\xba\x01\n\x0c\x43\x61llFunction\x12..google.cloud.functions.v1.CallFunctionRequest\x1a/.google.cloud.functions.v1.CallFunctionResponse\"I\xda\x41\tname,data\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/functions/*}:call:\x01*\x12\xca\x01\n\x11GenerateUploadUrl\x12\x33.google.cloud.functions.v1.GenerateUploadUrlRequest\x1a\x34.google.cloud.functions.v1.GenerateUploadUrlResponse\"J\x82\xd3\xe4\x93\x02\x44\"?/v1/{parent=projects/*/locations/*}/functions:generateUploadUrl:\x01*\x12\xd2\x01\n\x13GenerateDownloadUrl\x12\x35.google.cloud.functions.v1.GenerateDownloadUrlRequest\x1a\x36.google.cloud.functions.v1.GenerateDownloadUrlResponse\"L\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/functions/*}:generateDownloadUrl:\x01*\x12\x94\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"I\x82\xd3\xe4\x93\x02\x43\">/v1/{resource=projects/*/locations/*/functions/*}:setIamPolicy:\x01*\x12\x91\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"F\x82\xd3\xe4\x93\x02@\x12>/v1/{resource=projects/*/locations/*/functions/*}:getIamPolicy\x12\xba\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"O\x82\xd3\xe4\x93\x02I\"D/v1/{resource=projects/*/locations/*/functions/*}:testIamPermissions:\x01*\x1aQ\xca\x41\x1d\x63loudfunctions.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe1\x02\n\x1d\x63om.google.cloud.functions.v1B\x0e\x46unctionsProtoP\x01Z;cloud.google.com/go/functions/apiv1/functionspb;functionspb\xa2\x02\x03GCF\xea\x41o\n*artifactregistry.googleapis.com/Repository\x12\x41projects/{project}/locations/{location}/repositories/{repository}\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3"
|
22
22
|
|
23
23
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
24
24
|
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -286,6 +290,13 @@ module Google
|
|
286
290
|
# @return [::String]
|
287
291
|
# The fully qualified name of the method, for which the options below apply.
|
288
292
|
# This is used to find the method to apply the options.
|
293
|
+
#
|
294
|
+
# Example:
|
295
|
+
#
|
296
|
+
# publishing:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
299
|
+
# # method settings for CreateFolder...
|
289
300
|
# @!attribute [rw] long_running
|
290
301
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
302
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +305,14 @@ module Google
|
|
294
305
|
#
|
295
306
|
# Example of a YAML configuration::
|
296
307
|
#
|
297
|
-
#
|
298
|
-
#
|
308
|
+
# publishing:
|
309
|
+
# method_settings:
|
299
310
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
311
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
312
|
+
# initial_poll_delay: 60s # 1 minute
|
303
313
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
314
|
+
# max_poll_delay: 360s # 6 minutes
|
315
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
316
|
# @!attribute [rw] auto_populated_fields
|
309
317
|
# @return [::Array<::String>]
|
310
318
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +321,8 @@ module Google
|
|
313
321
|
#
|
314
322
|
# Example of a YAML configuration:
|
315
323
|
#
|
316
|
-
#
|
317
|
-
#
|
324
|
+
# publishing:
|
325
|
+
# method_settings:
|
318
326
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
327
|
# auto_populated_fields:
|
320
328
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
@@ -204,12 +204,12 @@ module Google
|
|
204
204
|
# field is only supported for Firebase function deployments.
|
205
205
|
# @!attribute [rw] docker_repository
|
206
206
|
# @return [::String]
|
207
|
-
# User
|
208
|
-
#
|
209
|
-
#
|
210
|
-
#
|
211
|
-
#
|
212
|
-
#
|
207
|
+
# User-managed repository created in Artifact Registry to which the
|
208
|
+
# function's Docker image will be pushed after it is built by Cloud Build.
|
209
|
+
# May optionally be encrypted with a customer-managed encryption key (CMEK).
|
210
|
+
# If unspecified and `docker_registry` is not explicitly set to
|
211
|
+
# `CONTAINER_REGISTRY`, GCF will create and use a default Artifact Registry
|
212
|
+
# repository named 'gcf-artifacts' in the region.
|
213
213
|
#
|
214
214
|
# It must match the pattern
|
215
215
|
# `projects/{project}/locations/{location}/repositories/{repository}`.
|
@@ -226,10 +226,13 @@ module Google
|
|
226
226
|
# unspecified or set to `ARTIFACT_REGISTRY`.
|
227
227
|
# @!attribute [rw] automatic_update_policy
|
228
228
|
# @return [::Google::Cloud::Functions::V1::CloudFunction::AutomaticUpdatePolicy]
|
229
|
-
# See the comment next to this message for more details.
|
230
229
|
# @!attribute [rw] on_deploy_update_policy
|
231
230
|
# @return [::Google::Cloud::Functions::V1::CloudFunction::OnDeployUpdatePolicy]
|
232
|
-
#
|
231
|
+
# @!attribute [rw] build_service_account
|
232
|
+
# @return [::String]
|
233
|
+
# A service account the user provides for use with Cloud Build. The format of
|
234
|
+
# this field is
|
235
|
+
# `projects/{projectId}/serviceAccounts/{serviceAccountEmail}`.
|
233
236
|
class CloudFunction
|
234
237
|
include ::Google::Protobuf::MessageExts
|
235
238
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -244,7 +247,7 @@ module Google
|
|
244
247
|
# Security patches are only applied when a function is redeployed.
|
245
248
|
# @!attribute [r] runtime_version
|
246
249
|
# @return [::String]
|
247
|
-
# Output only.
|
250
|
+
# Output only. Contains the runtime version which was used during latest
|
248
251
|
# function deployment.
|
249
252
|
class OnDeployUpdatePolicy
|
250
253
|
include ::Google::Protobuf::MessageExts
|
@@ -347,7 +350,8 @@ module Google
|
|
347
350
|
# To refer to a specific fixed alias (tag):
|
348
351
|
# `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
|
349
352
|
#
|
350
|
-
# You may omit `paths/*` if you want to use the main directory.
|
353
|
+
# You may omit `paths/*` if you want to use the main directory. The function
|
354
|
+
# response may add an empty `/paths/` to the URL.
|
351
355
|
# @!attribute [r] deployed_url
|
352
356
|
# @return [::String]
|
353
357
|
# Output only. The URL pointing to the hosted repository where the function
|
@@ -361,7 +365,7 @@ module Google
|
|
361
365
|
# Describes HttpsTrigger, could be used to connect web hooks to function.
|
362
366
|
# @!attribute [r] url
|
363
367
|
# @return [::String]
|
364
|
-
# Output only. The deployed
|
368
|
+
# Output only. The deployed url for the function.
|
365
369
|
# @!attribute [rw] security_level
|
366
370
|
# @return [::Google::Cloud::Functions::V1::HttpsTrigger::SecurityLevel]
|
367
371
|
# The security level for the function.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-functions-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.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-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|