google-cloud-datastream-v1alpha1 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/datastream/v1alpha1/datastream/client.rb +45 -21
- data/lib/google/cloud/datastream/v1alpha1/datastream/operations.rb +13 -5
- data/lib/google/cloud/datastream/v1alpha1/datastream/rest/client.rb +45 -21
- data/lib/google/cloud/datastream/v1alpha1/datastream/rest/operations.rb +11 -4
- data/lib/google/cloud/datastream/v1alpha1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- 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: 35b6f7499c7bc32c67ab2b947c4465ce403df1525570abd21ae52c658564d285
|
|
4
|
+
data.tar.gz: 052db811abc26ec797c44fe62ca46d3a1ea8b3c594c8f2987e9f1de8cef50299
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dce2067a3842725bd8c7f406f8aa2701b3551ee77804110317ad780862acf35242ea80069f215cd992ea3ae9a13e155c1cb7dd0a1197bdcc7d2c68ca16eb524b
|
|
7
|
+
data.tar.gz: 8644eacec71e117b5ddfa7f6739fb3bb2b90d9bc0f8283e0de58b32c6b3f44a777be50094a50aa2e0f992a2d4d1648337b925b59fbfd7567bc013343198f70ef
|
|
@@ -30,6 +30,9 @@ module Google
|
|
|
30
30
|
# Datastream service
|
|
31
31
|
#
|
|
32
32
|
class Client
|
|
33
|
+
# @private
|
|
34
|
+
API_VERSION = ""
|
|
35
|
+
|
|
33
36
|
# @private
|
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "datastream.$UNIVERSE_DOMAIN$"
|
|
35
38
|
|
|
@@ -273,10 +276,11 @@ module Google
|
|
|
273
276
|
# Customize the options with defaults
|
|
274
277
|
metadata = @config.rpcs.list_connection_profiles.metadata.to_h
|
|
275
278
|
|
|
276
|
-
# Set x-goog-api-client
|
|
279
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
277
280
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
278
281
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
279
282
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
283
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
280
284
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
281
285
|
|
|
282
286
|
header_params = {}
|
|
@@ -359,10 +363,11 @@ module Google
|
|
|
359
363
|
# Customize the options with defaults
|
|
360
364
|
metadata = @config.rpcs.get_connection_profile.metadata.to_h
|
|
361
365
|
|
|
362
|
-
# Set x-goog-api-client
|
|
366
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
363
367
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
364
368
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
365
369
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
370
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
366
371
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
367
372
|
|
|
368
373
|
header_params = {}
|
|
@@ -469,10 +474,11 @@ module Google
|
|
|
469
474
|
# Customize the options with defaults
|
|
470
475
|
metadata = @config.rpcs.create_connection_profile.metadata.to_h
|
|
471
476
|
|
|
472
|
-
# Set x-goog-api-client
|
|
477
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
473
478
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
474
479
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
475
480
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
481
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
476
482
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
477
483
|
|
|
478
484
|
header_params = {}
|
|
@@ -582,10 +588,11 @@ module Google
|
|
|
582
588
|
# Customize the options with defaults
|
|
583
589
|
metadata = @config.rpcs.update_connection_profile.metadata.to_h
|
|
584
590
|
|
|
585
|
-
# Set x-goog-api-client
|
|
591
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
586
592
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
587
593
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
588
594
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
595
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
589
596
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
590
597
|
|
|
591
598
|
header_params = {}
|
|
@@ -689,10 +696,11 @@ module Google
|
|
|
689
696
|
# Customize the options with defaults
|
|
690
697
|
metadata = @config.rpcs.delete_connection_profile.metadata.to_h
|
|
691
698
|
|
|
692
|
-
# Set x-goog-api-client
|
|
699
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
693
700
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
694
701
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
695
702
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
703
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
696
704
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
697
705
|
|
|
698
706
|
header_params = {}
|
|
@@ -792,10 +800,11 @@ module Google
|
|
|
792
800
|
# Customize the options with defaults
|
|
793
801
|
metadata = @config.rpcs.discover_connection_profile.metadata.to_h
|
|
794
802
|
|
|
795
|
-
# Set x-goog-api-client
|
|
803
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
796
804
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
797
805
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
798
806
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
807
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
799
808
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
800
809
|
|
|
801
810
|
header_params = {}
|
|
@@ -895,10 +904,11 @@ module Google
|
|
|
895
904
|
# Customize the options with defaults
|
|
896
905
|
metadata = @config.rpcs.list_streams.metadata.to_h
|
|
897
906
|
|
|
898
|
-
# Set x-goog-api-client
|
|
907
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
899
908
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
900
909
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
901
910
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
911
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
902
912
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
903
913
|
|
|
904
914
|
header_params = {}
|
|
@@ -981,10 +991,11 @@ module Google
|
|
|
981
991
|
# Customize the options with defaults
|
|
982
992
|
metadata = @config.rpcs.get_stream.metadata.to_h
|
|
983
993
|
|
|
984
|
-
# Set x-goog-api-client
|
|
994
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
985
995
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
986
996
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
987
997
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
998
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
988
999
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
989
1000
|
|
|
990
1001
|
header_params = {}
|
|
@@ -1096,10 +1107,11 @@ module Google
|
|
|
1096
1107
|
# Customize the options with defaults
|
|
1097
1108
|
metadata = @config.rpcs.create_stream.metadata.to_h
|
|
1098
1109
|
|
|
1099
|
-
# Set x-goog-api-client
|
|
1110
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1100
1111
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1101
1112
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1102
1113
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
1114
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1103
1115
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1104
1116
|
|
|
1105
1117
|
header_params = {}
|
|
@@ -1214,10 +1226,11 @@ module Google
|
|
|
1214
1226
|
# Customize the options with defaults
|
|
1215
1227
|
metadata = @config.rpcs.update_stream.metadata.to_h
|
|
1216
1228
|
|
|
1217
|
-
# Set x-goog-api-client
|
|
1229
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1218
1230
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1219
1231
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1220
1232
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
1233
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1221
1234
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1222
1235
|
|
|
1223
1236
|
header_params = {}
|
|
@@ -1321,10 +1334,11 @@ module Google
|
|
|
1321
1334
|
# Customize the options with defaults
|
|
1322
1335
|
metadata = @config.rpcs.delete_stream.metadata.to_h
|
|
1323
1336
|
|
|
1324
|
-
# Set x-goog-api-client
|
|
1337
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1325
1338
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1326
1339
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1327
1340
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
1341
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1328
1342
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1329
1343
|
|
|
1330
1344
|
header_params = {}
|
|
@@ -1414,10 +1428,11 @@ module Google
|
|
|
1414
1428
|
# Customize the options with defaults
|
|
1415
1429
|
metadata = @config.rpcs.fetch_errors.metadata.to_h
|
|
1416
1430
|
|
|
1417
|
-
# Set x-goog-api-client
|
|
1431
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1418
1432
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1419
1433
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1420
1434
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
1435
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1421
1436
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1422
1437
|
|
|
1423
1438
|
header_params = {}
|
|
@@ -1508,10 +1523,11 @@ module Google
|
|
|
1508
1523
|
# Customize the options with defaults
|
|
1509
1524
|
metadata = @config.rpcs.fetch_static_ips.metadata.to_h
|
|
1510
1525
|
|
|
1511
|
-
# Set x-goog-api-client
|
|
1526
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1512
1527
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1513
1528
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1514
1529
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
1530
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1515
1531
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1516
1532
|
|
|
1517
1533
|
header_params = {}
|
|
@@ -1618,10 +1634,11 @@ module Google
|
|
|
1618
1634
|
# Customize the options with defaults
|
|
1619
1635
|
metadata = @config.rpcs.create_private_connection.metadata.to_h
|
|
1620
1636
|
|
|
1621
|
-
# Set x-goog-api-client
|
|
1637
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1622
1638
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1623
1639
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1624
1640
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
1641
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1625
1642
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1626
1643
|
|
|
1627
1644
|
header_params = {}
|
|
@@ -1704,10 +1721,11 @@ module Google
|
|
|
1704
1721
|
# Customize the options with defaults
|
|
1705
1722
|
metadata = @config.rpcs.get_private_connection.metadata.to_h
|
|
1706
1723
|
|
|
1707
|
-
# Set x-goog-api-client
|
|
1724
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1708
1725
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1709
1726
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1710
1727
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
1728
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1711
1729
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1712
1730
|
|
|
1713
1731
|
header_params = {}
|
|
@@ -1810,10 +1828,11 @@ module Google
|
|
|
1810
1828
|
# Customize the options with defaults
|
|
1811
1829
|
metadata = @config.rpcs.list_private_connections.metadata.to_h
|
|
1812
1830
|
|
|
1813
|
-
# Set x-goog-api-client
|
|
1831
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1814
1832
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1815
1833
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1816
1834
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
1835
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1817
1836
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1818
1837
|
|
|
1819
1838
|
header_params = {}
|
|
@@ -1920,10 +1939,11 @@ module Google
|
|
|
1920
1939
|
# Customize the options with defaults
|
|
1921
1940
|
metadata = @config.rpcs.delete_private_connection.metadata.to_h
|
|
1922
1941
|
|
|
1923
|
-
# Set x-goog-api-client
|
|
1942
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1924
1943
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1925
1944
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1926
1945
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
1946
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1927
1947
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1928
1948
|
|
|
1929
1949
|
header_params = {}
|
|
@@ -2032,10 +2052,11 @@ module Google
|
|
|
2032
2052
|
# Customize the options with defaults
|
|
2033
2053
|
metadata = @config.rpcs.create_route.metadata.to_h
|
|
2034
2054
|
|
|
2035
|
-
# Set x-goog-api-client
|
|
2055
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2036
2056
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2037
2057
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2038
2058
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
2059
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2039
2060
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2040
2061
|
|
|
2041
2062
|
header_params = {}
|
|
@@ -2118,10 +2139,11 @@ module Google
|
|
|
2118
2139
|
# Customize the options with defaults
|
|
2119
2140
|
metadata = @config.rpcs.get_route.metadata.to_h
|
|
2120
2141
|
|
|
2121
|
-
# Set x-goog-api-client
|
|
2142
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2122
2143
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2123
2144
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2124
2145
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
2146
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2125
2147
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2126
2148
|
|
|
2127
2149
|
header_params = {}
|
|
@@ -2224,10 +2246,11 @@ module Google
|
|
|
2224
2246
|
# Customize the options with defaults
|
|
2225
2247
|
metadata = @config.rpcs.list_routes.metadata.to_h
|
|
2226
2248
|
|
|
2227
|
-
# Set x-goog-api-client
|
|
2249
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2228
2250
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2229
2251
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2230
2252
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
2253
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2231
2254
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2232
2255
|
|
|
2233
2256
|
header_params = {}
|
|
@@ -2331,10 +2354,11 @@ module Google
|
|
|
2331
2354
|
# Customize the options with defaults
|
|
2332
2355
|
metadata = @config.rpcs.delete_route.metadata.to_h
|
|
2333
2356
|
|
|
2334
|
-
# Set x-goog-api-client
|
|
2357
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2335
2358
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2336
2359
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2337
2360
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION
|
|
2361
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2338
2362
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2339
2363
|
|
|
2340
2364
|
header_params = {}
|
|
@@ -26,6 +26,9 @@ module Google
|
|
|
26
26
|
module Datastream
|
|
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 = "datastream.$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::Datastream::V1alpha1::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::Datastream::V1alpha1::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::Datastream::V1alpha1::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::Datastream::V1alpha1::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::Datastream::V1alpha1::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,
|
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# Datastream service
|
|
33
33
|
#
|
|
34
34
|
class Client
|
|
35
|
+
# @private
|
|
36
|
+
API_VERSION = ""
|
|
37
|
+
|
|
35
38
|
# @private
|
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "datastream.$UNIVERSE_DOMAIN$"
|
|
37
40
|
|
|
@@ -265,12 +268,13 @@ module Google
|
|
|
265
268
|
# Customize the options with defaults
|
|
266
269
|
call_metadata = @config.rpcs.list_connection_profiles.metadata.to_h
|
|
267
270
|
|
|
268
|
-
# Set x-goog-api-client
|
|
271
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
269
272
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
270
273
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
271
274
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
272
275
|
transports_version_send: [:rest]
|
|
273
276
|
|
|
277
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
274
278
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
275
279
|
|
|
276
280
|
options.apply_defaults timeout: @config.rpcs.list_connection_profiles.timeout,
|
|
@@ -343,12 +347,13 @@ module Google
|
|
|
343
347
|
# Customize the options with defaults
|
|
344
348
|
call_metadata = @config.rpcs.get_connection_profile.metadata.to_h
|
|
345
349
|
|
|
346
|
-
# Set x-goog-api-client
|
|
350
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
347
351
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
348
352
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
349
353
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
350
354
|
transports_version_send: [:rest]
|
|
351
355
|
|
|
356
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
352
357
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
353
358
|
|
|
354
359
|
options.apply_defaults timeout: @config.rpcs.get_connection_profile.timeout,
|
|
@@ -446,12 +451,13 @@ module Google
|
|
|
446
451
|
# Customize the options with defaults
|
|
447
452
|
call_metadata = @config.rpcs.create_connection_profile.metadata.to_h
|
|
448
453
|
|
|
449
|
-
# Set x-goog-api-client
|
|
454
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
450
455
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
451
456
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
452
457
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
453
458
|
transports_version_send: [:rest]
|
|
454
459
|
|
|
460
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
455
461
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
456
462
|
|
|
457
463
|
options.apply_defaults timeout: @config.rpcs.create_connection_profile.timeout,
|
|
@@ -552,12 +558,13 @@ module Google
|
|
|
552
558
|
# Customize the options with defaults
|
|
553
559
|
call_metadata = @config.rpcs.update_connection_profile.metadata.to_h
|
|
554
560
|
|
|
555
|
-
# Set x-goog-api-client
|
|
561
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
556
562
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
557
563
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
558
564
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
559
565
|
transports_version_send: [:rest]
|
|
560
566
|
|
|
567
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
561
568
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
562
569
|
|
|
563
570
|
options.apply_defaults timeout: @config.rpcs.update_connection_profile.timeout,
|
|
@@ -652,12 +659,13 @@ module Google
|
|
|
652
659
|
# Customize the options with defaults
|
|
653
660
|
call_metadata = @config.rpcs.delete_connection_profile.metadata.to_h
|
|
654
661
|
|
|
655
|
-
# Set x-goog-api-client
|
|
662
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
656
663
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
657
664
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
658
665
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
659
666
|
transports_version_send: [:rest]
|
|
660
667
|
|
|
668
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
661
669
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
662
670
|
|
|
663
671
|
options.apply_defaults timeout: @config.rpcs.delete_connection_profile.timeout,
|
|
@@ -748,12 +756,13 @@ module Google
|
|
|
748
756
|
# Customize the options with defaults
|
|
749
757
|
call_metadata = @config.rpcs.discover_connection_profile.metadata.to_h
|
|
750
758
|
|
|
751
|
-
# Set x-goog-api-client
|
|
759
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
752
760
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
753
761
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
754
762
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
755
763
|
transports_version_send: [:rest]
|
|
756
764
|
|
|
765
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
757
766
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
758
767
|
|
|
759
768
|
options.apply_defaults timeout: @config.rpcs.discover_connection_profile.timeout,
|
|
@@ -844,12 +853,13 @@ module Google
|
|
|
844
853
|
# Customize the options with defaults
|
|
845
854
|
call_metadata = @config.rpcs.list_streams.metadata.to_h
|
|
846
855
|
|
|
847
|
-
# Set x-goog-api-client
|
|
856
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
848
857
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
849
858
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
850
859
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
851
860
|
transports_version_send: [:rest]
|
|
852
861
|
|
|
862
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
853
863
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
854
864
|
|
|
855
865
|
options.apply_defaults timeout: @config.rpcs.list_streams.timeout,
|
|
@@ -922,12 +932,13 @@ module Google
|
|
|
922
932
|
# Customize the options with defaults
|
|
923
933
|
call_metadata = @config.rpcs.get_stream.metadata.to_h
|
|
924
934
|
|
|
925
|
-
# Set x-goog-api-client
|
|
935
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
926
936
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
927
937
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
928
938
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
929
939
|
transports_version_send: [:rest]
|
|
930
940
|
|
|
941
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
931
942
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
932
943
|
|
|
933
944
|
options.apply_defaults timeout: @config.rpcs.get_stream.timeout,
|
|
@@ -1030,12 +1041,13 @@ module Google
|
|
|
1030
1041
|
# Customize the options with defaults
|
|
1031
1042
|
call_metadata = @config.rpcs.create_stream.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::Datastream::V1alpha1::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.create_stream.timeout,
|
|
@@ -1141,12 +1153,13 @@ module Google
|
|
|
1141
1153
|
# Customize the options with defaults
|
|
1142
1154
|
call_metadata = @config.rpcs.update_stream.metadata.to_h
|
|
1143
1155
|
|
|
1144
|
-
# Set x-goog-api-client
|
|
1156
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1145
1157
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1146
1158
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1147
1159
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
1148
1160
|
transports_version_send: [:rest]
|
|
1149
1161
|
|
|
1162
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1150
1163
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1151
1164
|
|
|
1152
1165
|
options.apply_defaults timeout: @config.rpcs.update_stream.timeout,
|
|
@@ -1241,12 +1254,13 @@ module Google
|
|
|
1241
1254
|
# Customize the options with defaults
|
|
1242
1255
|
call_metadata = @config.rpcs.delete_stream.metadata.to_h
|
|
1243
1256
|
|
|
1244
|
-
# Set x-goog-api-client
|
|
1257
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1245
1258
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1246
1259
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1247
1260
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
1248
1261
|
transports_version_send: [:rest]
|
|
1249
1262
|
|
|
1263
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1250
1264
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1251
1265
|
|
|
1252
1266
|
options.apply_defaults timeout: @config.rpcs.delete_stream.timeout,
|
|
@@ -1327,12 +1341,13 @@ module Google
|
|
|
1327
1341
|
# Customize the options with defaults
|
|
1328
1342
|
call_metadata = @config.rpcs.fetch_errors.metadata.to_h
|
|
1329
1343
|
|
|
1330
|
-
# Set x-goog-api-client
|
|
1344
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1331
1345
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1332
1346
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1333
1347
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
1334
1348
|
transports_version_send: [:rest]
|
|
1335
1349
|
|
|
1350
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1336
1351
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1337
1352
|
|
|
1338
1353
|
options.apply_defaults timeout: @config.rpcs.fetch_errors.timeout,
|
|
@@ -1414,12 +1429,13 @@ module Google
|
|
|
1414
1429
|
# Customize the options with defaults
|
|
1415
1430
|
call_metadata = @config.rpcs.fetch_static_ips.metadata.to_h
|
|
1416
1431
|
|
|
1417
|
-
# Set x-goog-api-client
|
|
1432
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1418
1433
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1419
1434
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1420
1435
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
1421
1436
|
transports_version_send: [:rest]
|
|
1422
1437
|
|
|
1438
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1423
1439
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1424
1440
|
|
|
1425
1441
|
options.apply_defaults timeout: @config.rpcs.fetch_static_ips.timeout,
|
|
@@ -1518,12 +1534,13 @@ module Google
|
|
|
1518
1534
|
# Customize the options with defaults
|
|
1519
1535
|
call_metadata = @config.rpcs.create_private_connection.metadata.to_h
|
|
1520
1536
|
|
|
1521
|
-
# Set x-goog-api-client
|
|
1537
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1522
1538
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1523
1539
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1524
1540
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
1525
1541
|
transports_version_send: [:rest]
|
|
1526
1542
|
|
|
1543
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1527
1544
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1528
1545
|
|
|
1529
1546
|
options.apply_defaults timeout: @config.rpcs.create_private_connection.timeout,
|
|
@@ -1597,12 +1614,13 @@ module Google
|
|
|
1597
1614
|
# Customize the options with defaults
|
|
1598
1615
|
call_metadata = @config.rpcs.get_private_connection.metadata.to_h
|
|
1599
1616
|
|
|
1600
|
-
# Set x-goog-api-client
|
|
1617
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1601
1618
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1602
1619
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1603
1620
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
1604
1621
|
transports_version_send: [:rest]
|
|
1605
1622
|
|
|
1623
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1606
1624
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1607
1625
|
|
|
1608
1626
|
options.apply_defaults timeout: @config.rpcs.get_private_connection.timeout,
|
|
@@ -1696,12 +1714,13 @@ module Google
|
|
|
1696
1714
|
# Customize the options with defaults
|
|
1697
1715
|
call_metadata = @config.rpcs.list_private_connections.metadata.to_h
|
|
1698
1716
|
|
|
1699
|
-
# Set x-goog-api-client
|
|
1717
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1700
1718
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1701
1719
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1702
1720
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
1703
1721
|
transports_version_send: [:rest]
|
|
1704
1722
|
|
|
1723
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1705
1724
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1706
1725
|
|
|
1707
1726
|
options.apply_defaults timeout: @config.rpcs.list_private_connections.timeout,
|
|
@@ -1798,12 +1817,13 @@ module Google
|
|
|
1798
1817
|
# Customize the options with defaults
|
|
1799
1818
|
call_metadata = @config.rpcs.delete_private_connection.metadata.to_h
|
|
1800
1819
|
|
|
1801
|
-
# Set x-goog-api-client
|
|
1820
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1802
1821
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1803
1822
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1804
1823
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
1805
1824
|
transports_version_send: [:rest]
|
|
1806
1825
|
|
|
1826
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1807
1827
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1808
1828
|
|
|
1809
1829
|
options.apply_defaults timeout: @config.rpcs.delete_private_connection.timeout,
|
|
@@ -1903,12 +1923,13 @@ module Google
|
|
|
1903
1923
|
# Customize the options with defaults
|
|
1904
1924
|
call_metadata = @config.rpcs.create_route.metadata.to_h
|
|
1905
1925
|
|
|
1906
|
-
# Set x-goog-api-client
|
|
1926
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1907
1927
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1908
1928
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1909
1929
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
1910
1930
|
transports_version_send: [:rest]
|
|
1911
1931
|
|
|
1932
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1912
1933
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1913
1934
|
|
|
1914
1935
|
options.apply_defaults timeout: @config.rpcs.create_route.timeout,
|
|
@@ -1982,12 +2003,13 @@ module Google
|
|
|
1982
2003
|
# Customize the options with defaults
|
|
1983
2004
|
call_metadata = @config.rpcs.get_route.metadata.to_h
|
|
1984
2005
|
|
|
1985
|
-
# Set x-goog-api-client
|
|
2006
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1986
2007
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1987
2008
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1988
2009
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
1989
2010
|
transports_version_send: [:rest]
|
|
1990
2011
|
|
|
2012
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1991
2013
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1992
2014
|
|
|
1993
2015
|
options.apply_defaults timeout: @config.rpcs.get_route.timeout,
|
|
@@ -2081,12 +2103,13 @@ module Google
|
|
|
2081
2103
|
# Customize the options with defaults
|
|
2082
2104
|
call_metadata = @config.rpcs.list_routes.metadata.to_h
|
|
2083
2105
|
|
|
2084
|
-
# Set x-goog-api-client
|
|
2106
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2085
2107
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2086
2108
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2087
2109
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
2088
2110
|
transports_version_send: [:rest]
|
|
2089
2111
|
|
|
2112
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2090
2113
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2091
2114
|
|
|
2092
2115
|
options.apply_defaults timeout: @config.rpcs.list_routes.timeout,
|
|
@@ -2180,12 +2203,13 @@ module Google
|
|
|
2180
2203
|
# Customize the options with defaults
|
|
2181
2204
|
call_metadata = @config.rpcs.delete_route.metadata.to_h
|
|
2182
2205
|
|
|
2183
|
-
# Set x-goog-api-client
|
|
2206
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2184
2207
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2185
2208
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2186
2209
|
gapic_version: ::Google::Cloud::Datastream::V1alpha1::VERSION,
|
|
2187
2210
|
transports_version_send: [:rest]
|
|
2188
2211
|
|
|
2212
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2189
2213
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2190
2214
|
|
|
2191
2215
|
options.apply_defaults timeout: @config.rpcs.delete_route.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 = "datastream.$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::Datastream::V1alpha1::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::Datastream::V1alpha1::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::Datastream::V1alpha1::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::Datastream::V1alpha1::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
|
|
@@ -192,9 +196,26 @@ module Google
|
|
|
192
196
|
# @!attribute [rw] common
|
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
194
198
|
# Some settings.
|
|
199
|
+
# @!attribute [rw] experimental_features
|
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
|
201
|
+
# Experimental features to be included during client library generation.
|
|
195
202
|
class PythonSettings
|
|
196
203
|
include ::Google::Protobuf::MessageExts
|
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
205
|
+
|
|
206
|
+
# Experimental features to be included during client library generation.
|
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
|
208
|
+
# by default.
|
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
|
210
|
+
# @return [::Boolean]
|
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
|
214
|
+
# feature in preview packages.
|
|
215
|
+
class ExperimentalFeatures
|
|
216
|
+
include ::Google::Protobuf::MessageExts
|
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
218
|
+
end
|
|
198
219
|
end
|
|
199
220
|
|
|
200
221
|
# Settings for Node client libraries.
|
|
@@ -286,6 +307,13 @@ module Google
|
|
|
286
307
|
# @return [::String]
|
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
|
288
309
|
# This is used to find the method to apply the options.
|
|
310
|
+
#
|
|
311
|
+
# Example:
|
|
312
|
+
#
|
|
313
|
+
# publishing:
|
|
314
|
+
# method_settings:
|
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
|
316
|
+
# # method settings for CreateFolder...
|
|
289
317
|
# @!attribute [rw] long_running
|
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
|
291
319
|
# Describes settings to use for long-running operations when generating
|
|
@@ -294,17 +322,14 @@ module Google
|
|
|
294
322
|
#
|
|
295
323
|
# Example of a YAML configuration::
|
|
296
324
|
#
|
|
297
|
-
#
|
|
298
|
-
#
|
|
325
|
+
# publishing:
|
|
326
|
+
# method_settings:
|
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
|
300
328
|
# long_running:
|
|
301
|
-
# initial_poll_delay:
|
|
302
|
-
# seconds: 60 # 1 minute
|
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
|
303
330
|
# poll_delay_multiplier: 1.5
|
|
304
|
-
# max_poll_delay:
|
|
305
|
-
#
|
|
306
|
-
# total_poll_timeout:
|
|
307
|
-
# seconds: 54000 # 90 minutes
|
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
|
309
334
|
# @return [::Array<::String>]
|
|
310
335
|
# List of top-level fields of the request message, that should be
|
|
@@ -313,8 +338,8 @@ module Google
|
|
|
313
338
|
#
|
|
314
339
|
# Example of a YAML configuration:
|
|
315
340
|
#
|
|
316
|
-
#
|
|
317
|
-
#
|
|
341
|
+
# publishing:
|
|
342
|
+
# method_settings:
|
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
|
319
344
|
# auto_populated_fields:
|
|
320
345
|
# - 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
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-datastream-v1alpha1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.1
|
|
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-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|