google-cloud-redis-v1beta1 0.12.2 → 0.13.1

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: 36c1e833fcdf0c3e0d4bd9bb3d338edd6550416c08186f702fb268cab80aea30
4
- data.tar.gz: a285db18687f04933edccf37452dc3d3679daab16bf13dc3b0e5b5a9350a190e
3
+ metadata.gz: ab202203bcdc6064f3203d0e059055ee570f6650ae14458ea865ab40917a6e98
4
+ data.tar.gz: 4ae6fd8499d6bd2ce484663456ac27716cd519223f50ae9e081cb1eebe093194
5
5
  SHA512:
6
- metadata.gz: abf47d7e652ec67e3c1f93856916eee51c7fa06f0fed69a2706282912570aa0717b3987db7b9be400d63ed1c8aa3d2f600378d5f29610afcf7f3c9cad5ad7a29
7
- data.tar.gz: e2a565c75aae15aa6f0ef1000933f969e645406c7cc55a0d98877174f5b8b4cbc321af5386455e5ed7509ebdb578995aef6c6027af37fef2e39e41c67d2f9102
6
+ metadata.gz: 1a9d2906dfb93a2452711493308b037b284af934dfcc1e13301e29744b12b736ee9f00e9d6fcc010fa419036c3f2f497c8049cf1a99d21c80ab6929f2dbfff07
7
+ data.tar.gz: 3b6a50e3b369abca2f08dfd10f347098cb9aaa10448380910922abe56683437e9008afedee2ac592b14b9fa31f5c5d968e45a9a13a2a616030caa414c6d3a03a
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  Creates and manages Redis instances on the Google Cloud Platform.
4
4
 
5
- Creates and manages Redis instances on the Google Cloud Platform.
6
5
 
7
6
  https://github.com/googleapis/google-cloud-ruby
8
7
 
@@ -76,7 +75,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
75
 
77
76
  ## Supported Ruby Versions
78
77
 
79
- This library is supported on Ruby 2.6+.
78
+ This library is supported on Ruby 2.7+.
80
79
 
81
80
  Google provides official support for Ruby versions that are actively supported
82
81
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -44,6 +44,9 @@ module Google
44
44
  # * `projects/redpepper-1290/locations/us-central1/instances/my-redis`
45
45
  #
46
46
  class Client
47
+ # @private
48
+ API_VERSION = ""
49
+
47
50
  # @private
48
51
  DEFAULT_ENDPOINT_TEMPLATE = "redis.$UNIVERSE_DOMAIN$"
49
52
 
@@ -288,10 +291,11 @@ module Google
288
291
  # Customize the options with defaults
289
292
  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
  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::Redis::V1beta1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
295
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
296
300
 
297
301
  header_params = {}
@@ -376,10 +380,11 @@ module Google
376
380
  # Customize the options with defaults
377
381
  metadata = @config.rpcs.get_instance.metadata.to_h
378
382
 
379
- # Set x-goog-api-client and x-goog-user-project headers
383
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
384
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
385
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
386
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION
387
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
388
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
389
 
385
390
  header_params = {}
@@ -465,10 +470,11 @@ module Google
465
470
  # Customize the options with defaults
466
471
  metadata = @config.rpcs.get_instance_auth_string.metadata.to_h
467
472
 
468
- # Set x-goog-api-client and x-goog-user-project headers
473
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
469
474
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
470
475
  lib_name: @config.lib_name, lib_version: @config.lib_version,
471
476
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION
477
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
472
478
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
473
479
 
474
480
  header_params = {}
@@ -581,10 +587,11 @@ module Google
581
587
  # Customize the options with defaults
582
588
  metadata = @config.rpcs.create_instance.metadata.to_h
583
589
 
584
- # Set x-goog-api-client and x-goog-user-project headers
590
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
585
591
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
586
592
  lib_name: @config.lib_name, lib_version: @config.lib_version,
587
593
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION
594
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
588
595
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
589
596
 
590
597
  header_params = {}
@@ -689,10 +696,11 @@ module Google
689
696
  # Customize the options with defaults
690
697
  metadata = @config.rpcs.update_instance.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::Redis::V1beta1::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 = {}
@@ -787,10 +795,11 @@ module Google
787
795
  # Customize the options with defaults
788
796
  metadata = @config.rpcs.upgrade_instance.metadata.to_h
789
797
 
790
- # Set x-goog-api-client and x-goog-user-project headers
798
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
791
799
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
792
800
  lib_name: @config.lib_name, lib_version: @config.lib_version,
793
801
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION
802
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
794
803
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
795
804
 
796
805
  header_params = {}
@@ -891,10 +900,11 @@ module Google
891
900
  # Customize the options with defaults
892
901
  metadata = @config.rpcs.import_instance.metadata.to_h
893
902
 
894
- # Set x-goog-api-client and x-goog-user-project headers
903
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
895
904
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
896
905
  lib_name: @config.lib_name, lib_version: @config.lib_version,
897
906
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION
907
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
898
908
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
899
909
 
900
910
  header_params = {}
@@ -993,10 +1003,11 @@ module Google
993
1003
  # Customize the options with defaults
994
1004
  metadata = @config.rpcs.export_instance.metadata.to_h
995
1005
 
996
- # Set x-goog-api-client and x-goog-user-project headers
1006
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
997
1007
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
998
1008
  lib_name: @config.lib_name, lib_version: @config.lib_version,
999
1009
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION
1010
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1000
1011
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1001
1012
 
1002
1013
  header_params = {}
@@ -1092,10 +1103,11 @@ module Google
1092
1103
  # Customize the options with defaults
1093
1104
  metadata = @config.rpcs.failover_instance.metadata.to_h
1094
1105
 
1095
- # Set x-goog-api-client and x-goog-user-project headers
1106
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1096
1107
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1097
1108
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1098
1109
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION
1110
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1099
1111
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1100
1112
 
1101
1113
  header_params = {}
