google-cloud-app_hub-v1 0.1.0 → 0.1.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/app_hub/v1/app_hub/client.rb +57 -27
- data/lib/google/cloud/app_hub/v1/app_hub/operations.rb +13 -5
- data/lib/google/cloud/app_hub/v1/app_hub/rest/client.rb +57 -27
- data/lib/google/cloud/app_hub/v1/app_hub/rest/operations.rb +11 -4
- data/lib/google/cloud/app_hub/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +31 -10
- data/proto_docs/google/api/field_info.rb +23 -0
- 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: 701edb23d12c55483c4f9f1a6b55c25348868f8c37e0a2f275cd23fcd7627501
|
|
4
|
+
data.tar.gz: bf4f7ce1646b10ff715b3900eba64c143b37fd2fa59f31515c9ec8321bdb7ad9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b8c0f8f1fbe9817eca58fdcd62ad0ebf6416a4a96f6d450878277be91ade32a135b2c4100dda256a8ddf0d52706f0d4915a97ae2212b981276b5d11cbf05f135
|
|
7
|
+
data.tar.gz: 5323e40e5b4da8cba2ee9f82dade614faae5999b63612beed2100ba89bcfb5b6e57dc7a9278105dead2d4b76ee8594b0c9169982b038a247edcaab0f17927f1e
|
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# The App Hub API allows you to manage App Hub resources.
|
|
33
33
|
#
|
|
34
34
|
class Client
|
|
35
|
+
# @private
|
|
36
|
+
API_VERSION = ""
|
|
37
|
+
|
|
35
38
|
# @private
|
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "apphub.$UNIVERSE_DOMAIN$"
|
|
37
40
|
|
|
@@ -361,10 +364,11 @@ module Google
|
|
|
361
364
|
# Customize the options with defaults
|
|
362
365
|
metadata = @config.rpcs.lookup_service_project_attachment.metadata.to_h
|
|
363
366
|
|
|
364
|
-
# Set x-goog-api-client
|
|
367
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
365
368
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
366
369
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
367
370
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
371
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
368
372
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
369
373
|
|
|
370
374
|
header_params = {}
|
|
@@ -461,10 +465,11 @@ module Google
|
|
|
461
465
|
# Customize the options with defaults
|
|
462
466
|
metadata = @config.rpcs.list_service_project_attachments.metadata.to_h
|
|
463
467
|
|
|
464
|
-
# Set x-goog-api-client
|
|
468
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
465
469
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
466
470
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
467
471
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
472
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
468
473
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
469
474
|
|
|
470
475
|
header_params = {}
|
|
@@ -576,10 +581,11 @@ module Google
|
|
|
576
581
|
# Customize the options with defaults
|
|
577
582
|
metadata = @config.rpcs.create_service_project_attachment.metadata.to_h
|
|
578
583
|
|
|
579
|
-
# Set x-goog-api-client
|
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
580
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
581
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
582
587
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
583
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
584
590
|
|
|
585
591
|
header_params = {}
|
|
@@ -664,10 +670,11 @@ module Google
|
|
|
664
670
|
# Customize the options with defaults
|
|
665
671
|
metadata = @config.rpcs.get_service_project_attachment.metadata.to_h
|
|
666
672
|
|
|
667
|
-
# Set x-goog-api-client
|
|
673
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
668
674
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
669
675
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
670
676
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
677
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
671
678
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
672
679
|
|
|
673
680
|
header_params = {}
|
|
@@ -772,10 +779,11 @@ module Google
|
|
|
772
779
|
# Customize the options with defaults
|
|
773
780
|
metadata = @config.rpcs.delete_service_project_attachment.metadata.to_h
|
|
774
781
|
|
|
775
|
-
# Set x-goog-api-client
|
|
782
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
776
783
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
777
784
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
778
785
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
786
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
779
787
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
780
788
|
|
|
781
789
|
header_params = {}
|
|
@@ -862,10 +870,11 @@ module Google
|
|
|
862
870
|
# Customize the options with defaults
|
|
863
871
|
metadata = @config.rpcs.detach_service_project_attachment.metadata.to_h
|
|
864
872
|
|
|
865
|
-
# Set x-goog-api-client
|
|
873
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
866
874
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
867
875
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
868
876
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
877
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
869
878
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
870
879
|
|
|
871
880
|
header_params = {}
|
|
@@ -962,10 +971,11 @@ module Google
|
|
|
962
971
|
# Customize the options with defaults
|
|
963
972
|
metadata = @config.rpcs.list_discovered_services.metadata.to_h
|
|
964
973
|
|
|
965
|
-
# Set x-goog-api-client
|
|
974
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
966
975
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
967
976
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
968
977
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
978
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
969
979
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
970
980
|
|
|
971
981
|
header_params = {}
|
|
@@ -1050,10 +1060,11 @@ module Google
|
|
|
1050
1060
|
# Customize the options with defaults
|
|
1051
1061
|
metadata = @config.rpcs.get_discovered_service.metadata.to_h
|
|
1052
1062
|
|
|
1053
|
-
# Set x-goog-api-client
|
|
1063
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1054
1064
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1055
1065
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1056
1066
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
1067
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1057
1068
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1058
1069
|
|
|
1059
1070
|
header_params = {}
|
|
@@ -1141,10 +1152,11 @@ module Google
|
|
|
1141
1152
|
# Customize the options with defaults
|
|
1142
1153
|
metadata = @config.rpcs.lookup_discovered_service.metadata.to_h
|
|
1143
1154
|
|
|
1144
|
-
# Set x-goog-api-client
|
|
1155
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1145
1156
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1146
1157
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1147
1158
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
1159
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1148
1160
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1149
1161
|
|
|
1150
1162
|
header_params = {}
|
|
@@ -1241,10 +1253,11 @@ module Google
|
|
|
1241
1253
|
# Customize the options with defaults
|
|
1242
1254
|
metadata = @config.rpcs.list_services.metadata.to_h
|
|
1243
1255
|
|
|
1244
|
-
# Set x-goog-api-client
|
|
1256
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1245
1257
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1246
1258
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1247
1259
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
1260
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1248
1261
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1249
1262
|
|
|
1250
1263
|
header_params = {}
|
|
@@ -1357,10 +1370,11 @@ module Google
|
|
|
1357
1370
|
# Customize the options with defaults
|
|
1358
1371
|
metadata = @config.rpcs.create_service.metadata.to_h
|
|
1359
1372
|
|
|
1360
|
-
# Set x-goog-api-client
|
|
1373
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1361
1374
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1362
1375
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1363
1376
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
1377
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1364
1378
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1365
1379
|
|
|
1366
1380
|
header_params = {}
|
|
@@ -1445,10 +1459,11 @@ module Google
|
|
|
1445
1459
|
# Customize the options with defaults
|
|
1446
1460
|
metadata = @config.rpcs.get_service.metadata.to_h
|
|
1447
1461
|
|
|
1448
|
-
# Set x-goog-api-client
|
|
1462
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1449
1463
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1450
1464
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1451
1465
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
1466
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1452
1467
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1453
1468
|
|
|
1454
1469
|
header_params = {}
|
|
@@ -1561,10 +1576,11 @@ module Google
|
|
|
1561
1576
|
# Customize the options with defaults
|
|
1562
1577
|
metadata = @config.rpcs.update_service.metadata.to_h
|
|
1563
1578
|
|
|
1564
|
-
# Set x-goog-api-client
|
|
1579
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1565
1580
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1566
1581
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1567
1582
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
1583
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1568
1584
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1569
1585
|
|
|
1570
1586
|
header_params = {}
|
|
@@ -1670,10 +1686,11 @@ module Google
|
|
|
1670
1686
|
# Customize the options with defaults
|
|
1671
1687
|
metadata = @config.rpcs.delete_service.metadata.to_h
|
|
1672
1688
|
|
|
1673
|
-
# Set x-goog-api-client
|
|
1689
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1674
1690
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1675
1691
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1676
1692
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
1693
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1677
1694
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1678
1695
|
|
|
1679
1696
|
header_params = {}
|
|
@@ -1771,10 +1788,11 @@ module Google
|
|
|
1771
1788
|
# Customize the options with defaults
|
|
1772
1789
|
metadata = @config.rpcs.list_discovered_workloads.metadata.to_h
|
|
1773
1790
|
|
|
1774
|
-
# Set x-goog-api-client
|
|
1791
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1775
1792
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1776
1793
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1777
1794
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
1795
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1778
1796
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1779
1797
|
|
|
1780
1798
|
header_params = {}
|
|
@@ -1859,10 +1877,11 @@ module Google
|
|
|
1859
1877
|
# Customize the options with defaults
|
|
1860
1878
|
metadata = @config.rpcs.get_discovered_workload.metadata.to_h
|
|
1861
1879
|
|
|
1862
|
-
# Set x-goog-api-client
|
|
1880
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1863
1881
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1864
1882
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1865
1883
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
1884
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1866
1885
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1867
1886
|
|
|
1868
1887
|
header_params = {}
|
|
@@ -1950,10 +1969,11 @@ module Google
|
|
|
1950
1969
|
# Customize the options with defaults
|
|
1951
1970
|
metadata = @config.rpcs.lookup_discovered_workload.metadata.to_h
|
|
1952
1971
|
|
|
1953
|
-
# Set x-goog-api-client
|
|
1972
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1954
1973
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1955
1974
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1956
1975
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
1976
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1957
1977
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1958
1978
|
|
|
1959
1979
|
header_params = {}
|
|
@@ -2050,10 +2070,11 @@ module Google
|
|
|
2050
2070
|
# Customize the options with defaults
|
|
2051
2071
|
metadata = @config.rpcs.list_workloads.metadata.to_h
|
|
2052
2072
|
|
|
2053
|
-
# Set x-goog-api-client
|
|
2073
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2054
2074
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2055
2075
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2056
2076
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
2077
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2057
2078
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2058
2079
|
|
|
2059
2080
|
header_params = {}
|
|
@@ -2166,10 +2187,11 @@ module Google
|
|
|
2166
2187
|
# Customize the options with defaults
|
|
2167
2188
|
metadata = @config.rpcs.create_workload.metadata.to_h
|
|
2168
2189
|
|
|
2169
|
-
# Set x-goog-api-client
|
|
2190
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2170
2191
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2171
2192
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2172
2193
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
2194
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2173
2195
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2174
2196
|
|
|
2175
2197
|
header_params = {}
|
|
@@ -2254,10 +2276,11 @@ module Google
|
|
|
2254
2276
|
# Customize the options with defaults
|
|
2255
2277
|
metadata = @config.rpcs.get_workload.metadata.to_h
|
|
2256
2278
|
|
|
2257
|
-
# Set x-goog-api-client
|
|
2279
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2258
2280
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2259
2281
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2260
2282
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
2283
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2261
2284
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2262
2285
|
|
|
2263
2286
|
header_params = {}
|
|
@@ -2370,10 +2393,11 @@ module Google
|
|
|
2370
2393
|
# Customize the options with defaults
|
|
2371
2394
|
metadata = @config.rpcs.update_workload.metadata.to_h
|
|
2372
2395
|
|
|
2373
|
-
# Set x-goog-api-client
|
|
2396
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2374
2397
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2375
2398
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2376
2399
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
2400
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2377
2401
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2378
2402
|
|
|
2379
2403
|
header_params = {}
|
|
@@ -2479,10 +2503,11 @@ module Google
|
|
|
2479
2503
|
# Customize the options with defaults
|
|
2480
2504
|
metadata = @config.rpcs.delete_workload.metadata.to_h
|
|
2481
2505
|
|
|
2482
|
-
# Set x-goog-api-client
|
|
2506
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2483
2507
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2484
2508
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2485
2509
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
2510
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2486
2511
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2487
2512
|
|
|
2488
2513
|
header_params = {}
|
|
@@ -2579,10 +2604,11 @@ module Google
|
|
|
2579
2604
|
# Customize the options with defaults
|
|
2580
2605
|
metadata = @config.rpcs.list_applications.metadata.to_h
|
|
2581
2606
|
|
|
2582
|
-
# Set x-goog-api-client
|
|
2607
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2583
2608
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2584
2609
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2585
2610
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
2611
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2586
2612
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2587
2613
|
|
|
2588
2614
|
header_params = {}
|
|
@@ -2694,10 +2720,11 @@ module Google
|
|
|
2694
2720
|
# Customize the options with defaults
|
|
2695
2721
|
metadata = @config.rpcs.create_application.metadata.to_h
|
|
2696
2722
|
|
|
2697
|
-
# Set x-goog-api-client
|
|
2723
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2698
2724
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2699
2725
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2700
2726
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
2727
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2701
2728
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2702
2729
|
|
|
2703
2730
|
header_params = {}
|
|
@@ -2782,10 +2809,11 @@ module Google
|
|
|
2782
2809
|
# Customize the options with defaults
|
|
2783
2810
|
metadata = @config.rpcs.get_application.metadata.to_h
|
|
2784
2811
|
|
|
2785
|
-
# Set x-goog-api-client
|
|
2812
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2786
2813
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2787
2814
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2788
2815
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
2816
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2789
2817
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2790
2818
|
|
|
2791
2819
|
header_params = {}
|
|
@@ -2898,10 +2926,11 @@ module Google
|
|
|
2898
2926
|
# Customize the options with defaults
|
|
2899
2927
|
metadata = @config.rpcs.update_application.metadata.to_h
|
|
2900
2928
|
|
|
2901
|
-
# Set x-goog-api-client
|
|
2929
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2902
2930
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2903
2931
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2904
2932
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
2933
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2905
2934
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2906
2935
|
|
|
2907
2936
|
header_params = {}
|
|
@@ -3007,10 +3036,11 @@ module Google
|
|
|
3007
3036
|
# Customize the options with defaults
|
|
3008
3037
|
metadata = @config.rpcs.delete_application.metadata.to_h
|
|
3009
3038
|
|
|
3010
|
-
# Set x-goog-api-client
|
|
3039
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3011
3040
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3012
3041
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3013
3042
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
3043
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
3014
3044
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3015
3045
|
|
|
3016
3046
|
header_params = {}
|
|
@@ -26,6 +26,9 @@ module Google
|
|
|
26
26
|
module AppHub
|
|
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 = "apphub.$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::AppHub::V1::VERSION
|
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
199
203
|
|
|
200
204
|
header_params = {}
|
|
@@ -287,10 +291,11 @@ module Google
|
|
|
287
291
|
# Customize the options with defaults
|
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
|
289
293
|
|
|
290
|
-
# Set x-goog-api-client
|
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
293
297
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
295
300
|
|
|
296
301
|
header_params = {}
|
|
@@ -376,10 +381,11 @@ module Google
|
|
|
376
381
|
# Customize the options with defaults
|
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
378
383
|
|
|
379
|
-
# Set x-goog-api-client
|
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
382
387
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
384
390
|
|
|
385
391
|
header_params = {}
|
|
@@ -470,10 +476,11 @@ module Google
|
|
|
470
476
|
# Customize the options with defaults
|
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
472
478
|
|
|
473
|
-
# Set x-goog-api-client
|
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
476
482
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
478
485
|
|
|
479
486
|
header_params = {}
|
|
@@ -574,10 +581,11 @@ module Google
|
|
|
574
581
|
# Customize the options with defaults
|
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
|
576
583
|
|
|
577
|
-
# Set x-goog-api-client
|
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
580
587
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION
|
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
582
590
|
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
|
@@ -34,6 +34,9 @@ module Google
|
|
|
34
34
|
# The App Hub API allows you to manage App Hub resources.
|
|
35
35
|
#
|
|
36
36
|
class Client
|
|
37
|
+
# @private
|
|
38
|
+
API_VERSION = ""
|
|
39
|
+
|
|
37
40
|
# @private
|
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "apphub.$UNIVERSE_DOMAIN$"
|
|
39
42
|
|
|
@@ -355,12 +358,13 @@ module Google
|
|
|
355
358
|
# Customize the options with defaults
|
|
356
359
|
call_metadata = @config.rpcs.lookup_service_project_attachment.metadata.to_h
|
|
357
360
|
|
|
358
|
-
# Set x-goog-api-client
|
|
361
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
359
362
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
360
363
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
361
364
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
362
365
|
transports_version_send: [:rest]
|
|
363
366
|
|
|
367
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
364
368
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
365
369
|
|
|
366
370
|
options.apply_defaults timeout: @config.rpcs.lookup_service_project_attachment.timeout,
|
|
@@ -448,12 +452,13 @@ module Google
|
|
|
448
452
|
# Customize the options with defaults
|
|
449
453
|
call_metadata = @config.rpcs.list_service_project_attachments.metadata.to_h
|
|
450
454
|
|
|
451
|
-
# Set x-goog-api-client
|
|
455
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
452
456
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
453
457
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
454
458
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
455
459
|
transports_version_send: [:rest]
|
|
456
460
|
|
|
461
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
457
462
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
458
463
|
|
|
459
464
|
options.apply_defaults timeout: @config.rpcs.list_service_project_attachments.timeout,
|
|
@@ -555,12 +560,13 @@ module Google
|
|
|
555
560
|
# Customize the options with defaults
|
|
556
561
|
call_metadata = @config.rpcs.create_service_project_attachment.metadata.to_h
|
|
557
562
|
|
|
558
|
-
# Set x-goog-api-client
|
|
563
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
559
564
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
560
565
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
561
566
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
562
567
|
transports_version_send: [:rest]
|
|
563
568
|
|
|
569
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
564
570
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
565
571
|
|
|
566
572
|
options.apply_defaults timeout: @config.rpcs.create_service_project_attachment.timeout,
|
|
@@ -636,12 +642,13 @@ module Google
|
|
|
636
642
|
# Customize the options with defaults
|
|
637
643
|
call_metadata = @config.rpcs.get_service_project_attachment.metadata.to_h
|
|
638
644
|
|
|
639
|
-
# Set x-goog-api-client
|
|
645
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
640
646
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
641
647
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
642
648
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
643
649
|
transports_version_send: [:rest]
|
|
644
650
|
|
|
651
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
645
652
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
646
653
|
|
|
647
654
|
options.apply_defaults timeout: @config.rpcs.get_service_project_attachment.timeout,
|
|
@@ -737,12 +744,13 @@ module Google
|
|
|
737
744
|
# Customize the options with defaults
|
|
738
745
|
call_metadata = @config.rpcs.delete_service_project_attachment.metadata.to_h
|
|
739
746
|
|
|
740
|
-
# Set x-goog-api-client
|
|
747
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
741
748
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
742
749
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
743
750
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
744
751
|
transports_version_send: [:rest]
|
|
745
752
|
|
|
753
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
746
754
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
747
755
|
|
|
748
756
|
options.apply_defaults timeout: @config.rpcs.delete_service_project_attachment.timeout,
|
|
@@ -820,12 +828,13 @@ module Google
|
|
|
820
828
|
# Customize the options with defaults
|
|
821
829
|
call_metadata = @config.rpcs.detach_service_project_attachment.metadata.to_h
|
|
822
830
|
|
|
823
|
-
# Set x-goog-api-client
|
|
831
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
824
832
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
825
833
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
826
834
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
827
835
|
transports_version_send: [:rest]
|
|
828
836
|
|
|
837
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
829
838
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
830
839
|
|
|
831
840
|
options.apply_defaults timeout: @config.rpcs.detach_service_project_attachment.timeout,
|
|
@@ -913,12 +922,13 @@ module Google
|
|
|
913
922
|
# Customize the options with defaults
|
|
914
923
|
call_metadata = @config.rpcs.list_discovered_services.metadata.to_h
|
|
915
924
|
|
|
916
|
-
# Set x-goog-api-client
|
|
925
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
917
926
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
918
927
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
919
928
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
920
929
|
transports_version_send: [:rest]
|
|
921
930
|
|
|
931
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
922
932
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
923
933
|
|
|
924
934
|
options.apply_defaults timeout: @config.rpcs.list_discovered_services.timeout,
|
|
@@ -993,12 +1003,13 @@ module Google
|
|
|
993
1003
|
# Customize the options with defaults
|
|
994
1004
|
call_metadata = @config.rpcs.get_discovered_service.metadata.to_h
|
|
995
1005
|
|
|
996
|
-
# Set x-goog-api-client
|
|
1006
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
997
1007
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
998
1008
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
999
1009
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
1000
1010
|
transports_version_send: [:rest]
|
|
1001
1011
|
|
|
1012
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1002
1013
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1003
1014
|
|
|
1004
1015
|
options.apply_defaults timeout: @config.rpcs.get_discovered_service.timeout,
|
|
@@ -1077,12 +1088,13 @@ module Google
|
|
|
1077
1088
|
# Customize the options with defaults
|
|
1078
1089
|
call_metadata = @config.rpcs.lookup_discovered_service.metadata.to_h
|
|
1079
1090
|
|
|
1080
|
-
# Set x-goog-api-client
|
|
1091
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1081
1092
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1082
1093
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1083
1094
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
1084
1095
|
transports_version_send: [:rest]
|
|
1085
1096
|
|
|
1097
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1086
1098
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1087
1099
|
|
|
1088
1100
|
options.apply_defaults timeout: @config.rpcs.lookup_discovered_service.timeout,
|
|
@@ -1170,12 +1182,13 @@ module Google
|
|
|
1170
1182
|
# Customize the options with defaults
|
|
1171
1183
|
call_metadata = @config.rpcs.list_services.metadata.to_h
|
|
1172
1184
|
|
|
1173
|
-
# Set x-goog-api-client
|
|
1185
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1174
1186
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1175
1187
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1176
1188
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
1177
1189
|
transports_version_send: [:rest]
|
|
1178
1190
|
|
|
1191
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1179
1192
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1180
1193
|
|
|
1181
1194
|
options.apply_defaults timeout: @config.rpcs.list_services.timeout,
|
|
@@ -1278,12 +1291,13 @@ module Google
|
|
|
1278
1291
|
# Customize the options with defaults
|
|
1279
1292
|
call_metadata = @config.rpcs.create_service.metadata.to_h
|
|
1280
1293
|
|
|
1281
|
-
# Set x-goog-api-client
|
|
1294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1282
1295
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1283
1296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1284
1297
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
1285
1298
|
transports_version_send: [:rest]
|
|
1286
1299
|
|
|
1300
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1287
1301
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1288
1302
|
|
|
1289
1303
|
options.apply_defaults timeout: @config.rpcs.create_service.timeout,
|
|
@@ -1359,12 +1373,13 @@ module Google
|
|
|
1359
1373
|
# Customize the options with defaults
|
|
1360
1374
|
call_metadata = @config.rpcs.get_service.metadata.to_h
|
|
1361
1375
|
|
|
1362
|
-
# Set x-goog-api-client
|
|
1376
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1363
1377
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1364
1378
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1365
1379
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
1366
1380
|
transports_version_send: [:rest]
|
|
1367
1381
|
|
|
1382
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1368
1383
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1369
1384
|
|
|
1370
1385
|
options.apply_defaults timeout: @config.rpcs.get_service.timeout,
|
|
@@ -1468,12 +1483,13 @@ module Google
|
|
|
1468
1483
|
# Customize the options with defaults
|
|
1469
1484
|
call_metadata = @config.rpcs.update_service.metadata.to_h
|
|
1470
1485
|
|
|
1471
|
-
# Set x-goog-api-client
|
|
1486
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1472
1487
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1473
1488
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1474
1489
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
1475
1490
|
transports_version_send: [:rest]
|
|
1476
1491
|
|
|
1492
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1477
1493
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1478
1494
|
|
|
1479
1495
|
options.apply_defaults timeout: @config.rpcs.update_service.timeout,
|
|
@@ -1570,12 +1586,13 @@ module Google
|
|
|
1570
1586
|
# Customize the options with defaults
|
|
1571
1587
|
call_metadata = @config.rpcs.delete_service.metadata.to_h
|
|
1572
1588
|
|
|
1573
|
-
# Set x-goog-api-client
|
|
1589
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1574
1590
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1575
1591
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1576
1592
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
1577
1593
|
transports_version_send: [:rest]
|
|
1578
1594
|
|
|
1595
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1579
1596
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1580
1597
|
|
|
1581
1598
|
options.apply_defaults timeout: @config.rpcs.delete_service.timeout,
|
|
@@ -1664,12 +1681,13 @@ module Google
|
|
|
1664
1681
|
# Customize the options with defaults
|
|
1665
1682
|
call_metadata = @config.rpcs.list_discovered_workloads.metadata.to_h
|
|
1666
1683
|
|
|
1667
|
-
# Set x-goog-api-client
|
|
1684
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1668
1685
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1669
1686
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1670
1687
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
1671
1688
|
transports_version_send: [:rest]
|
|
1672
1689
|
|
|
1690
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1673
1691
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1674
1692
|
|
|
1675
1693
|
options.apply_defaults timeout: @config.rpcs.list_discovered_workloads.timeout,
|
|
@@ -1744,12 +1762,13 @@ module Google
|
|
|
1744
1762
|
# Customize the options with defaults
|
|
1745
1763
|
call_metadata = @config.rpcs.get_discovered_workload.metadata.to_h
|
|
1746
1764
|
|
|
1747
|
-
# Set x-goog-api-client
|
|
1765
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1748
1766
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1749
1767
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1750
1768
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
1751
1769
|
transports_version_send: [:rest]
|
|
1752
1770
|
|
|
1771
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1753
1772
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1754
1773
|
|
|
1755
1774
|
options.apply_defaults timeout: @config.rpcs.get_discovered_workload.timeout,
|
|
@@ -1828,12 +1847,13 @@ module Google
|
|
|
1828
1847
|
# Customize the options with defaults
|
|
1829
1848
|
call_metadata = @config.rpcs.lookup_discovered_workload.metadata.to_h
|
|
1830
1849
|
|
|
1831
|
-
# Set x-goog-api-client
|
|
1850
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1832
1851
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1833
1852
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1834
1853
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
1835
1854
|
transports_version_send: [:rest]
|
|
1836
1855
|
|
|
1856
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1837
1857
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1838
1858
|
|
|
1839
1859
|
options.apply_defaults timeout: @config.rpcs.lookup_discovered_workload.timeout,
|
|
@@ -1921,12 +1941,13 @@ module Google
|
|
|
1921
1941
|
# Customize the options with defaults
|
|
1922
1942
|
call_metadata = @config.rpcs.list_workloads.metadata.to_h
|
|
1923
1943
|
|
|
1924
|
-
# Set x-goog-api-client
|
|
1944
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1925
1945
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1926
1946
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1927
1947
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
1928
1948
|
transports_version_send: [:rest]
|
|
1929
1949
|
|
|
1950
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1930
1951
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1931
1952
|
|
|
1932
1953
|
options.apply_defaults timeout: @config.rpcs.list_workloads.timeout,
|
|
@@ -2029,12 +2050,13 @@ module Google
|
|
|
2029
2050
|
# Customize the options with defaults
|
|
2030
2051
|
call_metadata = @config.rpcs.create_workload.metadata.to_h
|
|
2031
2052
|
|
|
2032
|
-
# Set x-goog-api-client
|
|
2053
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2033
2054
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2034
2055
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2035
2056
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
2036
2057
|
transports_version_send: [:rest]
|
|
2037
2058
|
|
|
2059
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2038
2060
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2039
2061
|
|
|
2040
2062
|
options.apply_defaults timeout: @config.rpcs.create_workload.timeout,
|
|
@@ -2110,12 +2132,13 @@ module Google
|
|
|
2110
2132
|
# Customize the options with defaults
|
|
2111
2133
|
call_metadata = @config.rpcs.get_workload.metadata.to_h
|
|
2112
2134
|
|
|
2113
|
-
# Set x-goog-api-client
|
|
2135
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2114
2136
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2115
2137
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2116
2138
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
2117
2139
|
transports_version_send: [:rest]
|
|
2118
2140
|
|
|
2141
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2119
2142
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2120
2143
|
|
|
2121
2144
|
options.apply_defaults timeout: @config.rpcs.get_workload.timeout,
|
|
@@ -2219,12 +2242,13 @@ module Google
|
|
|
2219
2242
|
# Customize the options with defaults
|
|
2220
2243
|
call_metadata = @config.rpcs.update_workload.metadata.to_h
|
|
2221
2244
|
|
|
2222
|
-
# Set x-goog-api-client
|
|
2245
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2223
2246
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2224
2247
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2225
2248
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
2226
2249
|
transports_version_send: [:rest]
|
|
2227
2250
|
|
|
2251
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2228
2252
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2229
2253
|
|
|
2230
2254
|
options.apply_defaults timeout: @config.rpcs.update_workload.timeout,
|
|
@@ -2321,12 +2345,13 @@ module Google
|
|
|
2321
2345
|
# Customize the options with defaults
|
|
2322
2346
|
call_metadata = @config.rpcs.delete_workload.metadata.to_h
|
|
2323
2347
|
|
|
2324
|
-
# Set x-goog-api-client
|
|
2348
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2325
2349
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2326
2350
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2327
2351
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
2328
2352
|
transports_version_send: [:rest]
|
|
2329
2353
|
|
|
2354
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2330
2355
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2331
2356
|
|
|
2332
2357
|
options.apply_defaults timeout: @config.rpcs.delete_workload.timeout,
|
|
@@ -2414,12 +2439,13 @@ module Google
|
|
|
2414
2439
|
# Customize the options with defaults
|
|
2415
2440
|
call_metadata = @config.rpcs.list_applications.metadata.to_h
|
|
2416
2441
|
|
|
2417
|
-
# Set x-goog-api-client
|
|
2442
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2418
2443
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2419
2444
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2420
2445
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
2421
2446
|
transports_version_send: [:rest]
|
|
2422
2447
|
|
|
2448
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2423
2449
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2424
2450
|
|
|
2425
2451
|
options.apply_defaults timeout: @config.rpcs.list_applications.timeout,
|
|
@@ -2521,12 +2547,13 @@ module Google
|
|
|
2521
2547
|
# Customize the options with defaults
|
|
2522
2548
|
call_metadata = @config.rpcs.create_application.metadata.to_h
|
|
2523
2549
|
|
|
2524
|
-
# Set x-goog-api-client
|
|
2550
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2525
2551
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2526
2552
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2527
2553
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
2528
2554
|
transports_version_send: [:rest]
|
|
2529
2555
|
|
|
2556
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2530
2557
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2531
2558
|
|
|
2532
2559
|
options.apply_defaults timeout: @config.rpcs.create_application.timeout,
|
|
@@ -2602,12 +2629,13 @@ module Google
|
|
|
2602
2629
|
# Customize the options with defaults
|
|
2603
2630
|
call_metadata = @config.rpcs.get_application.metadata.to_h
|
|
2604
2631
|
|
|
2605
|
-
# Set x-goog-api-client
|
|
2632
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2606
2633
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2607
2634
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2608
2635
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
2609
2636
|
transports_version_send: [:rest]
|
|
2610
2637
|
|
|
2638
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2611
2639
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2612
2640
|
|
|
2613
2641
|
options.apply_defaults timeout: @config.rpcs.get_application.timeout,
|
|
@@ -2711,12 +2739,13 @@ module Google
|
|
|
2711
2739
|
# Customize the options with defaults
|
|
2712
2740
|
call_metadata = @config.rpcs.update_application.metadata.to_h
|
|
2713
2741
|
|
|
2714
|
-
# Set x-goog-api-client
|
|
2742
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2715
2743
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2716
2744
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2717
2745
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
2718
2746
|
transports_version_send: [:rest]
|
|
2719
2747
|
|
|
2748
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2720
2749
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2721
2750
|
|
|
2722
2751
|
options.apply_defaults timeout: @config.rpcs.update_application.timeout,
|
|
@@ -2813,12 +2842,13 @@ module Google
|
|
|
2813
2842
|
# Customize the options with defaults
|
|
2814
2843
|
call_metadata = @config.rpcs.delete_application.metadata.to_h
|
|
2815
2844
|
|
|
2816
|
-
# Set x-goog-api-client
|
|
2845
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2817
2846
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2818
2847
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2819
2848
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
2820
2849
|
transports_version_send: [:rest]
|
|
2821
2850
|
|
|
2851
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2822
2852
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2823
2853
|
|
|
2824
2854
|
options.apply_defaults timeout: @config.rpcs.delete_application.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 = "apphub.$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::AppHub::V1::VERSION,
|
|
188
191
|
transports_version_send: [:rest]
|
|
189
192
|
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
191
195
|
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
|
@@ -269,12 +273,13 @@ module Google
|
|
|
269
273
|
# Customize the options with defaults
|
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
|
271
275
|
|
|
272
|
-
# Set x-goog-api-client
|
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
275
279
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
276
280
|
transports_version_send: [:rest]
|
|
277
281
|
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
279
284
|
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
|
@@ -351,12 +356,13 @@ module Google
|
|
|
351
356
|
# Customize the options with defaults
|
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
353
358
|
|
|
354
|
-
# Set x-goog-api-client
|
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
357
362
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
358
363
|
transports_version_send: [:rest]
|
|
359
364
|
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
361
367
|
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
|
@@ -438,12 +444,13 @@ module Google
|
|
|
438
444
|
# Customize the options with defaults
|
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
440
446
|
|
|
441
|
-
# Set x-goog-api-client
|
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
444
450
|
gapic_version: ::Google::Cloud::AppHub::V1::VERSION,
|
|
445
451
|
transports_version_send: [:rest]
|
|
446
452
|
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
448
455
|
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
|
@@ -196,9 +196,26 @@ module Google
|
|
|
196
196
|
# @!attribute [rw] common
|
|
197
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
198
198
|
# Some settings.
|
|
199
|
+
# @!attribute [rw] experimental_features
|
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
|
201
|
+
# Experimental features to be included during client library generation.
|
|
199
202
|
class PythonSettings
|
|
200
203
|
include ::Google::Protobuf::MessageExts
|
|
201
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
|
|
202
219
|
end
|
|
203
220
|
|
|
204
221
|
# Settings for Node client libraries.
|
|
@@ -290,6 +307,13 @@ module Google
|
|
|
290
307
|
# @return [::String]
|
|
291
308
|
# The fully qualified name of the method, for which the options below apply.
|
|
292
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...
|
|
293
317
|
# @!attribute [rw] long_running
|
|
294
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
|
295
319
|
# Describes settings to use for long-running operations when generating
|
|
@@ -298,17 +322,14 @@ module Google
|
|
|
298
322
|
#
|
|
299
323
|
# Example of a YAML configuration::
|
|
300
324
|
#
|
|
301
|
-
#
|
|
302
|
-
#
|
|
325
|
+
# publishing:
|
|
326
|
+
# method_settings:
|
|
303
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
|
304
328
|
# long_running:
|
|
305
|
-
# initial_poll_delay:
|
|
306
|
-
# seconds: 60 # 1 minute
|
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
|
307
330
|
# poll_delay_multiplier: 1.5
|
|
308
|
-
# max_poll_delay:
|
|
309
|
-
#
|
|
310
|
-
# total_poll_timeout:
|
|
311
|
-
# seconds: 54000 # 90 minutes
|
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
|
312
333
|
# @!attribute [rw] auto_populated_fields
|
|
313
334
|
# @return [::Array<::String>]
|
|
314
335
|
# List of top-level fields of the request message, that should be
|
|
@@ -317,8 +338,8 @@ module Google
|
|
|
317
338
|
#
|
|
318
339
|
# Example of a YAML configuration:
|
|
319
340
|
#
|
|
320
|
-
#
|
|
321
|
-
#
|
|
341
|
+
# publishing:
|
|
342
|
+
# method_settings:
|
|
322
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
|
323
344
|
# auto_populated_fields:
|
|
324
345
|
# - request_id
|
|
@@ -25,6 +25,12 @@ module Google
|
|
|
25
25
|
# The standard format of a field value. This does not explicitly configure
|
|
26
26
|
# any API consumer, just documents the API's format for the field it is
|
|
27
27
|
# applied to.
|
|
28
|
+
# @!attribute [rw] referenced_types
|
|
29
|
+
# @return [::Array<::Google::Api::TypeReference>]
|
|
30
|
+
# The type(s) that the annotated, generic field may represent.
|
|
31
|
+
#
|
|
32
|
+
# Currently, this must only be used on fields of type `google.protobuf.Any`.
|
|
33
|
+
# Supporting other generic types may be considered in the future.
|
|
28
34
|
class FieldInfo
|
|
29
35
|
include ::Google::Protobuf::MessageExts
|
|
30
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -61,5 +67,22 @@ module Google
|
|
|
61
67
|
IPV4_OR_IPV6 = 4
|
|
62
68
|
end
|
|
63
69
|
end
|
|
70
|
+
|
|
71
|
+
# A reference to a message type, for use in {::Google::Api::FieldInfo FieldInfo}.
|
|
72
|
+
# @!attribute [rw] type_name
|
|
73
|
+
# @return [::String]
|
|
74
|
+
# The name of the type that the annotated, generic field may represent.
|
|
75
|
+
# If the type is in the same protobuf package, the value can be the simple
|
|
76
|
+
# message name e.g., `"MyMessage"`. Otherwise, the value must be the
|
|
77
|
+
# fully-qualified message name e.g., `"google.library.v1.Book"`.
|
|
78
|
+
#
|
|
79
|
+
# If the type(s) are unknown to the service (e.g. the field accepts generic
|
|
80
|
+
# user input), use the wildcard `"*"` to denote this behavior.
|
|
81
|
+
#
|
|
82
|
+
# See [AIP-202](https://google.aip.dev/202#type-references) for more details.
|
|
83
|
+
class TypeReference
|
|
84
|
+
include ::Google::Protobuf::MessageExts
|
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
86
|
+
end
|
|
64
87
|
end
|
|
65
88
|
end
|
|
@@ -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-app_hub-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.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
|