google-cloud-memcache-v1 0.9.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f13f2edb596c5a7eee876ff8d079fe35f00dc4b42e7d96f552e7ce58aa6349c8
4
- data.tar.gz: 9229780a643a67ebad6689203eb6f5e6228d164a01ded65cdb4d23c55def3179
3
+ metadata.gz: 507f0c25f1ac50020ca44a62e45a9e5d6d6772fc4cf6d9fa4bdeee538c8e357f
4
+ data.tar.gz: 853cd0b44893a532cce479d4ba5dd9bf9f52771b654f2eb908bcb7098959423a
5
5
  SHA512:
6
- metadata.gz: a88a441992d14d2315e4547982501cf7edbceacec2752dea1430370436ed60bf533c9b92bfd7ddcd5757e38aac374093e39e0fbaf47e4e9a8d6bf4c183f24ce2
7
- data.tar.gz: d67f3bdd9fcd4dcab83249378febbaf32ea04804c4edd09754f00101bb43166d075e2b6ba1a6d94a63ff37ca22189d6c13398339040ffeb968cbcc8abfcebc37
6
+ metadata.gz: d4dd45aa32d39b030b58c23e9a9923c514d592469592b6b083fd57e1d7ef7abc222b043f099aa727223015ca96ffddff5f7f3f9a70e50c30b5a8391998320d99
7
+ data.tar.gz: 9ddb650af00815e8490836162904e669d0e5d05fa6da1daab561947c55627357716880c82d9a16207ecc42b43670748fe0771ff3559ee9e0044ae95584fe87d8
@@ -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
 
@@ -295,10 +298,11 @@ module Google
295
298
  # Customize the options with defaults
296
299
  metadata = @config.rpcs.list_instances.metadata.to_h
297
300
 
298
- # Set x-goog-api-client and x-goog-user-project headers
301
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
299
302
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
300
303
  lib_name: @config.lib_name, lib_version: @config.lib_version,
301
304
  gapic_version: ::Google::Cloud::Memcache::V1::VERSION
305
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
302
306
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
303
307
 
304
308
  header_params = {}
@@ -383,10 +387,11 @@ module Google
383
387
  # Customize the options with defaults
384
388
  metadata = @config.rpcs.get_instance.metadata.to_h
385
389
 
386
- # Set x-goog-api-client and x-goog-user-project headers
390
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
387
391
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
388
392
  lib_name: @config.lib_name, lib_version: @config.lib_version,
389
393
  gapic_version: ::Google::Cloud::Memcache::V1::VERSION
394
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
390
395
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
391
396
 
392
397
  header_params = {}
@@ -490,10 +495,11 @@ module Google
490
495
  # Customize the options with defaults
491
496
  metadata = @config.rpcs.create_instance.metadata.to_h
492
497
 
493
- # Set x-goog-api-client and x-goog-user-project headers
498
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
494
499
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
495
500
  lib_name: @config.lib_name, lib_version: @config.lib_version,
496
501
  gapic_version: ::Google::Cloud::Memcache::V1::VERSION
502
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
497
503
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
498
504
 
499
505
  header_params = {}
@@ -588,10 +594,11 @@ module Google
588
594
  # Customize the options with defaults
589
595
  metadata = @config.rpcs.update_instance.metadata.to_h
590
596
 
591
- # Set x-goog-api-client and x-goog-user-project headers
597
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
592
598
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
593
599
  lib_name: @config.lib_name, lib_version: @config.lib_version,
594
600
  gapic_version: ::Google::Cloud::Memcache::V1::VERSION
601
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
595
602
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
596
603
 
597
604
  header_params = {}
@@ -689,10 +696,11 @@ module Google
689
696
  # Customize the options with defaults
690
697
  metadata = @config.rpcs.update_parameters.metadata.to_h
691
698
 
692
- # Set x-goog-api-client and x-goog-user-project headers
699
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
693
700
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
694
701
  lib_name: @config.lib_name, lib_version: @config.lib_version,
695
702
  gapic_version: ::Google::Cloud::Memcache::V1::VERSION
703
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
696
704
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
697
705
 
698
706
  header_params = {}
@@ -784,10 +792,11 @@ module Google
784
792
  # Customize the options with defaults
785
793
  metadata = @config.rpcs.delete_instance.metadata.to_h
786
794
 
787
- # Set x-goog-api-client and x-goog-user-project headers
795
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
788
796
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
789
797
  lib_name: @config.lib_name, lib_version: @config.lib_version,
790
798
  gapic_version: ::Google::Cloud::Memcache::V1::VERSION
799
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
791
800
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
792
801
 
793
802
  header_params = {}
@@ -885,10 +894,11 @@ module Google
885
894
  # Customize the options with defaults
886
895
  metadata = @config.rpcs.apply_parameters.metadata.to_h
887
896
 
888
- # Set x-goog-api-client and x-goog-user-project headers
897
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
889
898
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
890
899
  lib_name: @config.lib_name, lib_version: @config.lib_version,
891
900
  gapic_version: ::Google::Cloud::Memcache::V1::VERSION
901
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
892
902
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
893
903
 
894
904
  header_params = {}
@@ -986,10 +996,11 @@ module Google
986
996
  # Customize the options with defaults
987
997
  metadata = @config.rpcs.reschedule_maintenance.metadata.to_h
988
998
 
989
- # Set x-goog-api-client and x-goog-user-project headers
999
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
990
1000
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
991
1001
  lib_name: @config.lib_name, lib_version: @config.lib_version,