@@ -1188,10 +1200,11 @@ module Google
1188
1200
  # Customize the options with defaults
1189
1201
  metadata = @config.rpcs.delete_instance.metadata.to_h
1190
1202
 
1191
- # Set x-goog-api-client and x-goog-user-project headers
1203
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1192
1204
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1193
1205
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1194
1206
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION
1207
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1195
1208
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1196
1209
 
1197
1210
  header_params = {}
@@ -1290,10 +1303,11 @@ module Google
1290
1303
  # Customize the options with defaults
1291
1304
  metadata = @config.rpcs.reschedule_maintenance.metadata.to_h
1292
1305
 
1293
- # Set x-goog-api-client and x-goog-user-project headers
1306
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1294
1307
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1295
1308
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1296
1309
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION
1310
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1297
1311
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1298
1312
 
1299
1313
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module CloudRedis
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 = "redis.$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::Redis::V1beta1::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::Redis::V1beta1::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::Redis::V1beta1::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::Redis::V1beta1::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::Redis::V1beta1::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,
@@ -46,6 +46,9 @@ module Google
46
46
  # * `projects/redpepper-1290/locations/us-central1/instances/my-redis`
47
47
  #
48
48
  class Client
49
+ # @private
50
+ API_VERSION = ""
51
+
49
52
  # @private
50
53
  DEFAULT_ENDPOINT_TEMPLATE = "redis.$UNIVERSE_DOMAIN$"
51
54
 
@@ -280,12 +283,13 @@ module Google
280
283
  # Customize the options with defaults
281
284
  call_metadata = @config.rpcs.list_instances.metadata.to_h
282
285
 
283
- # Set x-goog-api-client and x-goog-user-project headers
286
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
284
287
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
285
288
  lib_name: @config.lib_name, lib_version: @config.lib_version,
286
289
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION,
287
290
  transports_version_send: [:rest]
288
291
 
292
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
289
293
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
290
294
 
291
295
  options.apply_defaults timeout: @config.rpcs.list_instances.timeout,
@@ -360,12 +364,13 @@ module Google
360
364
  # Customize the options with defaults
361
365
  call_metadata = @config.rpcs.get_instance.metadata.to_h
362
366
 
363
- # Set x-goog-api-client and x-goog-user-project headers
367
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
364
368
  call_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::Cloud::Redis::V1beta1::VERSION,
367
371
  transports_version_send: [:rest]
368
372
 
373
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
369
374
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
370
375
 
371
376
  options.apply_defaults timeout: @config.rpcs.get_instance.timeout,
@@ -442,12 +447,13 @@ module Google
442
447
  # Customize the options with defaults
443
448
  call_metadata = @config.rpcs.get_instance_auth_string.metadata.to_h
444
449
 
445
- # Set x-goog-api-client and x-goog-user-project headers
450
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
446
451
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
447
452
  lib_name: @config.lib_name, lib_version: @config.lib_version,
448
453
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION,
449
454
  transports_version_send: [:rest]
450
455
 
456
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
451
457
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
452
458
 
453
459
  options.apply_defaults timeout: @config.rpcs.get_instance_auth_string.timeout,
@@ -551,12 +557,13 @@ module Google
551
557
  # Customize the options with defaults
552
558
  call_metadata = @config.rpcs.create_instance.metadata.to_h
553
559
 
554
- # Set x-goog-api-client and x-goog-user-project headers
560
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
555
561
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
556
562
  lib_name: @config.lib_name, lib_version: @config.lib_version,
557
563
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION,
558
564
  transports_version_send: [:rest]
559
565
 
566
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
560
567
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
561
568
 
562
569
  options.apply_defaults timeout: @config.rpcs.create_instance.timeout,
@@ -652,12 +659,13 @@ module Google
652
659
  # Customize the options with defaults
653
660
  call_metadata = @config.rpcs.update_instance.metadata.to_h
654
661
 
655
- # Set x-goog-api-client and x-goog-user-project headers
662
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
656
663
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
657
664
  lib_name: @config.lib_name, lib_version: @config.lib_version,
658
665
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION,
659
666
  transports_version_send: [:rest]
660
667
 
668
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
661
669
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
662
670
 
663
671
  options.apply_defaults timeout: @config.rpcs.update_instance.timeout,
@@ -743,12 +751,13 @@ module Google
743
751
  # Customize the options with defaults
744
752
  call_metadata = @config.rpcs.upgrade_instance.metadata.to_h
745
753
 
746
- # Set x-goog-api-client and x-goog-user-project headers
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::Redis::V1beta1::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.upgrade_instance.timeout,
@@ -840,12 +849,13 @@ module Google
840
849
  # Customize the options with defaults
841
850
  call_metadata = @config.rpcs.import_instance.metadata.to_h
842
851
 
843
- # Set x-goog-api-client and x-goog-user-project headers
852
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
844
853
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
845
854
  lib_name: @config.lib_name, lib_version: @config.lib_version,
846
855
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION,
847
856
  transports_version_send: [:rest]
848
857
 
858
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
849
859
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
850
860
 
851
861
  options.apply_defaults timeout: @config.rpcs.import_instance.timeout,
@@ -935,12 +945,13 @@ module Google
935
945
  # Customize the options with defaults
936
946
  call_metadata = @config.rpcs.export_instance.metadata.to_h
937
947
 
938
- # Set x-goog-api-client and x-goog-user-project headers
948
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
939
949
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
940
950
  lib_name: @config.lib_name, lib_version: @config.lib_version,
941
951
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION,
942
952
  transports_version_send: [:rest]
943
953
 
954
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
944
955
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
945
956
 
946
957
  options.apply_defaults timeout: @config.rpcs.export_instance.timeout,
@@ -1027,12 +1038,13 @@ module Google
1027
1038
  # Customize the options with defaults
1028
1039
  call_metadata = @config.rpcs.failover_instance.metadata.to_h
1029
1040
 
