google-cloud-eventarc-v1 0.10.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/eventarc/v1/eventarc/client.rb +39 -18
- data/lib/google/cloud/eventarc/v1/eventarc/operations.rb +13 -5
- data/lib/google/cloud/eventarc/v1/eventarc/rest/client.rb +39 -18
- data/lib/google/cloud/eventarc/v1/eventarc/rest/operations.rb +11 -4
- data/lib/google/cloud/eventarc/v1/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: c950c7edd373ef20a9de474f7f740f8b967e489a0fdc5a76932a023c592394af
|
4
|
+
data.tar.gz: 30a80c8d959086627fc8273ec2e56e57221bc4e2f85607689a84f8ea54df0c4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08ae30df40e50878c225fe2a2eca2933c70ca36231a03c36a87234a3beb0528d13c7494cbd4114697d0c0b244b2704e96fe93f668ced99a9b1eb3854a8a78400'
|
7
|
+
data.tar.gz: '0414802680c9be034d74d2aecba9eda09bc26e42fc192eda30c788e9e390f2f621ed2f478e95fb0f4ea390571dcb90a774b9080a7037746d794b77bc8b417e5c'
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# Google Cloud services and forward them to supported destinations.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "eventarc.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -260,10 +263,11 @@ module Google
|
|
260
263
|
# Customize the options with defaults
|
261
264
|
metadata = @config.rpcs.get_trigger.metadata.to_h
|
262
265
|
|
263
|
-
# Set x-goog-api-client
|
266
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
264
267
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
265
268
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
266
269
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
270
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
267
271
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
268
272
|
|
269
273
|
header_params = {}
|
@@ -368,10 +372,11 @@ module Google
|
|
368
372
|
# Customize the options with defaults
|
369
373
|
metadata = @config.rpcs.list_triggers.metadata.to_h
|
370
374
|
|
371
|
-
# Set x-goog-api-client
|
375
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
372
376
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
373
377
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
374
378
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
379
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
375
380
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
376
381
|
|
377
382
|
header_params = {}
|
@@ -468,10 +473,11 @@ module Google
|
|
468
473
|
# Customize the options with defaults
|
469
474
|
metadata = @config.rpcs.create_trigger.metadata.to_h
|
470
475
|
|
471
|
-
# Set x-goog-api-client
|
476
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
472
477
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
473
478
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
474
479
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
480
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
475
481
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
476
482
|
|
477
483
|
header_params = {}
|
@@ -571,10 +577,11 @@ module Google
|
|
571
577
|
# Customize the options with defaults
|
572
578
|
metadata = @config.rpcs.update_trigger.metadata.to_h
|
573
579
|
|
574
|
-
# Set x-goog-api-client
|
580
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
575
581
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
576
582
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
577
583
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
584
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
578
585
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
579
586
|
|
580
587
|
header_params = {}
|
@@ -673,10 +680,11 @@ module Google
|
|
673
680
|
# Customize the options with defaults
|
674
681
|
metadata = @config.rpcs.delete_trigger.metadata.to_h
|
675
682
|
|
676
|
-
# Set x-goog-api-client
|
683
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
677
684
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
678
685
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
679
686
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
687
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
680
688
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
681
689
|
|
682
690
|
header_params = {}
|
@@ -759,10 +767,11 @@ module Google
|
|
759
767
|
# Customize the options with defaults
|
760
768
|
metadata = @config.rpcs.get_channel.metadata.to_h
|
761
769
|
|
762
|
-
# Set x-goog-api-client
|
770
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
763
771
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
764
772
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
765
773
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
774
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
766
775
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
767
776
|
|
768
777
|
header_params = {}
|
@@ -863,10 +872,11 @@ module Google
|
|
863
872
|
# Customize the options with defaults
|
864
873
|
metadata = @config.rpcs.list_channels.metadata.to_h
|
865
874
|
|
866
|
-
# Set x-goog-api-client
|
875
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
867
876
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
868
877
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
869
878
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
879
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
870
880
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
871
881
|
|
872
882
|
header_params = {}
|
@@ -963,10 +973,11 @@ module Google
|
|
963
973
|
# Customize the options with defaults
|
964
974
|
metadata = @config.rpcs.create_channel.metadata.to_h
|
965
975
|
|
966
|
-
# Set x-goog-api-client
|
976
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
967
977
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
968
978
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
969
979
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
980
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
970
981
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
971
982
|
|
972
983
|
header_params = {}
|
@@ -1063,10 +1074,11 @@ module Google
|
|
1063
1074
|
# Customize the options with defaults
|
1064
1075
|
metadata = @config.rpcs.update_channel.metadata.to_h
|
1065
1076
|
|
1066
|
-
# Set x-goog-api-client
|
1077
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1067
1078
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1068
1079
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1069
1080
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
1081
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1070
1082
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1071
1083
|
|
1072
1084
|
header_params = {}
|
@@ -1159,10 +1171,11 @@ module Google
|
|
1159
1171
|
# Customize the options with defaults
|
1160
1172
|
metadata = @config.rpcs.delete_channel.metadata.to_h
|
1161
1173
|
|
1162
|
-
# Set x-goog-api-client
|
1174
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1163
1175
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1164
1176
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1165
1177
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
1178
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1166
1179
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1167
1180
|
|
1168
1181
|
header_params = {}
|
@@ -1245,10 +1258,11 @@ module Google
|
|
1245
1258
|
# Customize the options with defaults
|
1246
1259
|
metadata = @config.rpcs.get_provider.metadata.to_h
|
1247
1260
|
|
1248
|
-
# Set x-goog-api-client
|
1261
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1249
1262
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1250
1263
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1251
1264
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
1265
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1252
1266
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1253
1267
|
|
1254
1268
|
header_params = {}
|
@@ -1349,10 +1363,11 @@ module Google
|
|
1349
1363
|
# Customize the options with defaults
|
1350
1364
|
metadata = @config.rpcs.list_providers.metadata.to_h
|
1351
1365
|
|
1352
|
-
# Set x-goog-api-client
|
1366
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1353
1367
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1354
1368
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1355
1369
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
1370
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1356
1371
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1357
1372
|
|
1358
1373
|
header_params = {}
|
@@ -1435,10 +1450,11 @@ module Google
|
|
1435
1450
|
# Customize the options with defaults
|
1436
1451
|
metadata = @config.rpcs.get_channel_connection.metadata.to_h
|
1437
1452
|
|
1438
|
-
# Set x-goog-api-client
|
1453
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1439
1454
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1440
1455
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1441
1456
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
1457
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1442
1458
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1443
1459
|
|
1444
1460
|
header_params = {}
|
@@ -1534,10 +1550,11 @@ module Google
|
|
1534
1550
|
# Customize the options with defaults
|
1535
1551
|
metadata = @config.rpcs.list_channel_connections.metadata.to_h
|
1536
1552
|
|
1537
|
-
# Set x-goog-api-client
|
1553
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1538
1554
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1539
1555
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1540
1556
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
1557
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1541
1558
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1542
1559
|
|
1543
1560
|
header_params = {}
|
@@ -1631,10 +1648,11 @@ module Google
|
|
1631
1648
|
# Customize the options with defaults
|
1632
1649
|
metadata = @config.rpcs.create_channel_connection.metadata.to_h
|
1633
1650
|
|
1634
|
-
# Set x-goog-api-client
|
1651
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1635
1652
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1636
1653
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1637
1654
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
1655
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1638
1656
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1639
1657
|
|
1640
1658
|
header_params = {}
|
@@ -1724,10 +1742,11 @@ module Google
|
|
1724
1742
|
# Customize the options with defaults
|
1725
1743
|
metadata = @config.rpcs.delete_channel_connection.metadata.to_h
|
1726
1744
|
|
1727
|
-
# Set x-goog-api-client
|
1745
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1728
1746
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1729
1747
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1730
1748
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
1749
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1731
1750
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1732
1751
|
|
1733
1752
|
header_params = {}
|
@@ -1810,10 +1829,11 @@ module Google
|
|
1810
1829
|
# Customize the options with defaults
|
1811
1830
|
metadata = @config.rpcs.get_google_channel_config.metadata.to_h
|
1812
1831
|
|
1813
|
-
# Set x-goog-api-client
|
1832
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1814
1833
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1815
1834
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1816
1835
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
1836
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1817
1837
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1818
1838
|
|
1819
1839
|
header_params = {}
|
@@ -1899,10 +1919,11 @@ module Google
|
|
1899
1919
|
# Customize the options with defaults
|
1900
1920
|
metadata = @config.rpcs.update_google_channel_config.metadata.to_h
|
1901
1921
|
|
1902
|
-
# Set x-goog-api-client
|
1922
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1903
1923
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1904
1924
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1905
1925
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
|
1926
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1906
1927
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1907
1928
|
|
1908
1929
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Eventarc
|
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 = "eventarc.$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::Eventarc::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::Eventarc::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::Eventarc::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::Eventarc::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::Eventarc::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,
|
@@ -35,6 +35,9 @@ module Google
|
|
35
35
|
# Google Cloud services and forward them to supported destinations.
|
36
36
|
#
|
37
37
|
class Client
|
38
|
+
# @private
|
39
|
+
API_VERSION = ""
|
40
|
+
|
38
41
|
# @private
|
39
42
|
DEFAULT_ENDPOINT_TEMPLATE = "eventarc.$UNIVERSE_DOMAIN$"
|
40
43
|
|
@@ -254,12 +257,13 @@ module Google
|
|
254
257
|
# Customize the options with defaults
|
255
258
|
call_metadata = @config.rpcs.get_trigger.metadata.to_h
|
256
259
|
|
257
|
-
# Set x-goog-api-client
|
260
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
258
261
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
259
262
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
260
263
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
261
264
|
transports_version_send: [:rest]
|
262
265
|
|
266
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
263
267
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
264
268
|
|
265
269
|
options.apply_defaults timeout: @config.rpcs.get_trigger.timeout,
|
@@ -355,12 +359,13 @@ module Google
|
|
355
359
|
# Customize the options with defaults
|
356
360
|
call_metadata = @config.rpcs.list_triggers.metadata.to_h
|
357
361
|
|
358
|
-
# Set x-goog-api-client
|
362
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
359
363
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
360
364
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
361
365
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
362
366
|
transports_version_send: [:rest]
|
363
367
|
|
368
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
364
369
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
365
370
|
|
366
371
|
options.apply_defaults timeout: @config.rpcs.list_triggers.timeout,
|
@@ -447,12 +452,13 @@ module Google
|
|
447
452
|
# Customize the options with defaults
|
448
453
|
call_metadata = @config.rpcs.create_trigger.metadata.to_h
|
449
454
|
|
450
|
-
# Set x-goog-api-client
|
455
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
451
456
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
452
457
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
453
458
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
454
459
|
transports_version_send: [:rest]
|
455
460
|
|
461
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
456
462
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
457
463
|
|
458
464
|
options.apply_defaults timeout: @config.rpcs.create_trigger.timeout,
|
@@ -543,12 +549,13 @@ module Google
|
|
543
549
|
# Customize the options with defaults
|
544
550
|
call_metadata = @config.rpcs.update_trigger.metadata.to_h
|
545
551
|
|
546
|
-
# Set x-goog-api-client
|
552
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
547
553
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
548
554
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
549
555
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
550
556
|
transports_version_send: [:rest]
|
551
557
|
|
558
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
552
559
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
553
560
|
|
554
561
|
options.apply_defaults timeout: @config.rpcs.update_trigger.timeout,
|
@@ -638,12 +645,13 @@ module Google
|
|
638
645
|
# Customize the options with defaults
|
639
646
|
call_metadata = @config.rpcs.delete_trigger.metadata.to_h
|
640
647
|
|
641
|
-
# Set x-goog-api-client
|
648
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
642
649
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
643
650
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
644
651
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
645
652
|
transports_version_send: [:rest]
|
646
653
|
|
654
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
647
655
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
648
656
|
|
649
657
|
options.apply_defaults timeout: @config.rpcs.delete_trigger.timeout,
|
@@ -717,12 +725,13 @@ module Google
|
|
717
725
|
# Customize the options with defaults
|
718
726
|
call_metadata = @config.rpcs.get_channel.metadata.to_h
|
719
727
|
|
720
|
-
# Set x-goog-api-client
|
728
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
721
729
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
722
730
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
723
731
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
724
732
|
transports_version_send: [:rest]
|
725
733
|
|
734
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
726
735
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
727
736
|
|
728
737
|
options.apply_defaults timeout: @config.rpcs.get_channel.timeout,
|
@@ -814,12 +823,13 @@ module Google
|
|
814
823
|
# Customize the options with defaults
|
815
824
|
call_metadata = @config.rpcs.list_channels.metadata.to_h
|
816
825
|
|
817
|
-
# Set x-goog-api-client
|
826
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
818
827
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
819
828
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
820
829
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
821
830
|
transports_version_send: [:rest]
|
822
831
|
|
832
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
823
833
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
824
834
|
|
825
835
|
options.apply_defaults timeout: @config.rpcs.list_channels.timeout,
|
@@ -906,12 +916,13 @@ module Google
|
|
906
916
|
# Customize the options with defaults
|
907
917
|
call_metadata = @config.rpcs.create_channel.metadata.to_h
|
908
918
|
|
909
|
-
# Set x-goog-api-client
|
919
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
910
920
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
911
921
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
912
922
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
913
923
|
transports_version_send: [:rest]
|
914
924
|
|
925
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
915
926
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
916
927
|
|
917
928
|
options.apply_defaults timeout: @config.rpcs.create_channel.timeout,
|
@@ -999,12 +1010,13 @@ module Google
|
|
999
1010
|
# Customize the options with defaults
|
1000
1011
|
call_metadata = @config.rpcs.update_channel.metadata.to_h
|
1001
1012
|
|
1002
|
-
# Set x-goog-api-client
|
1013
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1003
1014
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1004
1015
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1005
1016
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
1006
1017
|
transports_version_send: [:rest]
|
1007
1018
|
|
1019
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1008
1020
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1009
1021
|
|
1010
1022
|
options.apply_defaults timeout: @config.rpcs.update_channel.timeout,
|
@@ -1088,12 +1100,13 @@ module Google
|
|
1088
1100
|
# Customize the options with defaults
|
1089
1101
|
call_metadata = @config.rpcs.delete_channel.metadata.to_h
|
1090
1102
|
|
1091
|
-
# Set x-goog-api-client
|
1103
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1092
1104
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1093
1105
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1094
1106
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
1095
1107
|
transports_version_send: [:rest]
|
1096
1108
|
|
1109
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1097
1110
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1098
1111
|
|
1099
1112
|
options.apply_defaults timeout: @config.rpcs.delete_channel.timeout,
|
@@ -1167,12 +1180,13 @@ module Google
|
|
1167
1180
|
# Customize the options with defaults
|
1168
1181
|
call_metadata = @config.rpcs.get_provider.metadata.to_h
|
1169
1182
|
|
1170
|
-
# Set x-goog-api-client
|
1183
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1171
1184
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1172
1185
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1173
1186
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
1174
1187
|
transports_version_send: [:rest]
|
1175
1188
|
|
1189
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1176
1190
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1177
1191
|
|
1178
1192
|
options.apply_defaults timeout: @config.rpcs.get_provider.timeout,
|
@@ -1264,12 +1278,13 @@ module Google
|
|
1264
1278
|
# Customize the options with defaults
|
1265
1279
|
call_metadata = @config.rpcs.list_providers.metadata.to_h
|
1266
1280
|
|
1267
|
-
# Set x-goog-api-client
|
1281
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1268
1282
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1269
1283
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1270
1284
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
1271
1285
|
transports_version_send: [:rest]
|
1272
1286
|
|
1287
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1273
1288
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1274
1289
|
|
1275
1290
|
options.apply_defaults timeout: @config.rpcs.list_providers.timeout,
|
@@ -1342,12 +1357,13 @@ module Google
|
|
1342
1357
|
# Customize the options with defaults
|
1343
1358
|
call_metadata = @config.rpcs.get_channel_connection.metadata.to_h
|
1344
1359
|
|
1345
|
-
# Set x-goog-api-client
|
1360
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1346
1361
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1347
1362
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1348
1363
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
1349
1364
|
transports_version_send: [:rest]
|
1350
1365
|
|
1366
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1351
1367
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1352
1368
|
|
1353
1369
|
options.apply_defaults timeout: @config.rpcs.get_channel_connection.timeout,
|
@@ -1434,12 +1450,13 @@ module Google
|
|
1434
1450
|
# Customize the options with defaults
|
1435
1451
|
call_metadata = @config.rpcs.list_channel_connections.metadata.to_h
|
1436
1452
|
|
1437
|
-
# Set x-goog-api-client
|
1453
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1438
1454
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1439
1455
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1440
1456
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
1441
1457
|
transports_version_send: [:rest]
|
1442
1458
|
|
1459
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1443
1460
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1444
1461
|
|
1445
1462
|
options.apply_defaults timeout: @config.rpcs.list_channel_connections.timeout,
|
@@ -1523,12 +1540,13 @@ module Google
|
|
1523
1540
|
# Customize the options with defaults
|
1524
1541
|
call_metadata = @config.rpcs.create_channel_connection.metadata.to_h
|
1525
1542
|
|
1526
|
-
# Set x-goog-api-client
|
1543
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1527
1544
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1528
1545
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1529
1546
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
1530
1547
|
transports_version_send: [:rest]
|
1531
1548
|
|
1549
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1532
1550
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1533
1551
|
|
1534
1552
|
options.apply_defaults timeout: @config.rpcs.create_channel_connection.timeout,
|
@@ -1609,12 +1627,13 @@ module Google
|
|
1609
1627
|
# Customize the options with defaults
|
1610
1628
|
call_metadata = @config.rpcs.delete_channel_connection.metadata.to_h
|
1611
1629
|
|
1612
|
-
# Set x-goog-api-client
|
1630
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1613
1631
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1614
1632
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1615
1633
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
1616
1634
|
transports_version_send: [:rest]
|
1617
1635
|
|
1636
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1618
1637
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1619
1638
|
|
1620
1639
|
options.apply_defaults timeout: @config.rpcs.delete_channel_connection.timeout,
|
@@ -1688,12 +1707,13 @@ module Google
|
|
1688
1707
|
# Customize the options with defaults
|
1689
1708
|
call_metadata = @config.rpcs.get_google_channel_config.metadata.to_h
|
1690
1709
|
|
1691
|
-
# Set x-goog-api-client
|
1710
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1692
1711
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1693
1712
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1694
1713
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
1695
1714
|
transports_version_send: [:rest]
|
1696
1715
|
|
1716
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1697
1717
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1698
1718
|
|
1699
1719
|
options.apply_defaults timeout: @config.rpcs.get_google_channel_config.timeout,
|
@@ -1770,12 +1790,13 @@ module Google
|
|
1770
1790
|
# Customize the options with defaults
|
1771
1791
|
call_metadata = @config.rpcs.update_google_channel_config.metadata.to_h
|
1772
1792
|
|
1773
|
-
# Set x-goog-api-client
|
1793
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1774
1794
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1775
1795
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1776
1796
|
gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
|
1777
1797
|
transports_version_send: [:rest]
|
1778
1798
|
|
1799
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1779
1800
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1780
1801
|
|
1781
1802
|
options.apply_defaults timeout: @config.rpcs.update_google_channel_config.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 = "eventarc.$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::Eventarc::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::Eventarc::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::Eventarc::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::Eventarc::V1::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -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-eventarc-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.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
|