992
1002
  gapic_version: ::Google::Cloud::Memcache::V1::VERSION
1003
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
993
1004
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
994
1005
 
995
1006
  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 and x-goog-user-project headers
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::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 and x-goog-user-project headers
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::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 and x-goog-user-project headers
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::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 and x-goog-user-project headers
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::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 and x-goog-user-project headers
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::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,
@@ -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
 
@@ -288,12 +291,13 @@ module Google
288
291
  # Customize the options with defaults
289
292
  call_metadata = @config.rpcs.list_instances.metadata.to_h
290
293
 
291
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
292
295
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
293
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
294
297
  gapic_version: ::Google::Cloud::Memcache::V1::VERSION,
295
298
  transports_version_send: [:rest]
296
299
 
300
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
297
301
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
298
302
 
299
303
  options.apply_defaults timeout: @config.rpcs.list_instances.timeout,
@@ -368,12 +372,13 @@ module Google
368
372
  # Customize the options with defaults
369
373
  call_metadata = @config.rpcs.get_instance.metadata.to_h
370
374
 
371
- # Set x-goog-api-client and x-goog-user-project headers
375
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
372
376
  call_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::Memcache::V1::VERSION,
375
379
  transports_version_send: [:rest]
376
380
 
381
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
377
382
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
378
383
 
379
384
  options.apply_defaults timeout: @config.rpcs.get_instance.timeout,
@@ -468,12 +473,13 @@ module Google
468
473
  # Customize the options with defaults
469
474
  call_metadata = @config.rpcs.create_instance.metadata.to_h
470
475
 
471
- # Set x-goog-api-client and x-goog-user-project headers
476
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
472
477
  call_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::Memcache::V1::VERSION,
475
480
  transports_version_send: [:rest]
476
481
 
482
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
483
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
484
 
479
485
  options.apply_defaults timeout: @config.rpcs.create_instance.timeout,
@@ -559,12 +565,13 @@ module Google
559
565
  # Customize the options with defaults
560
566
  call_metadata = @config.rpcs.update_instance.metadata.to_h
561
567
 
562
- # Set x-goog-api-client and x-goog-user-project headers
568
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
563
569
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
564
570
  lib_name: @config.lib_name, lib_version: @config.lib_version,
565
571
  gapic_version: ::Google::Cloud::Memcache::V1::VERSION,
566
572
  transports_version_send: [:rest]
567
573
 
574
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
568
575
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
569
576
 
570
577
  options.apply_defaults timeout: @config.rpcs.update_instance.timeout,
@@ -653,12 +660,13 @@ module Google
653
660
  # Customize the options with defaults
654
661
  call_metadata = @config.rpcs.update_parameters.metadata.to_h
655
662
 
656
- # Set x-goog-api-client and x-goog-user-project headers
663
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
657
664
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
658
665
  lib_name: @config.lib_name, lib_version: @config.lib_version,
659
666
  gapic_version: ::Google::Cloud::Memcache::V1::VERSION,
660
667
  transports_version_send: [:rest]
661
668
 
669
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
662
670
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
663
671
 
664
672
  options.apply_defaults timeout: @config.rpcs.update_parameters.timeout,
@@ -741,12 +749,13 @@ module Google
741
749
  # Customize the options with defaults
742
750
  call_metadata = @config.rpcs.delete_instance.metadata.to_h
743
751
 
744
- # Set x-goog-api-client and x-goog-user-project headers
752
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
745
753
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
746
754
  lib_name: @config.lib_name, lib_version: @config.lib_version,
747
755
  gapic_version: ::Google::Cloud::Memcache::V1::VERSION,
748
756
  transports_version_send: [:rest]
749
757
 
758
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
750
759
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
751
760
 
752
761
  options.apply_defaults timeout: @config.rpcs.delete_instance.timeout,
@@ -835,12 +844,13 @@ module Google
835
844
  # Customize the options with defaults
836
845
  call_metadata = @config.rpcs.apply_parameters.metadata.to_h
837
846
 
838
- # Set x-goog-api-client and x-goog-user-project headers
847
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
839
848
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
840
849
  lib_name: @config.lib_name, lib_version: @config.lib_version,
841
850
  gapic_version: ::Google::Cloud::Memcache::V1::VERSION,
842
851
  transports_version_send: [:rest]
843
852
 
853
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
844
854
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
845
855
 
846
856
  options.apply_defaults timeout: @config.rpcs.apply_parameters.timeout,
@@ -929,12 +939,13 @@ module Google
929
939
  # Customize the options with defaults
930
940
  call_metadata = @config.rpcs.reschedule_maintenance.metadata.to_h
931
941
 
932
- # Set x-goog-api-client and x-goog-user-project headers
942
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
933
943
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
934
944
  lib_name: @config.lib_name, lib_version: @config.lib_version,
935
945
  gapic_version: ::Google::Cloud::Memcache::V1::VERSION,
936
946
  transports_version_send: [:rest]
937
947
 
948
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
938
949
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
939
950
 
940
951
  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 and x-goog-user-project headers
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::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 and x-goog-user-project headers
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::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 and x-goog-user-project headers
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::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 and x-goog-user-project headers
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::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,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Memcache
23
23
  module V1
24
- VERSION = "0.9.0"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-memcache-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 1.0.0
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-02-26 00:00:00.000000000 Z
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common