1030
- # Set x-goog-api-client and x-goog-user-project headers
1041
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1031
1042
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1032
1043
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1033
1044
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION,
1034
1045
  transports_version_send: [:rest]
1035
1046
 
1047
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1036
1048
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1037
1049
 
1038
1050
  options.apply_defaults timeout: @config.rpcs.failover_instance.timeout,
@@ -1116,12 +1128,13 @@ module Google
1116
1128
  # Customize the options with defaults
1117
1129
  call_metadata = @config.rpcs.delete_instance.metadata.to_h
1118
1130
 
1119
- # Set x-goog-api-client and x-goog-user-project headers
1131
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1120
1132
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1121
1133
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1122
1134
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION,
1123
1135
  transports_version_send: [:rest]
1124
1136
 
1137
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1125
1138
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1126
1139
 
1127
1140
  options.apply_defaults timeout: @config.rpcs.delete_instance.timeout,
@@ -1211,12 +1224,13 @@ module Google
1211
1224
  # Customize the options with defaults
1212
1225
  call_metadata = @config.rpcs.reschedule_maintenance.metadata.to_h
1213
1226
 
1214
- # Set x-goog-api-client and x-goog-user-project headers
1227
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1215
1228
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1216
1229
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1217
1230
  gapic_version: ::Google::Cloud::Redis::V1beta1::VERSION,
1218
1231
  transports_version_send: [:rest]
1219
1232
 
1233
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1220
1234
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1221
1235
 
1222
1236
  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 = "redis.$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::Redis::V1beta1::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::Redis::V1beta1::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::Redis::V1beta1::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::Redis::V1beta1::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,
@@ -16,7 +16,7 @@ require 'google/type/dayofweek_pb'
16
16
  require 'google/type/timeofday_pb'
17
17
 
18
18
 
