google-cloud-netapp-v1 0.5.1 → 0.6.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/netapp/v1/common_pb.rb +4 -1
- data/lib/google/cloud/netapp/v1/netapp/client.rb +105 -51
- data/lib/google/cloud/netapp/v1/netapp/operations.rb +13 -5
- data/lib/google/cloud/netapp/v1/netapp/rest/client.rb +105 -51
- data/lib/google/cloud/netapp/v1/netapp/rest/operations.rb +11 -4
- data/lib/google/cloud/netapp/v1/version.rb +1 -1
- data/lib/google/cloud/netapp/v1/volume_pb.rb +3 -1
- data/proto_docs/google/cloud/netapp/v1/common.rb +13 -0
- data/proto_docs/google/cloud/netapp/v1/storage_pool.rb +2 -2
- data/proto_docs/google/cloud/netapp/v1/volume.rb +37 -3
- metadata +2 -2
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# NetApp Files Google Cloud Service
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "netapp.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -407,12 +410,13 @@ module Google
|
|
407
410
|
# Customize the options with defaults
|
408
411
|
call_metadata = @config.rpcs.list_storage_pools.metadata.to_h
|
409
412
|
|
410
|
-
# Set x-goog-api-client
|
413
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
411
414
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
412
415
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
413
416
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
414
417
|
transports_version_send: [:rest]
|
415
418
|
|
419
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
416
420
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
417
421
|
|
418
422
|
options.apply_defaults timeout: @config.rpcs.list_storage_pools.timeout,
|
@@ -498,12 +502,13 @@ module Google
|
|
498
502
|
# Customize the options with defaults
|
499
503
|
call_metadata = @config.rpcs.create_storage_pool.metadata.to_h
|
500
504
|
|
501
|
-
# Set x-goog-api-client
|
505
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
502
506
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
503
507
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
504
508
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
505
509
|
transports_version_send: [:rest]
|
506
510
|
|
511
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
507
512
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
508
513
|
|
509
514
|
options.apply_defaults timeout: @config.rpcs.create_storage_pool.timeout,
|
@@ -577,12 +582,13 @@ module Google
|
|
577
582
|
# Customize the options with defaults
|
578
583
|
call_metadata = @config.rpcs.get_storage_pool.metadata.to_h
|
579
584
|
|
580
|
-
# Set x-goog-api-client
|
585
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
581
586
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
582
587
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
583
588
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
584
589
|
transports_version_send: [:rest]
|
585
590
|
|
591
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
586
592
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
587
593
|
|
588
594
|
options.apply_defaults timeout: @config.rpcs.get_storage_pool.timeout,
|
@@ -668,12 +674,13 @@ module Google
|
|
668
674
|
# Customize the options with defaults
|
669
675
|
call_metadata = @config.rpcs.update_storage_pool.metadata.to_h
|
670
676
|
|
671
|
-
# Set x-goog-api-client
|
677
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
672
678
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
673
679
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
674
680
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
675
681
|
transports_version_send: [:rest]
|
676
682
|
|
683
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
677
684
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
678
685
|
|
679
686
|
options.apply_defaults timeout: @config.rpcs.update_storage_pool.timeout,
|
@@ -754,12 +761,13 @@ module Google
|
|
754
761
|
# Customize the options with defaults
|
755
762
|
call_metadata = @config.rpcs.delete_storage_pool.metadata.to_h
|
756
763
|
|
757
|
-
# Set x-goog-api-client
|
764
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
758
765
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
759
766
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
760
767
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
761
768
|
transports_version_send: [:rest]
|
762
769
|
|
770
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
763
771
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
764
772
|
|
765
773
|
options.apply_defaults timeout: @config.rpcs.delete_storage_pool.timeout,
|
@@ -846,12 +854,13 @@ module Google
|
|
846
854
|
# Customize the options with defaults
|
847
855
|
call_metadata = @config.rpcs.list_volumes.metadata.to_h
|
848
856
|
|
849
|
-
# Set x-goog-api-client
|
857
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
850
858
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
851
859
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
852
860
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
853
861
|
transports_version_send: [:rest]
|
854
862
|
|
863
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
855
864
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
856
865
|
|
857
866
|
options.apply_defaults timeout: @config.rpcs.list_volumes.timeout,
|
@@ -924,12 +933,13 @@ module Google
|
|
924
933
|
# Customize the options with defaults
|
925
934
|
call_metadata = @config.rpcs.get_volume.metadata.to_h
|
926
935
|
|
927
|
-
# Set x-goog-api-client
|
936
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
928
937
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
929
938
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
930
939
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
931
940
|
transports_version_send: [:rest]
|
932
941
|
|
942
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
933
943
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
934
944
|
|
935
945
|
options.apply_defaults timeout: @config.rpcs.get_volume.timeout,
|
@@ -1015,12 +1025,13 @@ module Google
|
|
1015
1025
|
# Customize the options with defaults
|
1016
1026
|
call_metadata = @config.rpcs.create_volume.metadata.to_h
|
1017
1027
|
|
1018
|
-
# Set x-goog-api-client
|
1028
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1019
1029
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1020
1030
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1021
1031
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
1022
1032
|
transports_version_send: [:rest]
|
1023
1033
|
|
1034
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1024
1035
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1025
1036
|
|
1026
1037
|
options.apply_defaults timeout: @config.rpcs.create_volume.timeout,
|
@@ -1107,12 +1118,13 @@ module Google
|
|
1107
1118
|
# Customize the options with defaults
|
1108
1119
|
call_metadata = @config.rpcs.update_volume.metadata.to_h
|
1109
1120
|
|
1110
|
-
# Set x-goog-api-client
|
1121
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1111
1122
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1112
1123
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1113
1124
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
1114
1125
|
transports_version_send: [:rest]
|
1115
1126
|
|
1127
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1116
1128
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1117
1129
|
|
1118
1130
|
options.apply_defaults timeout: @config.rpcs.update_volume.timeout,
|
@@ -1197,12 +1209,13 @@ module Google
|
|
1197
1209
|
# Customize the options with defaults
|
1198
1210
|
call_metadata = @config.rpcs.delete_volume.metadata.to_h
|
1199
1211
|
|
1200
|
-
# Set x-goog-api-client
|
1212
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1201
1213
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1202
1214
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1203
1215
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
1204
1216
|
transports_version_send: [:rest]
|
1205
1217
|
|
1218
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1206
1219
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1207
1220
|
|
1208
1221
|
options.apply_defaults timeout: @config.rpcs.delete_volume.timeout,
|
@@ -1290,12 +1303,13 @@ module Google
|
|
1290
1303
|
# Customize the options with defaults
|
1291
1304
|
call_metadata = @config.rpcs.revert_volume.metadata.to_h
|
1292
1305
|
|
1293
|
-
# Set x-goog-api-client
|
1306
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1294
1307
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1295
1308
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1296
1309
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
1297
1310
|
transports_version_send: [:rest]
|
1298
1311
|
|
1312
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1299
1313
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1300
1314
|
|
1301
1315
|
options.apply_defaults timeout: @config.rpcs.revert_volume.timeout,
|
@@ -1384,12 +1398,13 @@ module Google
|
|
1384
1398
|
# Customize the options with defaults
|
1385
1399
|
call_metadata = @config.rpcs.list_snapshots.metadata.to_h
|
1386
1400
|
|
1387
|
-
# Set x-goog-api-client
|
1401
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1388
1402
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1389
1403
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1390
1404
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
1391
1405
|
transports_version_send: [:rest]
|
1392
1406
|
|
1407
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1393
1408
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1394
1409
|
|
1395
1410
|
options.apply_defaults timeout: @config.rpcs.list_snapshots.timeout,
|
@@ -1463,12 +1478,13 @@ module Google
|
|
1463
1478
|
# Customize the options with defaults
|
1464
1479
|
call_metadata = @config.rpcs.get_snapshot.metadata.to_h
|
1465
1480
|
|
1466
|
-
# Set x-goog-api-client
|
1481
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1467
1482
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1468
1483
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1469
1484
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
1470
1485
|
transports_version_send: [:rest]
|
1471
1486
|
|
1487
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1472
1488
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1473
1489
|
|
1474
1490
|
options.apply_defaults timeout: @config.rpcs.get_snapshot.timeout,
|
@@ -1555,12 +1571,13 @@ module Google
|
|
1555
1571
|
# Customize the options with defaults
|
1556
1572
|
call_metadata = @config.rpcs.create_snapshot.metadata.to_h
|
1557
1573
|
|
1558
|
-
# Set x-goog-api-client
|
1574
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1559
1575
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1560
1576
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1561
1577
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
1562
1578
|
transports_version_send: [:rest]
|
1563
1579
|
|
1580
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1564
1581
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1565
1582
|
|
1566
1583
|
options.apply_defaults timeout: @config.rpcs.create_snapshot.timeout,
|
@@ -1642,12 +1659,13 @@ module Google
|
|
1642
1659
|
# Customize the options with defaults
|
1643
1660
|
call_metadata = @config.rpcs.delete_snapshot.metadata.to_h
|
1644
1661
|
|
1645
|
-
# Set x-goog-api-client
|
1662
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1646
1663
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1647
1664
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1648
1665
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
1649
1666
|
transports_version_send: [:rest]
|
1650
1667
|
|
1668
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1651
1669
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1652
1670
|
|
1653
1671
|
options.apply_defaults timeout: @config.rpcs.delete_snapshot.timeout,
|
@@ -1731,12 +1749,13 @@ module Google
|
|
1731
1749
|
# Customize the options with defaults
|
1732
1750
|
call_metadata = @config.rpcs.update_snapshot.metadata.to_h
|
1733
1751
|
|
1734
|
-
# Set x-goog-api-client
|
1752
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1735
1753
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1736
1754
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1737
1755
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
1738
1756
|
transports_version_send: [:rest]
|
1739
1757
|
|
1758
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1740
1759
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1741
1760
|
|
1742
1761
|
options.apply_defaults timeout: @config.rpcs.update_snapshot.timeout,
|
@@ -1823,12 +1842,13 @@ module Google
|
|
1823
1842
|
# Customize the options with defaults
|
1824
1843
|
call_metadata = @config.rpcs.list_active_directories.metadata.to_h
|
1825
1844
|
|
1826
|
-
# Set x-goog-api-client
|
1845
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1827
1846
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1828
1847
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1829
1848
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
1830
1849
|
transports_version_send: [:rest]
|
1831
1850
|
|
1851
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1832
1852
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1833
1853
|
|
1834
1854
|
options.apply_defaults timeout: @config.rpcs.list_active_directories.timeout,
|
@@ -1901,12 +1921,13 @@ module Google
|
|
1901
1921
|
# Customize the options with defaults
|
1902
1922
|
call_metadata = @config.rpcs.get_active_directory.metadata.to_h
|
1903
1923
|
|
1904
|
-
# Set x-goog-api-client
|
1924
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1905
1925
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1906
1926
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1907
1927
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
1908
1928
|
transports_version_send: [:rest]
|
1909
1929
|
|
1930
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1910
1931
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1911
1932
|
|
1912
1933
|
options.apply_defaults timeout: @config.rpcs.get_active_directory.timeout,
|
@@ -1991,12 +2012,13 @@ module Google
|
|
1991
2012
|
# Customize the options with defaults
|
1992
2013
|
call_metadata = @config.rpcs.create_active_directory.metadata.to_h
|
1993
2014
|
|
1994
|
-
# Set x-goog-api-client
|
2015
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1995
2016
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1996
2017
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1997
2018
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
1998
2019
|
transports_version_send: [:rest]
|
1999
2020
|
|
2021
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2000
2022
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2001
2023
|
|
2002
2024
|
options.apply_defaults timeout: @config.rpcs.create_active_directory.timeout,
|
@@ -2083,12 +2105,13 @@ module Google
|
|
2083
2105
|
# Customize the options with defaults
|
2084
2106
|
call_metadata = @config.rpcs.update_active_directory.metadata.to_h
|
2085
2107
|
|
2086
|
-
# Set x-goog-api-client
|
2108
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2087
2109
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2088
2110
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2089
2111
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
2090
2112
|
transports_version_send: [:rest]
|
2091
2113
|
|
2114
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2092
2115
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2093
2116
|
|
2094
2117
|
options.apply_defaults timeout: @config.rpcs.update_active_directory.timeout,
|
@@ -2169,12 +2192,13 @@ module Google
|
|
2169
2192
|
# Customize the options with defaults
|
2170
2193
|
call_metadata = @config.rpcs.delete_active_directory.metadata.to_h
|
2171
2194
|
|
2172
|
-
# Set x-goog-api-client
|
2195
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2173
2196
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2174
2197
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2175
2198
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
2176
2199
|
transports_version_send: [:rest]
|
2177
2200
|
|
2201
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2178
2202
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2179
2203
|
|
2180
2204
|
options.apply_defaults timeout: @config.rpcs.delete_active_directory.timeout,
|
@@ -2261,12 +2285,13 @@ module Google
|
|
2261
2285
|
# Customize the options with defaults
|
2262
2286
|
call_metadata = @config.rpcs.list_kms_configs.metadata.to_h
|
2263
2287
|
|
2264
|
-
# Set x-goog-api-client
|
2288
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2265
2289
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2266
2290
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2267
2291
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
2268
2292
|
transports_version_send: [:rest]
|
2269
2293
|
|
2294
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2270
2295
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2271
2296
|
|
2272
2297
|
options.apply_defaults timeout: @config.rpcs.list_kms_configs.timeout,
|
@@ -2352,12 +2377,13 @@ module Google
|
|
2352
2377
|
# Customize the options with defaults
|
2353
2378
|
call_metadata = @config.rpcs.create_kms_config.metadata.to_h
|
2354
2379
|
|
2355
|
-
# Set x-goog-api-client
|
2380
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2356
2381
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2357
2382
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2358
2383
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
2359
2384
|
transports_version_send: [:rest]
|
2360
2385
|
|
2386
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2361
2387
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2362
2388
|
|
2363
2389
|
options.apply_defaults timeout: @config.rpcs.create_kms_config.timeout,
|
@@ -2431,12 +2457,13 @@ module Google
|
|
2431
2457
|
# Customize the options with defaults
|
2432
2458
|
call_metadata = @config.rpcs.get_kms_config.metadata.to_h
|
2433
2459
|
|
2434
|
-
# Set x-goog-api-client
|
2460
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2435
2461
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2436
2462
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2437
2463
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
2438
2464
|
transports_version_send: [:rest]
|
2439
2465
|
|
2466
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2440
2467
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2441
2468
|
|
2442
2469
|
options.apply_defaults timeout: @config.rpcs.get_kms_config.timeout,
|
@@ -2522,12 +2549,13 @@ module Google
|
|
2522
2549
|
# Customize the options with defaults
|
2523
2550
|
call_metadata = @config.rpcs.update_kms_config.metadata.to_h
|
2524
2551
|
|
2525
|
-
# Set x-goog-api-client
|
2552
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2526
2553
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2527
2554
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2528
2555
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
2529
2556
|
transports_version_send: [:rest]
|
2530
2557
|
|
2558
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2531
2559
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2532
2560
|
|
2533
2561
|
options.apply_defaults timeout: @config.rpcs.update_kms_config.timeout,
|
@@ -2609,12 +2637,13 @@ module Google
|
|
2609
2637
|
# Customize the options with defaults
|
2610
2638
|
call_metadata = @config.rpcs.encrypt_volumes.metadata.to_h
|
2611
2639
|
|
2612
|
-
# Set x-goog-api-client
|
2640
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2613
2641
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2614
2642
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2615
2643
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
2616
2644
|
transports_version_send: [:rest]
|
2617
2645
|
|
2646
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2618
2647
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2619
2648
|
|
2620
2649
|
options.apply_defaults timeout: @config.rpcs.encrypt_volumes.timeout,
|
@@ -2688,12 +2717,13 @@ module Google
|
|
2688
2717
|
# Customize the options with defaults
|
2689
2718
|
call_metadata = @config.rpcs.verify_kms_config.metadata.to_h
|
2690
2719
|
|
2691
|
-
# Set x-goog-api-client
|
2720
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2692
2721
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2693
2722
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2694
2723
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
2695
2724
|
transports_version_send: [:rest]
|
2696
2725
|
|
2726
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2697
2727
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2698
2728
|
|
2699
2729
|
options.apply_defaults timeout: @config.rpcs.verify_kms_config.timeout,
|
@@ -2773,12 +2803,13 @@ module Google
|
|
2773
2803
|
# Customize the options with defaults
|
2774
2804
|
call_metadata = @config.rpcs.delete_kms_config.metadata.to_h
|
2775
2805
|
|
2776
|
-
# Set x-goog-api-client
|
2806
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2777
2807
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2778
2808
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2779
2809
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
2780
2810
|
transports_version_send: [:rest]
|
2781
2811
|
|
2812
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2782
2813
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2783
2814
|
|
2784
2815
|
options.apply_defaults timeout: @config.rpcs.delete_kms_config.timeout,
|
@@ -2867,12 +2898,13 @@ module Google
|
|
2867
2898
|
# Customize the options with defaults
|
2868
2899
|
call_metadata = @config.rpcs.list_replications.metadata.to_h
|
2869
2900
|
|
2870
|
-
# Set x-goog-api-client
|
2901
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2871
2902
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2872
2903
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2873
2904
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
2874
2905
|
transports_version_send: [:rest]
|
2875
2906
|
|
2907
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2876
2908
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2877
2909
|
|
2878
2910
|
options.apply_defaults timeout: @config.rpcs.list_replications.timeout,
|
@@ -2946,12 +2978,13 @@ module Google
|
|
2946
2978
|
# Customize the options with defaults
|
2947
2979
|
call_metadata = @config.rpcs.get_replication.metadata.to_h
|
2948
2980
|
|
2949
|
-
# Set x-goog-api-client
|
2981
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2950
2982
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2951
2983
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2952
2984
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
2953
2985
|
transports_version_send: [:rest]
|
2954
2986
|
|
2987
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2955
2988
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2956
2989
|
|
2957
2990
|
options.apply_defaults timeout: @config.rpcs.get_replication.timeout,
|
@@ -3038,12 +3071,13 @@ module Google
|
|
3038
3071
|
# Customize the options with defaults
|
3039
3072
|
call_metadata = @config.rpcs.create_replication.metadata.to_h
|
3040
3073
|
|
3041
|
-
# Set x-goog-api-client
|
3074
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3042
3075
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3043
3076
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3044
3077
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
3045
3078
|
transports_version_send: [:rest]
|
3046
3079
|
|
3080
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3047
3081
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3048
3082
|
|
3049
3083
|
options.apply_defaults timeout: @config.rpcs.create_replication.timeout,
|
@@ -3125,12 +3159,13 @@ module Google
|
|
3125
3159
|
# Customize the options with defaults
|
3126
3160
|
call_metadata = @config.rpcs.delete_replication.metadata.to_h
|
3127
3161
|
|
3128
|
-
# Set x-goog-api-client
|
3162
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3129
3163
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3130
3164
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3131
3165
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
3132
3166
|
transports_version_send: [:rest]
|
3133
3167
|
|
3168
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3134
3169
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3135
3170
|
|
3136
3171
|
options.apply_defaults timeout: @config.rpcs.delete_replication.timeout,
|
@@ -3214,12 +3249,13 @@ module Google
|
|
3214
3249
|
# Customize the options with defaults
|
3215
3250
|
call_metadata = @config.rpcs.update_replication.metadata.to_h
|
3216
3251
|
|
3217
|
-
# Set x-goog-api-client
|
3252
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3218
3253
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3219
3254
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3220
3255
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
3221
3256
|
transports_version_send: [:rest]
|
3222
3257
|
|
3258
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3223
3259
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3224
3260
|
|
3225
3261
|
options.apply_defaults timeout: @config.rpcs.update_replication.timeout,
|
@@ -3308,12 +3344,13 @@ module Google
|
|
3308
3344
|
# Customize the options with defaults
|
3309
3345
|
call_metadata = @config.rpcs.stop_replication.metadata.to_h
|
3310
3346
|
|
3311
|
-
# Set x-goog-api-client
|
3347
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3312
3348
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3313
3349
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3314
3350
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
3315
3351
|
transports_version_send: [:rest]
|
3316
3352
|
|
3353
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3317
3354
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3318
3355
|
|
3319
3356
|
options.apply_defaults timeout: @config.rpcs.stop_replication.timeout,
|
@@ -3395,12 +3432,13 @@ module Google
|
|
3395
3432
|
# Customize the options with defaults
|
3396
3433
|
call_metadata = @config.rpcs.resume_replication.metadata.to_h
|
3397
3434
|
|
3398
|
-
# Set x-goog-api-client
|
3435
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3399
3436
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3400
3437
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3401
3438
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
3402
3439
|
transports_version_send: [:rest]
|
3403
3440
|
|
3441
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3404
3442
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3405
3443
|
|
3406
3444
|
options.apply_defaults timeout: @config.rpcs.resume_replication.timeout,
|
@@ -3483,12 +3521,13 @@ module Google
|
|
3483
3521
|
# Customize the options with defaults
|
3484
3522
|
call_metadata = @config.rpcs.reverse_replication_direction.metadata.to_h
|
3485
3523
|
|
3486
|
-
# Set x-goog-api-client
|
3524
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3487
3525
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3488
3526
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3489
3527
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
3490
3528
|
transports_version_send: [:rest]
|
3491
3529
|
|
3530
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3492
3531
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3493
3532
|
|
3494
3533
|
options.apply_defaults timeout: @config.rpcs.reverse_replication_direction.timeout,
|
@@ -3580,12 +3619,13 @@ module Google
|
|
3580
3619
|
# Customize the options with defaults
|
3581
3620
|
call_metadata = @config.rpcs.create_backup_vault.metadata.to_h
|
3582
3621
|
|
3583
|
-
# Set x-goog-api-client
|
3622
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3584
3623
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3585
3624
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3586
3625
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
3587
3626
|
transports_version_send: [:rest]
|
3588
3627
|
|
3628
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3589
3629
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3590
3630
|
|
3591
3631
|
options.apply_defaults timeout: @config.rpcs.create_backup_vault.timeout,
|
@@ -3660,12 +3700,13 @@ module Google
|
|
3660
3700
|
# Customize the options with defaults
|
3661
3701
|
call_metadata = @config.rpcs.get_backup_vault.metadata.to_h
|
3662
3702
|
|
3663
|
-
# Set x-goog-api-client
|
3703
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3664
3704
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3665
3705
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3666
3706
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
3667
3707
|
transports_version_send: [:rest]
|
3668
3708
|
|
3709
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3669
3710
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3670
3711
|
|
3671
3712
|
options.apply_defaults timeout: @config.rpcs.get_backup_vault.timeout,
|
@@ -3753,12 +3794,13 @@ module Google
|
|
3753
3794
|
# Customize the options with defaults
|
3754
3795
|
call_metadata = @config.rpcs.list_backup_vaults.metadata.to_h
|
3755
3796
|
|
3756
|
-
# Set x-goog-api-client
|
3797
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3757
3798
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3758
3799
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3759
3800
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
3760
3801
|
transports_version_send: [:rest]
|
3761
3802
|
|
3803
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3762
3804
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3763
3805
|
|
3764
3806
|
options.apply_defaults timeout: @config.rpcs.list_backup_vaults.timeout,
|
@@ -3844,12 +3886,13 @@ module Google
|
|
3844
3886
|
# Customize the options with defaults
|
3845
3887
|
call_metadata = @config.rpcs.update_backup_vault.metadata.to_h
|
3846
3888
|
|
3847
|
-
# Set x-goog-api-client
|
3889
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3848
3890
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3849
3891
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3850
3892
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
3851
3893
|
transports_version_send: [:rest]
|
3852
3894
|
|
3895
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3853
3896
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3854
3897
|
|
3855
3898
|
options.apply_defaults timeout: @config.rpcs.update_backup_vault.timeout,
|
@@ -3931,12 +3974,13 @@ module Google
|
|
3931
3974
|
# Customize the options with defaults
|
3932
3975
|
call_metadata = @config.rpcs.delete_backup_vault.metadata.to_h
|
3933
3976
|
|
3934
|
-
# Set x-goog-api-client
|
3977
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3935
3978
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3936
3979
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3937
3980
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
3938
3981
|
transports_version_send: [:rest]
|
3939
3982
|
|
3983
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3940
3984
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3941
3985
|
|
3942
3986
|
options.apply_defaults timeout: @config.rpcs.delete_backup_vault.timeout,
|
@@ -4030,12 +4074,13 @@ module Google
|
|
4030
4074
|
# Customize the options with defaults
|
4031
4075
|
call_metadata = @config.rpcs.create_backup.metadata.to_h
|
4032
4076
|
|
4033
|
-
# Set x-goog-api-client
|
4077
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4034
4078
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4035
4079
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4036
4080
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
4037
4081
|
transports_version_send: [:rest]
|
4038
4082
|
|
4083
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4039
4084
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4040
4085
|
|
4041
4086
|
options.apply_defaults timeout: @config.rpcs.create_backup.timeout,
|
@@ -4110,12 +4155,13 @@ module Google
|
|
4110
4155
|
# Customize the options with defaults
|
4111
4156
|
call_metadata = @config.rpcs.get_backup.metadata.to_h
|
4112
4157
|
|
4113
|
-
# Set x-goog-api-client
|
4158
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4114
4159
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4115
4160
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4116
4161
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
4117
4162
|
transports_version_send: [:rest]
|
4118
4163
|
|
4164
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4119
4165
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4120
4166
|
|
4121
4167
|
options.apply_defaults timeout: @config.rpcs.get_backup.timeout,
|
@@ -4214,12 +4260,13 @@ module Google
|
|
4214
4260
|
# Customize the options with defaults
|
4215
4261
|
call_metadata = @config.rpcs.list_backups.metadata.to_h
|
4216
4262
|
|
4217
|
-
# Set x-goog-api-client
|
4263
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4218
4264
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4219
4265
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4220
4266
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
4221
4267
|
transports_version_send: [:rest]
|
4222
4268
|
|
4269
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4223
4270
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4224
4271
|
|
4225
4272
|
options.apply_defaults timeout: @config.rpcs.list_backups.timeout,
|
@@ -4300,12 +4347,13 @@ module Google
|
|
4300
4347
|
# Customize the options with defaults
|
4301
4348
|
call_metadata = @config.rpcs.delete_backup.metadata.to_h
|
4302
4349
|
|
4303
|
-
# Set x-goog-api-client
|
4350
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4304
4351
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4305
4352
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4306
4353
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
4307
4354
|
transports_version_send: [:rest]
|
4308
4355
|
|
4356
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4309
4357
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4310
4358
|
|
4311
4359
|
options.apply_defaults timeout: @config.rpcs.delete_backup.timeout,
|
@@ -4392,12 +4440,13 @@ module Google
|
|
4392
4440
|
# Customize the options with defaults
|
4393
4441
|
call_metadata = @config.rpcs.update_backup.metadata.to_h
|
4394
4442
|
|
4395
|
-
# Set x-goog-api-client
|
4443
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4396
4444
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4397
4445
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4398
4446
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
4399
4447
|
transports_version_send: [:rest]
|
4400
4448
|
|
4449
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4401
4450
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4402
4451
|
|
4403
4452
|
options.apply_defaults timeout: @config.rpcs.update_backup.timeout,
|
@@ -4486,12 +4535,13 @@ module Google
|
|
4486
4535
|
# Customize the options with defaults
|
4487
4536
|
call_metadata = @config.rpcs.create_backup_policy.metadata.to_h
|
4488
4537
|
|
4489
|
-
# Set x-goog-api-client
|
4538
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4490
4539
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4491
4540
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4492
4541
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
4493
4542
|
transports_version_send: [:rest]
|
4494
4543
|
|
4544
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4495
4545
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4496
4546
|
|
4497
4547
|
options.apply_defaults timeout: @config.rpcs.create_backup_policy.timeout,
|
@@ -4566,12 +4616,13 @@ module Google
|
|
4566
4616
|
# Customize the options with defaults
|
4567
4617
|
call_metadata = @config.rpcs.get_backup_policy.metadata.to_h
|
4568
4618
|
|
4569
|
-
# Set x-goog-api-client
|
4619
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4570
4620
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4571
4621
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4572
4622
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
4573
4623
|
transports_version_send: [:rest]
|
4574
4624
|
|
4625
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4575
4626
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4576
4627
|
|
4577
4628
|
options.apply_defaults timeout: @config.rpcs.get_backup_policy.timeout,
|
@@ -4657,12 +4708,13 @@ module Google
|
|
4657
4708
|
# Customize the options with defaults
|
4658
4709
|
call_metadata = @config.rpcs.list_backup_policies.metadata.to_h
|
4659
4710
|
|
4660
|
-
# Set x-goog-api-client
|
4711
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4661
4712
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4662
4713
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4663
4714
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
4664
4715
|
transports_version_send: [:rest]
|
4665
4716
|
|
4717
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4666
4718
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4667
4719
|
|
4668
4720
|
options.apply_defaults timeout: @config.rpcs.list_backup_policies.timeout,
|
@@ -4748,12 +4800,13 @@ module Google
|
|
4748
4800
|
# Customize the options with defaults
|
4749
4801
|
call_metadata = @config.rpcs.update_backup_policy.metadata.to_h
|
4750
4802
|
|
4751
|
-
# Set x-goog-api-client
|
4803
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4752
4804
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4753
4805
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4754
4806
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
4755
4807
|
transports_version_send: [:rest]
|
4756
4808
|
|
4809
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4757
4810
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4758
4811
|
|
4759
4812
|
options.apply_defaults timeout: @config.rpcs.update_backup_policy.timeout,
|
@@ -4835,12 +4888,13 @@ module Google
|
|
4835
4888
|
# Customize the options with defaults
|
4836
4889
|
call_metadata = @config.rpcs.delete_backup_policy.metadata.to_h
|
4837
4890
|
|
4838
|
-
# Set x-goog-api-client
|
4891
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4839
4892
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4840
4893
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4841
4894
|
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
4842
4895
|
transports_version_send: [:rest]
|
4843
4896
|
|
4897
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4844
4898
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4845
4899
|
|
4846
4900
|
options.apply_defaults timeout: @config.rpcs.delete_backup_policy.timeout,
|