google-apps-events-subscriptions-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/apps/events/subscriptions/v1/subscriptions_service/client.rb +15 -6
- data/lib/google/apps/events/subscriptions/v1/subscriptions_service/operations.rb +13 -5
- data/lib/google/apps/events/subscriptions/v1/subscriptions_service/rest/client.rb +15 -6
- data/lib/google/apps/events/subscriptions/v1/subscriptions_service/rest/operations.rb +11 -4
- data/lib/google/apps/events/subscriptions/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +31 -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: 91d897f7f3853dbd3e68294cd93ac9a8224b0672d7822e59746595020243f5da
|
4
|
+
data.tar.gz: 216b4a695b2d3b0cfab4b2ee18ad0fce0772bb654b39f0011f04b13f11136fcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9134a758b60be3a78448de2350dca96a5de8aa1ac23e5511aee20c87b6b435ecc876f35ec8663c5ef0fff5f606ce3fe636330bd1bdae3c03c3d2b4d8bd5c04a
|
7
|
+
data.tar.gz: 2a41158bf4022f03b7b8e2c42867b796557bd8a12823bacd9bf97336ee3583356d78dcbbbdbcb69ed3e6ed4a3bfa7e859274078664ca56edf783405553d1b005
|
@@ -31,6 +31,9 @@ module Google
|
|
31
31
|
# A service that manages subscriptions to Google Workspace events.
|
32
32
|
#
|
33
33
|
class Client
|
34
|
+
# @private
|
35
|
+
API_VERSION = ""
|
36
|
+
|
34
37
|
# @private
|
35
38
|
DEFAULT_ENDPOINT_TEMPLATE = "workspaceevents.$UNIVERSE_DOMAIN$"
|
36
39
|
|
@@ -260,10 +263,11 @@ module Google
|
|
260
263
|
# Customize the options with defaults
|
261
264
|
metadata = @config.rpcs.create_subscription.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::Apps::Events::Subscriptions::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
|
options.apply_defaults timeout: @config.rpcs.create_subscription.timeout,
|
@@ -360,10 +364,11 @@ module Google
|
|
360
364
|
# Customize the options with defaults
|
361
365
|
metadata = @config.rpcs.delete_subscription.metadata.to_h
|
362
366
|
|
363
|
-
# Set x-goog-api-client
|
367
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
364
368
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
365
369
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
366
370
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION
|
371
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
367
372
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
368
373
|
|
369
374
|
header_params = {}
|
@@ -450,10 +455,11 @@ module Google
|
|
450
455
|
# Customize the options with defaults
|
451
456
|
metadata = @config.rpcs.get_subscription.metadata.to_h
|
452
457
|
|
453
|
-
# Set x-goog-api-client
|
458
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
454
459
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
455
460
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
456
461
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION
|
462
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
457
463
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
458
464
|
|
459
465
|
header_params = {}
|
@@ -582,10 +588,11 @@ module Google
|
|
582
588
|
# Customize the options with defaults
|
583
589
|
metadata = @config.rpcs.list_subscriptions.metadata.to_h
|
584
590
|
|
585
|
-
# Set x-goog-api-client
|
591
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
586
592
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
587
593
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
588
594
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION
|
595
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
589
596
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
590
597
|
|
591
598
|
options.apply_defaults timeout: @config.rpcs.list_subscriptions.timeout,
|
@@ -685,10 +692,11 @@ module Google
|
|
685
692
|
# Customize the options with defaults
|
686
693
|
metadata = @config.rpcs.update_subscription.metadata.to_h
|
687
694
|
|
688
|
-
# Set x-goog-api-client
|
695
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
689
696
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
690
697
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
691
698
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION
|
699
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
692
700
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
693
701
|
|
694
702
|
header_params = {}
|
@@ -786,10 +794,11 @@ module Google
|
|
786
794
|
# Customize the options with defaults
|
787
795
|
metadata = @config.rpcs.reactivate_subscription.metadata.to_h
|
788
796
|
|
789
|
-
# Set x-goog-api-client
|
797
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
790
798
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
791
799
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
792
800
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION
|
801
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
793
802
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
794
803
|
|
795
804
|
header_params = {}
|
@@ -27,6 +27,9 @@ module Google
|
|
27
27
|
module SubscriptionsService
|
28
28
|
# Service that implements Longrunning Operations API.
|
29
29
|
class Operations
|
30
|
+
# @private
|
31
|
+
API_VERSION = ""
|
32
|
+
|
30
33
|
# @private
|
31
34
|
DEFAULT_ENDPOINT_TEMPLATE = "workspaceevents.$UNIVERSE_DOMAIN$"
|
32
35
|
|
@@ -192,10 +195,11 @@ module Google
|
|
192
195
|
# Customize the options with defaults
|
193
196
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
194
197
|
|
195
|
-
# Set x-goog-api-client
|
198
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
196
199
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
197
200
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
198
201
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION
|
202
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
199
203
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
200
204
|
|
201
205
|
header_params = {}
|
@@ -288,10 +292,11 @@ module Google
|
|
288
292
|
# Customize the options with defaults
|
289
293
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
290
294
|
|
291
|
-
# Set x-goog-api-client
|
295
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
292
296
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
293
297
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
294
298
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION
|
299
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
295
300
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
296
301
|
|
297
302
|
header_params = {}
|
@@ -377,10 +382,11 @@ module Google
|
|
377
382
|
# Customize the options with defaults
|
378
383
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
379
384
|
|
380
|
-
# Set x-goog-api-client
|
385
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
381
386
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
382
387
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
383
388
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION
|
389
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
384
390
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
385
391
|
|
386
392
|
header_params = {}
|
@@ -471,10 +477,11 @@ module Google
|
|
471
477
|
# Customize the options with defaults
|
472
478
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
473
479
|
|
474
|
-
# Set x-goog-api-client
|
480
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
475
481
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
476
482
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
477
483
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION
|
484
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
478
485
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
479
486
|
|
480
487
|
header_params = {}
|
@@ -575,10 +582,11 @@ module Google
|
|
575
582
|
# Customize the options with defaults
|
576
583
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
577
584
|
|
578
|
-
# Set x-goog-api-client
|
585
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
579
586
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
580
587
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
581
588
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION
|
589
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
582
590
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
583
591
|
|
584
592
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# A service that manages subscriptions to Google Workspace events.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "workspaceevents.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -252,12 +255,13 @@ module Google
|
|
252
255
|
# Customize the options with defaults
|
253
256
|
call_metadata = @config.rpcs.create_subscription.metadata.to_h
|
254
257
|
|
255
|
-
# Set x-goog-api-client
|
258
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
256
259
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
257
260
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
258
261
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION,
|
259
262
|
transports_version_send: [:rest]
|
260
263
|
|
264
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
261
265
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
262
266
|
|
263
267
|
options.apply_defaults timeout: @config.rpcs.create_subscription.timeout,
|
@@ -353,12 +357,13 @@ module Google
|
|
353
357
|
# Customize the options with defaults
|
354
358
|
call_metadata = @config.rpcs.delete_subscription.metadata.to_h
|
355
359
|
|
356
|
-
# Set x-goog-api-client
|
360
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
357
361
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
358
362
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
359
363
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION,
|
360
364
|
transports_version_send: [:rest]
|
361
365
|
|
366
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
362
367
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
363
368
|
|
364
369
|
options.apply_defaults timeout: @config.rpcs.delete_subscription.timeout,
|
@@ -436,12 +441,13 @@ module Google
|
|
436
441
|
# Customize the options with defaults
|
437
442
|
call_metadata = @config.rpcs.get_subscription.metadata.to_h
|
438
443
|
|
439
|
-
# Set x-goog-api-client
|
444
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
440
445
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
441
446
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
442
447
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION,
|
443
448
|
transports_version_send: [:rest]
|
444
449
|
|
450
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
445
451
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
446
452
|
|
447
453
|
options.apply_defaults timeout: @config.rpcs.get_subscription.timeout,
|
@@ -561,12 +567,13 @@ module Google
|
|
561
567
|
# Customize the options with defaults
|
562
568
|
call_metadata = @config.rpcs.list_subscriptions.metadata.to_h
|
563
569
|
|
564
|
-
# Set x-goog-api-client
|
570
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
565
571
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
566
572
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
567
573
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION,
|
568
574
|
transports_version_send: [:rest]
|
569
575
|
|
576
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
570
577
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
571
578
|
|
572
579
|
options.apply_defaults timeout: @config.rpcs.list_subscriptions.timeout,
|
@@ -665,12 +672,13 @@ module Google
|
|
665
672
|
# Customize the options with defaults
|
666
673
|
call_metadata = @config.rpcs.update_subscription.metadata.to_h
|
667
674
|
|
668
|
-
# Set x-goog-api-client
|
675
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
669
676
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
670
677
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
671
678
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION,
|
672
679
|
transports_version_send: [:rest]
|
673
680
|
|
681
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
674
682
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
675
683
|
|
676
684
|
options.apply_defaults timeout: @config.rpcs.update_subscription.timeout,
|
@@ -759,12 +767,13 @@ module Google
|
|
759
767
|
# Customize the options with defaults
|
760
768
|
call_metadata = @config.rpcs.reactivate_subscription.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
|
call_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::Apps::Events::Subscriptions::V1::VERSION,
|
766
774
|
transports_version_send: [:rest]
|
767
775
|
|
776
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
768
777
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
769
778
|
|
770
779
|
options.apply_defaults timeout: @config.rpcs.reactivate_subscription.timeout,
|
@@ -27,6 +27,9 @@ module Google
|
|
27
27
|
module Rest
|
28
28
|
# Service that implements Longrunning Operations API.
|
29
29
|
class Operations
|
30
|
+
# @private
|
31
|
+
API_VERSION = ""
|
32
|
+
|
30
33
|
# @private
|
31
34
|
DEFAULT_ENDPOINT_TEMPLATE = "workspaceevents.$UNIVERSE_DOMAIN$"
|
32
35
|
|
@@ -182,12 +185,13 @@ module Google
|
|
182
185
|
# Customize the options with defaults
|
183
186
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
184
187
|
|
185
|
-
# Set x-goog-api-client
|
188
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
186
189
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
187
190
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
188
191
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION,
|
189
192
|
transports_version_send: [:rest]
|
190
193
|
|
194
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
191
195
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
192
196
|
|
193
197
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -270,12 +274,13 @@ module Google
|
|
270
274
|
# Customize the options with defaults
|
271
275
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
272
276
|
|
273
|
-
# Set x-goog-api-client
|
277
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
274
278
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
275
279
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
276
280
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION,
|
277
281
|
transports_version_send: [:rest]
|
278
282
|
|
283
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
279
284
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
280
285
|
|
281
286
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -352,12 +357,13 @@ module Google
|
|
352
357
|
# Customize the options with defaults
|
353
358
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
354
359
|
|
355
|
-
# Set x-goog-api-client
|
360
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
356
361
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
357
362
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
358
363
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION,
|
359
364
|
transports_version_send: [:rest]
|
360
365
|
|
366
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
361
367
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
362
368
|
|
363
369
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -439,12 +445,13 @@ module Google
|
|
439
445
|
# Customize the options with defaults
|
440
446
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
441
447
|
|
442
|
-
# Set x-goog-api-client
|
448
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
443
449
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
444
450
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
445
451
|
gapic_version: ::Google::Apps::Events::Subscriptions::V1::VERSION,
|
446
452
|
transports_version_send: [:rest]
|
447
453
|
|
454
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
448
455
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
449
456
|
|
450
457
|
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
|
@@ -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-apps-events-subscriptions-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
|