19
- descriptor_data = "\n,google/cloud/redis/v1beta1/cloud_redis.proto\x12\x1agoogle.cloud.redis.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"0\n\x08NodeInfo\x12\x10\n\x02id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04zone\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\"\xc2\x11\n\x08Instance\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12@\n\x06labels\x18\x03 \x03(\x0b\x32\x30.google.cloud.redis.v1beta1.Instance.LabelsEntry\x12\x19\n\x0blocation_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12%\n\x17\x61lternative_location_id\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1b\n\rredis_version\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1f\n\x11reserved_ip_range\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12 \n\x12secondary_ip_range\x18\x1e \x01(\tB\x04\xe2\x41\x01\x01\x12\x12\n\x04host\x18\n \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04port\x18\x0b \x01(\x05\x42\x04\xe2\x41\x01\x03\x12!\n\x13\x63urrent_location_id\x18\x0c \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12?\n\x05state\x18\x0e \x01(\x0e\x32*.google.cloud.redis.v1beta1.Instance.StateB\x04\xe2\x41\x01\x03\x12\x1c\n\x0estatus_message\x18\x0f \x01(\tB\x04\xe2\x41\x01\x03\x12S\n\rredis_configs\x18\x10 \x03(\x0b\x32\x36.google.cloud.redis.v1beta1.Instance.RedisConfigsEntryB\x04\xe2\x41\x01\x01\x12=\n\x04tier\x18\x11 \x01(\x0e\x32).google.cloud.redis.v1beta1.Instance.TierB\x04\xe2\x41\x01\x02\x12\x1c\n\x0ememory_size_gb\x18\x12 \x01(\x05\x42\x04\xe2\x41\x01\x02\x12 \n\x12\x61uthorized_network\x18\x14 \x01(\tB\x04\xe2\x41\x01\x01\x12&\n\x18persistence_iam_identity\x18\x15 \x01(\tB\x04\xe2\x41\x01\x03\x12L\n\x0c\x63onnect_mode\x18\x16 \x01(\x0e\x32\x30.google.cloud.redis.v1beta1.Instance.ConnectModeB\x04\xe2\x41\x01\x01\x12\x1a\n\x0c\x61uth_enabled\x18\x17 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12I\n\x0fserver_ca_certs\x18\x19 \x03(\x0b\x32*.google.cloud.redis.v1beta1.TlsCertificateB\x04\xe2\x41\x01\x03\x12\x61\n\x17transit_encryption_mode\x18\x1a \x01(\x0e\x32:.google.cloud.redis.v1beta1.Instance.TransitEncryptionModeB\x04\xe2\x41\x01\x01\x12O\n\x12maintenance_policy\x18\x1b \x01(\x0b\x32-.google.cloud.redis.v1beta1.MaintenancePolicyB\x04\xe2\x41\x01\x01\x12S\n\x14maintenance_schedule\x18\x1c \x01(\x0b\x32/.google.cloud.redis.v1beta1.MaintenanceScheduleB\x04\xe2\x41\x01\x03\x12\x1b\n\rreplica_count\x18\x1f \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x39\n\x05nodes\x18 \x03(\x0b\x32$.google.cloud.redis.v1beta1.NodeInfoB\x04\xe2\x41\x01\x03\x12\x1b\n\rread_endpoint\x18! \x01(\tB\x04\xe2\x41\x01\x03\x12 \n\x12read_endpoint_port\x18\" \x01(\x05\x42\x04\xe2\x41\x01\x03\x12W\n\x12read_replicas_mode\x18# \x01(\x0e\x32\x35.google.cloud.redis.v1beta1.Instance.ReadReplicasModeB\x04\xe2\x41\x01\x01\x12O\n\x12persistence_config\x18% \x01(\x0b\x32-.google.cloud.redis.v1beta1.PersistenceConfigB\x04\xe2\x41\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11RedisConfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x94\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\r\n\tREPAIRING\x10\x05\x12\x0f\n\x0bMAINTENANCE\x10\x06\x12\r\n\tIMPORTING\x10\x08\x12\x10\n\x0c\x46\x41ILING_OVER\x10\n\"8\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x0f\n\x0bSTANDARD_HA\x10\x03\"[\n\x0b\x43onnectMode\x12\x1c\n\x18\x43ONNECT_MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x44IRECT_PEERING\x10\x01\x12\x1a\n\x16PRIVATE_SERVICE_ACCESS\x10\x02\"i\n\x15TransitEncryptionMode\x12\'\n#TRANSIT_ENCRYPTION_MODE_UNSPECIFIED\x10\x00\x12\x19\n\x15SERVER_AUTHENTICATION\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\"m\n\x10ReadReplicasMode\x12\"\n\x1eREAD_REPLICAS_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16READ_REPLICAS_DISABLED\x10\x01\x12\x19\n\x15READ_REPLICAS_ENABLED\x10\x02:`\xea\x41]\n\x1dredis.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}\"\x9d\x04\n\x11PersistenceConfig\x12]\n\x10persistence_mode\x18\x01 \x01(\x0e\x32=.google.cloud.redis.v1beta1.PersistenceConfig.PersistenceModeB\x04\xe2\x41\x01\x01\x12_\n\x13rdb_snapshot_period\x18\x02 \x01(\x0e\x32<.google.cloud.redis.v1beta1.PersistenceConfig.SnapshotPeriodB\x04\xe2\x41\x01\x01\x12@\n\x16rdb_next_snapshot_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x41\n\x17rdb_snapshot_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x01\"J\n\x0fPersistenceMode\x12 \n\x1cPERSISTENCE_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x07\n\x03RDB\x10\x02\"w\n\x0eSnapshotPeriod\x12\x1f\n\x1bSNAPSHOT_PERIOD_UNSPECIFIED\x10\x00\x12\x0c\n\x08ONE_HOUR\x10\x03\x12\r\n\tSIX_HOURS\x10\x04\x12\x10\n\x0cTWELVE_HOURS\x10\x05\x12\x15\n\x11TWENTY_FOUR_HOURS\x10\x06\"\xe5\x02\n\x1cRescheduleMaintenanceRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\n\x1dredis.googleapis.com/Instance\x12\x66\n\x0freschedule_type\x18\x02 \x01(\x0e\x32G.google.cloud.redis.v1beta1.RescheduleMaintenanceRequest.RescheduleTypeB\x04\xe2\x41\x01\x02\x12\x37\n\rschedule_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x01\"n\n\x0eRescheduleType\x12\x1f\n\x1bRESCHEDULE_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tIMMEDIATE\x10\x01\x12\x19\n\x15NEXT_AVAILABLE_WINDOW\x10\x02\x12\x11\n\rSPECIFIC_TIME\x10\x03\"\xfa\x01\n\x11MaintenancePolicy\x12\x35\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\\\n\x19weekly_maintenance_window\x18\x04 \x03(\x0b\x32\x33.google.cloud.redis.v1beta1.WeeklyMaintenanceWindowB\x04\xe2\x41\x01\x01\"\xa9\x01\n\x17WeeklyMaintenanceWindow\x12)\n\x03\x64\x61y\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeekB\x04\xe2\x41\x01\x02\x12\x30\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x04\xe2\x41\x01\x02\x12\x31\n\x08\x64uration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x03\"\xdd\x01\n\x13MaintenanceSchedule\x12\x34\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x1a\n\x0e\x63\x61n_reschedule\x18\x03 \x01(\x08\x42\x02\x18\x01\x12@\n\x16schedule_deadline_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\"y\n\x14ListInstancesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"~\n\x15ListInstancesResponse\x12\x37\n\tinstances\x18\x01 \x03(\x0b\x32$.google.cloud.redis.v1beta1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"J\n\x12GetInstanceRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\n\x1dredis.googleapis.com/Instance\"T\n\x1cGetInstanceAuthStringRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\n\x1dredis.googleapis.com/Instance\")\n\x12InstanceAuthString\x12\x13\n\x0b\x61uth_string\x18\x01 \x01(\t\"\xac\x01\n\x15\x43reateInstanceRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x19\n\x0binstance_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12<\n\x08instance\x18\x03 \x01(\x0b\x32$.google.cloud.redis.v1beta1.InstanceB\x04\xe2\x41\x01\x02\"\x8c\x01\n\x15UpdateInstanceRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12<\n\x08instance\x18\x02 \x01(\x0b\x32$.google.cloud.redis.v1beta1.InstanceB\x04\xe2\x41\x01\x02\"k\n\x16UpgradeInstanceRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\n\x1dredis.googleapis.com/Instance\x12\x1b\n\rredis_version\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\"M\n\x15\x44\x65leteInstanceRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\n\x1dredis.googleapis.com/Instance\"\x1e\n\tGcsSource\x12\x11\n\x03uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"T\n\x0bInputConfig\x12;\n\ngcs_source\x18\x01 \x01(\x0b\x32%.google.cloud.redis.v1beta1.GcsSourceH\x00\x42\x08\n\x06source\"p\n\x15ImportInstanceRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x43\n\x0cinput_config\x18\x03 \x01(\x0b\x32\'.google.cloud.redis.v1beta1.InputConfigB\x04\xe2\x41\x01\x02\"#\n\x0eGcsDestination\x12\x11\n\x03uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"d\n\x0cOutputConfig\x12\x45\n\x0fgcs_destination\x18\x01 \x01(\x0b\x32*.google.cloud.redis.v1beta1.GcsDestinationH\x00\x42\r\n\x0b\x64\x65stination\"r\n\x15\x45xportInstanceRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x45\n\routput_config\x18\x03 \x01(\x0b\x32(.google.cloud.redis.v1beta1.OutputConfigB\x04\xe2\x41\x01\x02\"\xa3\x02\n\x17\x46\x61iloverInstanceRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\n\x1dredis.googleapis.com/Instance\x12j\n\x14\x64\x61ta_protection_mode\x18\x02 \x01(\x0e\x32\x46.google.cloud.redis.v1beta1.FailoverInstanceRequest.DataProtectionModeB\x04\xe2\x41\x01\x01\"f\n\x12\x44\x61taProtectionMode\x12$\n DATA_PROTECTION_MODE_UNSPECIFIED\x10\x00\x12\x15\n\x11LIMITED_DATA_LOSS\x10\x01\x12\x13\n\x0f\x46ORCE_DATA_LOSS\x10\x02\"\xd4\x01\n\x10LocationMetadata\x12_\n\x0f\x61vailable_zones\x18\x01 \x03(\x0b\x32@.google.cloud.redis.v1beta1.LocationMetadata.AvailableZonesEntryB\x04\xe2\x41\x01\x03\x1a_\n\x13\x41vailableZonesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.google.cloud.redis.v1beta1.ZoneMetadata:\x02\x38\x01\"\x0e\n\x0cZoneMetadata\"\xbd\x01\n\x0eTlsCertificate\x12\x15\n\rserial_number\x18\x01 \x01(\t\x12\x0c\n\x04\x63\x65rt\x18\x02 \x01(\t\x12\x35\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x65xpire_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x18\n\x10sha1_fingerprint\x18\x05 \x01(\t2\xa8\x15\n\nCloudRedis\x12\xb9\x01\n\rListInstances\x12\x30.google.cloud.redis.v1beta1.ListInstancesRequest\x1a\x31.google.cloud.redis.v1beta1.ListInstancesResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta1/{parent=projects/*/locations/*}/instances\x12\xa6\x01\n\x0bGetInstance\x12..google.cloud.redis.v1beta1.GetInstanceRequest\x1a$.google.cloud.redis.v1beta1.Instance\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta1/{name=projects/*/locations/*/instances/*}\x12\xcf\x01\n\x15GetInstanceAuthString\x12\x38.google.cloud.redis.v1beta1.GetInstanceAuthStringRequest\x1a..google.cloud.redis.v1beta1.InstanceAuthString\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?\x12=/v1beta1/{name=projects/*/locations/*/instances/*}/authString\x12\x84\x02\n\x0e\x43reateInstance\x12\x31.google.cloud.redis.v1beta1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\xca\x41:\n#google.cloud.redis.v1beta1.Instance\x12\x13google.protobuf.Any\xda\x41\x1bparent,instance_id,instance\x82\xd3\xe4\x93\x02>\"2/v1beta1/{parent=projects/*/locations/*}/instances:\x08instance\x12\x86\x02\n\x0eUpdateInstance\x12\x31.google.cloud.redis.v1beta1.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\xca\x41:\n#google.cloud.redis.v1beta1.Instance\x12\x13google.protobuf.Any\xda\x41\x14update_mask,instance\x82\xd3\xe4\x93\x02G2;/v1beta1/{instance.name=projects/*/locations/*/instances/*}:\x08instance\x12\xfe\x01\n\x0fUpgradeInstance\x12\x32.google.cloud.redis.v1beta1.UpgradeInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x97\x01\xca\x41:\n#google.cloud.redis.v1beta1.Instance\x12\x13google.protobuf.Any\xda\x41\x12name,redis_version\x82\xd3\xe4\x93\x02?\":/v1beta1/{name=projects/*/locations/*/instances/*}:upgrade:\x01*\x12\xfa\x01\n\x0eImportInstance\x12\x31.google.cloud.redis.v1beta1.ImportInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x95\x01\xca\x41:\n#google.cloud.redis.v1beta1.Instance\x12\x13google.protobuf.Any\xda\x41\x11name,input_config\x82\xd3\xe4\x93\x02>\"9/v1beta1/{name=projects/*/locations/*/instances/*}:import:\x01*\x12\xfb\x01\n\x0e\x45xportInstance\x12\x31.google.cloud.redis.v1beta1.ExportInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\xca\x41:\n#google.cloud.redis.v1beta1.Instance\x12\x13google.protobuf.Any\xda\x41\x12name,output_config\x82\xd3\xe4\x93\x02>\"9/v1beta1/{name=projects/*/locations/*/instances/*}:export:\x01*\x12\x88\x02\n\x10\x46\x61iloverInstance\x12\x33.google.cloud.redis.v1beta1.FailoverInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\xca\x41:\n#google.cloud.redis.v1beta1.Instance\x12\x13google.protobuf.Any\xda\x41\x19name,data_protection_mode\x82\xd3\xe4\x93\x02@\";/v1beta1/{name=projects/*/locations/*/instances/*}:failover:\x01*\x12\xd4\x01\n\x0e\x44\x65leteInstance\x12\x31.google.cloud.redis.v1beta1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"p\xca\x41,\n\x15google.protobuf.Empty\x12\x13google.protobuf.Any\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v1beta1/{name=projects/*/locations/*/instances/*}\x12\xaa\x02\n\x15RescheduleMaintenance\x12\x38.google.cloud.redis.v1beta1.RescheduleMaintenanceRequest\x1a\x1d.google.longrunning.Operation\"\xb7\x01\xca\x41:\n#google.cloud.redis.v1beta1.Instance\x12\x13google.protobuf.Any\xda\x41$name, reschedule_type, schedule_time\x82\xd3\xe4\x93\x02M\"H/v1beta1/{name=projects/*/locations/*/instances/*}:rescheduleMaintenance:\x01*\x1aH\xca\x41\x14redis.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBt\n\x1e\x63om.google.cloud.redis.v1beta1B\x1a\x43loudRedisServiceBetaProtoP\x01Z4cloud.google.com/go/redis/apiv1beta1/redispb;redispbb\x06proto3"
19
+ descriptor_data = "\n,google/cloud/redis/v1beta1/cloud_redis.proto\x12\x1agoogle.cloud.redis.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\".\n\x08NodeInfo\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04zone\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xa5\x11\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12@\n\x06labels\x18\x03 \x03(\x0b\x32\x30.google.cloud.redis.v1beta1.Instance.LabelsEntry\x12\x18\n\x0blocation_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12$\n\x17\x61lternative_location_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rredis_version\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11reserved_ip_range\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12secondary_ip_range\x18\x1e \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04host\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04port\x18\x0b \x01(\x05\x42\x03\xe0\x41\x03\x12 \n\x13\x63urrent_location_id\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12>\n\x05state\x18\x0e \x01(\x0e\x32*.google.cloud.redis.v1beta1.Instance.StateB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12R\n\rredis_configs\x18\x10 \x03(\x0b\x32\x36.google.cloud.redis.v1beta1.Instance.RedisConfigsEntryB\x03\xe0\x41\x01\x12<\n\x04tier\x18\x11 \x01(\x0e\x32).google.cloud.redis.v1beta1.Instance.TierB\x03\xe0\x41\x02\x12\x1b\n\x0ememory_size_gb\x18\x12 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1f\n\x12\x61uthorized_network\x18\x14 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18persistence_iam_identity\x18\x15 \x01(\tB\x03\xe0\x41\x03\x12K\n\x0c\x63onnect_mode\x18\x16 \x01(\x0e\x32\x30.google.cloud.redis.v1beta1.Instance.ConnectModeB\x03\xe0\x41\x01\x12\x19\n\x0c\x61uth_enabled\x18\x17 \x01(\x08\x42\x03\xe0\x41\x01\x12H\n\x0fserver_ca_certs\x18\x19 \x03(\x0b\x32*.google.cloud.redis.v1beta1.TlsCertificateB\x03\xe0\x41\x03\x12`\n\x17transit_encryption_mode\x18\x1a \x01(\x0e\x32:.google.cloud.redis.v1beta1.Instance.TransitEncryptionModeB\x03\xe0\x41\x01\x12N\n\x12maintenance_policy\x18\x1b \x01(\x0b\x32-.google.cloud.redis.v1beta1.MaintenancePolicyB\x03\xe0\x41\x01\x12R\n\x14maintenance_schedule\x18\x1c \x01(\x0b\x32/.google.cloud.redis.v1beta1.MaintenanceScheduleB\x03\xe0\x41\x03\x12\x1a\n\rreplica_count\x18\x1f \x01(\x05\x42\x03\xe0\x41\x01\x12\x38\n\x05nodes\x18 \x03(\x0b\x32$.google.cloud.redis.v1beta1.NodeInfoB\x03\xe0\x41\x03\x12\x1a\n\rread_endpoint\x18! \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12read_endpoint_port\x18\" \x01(\x05\x42\x03\xe0\x41\x03\x12V\n\x12read_replicas_mode\x18# \x01(\x0e\x32\x35.google.cloud.redis.v1beta1.Instance.ReadReplicasModeB\x03\xe0\x41\x01\x12N\n\x12persistence_config\x18% \x01(\x0b\x32-.google.cloud.redis.v1beta1.PersistenceConfigB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11RedisConfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x94\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\r\n\tREPAIRING\x10\x05\x12\x0f\n\x0bMAINTENANCE\x10\x06\x12\r\n\tIMPORTING\x10\x08\x12\x10\n\x0c\x46\x41ILING_OVER\x10\n\"8\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x0f\n\x0bSTANDARD_HA\x10\x03\"[\n\x0b\x43onnectMode\x12\x1c\n\x18\x43ONNECT_MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x44IRECT_PEERING\x10\x01\x12\x1a\n\x16PRIVATE_SERVICE_ACCESS\x10\x02\"i\n\x15TransitEncryptionMode\x12\'\n#TRANSIT_ENCRYPTION_MODE_UNSPECIFIED\x10\x00\x12\x19\n\x15SERVER_AUTHENTICATION\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\"m\n\x10ReadReplicasMode\x12\"\n\x1eREAD_REPLICAS_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16READ_REPLICAS_DISABLED\x10\x01\x12\x19\n\x15READ_REPLICAS_ENABLED\x10\x02:`\xea\x41]\n\x1dredis.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}\"\x99\x04\n\x11PersistenceConfig\x12\\\n\x10persistence_mode\x18\x01 \x01(\x0e\x32=.google.cloud.redis.v1beta1.PersistenceConfig.PersistenceModeB\x03\xe0\x41\x01\x12^\n\x13rdb_snapshot_period\x18\x02 \x01(\x0e\x32<.google.cloud.redis.v1beta1.PersistenceConfig.SnapshotPeriodB\x03\xe0\x41\x01\x12?\n\x16rdb_next_snapshot_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x17rdb_snapshot_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"J\n\x0fPersistenceMode\x12 \n\x1cPERSISTENCE_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x07\n\x03RDB\x10\x02\"w\n\x0eSnapshotPeriod\x12\x1f\n\x1bSNAPSHOT_PERIOD_UNSPECIFIED\x10\x00\x12\x0c\n\x08ONE_HOUR\x10\x03\x12\r\n\tSIX_HOURS\x10\x04\x12\x10\n\x0cTWELVE_HOURS\x10\x05\x12\x15\n\x11TWENTY_FOUR_HOURS\x10\x06\"\xe2\x02\n\x1cRescheduleMaintenanceRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dredis.googleapis.com/Instance\x12\x65\n\x0freschedule_type\x18\x02 \x01(\x0e\x32G.google.cloud.redis.v1beta1.RescheduleMaintenanceRequest.RescheduleTypeB\x03\xe0\x41\x02\x12\x36\n\rschedule_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"n\n\x0eRescheduleType\x12\x1f\n\x1bRESCHEDULE_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tIMMEDIATE\x10\x01\x12\x19\n\x15NEXT_AVAILABLE_WINDOW\x10\x02\x12\x11\n\rSPECIFIC_TIME\x10\x03\"\xf6\x01\n\x11MaintenancePolicy\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12[\n\x19weekly_maintenance_window\x18\x04 \x03(\x0b\x32\x33.google.cloud.redis.v1beta1.WeeklyMaintenanceWindowB\x03\xe0\x41\x01\"\xa6\x01\n\x17WeeklyMaintenanceWindow\x12(\n\x03\x64\x61y\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x02\x12/\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x02\x12\x30\n\x08\x64uration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\"\xda\x01\n\x13MaintenanceSchedule\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1a\n\x0e\x63\x61n_reschedule\x18\x03 \x01(\x08\x42\x02\x18\x01\x12?\n\x16schedule_deadline_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"x\n\x14ListInstancesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"~\n\x15ListInstancesResponse\x12\x37\n\tinstances\x18\x01 \x03(\x0b\x32$.google.cloud.redis.v1beta1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"I\n\x12GetInstanceRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dredis.googleapis.com/Instance\"S\n\x1cGetInstanceAuthStringRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dredis.googleapis.com/Instance\")\n\x12InstanceAuthString\x12\x13\n\x0b\x61uth_string\x18\x01 \x01(\t\"\xa9\x01\n\x15\x43reateInstanceRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12;\n\x08instance\x18\x03 \x01(\x0b\x32$.google.cloud.redis.v1beta1.InstanceB\x03\xe0\x41\x02\"\x8a\x01\n\x15UpdateInstanceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12;\n\x08instance\x18\x02 \x01(\x0b\x32$.google.cloud.redis.v1beta1.InstanceB\x03\xe0\x41\x02\"i\n\x16UpgradeInstanceRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dredis.googleapis.com/Instance\x12\x1a\n\rredis_version\x18\x02 \x01(\tB\x03\xe0\x41\x02\"L\n\x15\x44\x65leteInstanceRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dredis.googleapis.com/Instance\"\x1d\n\tGcsSource\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\"T\n\x0bInputConfig\x12;\n\ngcs_source\x18\x01 \x01(\x0b\x32%.google.cloud.redis.v1beta1.GcsSourceH\x00\x42\x08\n\x06source\"n\n\x15ImportInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\x0cinput_config\x18\x03 \x01(\x0b\x32\'.google.cloud.redis.v1beta1.InputConfigB\x03\xe0\x41\x02\"\"\n\x0eGcsDestination\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\"d\n\x0cOutputConfig\x12\x45\n\x0fgcs_destination\x18\x01 \x01(\x0b\x32*.google.cloud.redis.v1beta1.GcsDestinationH\x00\x42\r\n\x0b\x64\x65stination\"p\n\x15\x45xportInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\routput_config\x18\x03 \x01(\x0b\x32(.google.cloud.redis.v1beta1.OutputConfigB\x03\xe0\x41\x02\"\xa1\x02\n\x17\x46\x61iloverInstanceRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dredis.googleapis.com/Instance\x12i\n\x14\x64\x61ta_protection_mode\x18\x02 \x01(\x0e\x32\x46.google.cloud.redis.v1beta1.FailoverInstanceRequest.DataProtectionModeB\x03\xe0\x41\x01\"f\n\x12\x44\x61taProtectionMode\x12$\n DATA_PROTECTION_MODE_UNSPECIFIED\x10\x00\x12\x15\n\x11LIMITED_DATA_LOSS\x10\x01\x12\x13\n\x0f\x46ORCE_DATA_LOSS\x10\x02\"\xd3\x01\n\x10LocationMetadata\x12^\n\x0f\x61vailable_zones\x18\x01 \x03(\x0b\x32@.google.cloud.redis.v1beta1.LocationMetadata.AvailableZonesEntryB\x03\xe0\x41\x03\x1a_\n\x13\x41vailableZonesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.google.cloud.redis.v1beta1.ZoneMetadata:\x02\x38\x01\"\x0e\n\x0cZoneMetadata\"\xbb\x01\n\x0eTlsCertificate\x12\x15\n\rserial_number\x18\x01 \x01(\t\x12\x0c\n\x04\x63\x65rt\x18\x02 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x10sha1_fingerprint\x18\x05 \x01(\t2\xa8\x15\n\nCloudRedis\x12\xb9\x01\n\rListInstances\x12\x30.google.cloud.redis.v1beta1.ListInstancesRequest\x1a\x31.google.cloud.redis.v1beta1.ListInstancesResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta1/{parent=projects/*/locations/*}/instances\x12\xa6\x01\n\x0bGetInstance\x12..google.cloud.redis.v1beta1.GetInstanceRequest\x1a$.google.cloud.redis.v1beta1.Instance\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta1/{name=projects/*/locations/*/instances/*}\x12\xcf\x01\n\x15GetInstanceAuthString\x12\x38.google.cloud.redis.v1beta1.GetInstanceAuthStringRequest\x1a..google.cloud.redis.v1beta1.InstanceAuthString\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?\x12=/v1beta1/{name=projects/*/locations/*/instances/*}/authString\x12\x84\x02\n\x0e\x43reateInstance\x12\x31.google.cloud.redis.v1beta1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\xca\x41:\n#google.cloud.redis.v1beta1.Instance\x12\x13google.protobuf.Any\xda\x41\x1bparent,instance_id,instance\x82\xd3\xe4\x93\x02>\"2/v1beta1/{parent=projects/*/locations/*}/instances:\x08instance\x12\x86\x02\n\x0eUpdateInstance\x12\x31.google.cloud.redis.v1beta1.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\xca\x41:\n#google.cloud.redis.v1beta1.Instance\x12\x13google.protobuf.Any\xda\x41\x14update_mask,instance\x82\xd3\xe4\x93\x02G2;/v1beta1/{instance.name=projects/*/locations/*/instances/*}:\x08instance\x12\xfe\x01\n\x0fUpgradeInstance\x12\x32.google.cloud.redis.v1beta1.UpgradeInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x97\x01\xca\x41:\n#google.cloud.redis.v1beta1.Instance\x12\x13google.protobuf.Any\xda\x41\x12name,redis_version\x82\xd3\xe4\x93\x02?\":/v1beta1/{name=projects/*/locations/*/instances/*}:upgrade:\x01*\x12\xfa\x01\n\x0eImportInstance\x12\x31.google.cloud.redis.v1beta1.ImportInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x95\x01\xca\x41:\n#google.cloud.redis.v1beta1.Instance\x12\x13google.protobuf.Any\xda\x41\x11name,input_config\x82\xd3\xe4\x93\x02>\"9/v1beta1/{name=projects/*/locations/*/instances/*}:import:\x01*\x12\xfb\x01\n\x0e\x45xportInstance\x12\x31.google.cloud.redis.v1beta1.ExportInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\xca\x41:\n#google.cloud.redis.v1beta1.Instance\x12\x13google.protobuf.Any\xda\x41\x12name,output_config\x82\xd3\xe4\x93\x02>\"9/v1beta1/{name=projects/*/locations/*/instances/*}:export:\x01*\x12\x88\x02\n\x10\x46\x61iloverInstance\x12\x33.google.cloud.redis.v1beta1.FailoverInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\xca\x41:\n#google.cloud.redis.v1beta1.Instance\x12\x13google.protobuf.Any\xda\x41\x19name,data_protection_mode\x82\xd3\xe4\x93\x02@\";/v1beta1/{name=projects/*/locations/*/instances/*}:failover:\x01*\x12\xd4\x01\n\x0e\x44\x65leteInstance\x12\x31.google.cloud.redis.v1beta1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"p\xca\x41,\n\x15google.protobuf.Empty\x12\x13google.protobuf.Any\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v1beta1/{name=projects/*/locations/*/instances/*}\x12\xaa\x02\n\x15RescheduleMaintenance\x12\x38.google.cloud.redis.v1beta1.RescheduleMaintenanceRequest\x1a\x1d.google.longrunning.Operation\"\xb7\x01\xca\x41:\n#google.cloud.redis.v1beta1.Instance\x12\x13google.protobuf.Any\xda\x41$name, reschedule_type, schedule_time\x82\xd3\xe4\x93\x02M\"H/v1beta1/{name=projects/*/locations/*/instances/*}:rescheduleMaintenance:\x01*\x1aH\xca\x41\x14redis.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBt\n\x1e\x63om.google.cloud.redis.v1beta1B\x1a\x43loudRedisServiceBetaProtoP\x01Z4cloud.google.com/go/redis/apiv1beta1/redispb;redispbb\x06proto3"
20
20
 
21
21
  pool = Google::Protobuf::DescriptorPool.generated_pool
22
22
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Redis
23
23
  module V1beta1
24
- VERSION = "0.12.2"
24
+ VERSION = "0.13.1"
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
@@ -286,6 +290,13 @@ module Google
286
290
  # @return [::String]
287
291
  # The fully qualified name of the method, for which the options below apply.
288
292
  # This is used to find the method to apply the options.
293
+ #
294
+ # Example:
295
+ #
296
+ # publishing:
297
+ # method_settings:
298
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
299
+ # # method settings for CreateFolder...
289
300
  # @!attribute [rw] long_running
290
301
  # @return [::Google::Api::MethodSettings::LongRunning]
291
302
  # Describes settings to use for long-running operations when generating
@@ -294,17 +305,14 @@ module Google
294
305
  #
295
306
  # Example of a YAML configuration::
296
307
  #
297
- # publishing:
298
- # method_settings:
308
+ # publishing:
309
+ # method_settings:
299
310
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
311
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
312
+ # initial_poll_delay: 60s # 1 minute
303
313
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
314
+ # max_poll_delay: 360s # 6 minutes
315
+ # total_poll_timeout: 54000s # 90 minutes
308
316
  # @!attribute [rw] auto_populated_fields
309
317
  # @return [::Array<::String>]
310
318
  # List of top-level fields of the request message, that should be
@@ -313,8 +321,8 @@ module Google
313
321
  #
314
322
  # Example of a YAML configuration:
315
323
  #
316
- # publishing:
317
- # method_settings:
324
+ # publishing:
325
+ # method_settings:
318
326
  # - selector: google.example.v1.ExampleService.CreateExample
319
327
  # auto_populated_fields:
320
328
  # - 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'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
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-redis-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2
4
+ version: 0.13.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-02-01 00:00:00.000000000 Z
11
+ date: 2024-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -44,118 +44,6 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.0'
47
- - !ruby/object:Gem::Dependency
48
- name: google-style
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 1.26.3
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 1.26.3
61
- - !ruby/object:Gem::Dependency
62
- name: minitest
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '5.16'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '5.16'
75
- - !ruby/object:Gem::Dependency
76
- name: minitest-focus
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '1.1'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.1'
89
- - !ruby/object:Gem::Dependency
90
- name: minitest-rg
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '5.2'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '5.2'
103
- - !ruby/object:Gem::Dependency
104
- name: rake
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: '13.0'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: '13.0'
117
- - !ruby/object:Gem::Dependency
118
- name: redcarpet
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '3.0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '3.0'
131
- - !ruby/object:Gem::Dependency
132
- name: simplecov
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '0.18'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '0.18'
145
- - !ruby/object:Gem::Dependency
146
- name: yard
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '0.9'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '0.9'
159
47
  description: Creates and manages Redis instances on the Google Cloud Platform. Note
160
48
  that google-cloud-redis-v1beta1 is a version-specific client library. For most uses,
161
49
  we recommend installing the main client library google-cloud-redis instead. See
@@ -211,14 +99,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
211
99
  requirements:
212
100
  - - ">="
213
101
  - !ruby/object:Gem::Version
214
- version: '2.6'
102
+ version: '2.7'
215
103
  required_rubygems_version: !ruby/object:Gem::Requirement
216
104
  requirements:
217
105
  - - ">="
218
106
  - !ruby/object:Gem::Version
219
107
  version: '0'
220
108
  requirements: []
221
- rubygems_version: 3.5.3
109
+ rubygems_version: 3.5.6
222
110
  signing_key:
223
111
  specification_version: 4
224
112
  summary: Creates and manages Redis instances on the Google Cloud Platform.