google-cloud-memcache-v1beta2 0.9.0 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/lib/google/cloud/memcache/v1beta2/cloud_memcache/client.rb +21 -9
- data/lib/google/cloud/memcache/v1beta2/cloud_memcache/operations.rb +13 -5
- data/lib/google/cloud/memcache/v1beta2/cloud_memcache/rest/client.rb +21 -9
- data/lib/google/cloud/memcache/v1beta2/cloud_memcache/rest/operations.rb +11 -4
- data/lib/google/cloud/memcache/v1beta2/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: d5283fbf98efbe4ca965305b0b6d434212ae3ff42961d886a5f8955c295e61b4
|
4
|
+
data.tar.gz: dc0e25b81b1caf2bd1d4e6bb730b565d96530d4f4d1b967d83c914914454abb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e27a3ba451c486bd49c7ca257ce2bbfdc020a528f6191896563e49f0f4ffc80ad46bd55152c4efd8c27a071758409e212813d3c67a4a36c6707361d01a0fa220
|
7
|
+
data.tar.gz: e556e61d05b80b903fb502dd25d1e26527c573ab13f396054e20867b27fc4223d8bf19d2d43550577fbb3aa003e466980d3ae1ca9c7cf962ab199253ab447513
|
data/README.md
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.
|
4
4
|
|
5
|
-
Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.
|
6
5
|
|
7
6
|
https://github.com/googleapis/google-cloud-ruby
|
8
7
|
|
@@ -45,6 +45,9 @@ module Google
|
|
45
45
|
# * `projects/my-memcached-project/locations/us-central1/instances/my-memcached`
|
46
46
|
#
|
47
47
|
class Client
|
48
|
+
# @private
|
49
|
+
API_VERSION = ""
|
50
|
+
|
48
51
|
# @private
|
49
52
|
DEFAULT_ENDPOINT_TEMPLATE = "memcache.$UNIVERSE_DOMAIN$"
|
50
53
|
|
@@ -297,10 +300,11 @@ module Google
|
|
297
300
|
# Customize the options with defaults
|
298
301
|
metadata = @config.rpcs.list_instances.metadata.to_h
|
299
302
|
|
300
|
-
# Set x-goog-api-client
|
303
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
301
304
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
302
305
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
303
306
|
gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION
|
307
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
304
308
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
305
309
|
|
306
310
|
header_params = {}
|
@@ -385,10 +389,11 @@ module Google
|
|
385
389
|
# Customize the options with defaults
|
386
390
|
metadata = @config.rpcs.get_instance.metadata.to_h
|
387
391
|
|
388
|
-
# Set x-goog-api-client
|
392
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
389
393
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
390
394
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
391
395
|
gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION
|
396
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
392
397
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
393
398
|
|
394
399
|
header_params = {}
|
@@ -492,10 +497,11 @@ module Google
|
|
492
497
|
# Customize the options with defaults
|
493
498
|
metadata = @config.rpcs.create_instance.metadata.to_h
|
494
499
|
|
495
|
-
# Set x-goog-api-client
|
500
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
496
501
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
497
502
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
498
503
|
gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION
|
504
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
499
505
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
500
506
|
|
501
507
|
header_params = {}
|
@@ -590,10 +596,11 @@ module Google
|
|
590
596
|
# Customize the options with defaults
|
591
597
|
metadata = @config.rpcs.update_instance.metadata.to_h
|
592
598
|
|
593
|
-
# Set x-goog-api-client
|
599
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
594
600
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
595
601
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
596
602
|
gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION
|
603
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
597
604
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
598
605
|
|
599
606
|
header_params = {}
|
@@ -691,10 +698,11 @@ module Google
|
|
691
698
|
# Customize the options with defaults
|
692
699
|
metadata = @config.rpcs.update_parameters.metadata.to_h
|
693
700
|
|
694
|
-
# Set x-goog-api-client
|
701
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
695
702
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
696
703
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
697
704
|
gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION
|
705
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
698
706
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
699
707
|
|
700
708
|
header_params = {}
|
@@ -786,10 +794,11 @@ module Google
|
|
786
794
|
# Customize the options with defaults
|
787
795
|
metadata = @config.rpcs.delete_instance.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::Cloud::Memcache::V1beta2::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 = {}
|
@@ -887,10 +896,11 @@ module Google
|
|
887
896
|
# Customize the options with defaults
|
888
897
|
metadata = @config.rpcs.apply_parameters.metadata.to_h
|
889
898
|
|
890
|
-
# Set x-goog-api-client
|
899
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
891
900
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
892
901
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
893
902
|
gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION
|
903
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
894
904
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
895
905
|
|
896
906
|
header_params = {}
|
@@ -988,10 +998,11 @@ module Google
|
|
988
998
|
# Customize the options with defaults
|
989
999
|
metadata = @config.rpcs.apply_software_update.metadata.to_h
|
990
1000
|
|
991
|
-
# Set x-goog-api-client
|
1001
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
992
1002
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
993
1003
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
994
1004
|
gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION
|
1005
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
995
1006
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
996
1007
|
|
997
1008
|
header_params = {}
|
@@ -1089,10 +1100,11 @@ module Google
|
|
1089
1100
|
# Customize the options with defaults
|
1090
1101
|
metadata = @config.rpcs.reschedule_maintenance.metadata.to_h
|
1091
1102
|
|
1092
|
-
# Set x-goog-api-client
|
1103
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1093
1104
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1094
1105
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1095
1106
|
gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION
|
1107
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1096
1108
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1097
1109
|
|
1098
1110
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module CloudMemcache
|
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 = "memcache.$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::Memcache::V1beta2::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::Memcache::V1beta2::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::Memcache::V1beta2::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::Memcache::V1beta2::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::Memcache::V1beta2::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,
|
@@ -47,6 +47,9 @@ module Google
|
|
47
47
|
# * `projects/my-memcached-project/locations/us-central1/instances/my-memcached`
|
48
48
|
#
|
49
49
|
class Client
|
50
|
+
# @private
|
51
|
+
API_VERSION = ""
|
52
|
+
|
50
53
|
# @private
|
51
54
|
DEFAULT_ENDPOINT_TEMPLATE = "memcache.$UNIVERSE_DOMAIN$"
|
52
55
|
|
@@ -290,12 +293,13 @@ module Google
|
|
290
293
|
# Customize the options with defaults
|
291
294
|
call_metadata = @config.rpcs.list_instances.metadata.to_h
|
292
295
|
|
293
|
-
# Set x-goog-api-client
|
296
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
294
297
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
295
298
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
296
299
|
gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION,
|
297
300
|
transports_version_send: [:rest]
|
298
301
|
|
302
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
299
303
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
300
304
|
|
301
305
|
options.apply_defaults timeout: @config.rpcs.list_instances.timeout,
|
@@ -370,12 +374,13 @@ module Google
|
|
370
374
|
# Customize the options with defaults
|
371
375
|
call_metadata = @config.rpcs.get_instance.metadata.to_h
|
372
376
|
|
373
|
-
# Set x-goog-api-client
|
377
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
374
378
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
375
379
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
376
380
|
gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION,
|
377
381
|
transports_version_send: [:rest]
|
378
382
|
|
383
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
379
384
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
380
385
|
|
381
386
|
options.apply_defaults timeout: @config.rpcs.get_instance.timeout,
|
@@ -470,12 +475,13 @@ module Google
|
|
470
475
|
# Customize the options with defaults
|
471
476
|
call_metadata = @config.rpcs.create_instance.metadata.to_h
|
472
477
|
|
473
|
-
# Set x-goog-api-client
|
478
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
479
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
480
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
481
|
gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION,
|
477
482
|
transports_version_send: [:rest]
|
478
483
|
|
484
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
479
485
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
480
486
|
|
481
487
|
options.apply_defaults timeout: @config.rpcs.create_instance.timeout,
|
@@ -561,12 +567,13 @@ module Google
|
|
561
567
|
# Customize the options with defaults
|
562
568
|
call_metadata = @config.rpcs.update_instance.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::Cloud::Memcache::V1beta2::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.update_instance.timeout,
|
@@ -655,12 +662,13 @@ module Google
|
|
655
662
|
# Customize the options with defaults
|
656
663
|
call_metadata = @config.rpcs.update_parameters.metadata.to_h
|
657
664
|
|
658
|
-
# Set x-goog-api-client
|
665
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
659
666
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
660
667
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
661
668
|
gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION,
|
662
669
|
transports_version_send: [:rest]
|
663
670
|
|
671
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
664
672
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
665
673
|
|
666
674
|
options.apply_defaults timeout: @config.rpcs.update_parameters.timeout,
|
@@ -743,12 +751,13 @@ module Google
|
|
743
751
|
# Customize the options with defaults
|
744
752
|
call_metadata = @config.rpcs.delete_instance.metadata.to_h
|
745
753
|
|
746
|
-
# Set x-goog-api-client
|
754
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
747
755
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
748
756
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
749
757
|
gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION,
|
750
758
|
transports_version_send: [:rest]
|
751
759
|
|
760
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
752
761
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
753
762
|
|
754
763
|
options.apply_defaults timeout: @config.rpcs.delete_instance.timeout,
|
@@ -837,12 +846,13 @@ module Google
|
|
837
846
|
# Customize the options with defaults
|
838
847
|
call_metadata = @config.rpcs.apply_parameters.metadata.to_h
|
839
848
|
|
840
|
-
# Set x-goog-api-client
|
849
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
841
850
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
842
851
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
843
852
|
gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION,
|
844
853
|
transports_version_send: [:rest]
|
845
854
|
|
855
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
846
856
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
847
857
|
|
848
858
|
options.apply_defaults timeout: @config.rpcs.apply_parameters.timeout,
|
@@ -931,12 +941,13 @@ module Google
|
|
931
941
|
# Customize the options with defaults
|
932
942
|
call_metadata = @config.rpcs.apply_software_update.metadata.to_h
|
933
943
|
|
934
|
-
# Set x-goog-api-client
|
944
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
935
945
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
936
946
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
937
947
|
gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION,
|
938
948
|
transports_version_send: [:rest]
|
939
949
|
|
950
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
940
951
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
941
952
|
|
942
953
|
options.apply_defaults timeout: @config.rpcs.apply_software_update.timeout,
|
@@ -1025,12 +1036,13 @@ module Google
|
|
1025
1036
|
# Customize the options with defaults
|
1026
1037
|
call_metadata = @config.rpcs.reschedule_maintenance.metadata.to_h
|
1027
1038
|
|
1028
|
-
# Set x-goog-api-client
|
1039
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1029
1040
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1030
1041
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1031
1042
|
gapic_version: ::Google::Cloud::Memcache::V1beta2::VERSION,
|
1032
1043
|
transports_version_send: [:rest]
|
1033
1044
|
|
1045
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1034
1046
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1035
1047
|
|
1036
1048
|
options.apply_defaults timeout: @config.rpcs.reschedule_maintenance.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 = "memcache.$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::Memcache::V1beta2::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::Memcache::V1beta2::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::Memcache::V1beta2::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::Memcache::V1beta2::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-memcache-v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
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
|