google-cloud-filestore-v1 0.9.0 → 1.0.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/filestore/v1/cloud_filestore_manager/client.rb +37 -17
- data/lib/google/cloud/filestore/v1/cloud_filestore_manager/operations.rb +13 -5
- data/lib/google/cloud/filestore/v1/cloud_filestore_manager/rest/client.rb +37 -17
- data/lib/google/cloud/filestore/v1/cloud_filestore_manager/rest/operations.rb +11 -4
- data/lib/google/cloud/filestore/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- 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: 0c075fcf3f2c4a60d9c6d9cc64859d257b4409fddd10ac566e67f23d573badf0
|
4
|
+
data.tar.gz: ad223c6135993f4519735ae78c525e55deb845898e5c4f9a3eb53ed61d9e49ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94f91b76180d57dd43aa7aba142235198b286a7cd083dad5bdce5cec04ac9cd934df4a1adb118caf91d51ab5d54f7f83aa7a24b580194406cacea8502f2f0086
|
7
|
+
data.tar.gz: 8d3c6031049d58e216bbd5f62d1a5f81e45a8f1ba0fc4729ade3437dc6667a10d03a5062c03b2e8b293805b91c5329b8dd41e6ed6feb5fa7147773e5c76c80bd
|
@@ -49,6 +49,9 @@ module Google
|
|
49
49
|
# * `projects/12345/locations/us-central1/backups/my-backup`
|
50
50
|
#
|
51
51
|
class Client
|
52
|
+
# @private
|
53
|
+
API_VERSION = ""
|
54
|
+
|
52
55
|
# @private
|
53
56
|
DEFAULT_ENDPOINT_TEMPLATE = "file.$UNIVERSE_DOMAIN$"
|
54
57
|
|
@@ -315,10 +318,11 @@ module Google
|
|
315
318
|
# Customize the options with defaults
|
316
319
|
metadata = @config.rpcs.list_instances.metadata.to_h
|
317
320
|
|
318
|
-
# Set x-goog-api-client
|
321
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
319
322
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
320
323
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
321
324
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
325
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
322
326
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
323
327
|
|
324
328
|
header_params = {}
|
@@ -402,10 +406,11 @@ module Google
|
|
402
406
|
# Customize the options with defaults
|
403
407
|
metadata = @config.rpcs.get_instance.metadata.to_h
|
404
408
|
|
405
|
-
# Set x-goog-api-client
|
409
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
406
410
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
407
411
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
408
412
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
413
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
409
414
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
410
415
|
|
411
416
|
header_params = {}
|
@@ -504,10 +509,11 @@ module Google
|
|
504
509
|
# Customize the options with defaults
|
505
510
|
metadata = @config.rpcs.create_instance.metadata.to_h
|
506
511
|
|
507
|
-
# Set x-goog-api-client
|
512
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
508
513
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
509
514
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
510
515
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
516
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
511
517
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
512
518
|
|
513
519
|
header_params = {}
|
@@ -605,10 +611,11 @@ module Google
|
|
605
611
|
# Customize the options with defaults
|
606
612
|
metadata = @config.rpcs.update_instance.metadata.to_h
|
607
613
|
|
608
|
-
# Set x-goog-api-client
|
614
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
609
615
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
610
616
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
611
617
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
618
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
612
619
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
613
620
|
|
614
621
|
header_params = {}
|
@@ -709,10 +716,11 @@ module Google
|
|
709
716
|
# Customize the options with defaults
|
710
717
|
metadata = @config.rpcs.restore_instance.metadata.to_h
|
711
718
|
|
712
|
-
# Set x-goog-api-client
|
719
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
713
720
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
714
721
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
715
722
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
723
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
716
724
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
717
725
|
|
718
726
|
header_params = {}
|
@@ -808,10 +816,11 @@ module Google
|
|
808
816
|
# Customize the options with defaults
|
809
817
|
metadata = @config.rpcs.revert_instance.metadata.to_h
|
810
818
|
|
811
|
-
# Set x-goog-api-client
|
819
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
812
820
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
813
821
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
814
822
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
823
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
815
824
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
816
825
|
|
817
826
|
header_params = {}
|
@@ -905,10 +914,11 @@ module Google
|
|
905
914
|
# Customize the options with defaults
|
906
915
|
metadata = @config.rpcs.delete_instance.metadata.to_h
|
907
916
|
|
908
|
-
# Set x-goog-api-client
|
917
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
909
918
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
910
919
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
911
920
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
921
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
912
922
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
913
923
|
|
914
924
|
header_params = {}
|
@@ -1007,10 +1017,11 @@ module Google
|
|
1007
1017
|
# Customize the options with defaults
|
1008
1018
|
metadata = @config.rpcs.list_snapshots.metadata.to_h
|
1009
1019
|
|
1010
|
-
# Set x-goog-api-client
|
1020
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1011
1021
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1012
1022
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1013
1023
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
1024
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1014
1025
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1015
1026
|
|
1016
1027
|
header_params = {}
|
@@ -1094,10 +1105,11 @@ module Google
|
|
1094
1105
|
# Customize the options with defaults
|
1095
1106
|
metadata = @config.rpcs.get_snapshot.metadata.to_h
|
1096
1107
|
|
1097
|
-
# Set x-goog-api-client
|
1108
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1098
1109
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1099
1110
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1100
1111
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
1112
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1101
1113
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1102
1114
|
|
1103
1115
|
header_params = {}
|
@@ -1195,10 +1207,11 @@ module Google
|
|
1195
1207
|
# Customize the options with defaults
|
1196
1208
|
metadata = @config.rpcs.create_snapshot.metadata.to_h
|
1197
1209
|
|
1198
|
-
# Set x-goog-api-client
|
1210
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1199
1211
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1200
1212
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1201
1213
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
1214
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1202
1215
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1203
1216
|
|
1204
1217
|
header_params = {}
|
@@ -1289,10 +1302,11 @@ module Google
|
|
1289
1302
|
# Customize the options with defaults
|
1290
1303
|
metadata = @config.rpcs.delete_snapshot.metadata.to_h
|
1291
1304
|
|
1292
|
-
# Set x-goog-api-client
|
1305
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1293
1306
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1294
1307
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1295
1308
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
1309
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1296
1310
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1297
1311
|
|
1298
1312
|
header_params = {}
|
@@ -1385,10 +1399,11 @@ module Google
|
|
1385
1399
|
# Customize the options with defaults
|
1386
1400
|
metadata = @config.rpcs.update_snapshot.metadata.to_h
|
1387
1401
|
|
1388
|
-
# Set x-goog-api-client
|
1402
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1389
1403
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1390
1404
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1391
1405
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
1406
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1392
1407
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1393
1408
|
|
1394
1409
|
header_params = {}
|
@@ -1490,10 +1505,11 @@ module Google
|
|
1490
1505
|
# Customize the options with defaults
|
1491
1506
|
metadata = @config.rpcs.list_backups.metadata.to_h
|
1492
1507
|
|
1493
|
-
# Set x-goog-api-client
|
1508
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1494
1509
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1495
1510
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1496
1511
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
1512
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1497
1513
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1498
1514
|
|
1499
1515
|
header_params = {}
|
@@ -1577,10 +1593,11 @@ module Google
|
|
1577
1593
|
# Customize the options with defaults
|
1578
1594
|
metadata = @config.rpcs.get_backup.metadata.to_h
|
1579
1595
|
|
1580
|
-
# Set x-goog-api-client
|
1596
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1581
1597
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1582
1598
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1583
1599
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
1600
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1584
1601
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1585
1602
|
|
1586
1603
|
header_params = {}
|
@@ -1681,10 +1698,11 @@ module Google
|
|
1681
1698
|
# Customize the options with defaults
|
1682
1699
|
metadata = @config.rpcs.create_backup.metadata.to_h
|
1683
1700
|
|
1684
|
-
# Set x-goog-api-client
|
1701
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1685
1702
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1686
1703
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1687
1704
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
1705
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1688
1706
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1689
1707
|
|
1690
1708
|
header_params = {}
|
@@ -1775,10 +1793,11 @@ module Google
|
|
1775
1793
|
# Customize the options with defaults
|
1776
1794
|
metadata = @config.rpcs.delete_backup.metadata.to_h
|
1777
1795
|
|
1778
|
-
# Set x-goog-api-client
|
1796
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1779
1797
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1780
1798
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1781
1799
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
1800
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1782
1801
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1783
1802
|
|
1784
1803
|
header_params = {}
|
@@ -1871,10 +1890,11 @@ module Google
|
|
1871
1890
|
# Customize the options with defaults
|
1872
1891
|
metadata = @config.rpcs.update_backup.metadata.to_h
|
1873
1892
|
|
1874
|
-
# Set x-goog-api-client
|
1893
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1875
1894
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1876
1895
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1877
1896
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
1897
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1878
1898
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1879
1899
|
|
1880
1900
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module CloudFilestoreManager
|
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 = "file.$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::Filestore::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
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -51,6 +51,9 @@ module Google
|
|
51
51
|
# * `projects/12345/locations/us-central1/backups/my-backup`
|
52
52
|
#
|
53
53
|
class Client
|
54
|
+
# @private
|
55
|
+
API_VERSION = ""
|
56
|
+
|
54
57
|
# @private
|
55
58
|
DEFAULT_ENDPOINT_TEMPLATE = "file.$UNIVERSE_DOMAIN$"
|
56
59
|
|
@@ -308,12 +311,13 @@ module Google
|
|
308
311
|
# Customize the options with defaults
|
309
312
|
call_metadata = @config.rpcs.list_instances.metadata.to_h
|
310
313
|
|
311
|
-
# Set x-goog-api-client
|
314
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
312
315
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
313
316
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
314
317
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
315
318
|
transports_version_send: [:rest]
|
316
319
|
|
320
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
317
321
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
318
322
|
|
319
323
|
options.apply_defaults timeout: @config.rpcs.list_instances.timeout,
|
@@ -387,12 +391,13 @@ module Google
|
|
387
391
|
# Customize the options with defaults
|
388
392
|
call_metadata = @config.rpcs.get_instance.metadata.to_h
|
389
393
|
|
390
|
-
# Set x-goog-api-client
|
394
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
391
395
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
392
396
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
393
397
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
394
398
|
transports_version_send: [:rest]
|
395
399
|
|
400
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
396
401
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
397
402
|
|
398
403
|
options.apply_defaults timeout: @config.rpcs.get_instance.timeout,
|
@@ -482,12 +487,13 @@ module Google
|
|
482
487
|
# Customize the options with defaults
|
483
488
|
call_metadata = @config.rpcs.create_instance.metadata.to_h
|
484
489
|
|
485
|
-
# Set x-goog-api-client
|
490
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
486
491
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
487
492
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
488
493
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
489
494
|
transports_version_send: [:rest]
|
490
495
|
|
496
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
491
497
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
492
498
|
|
493
499
|
options.apply_defaults timeout: @config.rpcs.create_instance.timeout,
|
@@ -576,12 +582,13 @@ module Google
|
|
576
582
|
# Customize the options with defaults
|
577
583
|
call_metadata = @config.rpcs.update_instance.metadata.to_h
|
578
584
|
|
579
|
-
# Set x-goog-api-client
|
585
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
580
586
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
581
587
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
582
588
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
583
589
|
transports_version_send: [:rest]
|
584
590
|
|
591
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
585
592
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
586
593
|
|
587
594
|
options.apply_defaults timeout: @config.rpcs.update_instance.timeout,
|
@@ -673,12 +680,13 @@ module Google
|
|
673
680
|
# Customize the options with defaults
|
674
681
|
call_metadata = @config.rpcs.restore_instance.metadata.to_h
|
675
682
|
|
676
|
-
# Set x-goog-api-client
|
683
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
677
684
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
678
685
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
679
686
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
680
687
|
transports_version_send: [:rest]
|
681
688
|
|
689
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
682
690
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
683
691
|
|
684
692
|
options.apply_defaults timeout: @config.rpcs.restore_instance.timeout,
|
@@ -765,12 +773,13 @@ module Google
|
|
765
773
|
# Customize the options with defaults
|
766
774
|
call_metadata = @config.rpcs.revert_instance.metadata.to_h
|
767
775
|
|
768
|
-
# Set x-goog-api-client
|
776
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
769
777
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
770
778
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
771
779
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
772
780
|
transports_version_send: [:rest]
|
773
781
|
|
782
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
774
783
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
775
784
|
|
776
785
|
options.apply_defaults timeout: @config.rpcs.revert_instance.timeout,
|
@@ -855,12 +864,13 @@ module Google
|
|
855
864
|
# Customize the options with defaults
|
856
865
|
call_metadata = @config.rpcs.delete_instance.metadata.to_h
|
857
866
|
|
858
|
-
# Set x-goog-api-client
|
867
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
859
868
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
860
869
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
861
870
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
862
871
|
transports_version_send: [:rest]
|
863
872
|
|
873
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
864
874
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
865
875
|
|
866
876
|
options.apply_defaults timeout: @config.rpcs.delete_instance.timeout,
|
@@ -950,12 +960,13 @@ module Google
|
|
950
960
|
# Customize the options with defaults
|
951
961
|
call_metadata = @config.rpcs.list_snapshots.metadata.to_h
|
952
962
|
|
953
|
-
# Set x-goog-api-client
|
963
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
954
964
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
955
965
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
956
966
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
957
967
|
transports_version_send: [:rest]
|
958
968
|
|
969
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
959
970
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
960
971
|
|
961
972
|
options.apply_defaults timeout: @config.rpcs.list_snapshots.timeout,
|
@@ -1030,12 +1041,13 @@ module Google
|
|
1030
1041
|
# Customize the options with defaults
|
1031
1042
|
call_metadata = @config.rpcs.get_snapshot.metadata.to_h
|
1032
1043
|
|
1033
|
-
# Set x-goog-api-client
|
1044
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1034
1045
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1035
1046
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1036
1047
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
1037
1048
|
transports_version_send: [:rest]
|
1038
1049
|
|
1050
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1039
1051
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1040
1052
|
|
1041
1053
|
options.apply_defaults timeout: @config.rpcs.get_snapshot.timeout,
|
@@ -1124,12 +1136,13 @@ module Google
|
|
1124
1136
|
# Customize the options with defaults
|
1125
1137
|
call_metadata = @config.rpcs.create_snapshot.metadata.to_h
|
1126
1138
|
|
1127
|
-
# Set x-goog-api-client
|
1139
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1128
1140
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1129
1141
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1130
1142
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
1131
1143
|
transports_version_send: [:rest]
|
1132
1144
|
|
1145
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1133
1146
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1134
1147
|
|
1135
1148
|
options.apply_defaults timeout: @config.rpcs.create_snapshot.timeout,
|
@@ -1211,12 +1224,13 @@ module Google
|
|
1211
1224
|
# Customize the options with defaults
|
1212
1225
|
call_metadata = @config.rpcs.delete_snapshot.metadata.to_h
|
1213
1226
|
|
1214
|
-
# Set x-goog-api-client
|
1227
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1215
1228
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1216
1229
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1217
1230
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
1218
1231
|
transports_version_send: [:rest]
|
1219
1232
|
|
1233
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1220
1234
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1221
1235
|
|
1222
1236
|
options.apply_defaults timeout: @config.rpcs.delete_snapshot.timeout,
|
@@ -1300,12 +1314,13 @@ module Google
|
|
1300
1314
|
# Customize the options with defaults
|
1301
1315
|
call_metadata = @config.rpcs.update_snapshot.metadata.to_h
|
1302
1316
|
|
1303
|
-
# Set x-goog-api-client
|
1317
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1304
1318
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1305
1319
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1306
1320
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
1307
1321
|
transports_version_send: [:rest]
|
1308
1322
|
|
1323
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1309
1324
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1310
1325
|
|
1311
1326
|
options.apply_defaults timeout: @config.rpcs.update_snapshot.timeout,
|
@@ -1398,12 +1413,13 @@ module Google
|
|
1398
1413
|
# Customize the options with defaults
|
1399
1414
|
call_metadata = @config.rpcs.list_backups.metadata.to_h
|
1400
1415
|
|
1401
|
-
# Set x-goog-api-client
|
1416
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1402
1417
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1403
1418
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1404
1419
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
1405
1420
|
transports_version_send: [:rest]
|
1406
1421
|
|
1422
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1407
1423
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1408
1424
|
|
1409
1425
|
options.apply_defaults timeout: @config.rpcs.list_backups.timeout,
|
@@ -1477,12 +1493,13 @@ module Google
|
|
1477
1493
|
# Customize the options with defaults
|
1478
1494
|
call_metadata = @config.rpcs.get_backup.metadata.to_h
|
1479
1495
|
|
1480
|
-
# Set x-goog-api-client
|
1496
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1481
1497
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1482
1498
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1483
1499
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
1484
1500
|
transports_version_send: [:rest]
|
1485
1501
|
|
1502
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1486
1503
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1487
1504
|
|
1488
1505
|
options.apply_defaults timeout: @config.rpcs.get_backup.timeout,
|
@@ -1574,12 +1591,13 @@ module Google
|
|
1574
1591
|
# Customize the options with defaults
|
1575
1592
|
call_metadata = @config.rpcs.create_backup.metadata.to_h
|
1576
1593
|
|
1577
|
-
# Set x-goog-api-client
|
1594
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1578
1595
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1579
1596
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1580
1597
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
1581
1598
|
transports_version_send: [:rest]
|
1582
1599
|
|
1600
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1583
1601
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1584
1602
|
|
1585
1603
|
options.apply_defaults timeout: @config.rpcs.create_backup.timeout,
|
@@ -1661,12 +1679,13 @@ module Google
|
|
1661
1679
|
# Customize the options with defaults
|
1662
1680
|
call_metadata = @config.rpcs.delete_backup.metadata.to_h
|
1663
1681
|
|
1664
|
-
# Set x-goog-api-client
|
1682
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1665
1683
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1666
1684
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1667
1685
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
1668
1686
|
transports_version_send: [:rest]
|
1669
1687
|
|
1688
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1670
1689
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1671
1690
|
|
1672
1691
|
options.apply_defaults timeout: @config.rpcs.delete_backup.timeout,
|
@@ -1750,12 +1769,13 @@ module Google
|
|
1750
1769
|
# Customize the options with defaults
|
1751
1770
|
call_metadata = @config.rpcs.update_backup.metadata.to_h
|
1752
1771
|
|
1753
|
-
# Set x-goog-api-client
|
1772
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1754
1773
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1755
1774
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1756
1775
|
gapic_version: ::Google::Cloud::Filestore::V1::VERSION,
|
1757
1776
|
transports_version_send: [:rest]
|
1758
1777
|
|
1778
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1759
1779
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1760
1780
|
|
1761
1781
|
options.apply_defaults timeout: @config.rpcs.update_backup.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 = "file.$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::Filestore::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::Filestore::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::Filestore::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::Filestore::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,
|
@@ -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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-filestore-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.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-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|