google-cloud-redis-cluster-v1beta1 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6835893b479d1c4ccf42992cbb7717fcc7c56a302f8d5aa3ed346775ec8205b8
4
- data.tar.gz: b42997e502ddb3d726c9b583610b18dc0c51d46b4367d06fbec6636f76a904fa
3
+ metadata.gz: 7225b50702c2e9155e1663955769bcac79dadf9c1a20c75715913f6360bc0698
4
+ data.tar.gz: 0b5483e4b86a0ec45f9e19a41e0c3836a266903269358ee45e08d7b604279411
5
5
  SHA512:
6
- metadata.gz: ec493535b39c872dbad05897ee2385331ab04f6be376dd8ac7f1b22dbf4ddfa33863c3b48e2f8ccaceaf16810f270da7dc0af62e78c666c7a83a8315d087d960
7
- data.tar.gz: c70e34e43a4601e029ccb45839a5379b9e1566ad7f0ed1be65b270d1ef0afd3ffad5490ab3b2181bc314dedcb528e8c999ccfdd98ab89b45a1efbb51c284de29
6
+ metadata.gz: 3f4beed8fa570e5f450f0ae9036bd29ac36b0eee0e0f0f4137dbab026c5407f113a0bd200b25cd7a1d82dbc8dee6d4d0b1005077c81de74fa24e58de90742621
7
+ data.tar.gz: 5d4ea4fc10d4521a5592176a66bffe3bbdcf2d4e369732ac1cfd8fb908a51429d823fccbf72119845ae64cf58e729021ab17924b21d968422fc26beb2c5bf3a2
@@ -865,6 +865,94 @@ module Google
865
865
  raise ::Google::Cloud::Error.from_error(e)
866
866
  end
867
867
 
868
+ ##
869
+ # Gets the details of regional certificate authority information for Redis
870
+ # cluster.
871
+ #
872
+ # @overload get_shared_regional_certificate_authority(request, options = nil)
873
+ # Pass arguments to `get_shared_regional_certificate_authority` via a request object, either of type
874
+ # {::Google::Cloud::Redis::Cluster::V1beta1::GetSharedRegionalCertificateAuthorityRequest} or an equivalent Hash.
875
+ #
876
+ # @param request [::Google::Cloud::Redis::Cluster::V1beta1::GetSharedRegionalCertificateAuthorityRequest, ::Hash]
877
+ # A request object representing the call parameters. Required. To specify no
878
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
879
+ # @param options [::Gapic::CallOptions, ::Hash]
880
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
881
+ #
882
+ # @overload get_shared_regional_certificate_authority(name: nil)
883
+ # Pass arguments to `get_shared_regional_certificate_authority` via keyword arguments. Note that at
884
+ # least one keyword argument is required. To specify no parameters, or to keep all
885
+ # the default parameter values, pass an empty Hash as a request object (see above).
886
+ #
887
+ # @param name [::String]
888
+ # Required. Regional certificate authority resource name using the form:
889
+ # `projects/{project_id}/locations/{location_id}/sharedRegionalCertificateAuthority`
890
+ # where `location_id` refers to a Google Cloud region.
891
+ #
892
+ # @yield [response, operation] Access the result along with the RPC operation
893
+ # @yieldparam response [::Google::Cloud::Redis::Cluster::V1beta1::SharedRegionalCertificateAuthority]
894
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
895
+ #
896
+ # @return [::Google::Cloud::Redis::Cluster::V1beta1::SharedRegionalCertificateAuthority]
897
+ #
898
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
899
+ #
900
+ # @example Basic example
901
+ # require "google/cloud/redis/cluster/v1beta1"
902
+ #
903
+ # # Create a client object. The client can be reused for multiple calls.
904
+ # client = Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::Client.new
905
+ #
906
+ # # Create a request. To set request fields, pass in keyword arguments.
907
+ # request = Google::Cloud::Redis::Cluster::V1beta1::GetSharedRegionalCertificateAuthorityRequest.new
908
+ #
909
+ # # Call the get_shared_regional_certificate_authority method.
910
+ # result = client.get_shared_regional_certificate_authority request
911
+ #
912
+ # # The returned object is of type Google::Cloud::Redis::Cluster::V1beta1::SharedRegionalCertificateAuthority.
913
+ # p result
914
+ #
915
+ def get_shared_regional_certificate_authority request, options = nil
916
+ raise ::ArgumentError, "request must be provided" if request.nil?
917
+
918
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Redis::Cluster::V1beta1::GetSharedRegionalCertificateAuthorityRequest
919
+
920
+ # Converts hash and nil to an options object
921
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
922
+
923
+ # Customize the options with defaults
924
+ metadata = @config.rpcs.get_shared_regional_certificate_authority.metadata.to_h
925
+
926
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
927
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
928
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
929
+ gapic_version: ::Google::Cloud::Redis::Cluster::V1beta1::VERSION
930
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
931
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
932
+
933
+ header_params = {}
934
+ if request.name
935
+ header_params["name"] = request.name
936
+ end
937
+
938
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
939
+ metadata[:"x-goog-request-params"] ||= request_params_header
940
+
941
+ options.apply_defaults timeout: @config.rpcs.get_shared_regional_certificate_authority.timeout,
942
+ metadata: metadata,
943
+ retry_policy: @config.rpcs.get_shared_regional_certificate_authority.retry_policy
944
+
945
+ options.apply_defaults timeout: @config.timeout,
946
+ metadata: @config.metadata,
947
+ retry_policy: @config.retry_policy
948
+
949
+ @cloud_redis_cluster_stub.call_rpc :get_shared_regional_certificate_authority, request, options: options do |response, operation|
950
+ yield response, operation if block_given?
951
+ end
952
+ rescue ::GRPC::BadStatus => e
953
+ raise ::Google::Cloud::Error.from_error(e)
954
+ end
955
+
868
956
  ##
869
957
  # Reschedules upcoming maintenance event.
870
958
  #
@@ -1874,6 +1962,11 @@ module Google
1874
1962
  #
1875
1963
  attr_reader :get_cluster_certificate_authority
1876
1964
  ##
1965
+ # RPC-specific configuration for `get_shared_regional_certificate_authority`
1966
+ # @return [::Gapic::Config::Method]
1967
+ #
1968
+ attr_reader :get_shared_regional_certificate_authority
1969
+ ##
1877
1970
  # RPC-specific configuration for `reschedule_cluster_maintenance`
1878
1971
  # @return [::Gapic::Config::Method]
1879
1972
  #
@@ -1928,6 +2021,8 @@ module Google
1928
2021
  @create_cluster = ::Gapic::Config::Method.new create_cluster_config
1929
2022
  get_cluster_certificate_authority_config = parent_rpcs.get_cluster_certificate_authority if parent_rpcs.respond_to? :get_cluster_certificate_authority
1930
2023
  @get_cluster_certificate_authority = ::Gapic::Config::Method.new get_cluster_certificate_authority_config
2024
+ get_shared_regional_certificate_authority_config = parent_rpcs.get_shared_regional_certificate_authority if parent_rpcs.respond_to? :get_shared_regional_certificate_authority
2025
+ @get_shared_regional_certificate_authority = ::Gapic::Config::Method.new get_shared_regional_certificate_authority_config
1931
2026
  reschedule_cluster_maintenance_config = parent_rpcs.reschedule_cluster_maintenance if parent_rpcs.respond_to? :reschedule_cluster_maintenance
1932
2027
  @reschedule_cluster_maintenance = ::Gapic::Config::Method.new reschedule_cluster_maintenance_config
1933
2028
  list_backup_collections_config = parent_rpcs.list_backup_collections if parent_rpcs.respond_to? :list_backup_collections
@@ -65,6 +65,25 @@ module Google
65
65
  "projects/#{project}/locations/#{location}/backupCollections/#{backup_collection}"
66
66
  end
67
67
 
68
+ ##
69
+ # Create a fully-qualified CaPool resource string.
70
+ #
71
+ # The resource will be in the following format:
72
+ #
73
+ # `projects/{project}/locations/{location}/caPools/{ca_pool}`
74
+ #
75
+ # @param project [String]
76
+ # @param location [String]
77
+ # @param ca_pool [String]
78
+ #
79
+ # @return [::String]
80
+ def ca_pool_path project:, location:, ca_pool:
81
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
82
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
83
+
84
+ "projects/#{project}/locations/#{location}/caPools/#{ca_pool}"
85
+ end
86
+
68
87
  ##
69
88
  # Create a fully-qualified CertificateAuthority resource string.
70
89
  #
@@ -219,6 +238,23 @@ module Google
219
238
  "projects/#{project}/regions/#{region}/serviceAttachments/#{service_attachment}"
220
239
  end
221
240
 
241
+ ##
242
+ # Create a fully-qualified SharedRegionalCertificateAuthority resource string.
243
+ #
244
+ # The resource will be in the following format:
245
+ #
246
+ # `projects/{project}/locations/{location}/sharedRegionalCertificateAuthority`
247
+ #
248
+ # @param project [String]
249
+ # @param location [String]
250
+ #
251
+ # @return [::String]
252
+ def shared_regional_certificate_authority_path project:, location:
253
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
254
+
255
+ "projects/#{project}/locations/#{location}/sharedRegionalCertificateAuthority"
256
+ end
257
+
222
258
  extend self
223
259
  end
224
260
  end
@@ -817,6 +817,87 @@ module Google
817
817
  raise ::Google::Cloud::Error.from_error(e)
818
818
  end
819
819
 
820
+ ##
821
+ # Gets the details of regional certificate authority information for Redis
822
+ # cluster.
823
+ #
824
+ # @overload get_shared_regional_certificate_authority(request, options = nil)
825
+ # Pass arguments to `get_shared_regional_certificate_authority` via a request object, either of type
826
+ # {::Google::Cloud::Redis::Cluster::V1beta1::GetSharedRegionalCertificateAuthorityRequest} or an equivalent Hash.
827
+ #
828
+ # @param request [::Google::Cloud::Redis::Cluster::V1beta1::GetSharedRegionalCertificateAuthorityRequest, ::Hash]
829
+ # A request object representing the call parameters. Required. To specify no
830
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
831
+ # @param options [::Gapic::CallOptions, ::Hash]
832
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
833
+ #
834
+ # @overload get_shared_regional_certificate_authority(name: nil)
835
+ # Pass arguments to `get_shared_regional_certificate_authority` via keyword arguments. Note that at
836
+ # least one keyword argument is required. To specify no parameters, or to keep all
837
+ # the default parameter values, pass an empty Hash as a request object (see above).
838
+ #
839
+ # @param name [::String]
840
+ # Required. Regional certificate authority resource name using the form:
841
+ # `projects/{project_id}/locations/{location_id}/sharedRegionalCertificateAuthority`
842
+ # where `location_id` refers to a Google Cloud region.
843
+ # @yield [result, operation] Access the result along with the TransportOperation object
844
+ # @yieldparam result [::Google::Cloud::Redis::Cluster::V1beta1::SharedRegionalCertificateAuthority]
845
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
846
+ #
847
+ # @return [::Google::Cloud::Redis::Cluster::V1beta1::SharedRegionalCertificateAuthority]
848
+ #
849
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
850
+ #
851
+ # @example Basic example
852
+ # require "google/cloud/redis/cluster/v1beta1"
853
+ #
854
+ # # Create a client object. The client can be reused for multiple calls.
855
+ # client = Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::Rest::Client.new
856
+ #
857
+ # # Create a request. To set request fields, pass in keyword arguments.
858
+ # request = Google::Cloud::Redis::Cluster::V1beta1::GetSharedRegionalCertificateAuthorityRequest.new
859
+ #
860
+ # # Call the get_shared_regional_certificate_authority method.
861
+ # result = client.get_shared_regional_certificate_authority request
862
+ #
863
+ # # The returned object is of type Google::Cloud::Redis::Cluster::V1beta1::SharedRegionalCertificateAuthority.
864
+ # p result
865
+ #
866
+ def get_shared_regional_certificate_authority request, options = nil
867
+ raise ::ArgumentError, "request must be provided" if request.nil?
868
+
869
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Redis::Cluster::V1beta1::GetSharedRegionalCertificateAuthorityRequest
870
+
871
+ # Converts hash and nil to an options object
872
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
873
+
874
+ # Customize the options with defaults
875
+ call_metadata = @config.rpcs.get_shared_regional_certificate_authority.metadata.to_h
876
+
877
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
878
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
879
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
880
+ gapic_version: ::Google::Cloud::Redis::Cluster::V1beta1::VERSION,
881
+ transports_version_send: [:rest]
882
+
883
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
884
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
885
+
886
+ options.apply_defaults timeout: @config.rpcs.get_shared_regional_certificate_authority.timeout,
887
+ metadata: call_metadata,
888
+ retry_policy: @config.rpcs.get_shared_regional_certificate_authority.retry_policy
889
+
890
+ options.apply_defaults timeout: @config.timeout,
891
+ metadata: @config.metadata,
892
+ retry_policy: @config.retry_policy
893
+
894
+ @cloud_redis_cluster_stub.get_shared_regional_certificate_authority request, options do |result, operation|
895
+ yield result, operation if block_given?
896
+ end
897
+ rescue ::Gapic::Rest::Error => e
898
+ raise ::Google::Cloud::Error.from_error(e)
899
+ end
900
+
820
901
  ##
821
902
  # Reschedules upcoming maintenance event.
822
903
  #
@@ -1740,6 +1821,11 @@ module Google
1740
1821
  #
1741
1822
  attr_reader :get_cluster_certificate_authority
1742
1823
  ##
1824
+ # RPC-specific configuration for `get_shared_regional_certificate_authority`
1825
+ # @return [::Gapic::Config::Method]
1826
+ #
1827
+ attr_reader :get_shared_regional_certificate_authority
1828
+ ##
1743
1829
  # RPC-specific configuration for `reschedule_cluster_maintenance`
1744
1830
  # @return [::Gapic::Config::Method]
1745
1831
  #
@@ -1794,6 +1880,8 @@ module Google
1794
1880
  @create_cluster = ::Gapic::Config::Method.new create_cluster_config
1795
1881
  get_cluster_certificate_authority_config = parent_rpcs.get_cluster_certificate_authority if parent_rpcs.respond_to? :get_cluster_certificate_authority
1796
1882
  @get_cluster_certificate_authority = ::Gapic::Config::Method.new get_cluster_certificate_authority_config
1883
+ get_shared_regional_certificate_authority_config = parent_rpcs.get_shared_regional_certificate_authority if parent_rpcs.respond_to? :get_shared_regional_certificate_authority
1884
+ @get_shared_regional_certificate_authority = ::Gapic::Config::Method.new get_shared_regional_certificate_authority_config
1797
1885
  reschedule_cluster_maintenance_config = parent_rpcs.reschedule_cluster_maintenance if parent_rpcs.respond_to? :reschedule_cluster_maintenance
1798
1886
  @reschedule_cluster_maintenance = ::Gapic::Config::Method.new reschedule_cluster_maintenance_config
1799
1887
  list_backup_collections_config = parent_rpcs.list_backup_collections if parent_rpcs.respond_to? :list_backup_collections
@@ -314,6 +314,46 @@ module Google
314
314
  end
315
315
  end
316
316
 
317
+ ##
318
+ # Baseline implementation for the get_shared_regional_certificate_authority REST call
319
+ #
320
+ # @param request_pb [::Google::Cloud::Redis::Cluster::V1beta1::GetSharedRegionalCertificateAuthorityRequest]
321
+ # A request object representing the call parameters. Required.
322
+ # @param options [::Gapic::CallOptions]
323
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
324
+ #
325
+ # @yield [result, operation] Access the result along with the TransportOperation object
326
+ # @yieldparam result [::Google::Cloud::Redis::Cluster::V1beta1::SharedRegionalCertificateAuthority]
327
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
328
+ #
329
+ # @return [::Google::Cloud::Redis::Cluster::V1beta1::SharedRegionalCertificateAuthority]
330
+ # A result object deserialized from the server's reply
331
+ def get_shared_regional_certificate_authority request_pb, options = nil
332
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
333
+
334
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_shared_regional_certificate_authority_request request_pb
335
+ query_string_params = if query_string_params.any?
336
+ query_string_params.to_h { |p| p.split "=", 2 }
337
+ else
338
+ {}
339
+ end
340
+
341
+ response = @client_stub.make_http_request(
342
+ verb,
343
+ uri: uri,
344
+ body: body || "",
345
+ params: query_string_params,
346
+ method_name: "get_shared_regional_certificate_authority",
347
+ options: options
348
+ )
349
+ operation = ::Gapic::Rest::TransportOperation.new response
350
+ result = ::Google::Cloud::Redis::Cluster::V1beta1::SharedRegionalCertificateAuthority.decode_json response.body, ignore_unknown_fields: true
351
+ catch :response do
352
+ yield result, operation if block_given?
353
+ result
354
+ end
355
+ end
356
+
317
357
  ##
318
358
  # Baseline implementation for the reschedule_cluster_maintenance REST call
319
359
  #
@@ -762,6 +802,27 @@ module Google
762
802
  transcoder.transcode request_pb
763
803
  end
764
804
 
805
+ ##
806
+ # @private
807
+ #
808
+ # GRPC transcoding helper method for the get_shared_regional_certificate_authority REST call
809
+ #
810
+ # @param request_pb [::Google::Cloud::Redis::Cluster::V1beta1::GetSharedRegionalCertificateAuthorityRequest]
811
+ # A request object representing the call parameters. Required.
812
+ # @return [Array(String, [String, nil], Hash{String => String})]
813
+ # Uri, Body, Query string parameters
814
+ def self.transcode_get_shared_regional_certificate_authority_request request_pb
815
+ transcoder = Gapic::Rest::GrpcTranscoder.new
816
+ .with_bindings(
817
+ uri_method: :get,
818
+ uri_template: "/v1beta1/{name}",
819
+ matches: [
820
+ ["name", %r{^projects/[^/]+/locations/[^/]+/sharedRegionalCertificateAuthority/?$}, false]
821
+ ]
822
+ )
823
+ transcoder.transcode request_pb
824
+ end
825
+
765
826
  ##
766
827
  # @private
767
828
  #
@@ -19,7 +19,7 @@ require 'google/type/dayofweek_pb'
19
19
  require 'google/type/timeofday_pb'
20
20
 
21
21
 
22
- descriptor_data = "\n<google/cloud/redis/cluster/v1beta1/cloud_redis_cluster.proto\x12\"google.cloud.redis.cluster.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\xc1\x01\n\x14\x43reateClusterRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x07\x63luster\x18\x03 \x01(\x0b\x32+.google.cloud.redis.cluster.v1beta1.ClusterB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"w\n\x13ListClustersRequest\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\"\x83\x01\n\x14ListClustersResponse\x12=\n\x08\x63lusters\x18\x01 \x03(\x0b\x32+.google.cloud.redis.cluster.v1beta1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xa3\x01\n\x14UpdateClusterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x41\n\x07\x63luster\x18\x02 \x01(\x0b\x32+.google.cloud.redis.cluster.v1beta1.ClusterB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"G\n\x11GetClusterRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1credis.googleapis.com/Cluster\"^\n\x14\x44\x65leteClusterRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1credis.googleapis.com/Cluster\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"h\n%GetClusterCertificateAuthorityRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)redis.googleapis.com/CertificateAuthority\"\x8e\x01\n\x1cListBackupCollectionsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%redis.googleapis.com/BackupCollection\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x9f\x01\n\x1dListBackupCollectionsResponse\x12P\n\x12\x62\x61\x63kup_collections\x18\x01 \x03(\x0b\x32\x34.google.cloud.redis.cluster.v1beta1.BackupCollection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Y\n\x1aGetBackupCollectionRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%redis.googleapis.com/BackupCollection\"z\n\x12ListBackupsRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1bredis.googleapis.com/Backup\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x80\x01\n\x13ListBackupsResponse\x12;\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32*.google.cloud.redis.cluster.v1beta1.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"E\n\x10GetBackupRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bredis.googleapis.com/Backup\"i\n\x13\x44\x65leteBackupRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bredis.googleapis.com/Backup\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"m\n\x13\x45xportBackupRequest\x12\x14\n\ngcs_bucket\x18\x03 \x01(\tH\x00\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bredis.googleapis.com/BackupB\r\n\x0b\x64\x65stination\"\xa2\x01\n\x14\x42\x61\x63kupClusterRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1credis.googleapis.com/Cluster\x12+\n\x03ttl\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x1b\n\tbackup_id\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x0c\n\n_backup_id\"\xb9\x17\n\x07\x43luster\x12V\n\ngcs_source\x18\" \x01(\x0b\x32;.google.cloud.redis.cluster.v1beta1.Cluster.GcsBackupSourceB\x03\xe0\x41\x01H\x00\x12\x65\n\x15managed_backup_source\x18# \x01(\x0b\x32?.google.cloud.redis.cluster.v1beta1.Cluster.ManagedBackupSourceB\x03\xe0\x41\x01H\x00\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x05state\x18\x04 \x01(\x0e\x32\x31.google.cloud.redis.cluster.v1beta1.Cluster.StateB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\rreplica_count\x18\x08 \x01(\x05\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12V\n\x12\x61uthorization_mode\x18\x0b \x01(\x0e\x32\x35.google.cloud.redis.cluster.v1beta1.AuthorizationModeB\x03\xe0\x41\x01\x12_\n\x17transit_encryption_mode\x18\x0c \x01(\x0e\x32\x39.google.cloud.redis.cluster.v1beta1.TransitEncryptionModeB\x03\xe0\x41\x01\x12\x19\n\x07size_gb\x18\r \x01(\x05\x42\x03\xe0\x41\x03H\x02\x88\x01\x01\x12\x1d\n\x0bshard_count\x18\x0e \x01(\x05\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x12G\n\x0bpsc_configs\x18\x0f \x03(\x0b\x32-.google.cloud.redis.cluster.v1beta1.PscConfigB\x03\xe0\x41\x01\x12W\n\x13\x64iscovery_endpoints\x18\x10 \x03(\x0b\x32\x35.google.cloud.redis.cluster.v1beta1.DiscoveryEndpointB\x03\xe0\x41\x03\x12O\n\x0fpsc_connections\x18\x11 \x03(\x0b\x32\x31.google.cloud.redis.cluster.v1beta1.PscConnectionB\x03\xe0\x41\x03\x12N\n\nstate_info\x18\x12 \x01(\x0b\x32\x35.google.cloud.redis.cluster.v1beta1.Cluster.StateInfoB\x03\xe0\x41\x03\x12\x44\n\tnode_type\x18\x13 \x01(\x0e\x32,.google.cloud.redis.cluster.v1beta1.NodeTypeB\x03\xe0\x41\x01\x12]\n\x12persistence_config\x18\x14 \x01(\x0b\x32<.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfigB\x03\xe0\x41\x01\x12Y\n\rredis_configs\x18\x15 \x03(\x0b\x32=.google.cloud.redis.cluster.v1beta1.Cluster.RedisConfigsEntryB\x03\xe0\x41\x01\x12!\n\x0fprecise_size_gb\x18\x16 \x01(\x01\x42\x03\xe0\x41\x03H\x04\x88\x01\x01\x12\x61\n\x18zone_distribution_config\x18\x17 \x01(\x0b\x32:.google.cloud.redis.cluster.v1beta1.ZoneDistributionConfigB\x03\xe0\x41\x01\x12p\n cross_cluster_replication_config\x18\x18 \x01(\x0b\x32\x41.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfigB\x03\xe0\x41\x01\x12-\n\x1b\x64\x65letion_protection_enabled\x18\x19 \x01(\x08\x42\x03\xe0\x41\x01H\x05\x88\x01\x01\x12\x62\n\x12maintenance_policy\x18\x1a \x01(\x0b\x32<.google.cloud.redis.cluster.v1beta1.ClusterMaintenancePolicyB\x03\xe0\x41\x01H\x06\x88\x01\x01\x12\x66\n\x14maintenance_schedule\x18\x1b \x01(\x0b\x32>.google.cloud.redis.cluster.v1beta1.ClusterMaintenanceScheduleB\x03\xe0\x41\x03H\x07\x88\x01\x01\x12^\n\x17psc_service_attachments\x18\x1e \x03(\x0b\x32\x38.google.cloud.redis.cluster.v1beta1.PscServiceAttachmentB\x03\xe0\x41\x03\x12S\n\x11\x63luster_endpoints\x18$ \x03(\x0b\x32\x33.google.cloud.redis.cluster.v1beta1.ClusterEndpointB\x03\xe0\x41\x01\x12P\n\x11\x62\x61\x63kup_collection\x18\' \x01(\tB0\xe0\x41\x01\xe0\x41\x03\xfa\x41\'\n%redis.googleapis.com/BackupCollectionH\x08\x88\x01\x01\x12?\n\x07kms_key\x18( \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKeyH\t\x88\x01\x01\x12_\n\x17\x61utomated_backup_config\x18* \x01(\x0b\x32\x39.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfigB\x03\xe0\x41\x01\x12P\n\x0f\x65ncryption_info\x18+ \x01(\x0b\x32\x32.google.cloud.redis.cluster.v1beta1.EncryptionInfoB\x03\xe0\x41\x03\x1a\xef\x01\n\tStateInfo\x12W\n\x0bupdate_info\x18\x01 \x01(\x0b\x32@.google.cloud.redis.cluster.v1beta1.Cluster.StateInfo.UpdateInfoH\x00\x1a\x80\x01\n\nUpdateInfo\x12\x1f\n\x12target_shard_count\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12!\n\x14target_replica_count\x18\x02 \x01(\x05H\x01\x88\x01\x01\x42\x15\n\x13_target_shard_countB\x17\n\x15_target_replica_countB\x06\n\x04info\x1a$\n\x0fGcsBackupSource\x12\x11\n\x04uris\x18\x01 \x03(\tB\x03\xe0\x41\x01\x1a*\n\x13ManagedBackupSource\x12\x13\n\x06\x62\x61\x63kup\x18\x01 \x01(\tB\x03\xe0\x41\x01\x1a\x33\n\x11RedisConfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04:p\xea\x41m\n\x1credis.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}*\x08\x63lusters2\x07\x63lusterB\x10\n\x0eimport_sourcesB\x10\n\x0e_replica_countB\n\n\x08_size_gbB\x0e\n\x0c_shard_countB\x12\n\x10_precise_size_gbB\x1e\n\x1c_deletion_protection_enabledB\x15\n\x13_maintenance_policyB\x17\n\x15_maintenance_scheduleB\x14\n\x12_backup_collectionB\n\n\x08_kms_key\"\x8f\x04\n\x15\x41utomatedBackupConfig\x12y\n\x18\x66ixed_frequency_schedule\x18\x02 \x01(\x0b\x32P.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.FixedFrequencyScheduleB\x03\xe0\x41\x01H\x00\x12q\n\x15\x61utomated_backup_mode\x18\x01 \x01(\x0e\x32M.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.AutomatedBackupModeB\x03\xe0\x41\x01\x12\x36\n\tretention\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01H\x01\x88\x01\x01\x1a]\n\x16\x46ixedFrequencySchedule\x12\x34\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x02H\x00\x88\x01\x01\x42\r\n\x0b_start_time\"W\n\x13\x41utomatedBackupMode\x12%\n!AUTOMATED_BACKUP_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x42\n\n\x08scheduleB\x0c\n\n_retention\"\xf6\x02\n\x10\x42\x61\x63kupCollection\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12 \n\x0b\x63luster_uid\x18\x03 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x35\n\x07\x63luster\x18\x04 \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1credis.googleapis.com/Cluster\x12:\n\x07kms_key\x18\x05 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x18\n\x03uid\x18\x06 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01:\x9f\x01\xea\x41\x9b\x01\n%redis.googleapis.com/BackupCollection\x12Mprojects/{project}/locations/{location}/backupCollections/{backup_collection}*\x11\x62\x61\x63kupCollections2\x10\x62\x61\x63kupCollection\"\x9b\x08\n\x06\x42\x61\x63kup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x07\x63luster\x18\x03 \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1credis.googleapis.com/Cluster\x12 \n\x0b\x63luster_uid\x18\x04 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1d\n\x10total_size_bytes\x18\x05 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1b\n\x0e\x65ngine_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12I\n\x0c\x62\x61\x63kup_files\x18\x08 \x03(\x0b\x32..google.cloud.redis.cluster.v1beta1.BackupFileB\x03\xe0\x41\x03\x12\x44\n\tnode_type\x18\t \x01(\x0e\x32,.google.cloud.redis.cluster.v1beta1.NodeTypeB\x03\xe0\x41\x03\x12\x1a\n\rreplica_count\x18\n \x01(\x05\x42\x03\xe0\x41\x03\x12\x18\n\x0bshard_count\x18\x0b \x01(\x05\x42\x03\xe0\x41\x03\x12O\n\x0b\x62\x61\x63kup_type\x18\x0c \x01(\x0e\x32\x35.google.cloud.redis.cluster.v1beta1.Backup.BackupTypeB\x03\xe0\x41\x03\x12\x44\n\x05state\x18\r \x01(\x0e\x32\x30.google.cloud.redis.cluster.v1beta1.Backup.StateB\x03\xe0\x41\x03\x12P\n\x0f\x65ncryption_info\x18\x0e \x01(\x0b\x32\x32.google.cloud.redis.cluster.v1beta1.EncryptionInfoB\x03\xe0\x41\x03\x12\x18\n\x03uid\x18\x0f \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"G\n\nBackupType\x12\x1b\n\x17\x42\x41\x43KUP_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tON_DEMAND\x10\x01\x12\r\n\tAUTOMATED\x10\x02\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\r\n\tSUSPENDED\x10\x04:\x92\x01\xea\x41\x8e\x01\n\x1bredis.googleapis.com/Backup\x12^projects/{project}/locations/{location}/backupCollections/{backup_collection}/backups/{backup}*\x07\x62\x61\x63kups2\x06\x62\x61\x63kup\"s\n\nBackupFile\x12\x16\n\tfile_name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nsize_bytes\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\x89\x01\n\x14PscServiceAttachment\x12\x1f\n\x12service_attachment\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12P\n\x0f\x63onnection_type\x18\x03 \x01(\x0e\x32\x32.google.cloud.redis.cluster.v1beta1.ConnectionTypeB\x03\xe0\x41\x03\"\x92\x07\n\x1d\x43rossClusterReplicationConfig\x12\x63\n\x0c\x63luster_role\x18\x01 \x01(\x0e\x32M.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.ClusterRole\x12h\n\x0fprimary_cluster\x18\x02 \x01(\x0b\x32O.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster\x12k\n\x12secondary_clusters\x18\x03 \x03(\x0b\x32O.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x65\n\nmembership\x18\x05 \x01(\x0b\x32L.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.MembershipB\x03\xe0\x41\x03\x1aU\n\rRemoteCluster\x12\x32\n\x07\x63luster\x18\x01 \x01(\tB!\xfa\x41\x1e\n\x1credis.googleapis.com/Cluster\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x1a\xed\x01\n\nMembership\x12m\n\x0fprimary_cluster\x18\x01 \x01(\x0b\x32O.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteClusterB\x03\xe0\x41\x03\x12p\n\x12secondary_clusters\x18\x02 \x03(\x0b\x32O.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteClusterB\x03\xe0\x41\x03\"Q\n\x0b\x43lusterRole\x12\x1c\n\x18\x43LUSTER_ROLE_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x0b\n\x07PRIMARY\x10\x02\x12\r\n\tSECONDARY\x10\x03\"\xed\x01\n\x18\x43lusterMaintenancePolicy\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\x65\n\x19weekly_maintenance_window\x18\x03 \x03(\x0b\x32\x42.google.cloud.redis.cluster.v1beta1.ClusterWeeklyMaintenanceWindow\"q\n\x1e\x43lusterWeeklyMaintenanceWindow\x12#\n\x03\x64\x61y\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeek\x12*\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDay\"\x84\x01\n\x1a\x43lusterMaintenanceSchedule\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\"!\n\tPscConfig\x12\x14\n\x07network\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x84\x01\n\x11\x44iscoveryEndpoint\x12\x14\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04port\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x46\n\npsc_config\x18\x03 \x01(\x0b\x32-.google.cloud.redis.cluster.v1beta1.PscConfigB\x03\xe0\x41\x03\"\xe4\x03\n\rPscConnection\x12\x1e\n\x11psc_connection_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x0b\xe0\x41\x02\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12\x46\n\x0f\x66orwarding_rule\x18\x03 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%compute.googleapis.com/ForwardingRule\x12\x17\n\nproject_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x37\n\x07network\x18\x05 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12L\n\x12service_attachment\x18\x06 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(compute.googleapis.com/ServiceAttachment\x12[\n\x15psc_connection_status\x18\x08 \x01(\x0e\x32\x37.google.cloud.redis.cluster.v1beta1.PscConnectionStatusB\x03\xe0\x41\x03\x12P\n\x0f\x63onnection_type\x18\n \x01(\x0e\x32\x32.google.cloud.redis.cluster.v1beta1.ConnectionTypeB\x03\xe0\x41\x03\"\\\n\x0f\x43lusterEndpoint\x12I\n\x0b\x63onnections\x18\x01 \x03(\x0b\x32\x34.google.cloud.redis.cluster.v1beta1.ConnectionDetail\"\xc3\x01\n\x10\x43onnectionDetail\x12T\n\x13psc_auto_connection\x18\x01 \x01(\x0b\x32\x35.google.cloud.redis.cluster.v1beta1.PscAutoConnectionH\x00\x12K\n\x0epsc_connection\x18\x02 \x01(\x0b\x32\x31.google.cloud.redis.cluster.v1beta1.PscConnectionH\x00\x42\x0c\n\nconnection\"\xe8\x03\n\x11PscAutoConnection\x12\x1e\n\x11psc_connection_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12\x46\n\x0f\x66orwarding_rule\x18\x03 \x01(\tB-\xe0\x41\x03\xfa\x41\'\n%compute.googleapis.com/ForwardingRule\x12\x17\n\nproject_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x07network\x18\x05 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12L\n\x12service_attachment\x18\x06 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(compute.googleapis.com/ServiceAttachment\x12[\n\x15psc_connection_status\x18\x08 \x01(\x0e\x32\x37.google.cloud.redis.cluster.v1beta1.PscConnectionStatusB\x03\xe0\x41\x03\x12P\n\x0f\x63onnection_type\x18\t \x01(\x0e\x32\x32.google.cloud.redis.cluster.v1beta1.ConnectionTypeB\x03\xe0\x41\x03\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_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\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\x8f\x04\n\x14\x43\x65rtificateAuthority\x12q\n\x11managed_server_ca\x18\x01 \x01(\x0b\x32T.google.cloud.redis.cluster.v1beta1.CertificateAuthority.ManagedCertificateAuthorityH\x00\x12\x11\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x08\x1a\xb2\x01\n\x1bManagedCertificateAuthority\x12p\n\x08\x63\x61_certs\x18\x01 \x03(\x0b\x32^.google.cloud.redis.cluster.v1beta1.CertificateAuthority.ManagedCertificateAuthority.CertChain\x1a!\n\tCertChain\x12\x14\n\x0c\x63\x65rtificates\x18\x01 \x03(\t:\xae\x01\xea\x41\xaa\x01\n)redis.googleapis.com/CertificateAuthority\x12Oprojects/{project}/locations/{location}/clusters/{cluster}/certificateAuthority*\x16\x63\x65rtificateAuthorities2\x14\x63\x65rtificateAuthorityB\x0b\n\tserver_ca\"\xa0\x07\n\x18\x43lusterPersistenceConfig\x12_\n\x04mode\x18\x01 \x01(\x0e\x32L.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.PersistenceModeB\x03\xe0\x41\x01\x12_\n\nrdb_config\x18\x02 \x01(\x0b\x32\x46.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfigB\x03\xe0\x41\x01\x12_\n\naof_config\x18\x03 \x01(\x0b\x32\x46.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfigB\x03\xe0\x41\x01\x1a\xbf\x02\n\tRDBConfig\x12w\n\x13rdb_snapshot_period\x18\x01 \x01(\x0e\x32U.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig.SnapshotPeriodB\x03\xe0\x41\x01\x12@\n\x17rdb_snapshot_start_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"w\n\x0eSnapshotPeriod\x12\x1f\n\x1bSNAPSHOT_PERIOD_UNSPECIFIED\x10\x00\x12\x0c\n\x08ONE_HOUR\x10\x01\x12\r\n\tSIX_HOURS\x10\x02\x12\x10\n\x0cTWELVE_HOURS\x10\x03\x12\x15\n\x11TWENTY_FOUR_HOURS\x10\x04\x1a\xc9\x01\n\tAOFConfig\x12m\n\x0c\x61ppend_fsync\x18\x01 \x01(\x0e\x32R.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig.AppendFsyncB\x03\xe0\x41\x01\"M\n\x0b\x41ppendFsync\x12\x1c\n\x18\x41PPEND_FSYNC_UNSPECIFIED\x10\x00\x12\x06\n\x02NO\x10\x01\x12\x0c\n\x08\x45VERYSEC\x10\x02\x12\n\n\x06\x41LWAYS\x10\x03\"S\n\x0fPersistenceMode\x12 \n\x1cPERSISTENCE_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x07\n\x03RDB\x10\x02\x12\x07\n\x03\x41OF\x10\x03\"\xf0\x01\n\x16ZoneDistributionConfig\x12\x62\n\x04mode\x18\x01 \x01(\x0e\x32O.google.cloud.redis.cluster.v1beta1.ZoneDistributionConfig.ZoneDistributionModeB\x03\xe0\x41\x01\x12\x11\n\x04zone\x18\x02 \x01(\tB\x03\xe0\x41\x01\"_\n\x14ZoneDistributionMode\x12&\n\"ZONE_DISTRIBUTION_MODE_UNSPECIFIED\x10\x00\x12\x0e\n\nMULTI_ZONE\x10\x01\x12\x0f\n\x0bSINGLE_ZONE\x10\x02\"\xdc\x02\n#RescheduleClusterMaintenanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1credis.googleapis.com/Cluster\x12t\n\x0freschedule_type\x18\x02 \x01(\x0e\x32V.google.cloud.redis.cluster.v1beta1.RescheduleClusterMaintenanceRequest.RescheduleTypeB\x03\xe0\x41\x02\x12\x36\n\rschedule_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"S\n\x0eRescheduleType\x12\x1f\n\x1bRESCHEDULE_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tIMMEDIATE\x10\x01\x12\x11\n\rSPECIFIC_TIME\x10\x03\"\x84\x05\n\x0e\x45ncryptionInfo\x12U\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32\x37.google.cloud.redis.cluster.v1beta1.EncryptionInfo.TypeB\x03\xe0\x41\x03\x12J\n\x10kms_key_versions\x18\x02 \x03(\tB0\xe0\x41\x03\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\x12\x62\n\x15kms_key_primary_state\x18\x03 \x01(\x0e\x32>.google.cloud.redis.cluster.v1beta1.EncryptionInfo.KmsKeyStateB\x03\xe0\x41\x03\x12\x39\n\x10last_update_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\\\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19GOOGLE_DEFAULT_ENCRYPTION\x10\x01\x12\x1f\n\x1b\x43USTOMER_MANAGED_ENCRYPTION\x10\x02\"\xd1\x01\n\x0bKmsKeyState\x12\x1d\n\x19KMS_KEY_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x15\n\x11PERMISSION_DENIED\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03\x12\r\n\tDESTROYED\x10\x04\x12\x15\n\x11\x44\x45STROY_SCHEDULED\x10\x05\x12 \n\x1c\x45KM_KEY_UNREACHABLE_DETECTED\x10\x06\x12\x14\n\x10\x42ILLING_DISABLED\x10\x07\x12\x13\n\x0fUNKNOWN_FAILURE\x10\x08*\x83\x01\n\x13PscConnectionStatus\x12%\n!PSC_CONNECTION_STATUS_UNSPECIFIED\x10\x00\x12 \n\x1cPSC_CONNECTION_STATUS_ACTIVE\x10\x01\x12#\n\x1fPSC_CONNECTION_STATUS_NOT_FOUND\x10\x02*^\n\x11\x41uthorizationMode\x12\x19\n\x15\x41UTH_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x41UTH_MODE_IAM_AUTH\x10\x01\x12\x16\n\x12\x41UTH_MODE_DISABLED\x10\x02*\x8f\x01\n\x08NodeType\x12\x19\n\x15NODE_TYPE_UNSPECIFIED\x10\x00\x12\x1a\n\x16REDIS_SHARED_CORE_NANO\x10\x01\x12\x18\n\x14REDIS_HIGHMEM_MEDIUM\x10\x02\x12\x18\n\x14REDIS_HIGHMEM_XLARGE\x10\x03\x12\x18\n\x14REDIS_STANDARD_SMALL\x10\x04*\x99\x01\n\x15TransitEncryptionMode\x12\'\n#TRANSIT_ENCRYPTION_MODE_UNSPECIFIED\x10\x00\x12$\n TRANSIT_ENCRYPTION_MODE_DISABLED\x10\x01\x12\x31\n-TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION\x10\x02*\x89\x01\n\x0e\x43onnectionType\x12\x1f\n\x1b\x43ONNECTION_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x43ONNECTION_TYPE_DISCOVERY\x10\x01\x12\x1b\n\x17\x43ONNECTION_TYPE_PRIMARY\x10\x02\x12\x1a\n\x16\x43ONNECTION_TYPE_READER\x10\x03\x32\xc4\x19\n\x11\x43loudRedisCluster\x12\xc5\x01\n\x0cListClusters\x12\x37.google.cloud.redis.cluster.v1beta1.ListClustersRequest\x1a\x38.google.cloud.redis.cluster.v1beta1.ListClustersResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1beta1/{parent=projects/*/locations/*}/clusters\x12\xb2\x01\n\nGetCluster\x12\x35.google.cloud.redis.cluster.v1beta1.GetClusterRequest\x1a+.google.cloud.redis.cluster.v1beta1.Cluster\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1beta1/{name=projects/*/locations/*/clusters/*}\x12\xec\x01\n\rUpdateCluster\x12\x38.google.cloud.redis.cluster.v1beta1.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\xca\x41\x1e\n\x07\x43luster\x12\x13google.protobuf.Any\xda\x41\x13\x63luster,update_mask\x82\xd3\xe4\x93\x02\x44\x32\x39/v1beta1/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\x12\xd9\x01\n\rDeleteCluster\x12\x38.google.cloud.redis.cluster.v1beta1.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41,\n\x15google.protobuf.Empty\x12\x13google.protobuf.Any\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1beta1/{name=projects/*/locations/*/clusters/*}\x12\xe9\x01\n\rCreateCluster\x12\x38.google.cloud.redis.cluster.v1beta1.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x1e\n\x07\x43luster\x12\x13google.protobuf.Any\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02<\"1/v1beta1/{parent=projects/*/locations/*}/clusters:\x07\x63luster\x12\xfc\x01\n\x1eGetClusterCertificateAuthority\x12I.google.cloud.redis.cluster.v1beta1.GetClusterCertificateAuthorityRequest\x1a\x38.google.cloud.redis.cluster.v1beta1.CertificateAuthority\"U\xda\x41\x04name\x82\xd3\xe4\x93\x02H\x12\x46/v1beta1/{name=projects/*/locations/*/clusters/*/certificateAuthority}\x12\xa8\x02\n\x1cRescheduleClusterMaintenance\x12G.google.cloud.redis.cluster.v1beta1.RescheduleClusterMaintenanceRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\xca\x41\x1e\n\x07\x43luster\x12\x13google.protobuf.Any\xda\x41\"name,reschedule_type,schedule_time\x82\xd3\xe4\x93\x02S\"N/v1beta1/{name=projects/*/locations/*/clusters/*}:rescheduleClusterMaintenance:\x01*\x12\xe9\x01\n\x15ListBackupCollections\x12@.google.cloud.redis.cluster.v1beta1.ListBackupCollectionsRequest\x1a\x41.google.cloud.redis.cluster.v1beta1.ListBackupCollectionsResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v1beta1/{parent=projects/*/locations/*}/backupCollections\x12\xd6\x01\n\x13GetBackupCollection\x12>.google.cloud.redis.cluster.v1beta1.GetBackupCollectionRequest\x1a\x34.google.cloud.redis.cluster.v1beta1.BackupCollection\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\x12:/v1beta1/{name=projects/*/locations/*/backupCollections/*}\x12\xd5\x01\n\x0bListBackups\x12\x36.google.cloud.redis.cluster.v1beta1.ListBackupsRequest\x1a\x37.google.cloud.redis.cluster.v1beta1.ListBackupsResponse\"U\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x46\x12\x44/v1beta1/{parent=projects/*/locations/*/backupCollections/*}/backups\x12\xc2\x01\n\tGetBackup\x12\x34.google.cloud.redis.cluster.v1beta1.GetBackupRequest\x1a*.google.cloud.redis.cluster.v1beta1.Backup\"S\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46\x12\x44/v1beta1/{name=projects/*/locations/*/backupCollections/*/backups/*}\x12\xeb\x01\n\x0c\x44\x65leteBackup\x12\x37.google.cloud.redis.cluster.v1beta1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\xca\x41,\n\x15google.protobuf.Empty\x12\x13google.protobuf.Any\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46*D/v1beta1/{name=projects/*/locations/*/backupCollections/*/backups/*}\x12\xde\x01\n\x0c\x45xportBackup\x12\x37.google.cloud.redis.cluster.v1beta1.ExportBackupRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41\x1d\n\x06\x42\x61\x63kup\x12\x13google.protobuf.Any\x82\xd3\xe4\x93\x02P\"K/v1beta1/{name=projects/*/locations/*/backupCollections/*/backups/*}:export:\x01*\x12\xd5\x01\n\rBackupCluster\x12\x38.google.cloud.redis.cluster.v1beta1.BackupClusterRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41\x1e\n\x07\x43luster\x12\x13google.protobuf.Any\xda\x41\x04name\x82\xd3\xe4\x93\x02=\"8/v1beta1/{name=projects/*/locations/*/clusters/*}:backup:\x01*\x1aH\xca\x41\x14redis.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8e\x06\n&com.google.cloud.redis.cluster.v1beta1B\x16\x43loudRedisClusterProtoP\x01Z@cloud.google.com/go/redis/cluster/apiv1beta1/clusterpb;clusterpb\xea\x02&Google::Cloud::Redis::Cluster::V1beta1\xea\x41n\n%compute.googleapis.com/ForwardingRule\x12\x45projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41w\n(compute.googleapis.com/ServiceAttachment\x12Kprojects/{project}/regions/{region}/serviceAttachments/{service_attachment}\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xea\x41\xa6\x01\n(cloudkms.googleapis.com/CryptoKeyVersion\x12zprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}b\x06proto3"
22
+ descriptor_data = "\n<google/cloud/redis/cluster/v1beta1/cloud_redis_cluster.proto\x12\"google.cloud.redis.cluster.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\xc1\x01\n\x14\x43reateClusterRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x07\x63luster\x18\x03 \x01(\x0b\x32+.google.cloud.redis.cluster.v1beta1.ClusterB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"w\n\x13ListClustersRequest\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\"\x83\x01\n\x14ListClustersResponse\x12=\n\x08\x63lusters\x18\x01 \x03(\x0b\x32+.google.cloud.redis.cluster.v1beta1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xa3\x01\n\x14UpdateClusterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x41\n\x07\x63luster\x18\x02 \x01(\x0b\x32+.google.cloud.redis.cluster.v1beta1.ClusterB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"G\n\x11GetClusterRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1credis.googleapis.com/Cluster\"^\n\x14\x44\x65leteClusterRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1credis.googleapis.com/Cluster\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"h\n%GetClusterCertificateAuthorityRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)redis.googleapis.com/CertificateAuthority\"\x8e\x01\n\x1cListBackupCollectionsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%redis.googleapis.com/BackupCollection\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x9f\x01\n\x1dListBackupCollectionsResponse\x12P\n\x12\x62\x61\x63kup_collections\x18\x01 \x03(\x0b\x32\x34.google.cloud.redis.cluster.v1beta1.BackupCollection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Y\n\x1aGetBackupCollectionRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%redis.googleapis.com/BackupCollection\"z\n\x12ListBackupsRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1bredis.googleapis.com/Backup\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x80\x01\n\x13ListBackupsResponse\x12;\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32*.google.cloud.redis.cluster.v1beta1.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"E\n\x10GetBackupRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bredis.googleapis.com/Backup\"i\n\x13\x44\x65leteBackupRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bredis.googleapis.com/Backup\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"m\n\x13\x45xportBackupRequest\x12\x14\n\ngcs_bucket\x18\x03 \x01(\tH\x00\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bredis.googleapis.com/BackupB\r\n\x0b\x64\x65stination\"\xa2\x01\n\x14\x42\x61\x63kupClusterRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1credis.googleapis.com/Cluster\x12+\n\x03ttl\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x1b\n\tbackup_id\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x0c\n\n_backup_id\"\xc7\x19\n\x07\x43luster\x12V\n\ngcs_source\x18\" \x01(\x0b\x32;.google.cloud.redis.cluster.v1beta1.Cluster.GcsBackupSourceB\x03\xe0\x41\x01H\x00\x12\x65\n\x15managed_backup_source\x18# \x01(\x0b\x32?.google.cloud.redis.cluster.v1beta1.Cluster.ManagedBackupSourceB\x03\xe0\x41\x01H\x00\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x05state\x18\x04 \x01(\x0e\x32\x31.google.cloud.redis.cluster.v1beta1.Cluster.StateB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\rreplica_count\x18\x08 \x01(\x05\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12V\n\x12\x61uthorization_mode\x18\x0b \x01(\x0e\x32\x35.google.cloud.redis.cluster.v1beta1.AuthorizationModeB\x03\xe0\x41\x01\x12_\n\x17transit_encryption_mode\x18\x0c \x01(\x0e\x32\x39.google.cloud.redis.cluster.v1beta1.TransitEncryptionModeB\x03\xe0\x41\x01\x12\x19\n\x07size_gb\x18\r \x01(\x05\x42\x03\xe0\x41\x03H\x02\x88\x01\x01\x12\x1d\n\x0bshard_count\x18\x0e \x01(\x05\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x12G\n\x0bpsc_configs\x18\x0f \x03(\x0b\x32-.google.cloud.redis.cluster.v1beta1.PscConfigB\x03\xe0\x41\x01\x12W\n\x13\x64iscovery_endpoints\x18\x10 \x03(\x0b\x32\x35.google.cloud.redis.cluster.v1beta1.DiscoveryEndpointB\x03\xe0\x41\x03\x12O\n\x0fpsc_connections\x18\x11 \x03(\x0b\x32\x31.google.cloud.redis.cluster.v1beta1.PscConnectionB\x03\xe0\x41\x03\x12N\n\nstate_info\x18\x12 \x01(\x0b\x32\x35.google.cloud.redis.cluster.v1beta1.Cluster.StateInfoB\x03\xe0\x41\x03\x12\x44\n\tnode_type\x18\x13 \x01(\x0e\x32,.google.cloud.redis.cluster.v1beta1.NodeTypeB\x03\xe0\x41\x01\x12]\n\x12persistence_config\x18\x14 \x01(\x0b\x32<.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfigB\x03\xe0\x41\x01\x12Y\n\rredis_configs\x18\x15 \x03(\x0b\x32=.google.cloud.redis.cluster.v1beta1.Cluster.RedisConfigsEntryB\x03\xe0\x41\x01\x12!\n\x0fprecise_size_gb\x18\x16 \x01(\x01\x42\x03\xe0\x41\x03H\x04\x88\x01\x01\x12\x61\n\x18zone_distribution_config\x18\x17 \x01(\x0b\x32:.google.cloud.redis.cluster.v1beta1.ZoneDistributionConfigB\x03\xe0\x41\x01\x12p\n cross_cluster_replication_config\x18\x18 \x01(\x0b\x32\x41.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfigB\x03\xe0\x41\x01\x12-\n\x1b\x64\x65letion_protection_enabled\x18\x19 \x01(\x08\x42\x03\xe0\x41\x01H\x05\x88\x01\x01\x12\x62\n\x12maintenance_policy\x18\x1a \x01(\x0b\x32<.google.cloud.redis.cluster.v1beta1.ClusterMaintenancePolicyB\x03\xe0\x41\x01H\x06\x88\x01\x01\x12\x66\n\x14maintenance_schedule\x18\x1b \x01(\x0b\x32>.google.cloud.redis.cluster.v1beta1.ClusterMaintenanceScheduleB\x03\xe0\x41\x03H\x07\x88\x01\x01\x12^\n\x17psc_service_attachments\x18\x1e \x03(\x0b\x32\x38.google.cloud.redis.cluster.v1beta1.PscServiceAttachmentB\x03\xe0\x41\x03\x12S\n\x11\x63luster_endpoints\x18$ \x03(\x0b\x32\x33.google.cloud.redis.cluster.v1beta1.ClusterEndpointB\x03\xe0\x41\x01\x12P\n\x11\x62\x61\x63kup_collection\x18\' \x01(\tB0\xe0\x41\x01\xe0\x41\x03\xfa\x41\'\n%redis.googleapis.com/BackupCollectionH\x08\x88\x01\x01\x12?\n\x07kms_key\x18( \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKeyH\t\x88\x01\x01\x12_\n\x17\x61utomated_backup_config\x18* \x01(\x0b\x32\x39.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfigB\x03\xe0\x41\x01\x12P\n\x0f\x65ncryption_info\x18+ \x01(\x0b\x32\x32.google.cloud.redis.cluster.v1beta1.EncryptionInfoB\x03\xe0\x41\x03\x12R\n\x0eserver_ca_mode\x18\x35 \x01(\x0e\x32\x30.google.cloud.redis.cluster.v1beta1.ServerCaModeB\x03\xe0\x41\x01H\n\x88\x01\x01\x12\x44\n\x0eserver_ca_pool\x18\x36 \x01(\tB\'\xe0\x41\x01\xfa\x41!\n\x1fprivateca.googleapis.com/CaPoolH\x0b\x88\x01\x01\x12.\n\x19rotate_server_certificate\x18\x37 \x01(\x08\x42\x06\xe0\x41\x01\xe0\x41\x04H\x0c\x88\x01\x01\x1a\xef\x01\n\tStateInfo\x12W\n\x0bupdate_info\x18\x01 \x01(\x0b\x32@.google.cloud.redis.cluster.v1beta1.Cluster.StateInfo.UpdateInfoH\x00\x1a\x80\x01\n\nUpdateInfo\x12\x1f\n\x12target_shard_count\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12!\n\x14target_replica_count\x18\x02 \x01(\x05H\x01\x88\x01\x01\x42\x15\n\x13_target_shard_countB\x17\n\x15_target_replica_countB\x06\n\x04info\x1a$\n\x0fGcsBackupSource\x12\x11\n\x04uris\x18\x01 \x03(\tB\x03\xe0\x41\x01\x1a*\n\x13ManagedBackupSource\x12\x13\n\x06\x62\x61\x63kup\x18\x01 \x01(\tB\x03\xe0\x41\x01\x1a\x33\n\x11RedisConfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04:p\xea\x41m\n\x1credis.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}*\x08\x63lusters2\x07\x63lusterB\x10\n\x0eimport_sourcesB\x10\n\x0e_replica_countB\n\n\x08_size_gbB\x0e\n\x0c_shard_countB\x12\n\x10_precise_size_gbB\x1e\n\x1c_deletion_protection_enabledB\x15\n\x13_maintenance_policyB\x17\n\x15_maintenance_scheduleB\x14\n\x12_backup_collectionB\n\n\x08_kms_keyB\x11\n\x0f_server_ca_modeB\x11\n\x0f_server_ca_poolB\x1c\n\x1a_rotate_server_certificate\"\x8f\x04\n\x15\x41utomatedBackupConfig\x12y\n\x18\x66ixed_frequency_schedule\x18\x02 \x01(\x0b\x32P.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.FixedFrequencyScheduleB\x03\xe0\x41\x01H\x00\x12q\n\x15\x61utomated_backup_mode\x18\x01 \x01(\x0e\x32M.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.AutomatedBackupModeB\x03\xe0\x41\x01\x12\x36\n\tretention\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01H\x01\x88\x01\x01\x1a]\n\x16\x46ixedFrequencySchedule\x12\x34\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x02H\x00\x88\x01\x01\x42\r\n\x0b_start_time\"W\n\x13\x41utomatedBackupMode\x12%\n!AUTOMATED_BACKUP_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x42\n\n\x08scheduleB\x0c\n\n_retention\"\xf6\x02\n\x10\x42\x61\x63kupCollection\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12 \n\x0b\x63luster_uid\x18\x03 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x35\n\x07\x63luster\x18\x04 \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1credis.googleapis.com/Cluster\x12:\n\x07kms_key\x18\x05 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x18\n\x03uid\x18\x06 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01:\x9f\x01\xea\x41\x9b\x01\n%redis.googleapis.com/BackupCollection\x12Mprojects/{project}/locations/{location}/backupCollections/{backup_collection}*\x11\x62\x61\x63kupCollections2\x10\x62\x61\x63kupCollection\"\x9b\x08\n\x06\x42\x61\x63kup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x07\x63luster\x18\x03 \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1credis.googleapis.com/Cluster\x12 \n\x0b\x63luster_uid\x18\x04 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1d\n\x10total_size_bytes\x18\x05 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1b\n\x0e\x65ngine_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12I\n\x0c\x62\x61\x63kup_files\x18\x08 \x03(\x0b\x32..google.cloud.redis.cluster.v1beta1.BackupFileB\x03\xe0\x41\x03\x12\x44\n\tnode_type\x18\t \x01(\x0e\x32,.google.cloud.redis.cluster.v1beta1.NodeTypeB\x03\xe0\x41\x03\x12\x1a\n\rreplica_count\x18\n \x01(\x05\x42\x03\xe0\x41\x03\x12\x18\n\x0bshard_count\x18\x0b \x01(\x05\x42\x03\xe0\x41\x03\x12O\n\x0b\x62\x61\x63kup_type\x18\x0c \x01(\x0e\x32\x35.google.cloud.redis.cluster.v1beta1.Backup.BackupTypeB\x03\xe0\x41\x03\x12\x44\n\x05state\x18\r \x01(\x0e\x32\x30.google.cloud.redis.cluster.v1beta1.Backup.StateB\x03\xe0\x41\x03\x12P\n\x0f\x65ncryption_info\x18\x0e \x01(\x0b\x32\x32.google.cloud.redis.cluster.v1beta1.EncryptionInfoB\x03\xe0\x41\x03\x12\x18\n\x03uid\x18\x0f \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"G\n\nBackupType\x12\x1b\n\x17\x42\x41\x43KUP_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tON_DEMAND\x10\x01\x12\r\n\tAUTOMATED\x10\x02\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\r\n\tSUSPENDED\x10\x04:\x92\x01\xea\x41\x8e\x01\n\x1bredis.googleapis.com/Backup\x12^projects/{project}/locations/{location}/backupCollections/{backup_collection}/backups/{backup}*\x07\x62\x61\x63kups2\x06\x62\x61\x63kup\"s\n\nBackupFile\x12\x16\n\tfile_name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nsize_bytes\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\x89\x01\n\x14PscServiceAttachment\x12\x1f\n\x12service_attachment\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12P\n\x0f\x63onnection_type\x18\x03 \x01(\x0e\x32\x32.google.cloud.redis.cluster.v1beta1.ConnectionTypeB\x03\xe0\x41\x03\"\x92\x07\n\x1d\x43rossClusterReplicationConfig\x12\x63\n\x0c\x63luster_role\x18\x01 \x01(\x0e\x32M.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.ClusterRole\x12h\n\x0fprimary_cluster\x18\x02 \x01(\x0b\x32O.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster\x12k\n\x12secondary_clusters\x18\x03 \x03(\x0b\x32O.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x65\n\nmembership\x18\x05 \x01(\x0b\x32L.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.MembershipB\x03\xe0\x41\x03\x1aU\n\rRemoteCluster\x12\x32\n\x07\x63luster\x18\x01 \x01(\tB!\xfa\x41\x1e\n\x1credis.googleapis.com/Cluster\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x1a\xed\x01\n\nMembership\x12m\n\x0fprimary_cluster\x18\x01 \x01(\x0b\x32O.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteClusterB\x03\xe0\x41\x03\x12p\n\x12secondary_clusters\x18\x02 \x03(\x0b\x32O.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteClusterB\x03\xe0\x41\x03\"Q\n\x0b\x43lusterRole\x12\x1c\n\x18\x43LUSTER_ROLE_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x0b\n\x07PRIMARY\x10\x02\x12\r\n\tSECONDARY\x10\x03\"\xed\x01\n\x18\x43lusterMaintenancePolicy\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\x65\n\x19weekly_maintenance_window\x18\x03 \x03(\x0b\x32\x42.google.cloud.redis.cluster.v1beta1.ClusterWeeklyMaintenanceWindow\"q\n\x1e\x43lusterWeeklyMaintenanceWindow\x12#\n\x03\x64\x61y\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeek\x12*\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDay\"\x84\x01\n\x1a\x43lusterMaintenanceSchedule\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\"!\n\tPscConfig\x12\x14\n\x07network\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x84\x01\n\x11\x44iscoveryEndpoint\x12\x14\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04port\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x46\n\npsc_config\x18\x03 \x01(\x0b\x32-.google.cloud.redis.cluster.v1beta1.PscConfigB\x03\xe0\x41\x03\"\xe4\x03\n\rPscConnection\x12\x1e\n\x11psc_connection_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x0b\xe0\x41\x02\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12\x46\n\x0f\x66orwarding_rule\x18\x03 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%compute.googleapis.com/ForwardingRule\x12\x17\n\nproject_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x37\n\x07network\x18\x05 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12L\n\x12service_attachment\x18\x06 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(compute.googleapis.com/ServiceAttachment\x12[\n\x15psc_connection_status\x18\x08 \x01(\x0e\x32\x37.google.cloud.redis.cluster.v1beta1.PscConnectionStatusB\x03\xe0\x41\x03\x12P\n\x0f\x63onnection_type\x18\n \x01(\x0e\x32\x32.google.cloud.redis.cluster.v1beta1.ConnectionTypeB\x03\xe0\x41\x03\"\\\n\x0f\x43lusterEndpoint\x12I\n\x0b\x63onnections\x18\x01 \x03(\x0b\x32\x34.google.cloud.redis.cluster.v1beta1.ConnectionDetail\"\xc3\x01\n\x10\x43onnectionDetail\x12T\n\x13psc_auto_connection\x18\x01 \x01(\x0b\x32\x35.google.cloud.redis.cluster.v1beta1.PscAutoConnectionH\x00\x12K\n\x0epsc_connection\x18\x02 \x01(\x0b\x32\x31.google.cloud.redis.cluster.v1beta1.PscConnectionH\x00\x42\x0c\n\nconnection\"\xe8\x03\n\x11PscAutoConnection\x12\x1e\n\x11psc_connection_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12\x46\n\x0f\x66orwarding_rule\x18\x03 \x01(\tB-\xe0\x41\x03\xfa\x41\'\n%compute.googleapis.com/ForwardingRule\x12\x17\n\nproject_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x07network\x18\x05 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12L\n\x12service_attachment\x18\x06 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(compute.googleapis.com/ServiceAttachment\x12[\n\x15psc_connection_status\x18\x08 \x01(\x0e\x32\x37.google.cloud.redis.cluster.v1beta1.PscConnectionStatusB\x03\xe0\x41\x03\x12P\n\x0f\x63onnection_type\x18\t \x01(\x0e\x32\x32.google.cloud.redis.cluster.v1beta1.ConnectionTypeB\x03\xe0\x41\x03\"\x88\x05\n\"SharedRegionalCertificateAuthority\x12\x87\x01\n\x11managed_server_ca\x18\x02 \x01(\x0b\x32j.google.cloud.redis.cluster.v1beta1.SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthorityH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x1a\xe1\x01\n#RegionalManagedCertificateAuthority\x12\x8e\x01\n\x08\x63\x61_certs\x18\x01 \x03(\x0b\x32|.google.cloud.redis.cluster.v1beta1.SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain\x1a)\n\x11RegionalCertChain\x12\x14\n\x0c\x63\x65rtificates\x18\x01 \x03(\t:\xd3\x01\xea\x41\xcf\x01\n7redis.googleapis.com/SharedRegionalCertificateAuthority\x12Jprojects/{project}/locations/{location}/sharedRegionalCertificateAuthority*$sharedRegionalCertificateAuthorities2\"sharedRegionalCertificateAuthorityB\x0b\n\tserver_ca\"}\n,GetSharedRegionalCertificateAuthorityRequest\x12M\n\x04name\x18\x01 \x01(\tB?\xe0\x41\x02\xfa\x41\x39\n7redis.googleapis.com/SharedRegionalCertificateAuthority\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_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\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\x8f\x04\n\x14\x43\x65rtificateAuthority\x12q\n\x11managed_server_ca\x18\x01 \x01(\x0b\x32T.google.cloud.redis.cluster.v1beta1.CertificateAuthority.ManagedCertificateAuthorityH\x00\x12\x11\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x08\x1a\xb2\x01\n\x1bManagedCertificateAuthority\x12p\n\x08\x63\x61_certs\x18\x01 \x03(\x0b\x32^.google.cloud.redis.cluster.v1beta1.CertificateAuthority.ManagedCertificateAuthority.CertChain\x1a!\n\tCertChain\x12\x14\n\x0c\x63\x65rtificates\x18\x01 \x03(\t:\xae\x01\xea\x41\xaa\x01\n)redis.googleapis.com/CertificateAuthority\x12Oprojects/{project}/locations/{location}/clusters/{cluster}/certificateAuthority*\x16\x63\x65rtificateAuthorities2\x14\x63\x65rtificateAuthorityB\x0b\n\tserver_ca\"\xa0\x07\n\x18\x43lusterPersistenceConfig\x12_\n\x04mode\x18\x01 \x01(\x0e\x32L.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.PersistenceModeB\x03\xe0\x41\x01\x12_\n\nrdb_config\x18\x02 \x01(\x0b\x32\x46.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfigB\x03\xe0\x41\x01\x12_\n\naof_config\x18\x03 \x01(\x0b\x32\x46.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfigB\x03\xe0\x41\x01\x1a\xbf\x02\n\tRDBConfig\x12w\n\x13rdb_snapshot_period\x18\x01 \x01(\x0e\x32U.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.RDBConfig.SnapshotPeriodB\x03\xe0\x41\x01\x12@\n\x17rdb_snapshot_start_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"w\n\x0eSnapshotPeriod\x12\x1f\n\x1bSNAPSHOT_PERIOD_UNSPECIFIED\x10\x00\x12\x0c\n\x08ONE_HOUR\x10\x01\x12\r\n\tSIX_HOURS\x10\x02\x12\x10\n\x0cTWELVE_HOURS\x10\x03\x12\x15\n\x11TWENTY_FOUR_HOURS\x10\x04\x1a\xc9\x01\n\tAOFConfig\x12m\n\x0c\x61ppend_fsync\x18\x01 \x01(\x0e\x32R.google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig.AOFConfig.AppendFsyncB\x03\xe0\x41\x01\"M\n\x0b\x41ppendFsync\x12\x1c\n\x18\x41PPEND_FSYNC_UNSPECIFIED\x10\x00\x12\x06\n\x02NO\x10\x01\x12\x0c\n\x08\x45VERYSEC\x10\x02\x12\n\n\x06\x41LWAYS\x10\x03\"S\n\x0fPersistenceMode\x12 \n\x1cPERSISTENCE_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x07\n\x03RDB\x10\x02\x12\x07\n\x03\x41OF\x10\x03\"\xf0\x01\n\x16ZoneDistributionConfig\x12\x62\n\x04mode\x18\x01 \x01(\x0e\x32O.google.cloud.redis.cluster.v1beta1.ZoneDistributionConfig.ZoneDistributionModeB\x03\xe0\x41\x01\x12\x11\n\x04zone\x18\x02 \x01(\tB\x03\xe0\x41\x01\"_\n\x14ZoneDistributionMode\x12&\n\"ZONE_DISTRIBUTION_MODE_UNSPECIFIED\x10\x00\x12\x0e\n\nMULTI_ZONE\x10\x01\x12\x0f\n\x0bSINGLE_ZONE\x10\x02\"\xdc\x02\n#RescheduleClusterMaintenanceRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1credis.googleapis.com/Cluster\x12t\n\x0freschedule_type\x18\x02 \x01(\x0e\x32V.google.cloud.redis.cluster.v1beta1.RescheduleClusterMaintenanceRequest.RescheduleTypeB\x03\xe0\x41\x02\x12\x36\n\rschedule_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"S\n\x0eRescheduleType\x12\x1f\n\x1bRESCHEDULE_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tIMMEDIATE\x10\x01\x12\x11\n\rSPECIFIC_TIME\x10\x03\"\x84\x05\n\x0e\x45ncryptionInfo\x12U\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32\x37.google.cloud.redis.cluster.v1beta1.EncryptionInfo.TypeB\x03\xe0\x41\x03\x12J\n\x10kms_key_versions\x18\x02 \x03(\tB0\xe0\x41\x03\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\x12\x62\n\x15kms_key_primary_state\x18\x03 \x01(\x0e\x32>.google.cloud.redis.cluster.v1beta1.EncryptionInfo.KmsKeyStateB\x03\xe0\x41\x03\x12\x39\n\x10last_update_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\\\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19GOOGLE_DEFAULT_ENCRYPTION\x10\x01\x12\x1f\n\x1b\x43USTOMER_MANAGED_ENCRYPTION\x10\x02\"\xd1\x01\n\x0bKmsKeyState\x12\x1d\n\x19KMS_KEY_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x15\n\x11PERMISSION_DENIED\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03\x12\r\n\tDESTROYED\x10\x04\x12\x15\n\x11\x44\x45STROY_SCHEDULED\x10\x05\x12 \n\x1c\x45KM_KEY_UNREACHABLE_DETECTED\x10\x06\x12\x14\n\x10\x42ILLING_DISABLED\x10\x07\x12\x13\n\x0fUNKNOWN_FAILURE\x10\x08*\x83\x01\n\x13PscConnectionStatus\x12%\n!PSC_CONNECTION_STATUS_UNSPECIFIED\x10\x00\x12 \n\x1cPSC_CONNECTION_STATUS_ACTIVE\x10\x01\x12#\n\x1fPSC_CONNECTION_STATUS_NOT_FOUND\x10\x02*^\n\x11\x41uthorizationMode\x12\x19\n\x15\x41UTH_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x41UTH_MODE_IAM_AUTH\x10\x01\x12\x16\n\x12\x41UTH_MODE_DISABLED\x10\x02*\x8f\x01\n\x08NodeType\x12\x19\n\x15NODE_TYPE_UNSPECIFIED\x10\x00\x12\x1a\n\x16REDIS_SHARED_CORE_NANO\x10\x01\x12\x18\n\x14REDIS_HIGHMEM_MEDIUM\x10\x02\x12\x18\n\x14REDIS_HIGHMEM_XLARGE\x10\x03\x12\x18\n\x14REDIS_STANDARD_SMALL\x10\x04*\x99\x01\n\x15TransitEncryptionMode\x12\'\n#TRANSIT_ENCRYPTION_MODE_UNSPECIFIED\x10\x00\x12$\n TRANSIT_ENCRYPTION_MODE_DISABLED\x10\x01\x12\x31\n-TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION\x10\x02*\xba\x01\n\x0cServerCaMode\x12\x1e\n\x1aSERVER_CA_MODE_UNSPECIFIED\x10\x00\x12\x31\n-SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA\x10\x01\x12+\n\'SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA\x10\x02\x12*\n&SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA\x10\x03*\x89\x01\n\x0e\x43onnectionType\x12\x1f\n\x1b\x43ONNECTION_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x43ONNECTION_TYPE_DISCOVERY\x10\x01\x12\x1b\n\x17\x43ONNECTION_TYPE_PRIMARY\x10\x02\x12\x1a\n\x16\x43ONNECTION_TYPE_READER\x10\x03\x32\xe2\x1b\n\x11\x43loudRedisCluster\x12\xc5\x01\n\x0cListClusters\x12\x37.google.cloud.redis.cluster.v1beta1.ListClustersRequest\x1a\x38.google.cloud.redis.cluster.v1beta1.ListClustersResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1beta1/{parent=projects/*/locations/*}/clusters\x12\xb2\x01\n\nGetCluster\x12\x35.google.cloud.redis.cluster.v1beta1.GetClusterRequest\x1a+.google.cloud.redis.cluster.v1beta1.Cluster\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1beta1/{name=projects/*/locations/*/clusters/*}\x12\xec\x01\n\rUpdateCluster\x12\x38.google.cloud.redis.cluster.v1beta1.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\xca\x41\x1e\n\x07\x43luster\x12\x13google.protobuf.Any\xda\x41\x13\x63luster,update_mask\x82\xd3\xe4\x93\x02\x44\x32\x39/v1beta1/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\x12\xd9\x01\n\rDeleteCluster\x12\x38.google.cloud.redis.cluster.v1beta1.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41,\n\x15google.protobuf.Empty\x12\x13google.protobuf.Any\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1beta1/{name=projects/*/locations/*/clusters/*}\x12\xe9\x01\n\rCreateCluster\x12\x38.google.cloud.redis.cluster.v1beta1.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x1e\n\x07\x43luster\x12\x13google.protobuf.Any\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02<\"1/v1beta1/{parent=projects/*/locations/*}/clusters:\x07\x63luster\x12\xfc\x01\n\x1eGetClusterCertificateAuthority\x12I.google.cloud.redis.cluster.v1beta1.GetClusterCertificateAuthorityRequest\x1a\x38.google.cloud.redis.cluster.v1beta1.CertificateAuthority\"U\xda\x41\x04name\x82\xd3\xe4\x93\x02H\x12\x46/v1beta1/{name=projects/*/locations/*/clusters/*/certificateAuthority}\x12\x9b\x02\n%GetSharedRegionalCertificateAuthority\x12P.google.cloud.redis.cluster.v1beta1.GetSharedRegionalCertificateAuthorityRequest\x1a\x46.google.cloud.redis.cluster.v1beta1.SharedRegionalCertificateAuthority\"X\xda\x41\x04name\x82\xd3\xe4\x93\x02K\x12I/v1beta1/{name=projects/*/locations/*/sharedRegionalCertificateAuthority}\x12\xa8\x02\n\x1cRescheduleClusterMaintenance\x12G.google.cloud.redis.cluster.v1beta1.RescheduleClusterMaintenanceRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\xca\x41\x1e\n\x07\x43luster\x12\x13google.protobuf.Any\xda\x41\"name,reschedule_type,schedule_time\x82\xd3\xe4\x93\x02S\"N/v1beta1/{name=projects/*/locations/*/clusters/*}:rescheduleClusterMaintenance:\x01*\x12\xe9\x01\n\x15ListBackupCollections\x12@.google.cloud.redis.cluster.v1beta1.ListBackupCollectionsRequest\x1a\x41.google.cloud.redis.cluster.v1beta1.ListBackupCollectionsResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v1beta1/{parent=projects/*/locations/*}/backupCollections\x12\xd6\x01\n\x13GetBackupCollection\x12>.google.cloud.redis.cluster.v1beta1.GetBackupCollectionRequest\x1a\x34.google.cloud.redis.cluster.v1beta1.BackupCollection\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\x12:/v1beta1/{name=projects/*/locations/*/backupCollections/*}\x12\xd5\x01\n\x0bListBackups\x12\x36.google.cloud.redis.cluster.v1beta1.ListBackupsRequest\x1a\x37.google.cloud.redis.cluster.v1beta1.ListBackupsResponse\"U\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x46\x12\x44/v1beta1/{parent=projects/*/locations/*/backupCollections/*}/backups\x12\xc2\x01\n\tGetBackup\x12\x34.google.cloud.redis.cluster.v1beta1.GetBackupRequest\x1a*.google.cloud.redis.cluster.v1beta1.Backup\"S\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46\x12\x44/v1beta1/{name=projects/*/locations/*/backupCollections/*/backups/*}\x12\xeb\x01\n\x0c\x44\x65leteBackup\x12\x37.google.cloud.redis.cluster.v1beta1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\xca\x41,\n\x15google.protobuf.Empty\x12\x13google.protobuf.Any\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46*D/v1beta1/{name=projects/*/locations/*/backupCollections/*/backups/*}\x12\xde\x01\n\x0c\x45xportBackup\x12\x37.google.cloud.redis.cluster.v1beta1.ExportBackupRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41\x1d\n\x06\x42\x61\x63kup\x12\x13google.protobuf.Any\x82\xd3\xe4\x93\x02P\"K/v1beta1/{name=projects/*/locations/*/backupCollections/*/backups/*}:export:\x01*\x12\xd5\x01\n\rBackupCluster\x12\x38.google.cloud.redis.cluster.v1beta1.BackupClusterRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41\x1e\n\x07\x43luster\x12\x13google.protobuf.Any\xda\x41\x04name\x82\xd3\xe4\x93\x02=\"8/v1beta1/{name=projects/*/locations/*/clusters/*}:backup:\x01*\x1aH\xca\x41\x14redis.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xed\x06\n&com.google.cloud.redis.cluster.v1beta1B\x16\x43loudRedisClusterProtoP\x01Z@cloud.google.com/go/redis/cluster/apiv1beta1/clusterpb;clusterpb\xea\x02&Google::Cloud::Redis::Cluster::V1beta1\xea\x41n\n%compute.googleapis.com/ForwardingRule\x12\x45projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41w\n(compute.googleapis.com/ServiceAttachment\x12Kprojects/{project}/regions/{region}/serviceAttachments/{service_attachment}\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xea\x41\xa6\x01\n(cloudkms.googleapis.com/CryptoKeyVersion\x12zprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}\xea\x41\\\n\x1fprivateca.googleapis.com/CaPool\x12\x39projects/{project}/locations/{location}/caPools/{ca_pool}b\x06proto3"
23
23
 
24
24
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
25
25
  pool.add_serialized_file(descriptor_data)
@@ -73,6 +73,10 @@ module Google
73
73
  ClusterEndpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.cluster.v1beta1.ClusterEndpoint").msgclass
74
74
  ConnectionDetail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.cluster.v1beta1.ConnectionDetail").msgclass
75
75
  PscAutoConnection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.cluster.v1beta1.PscAutoConnection").msgclass
76
+ SharedRegionalCertificateAuthority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.cluster.v1beta1.SharedRegionalCertificateAuthority").msgclass
77
+ SharedRegionalCertificateAuthority::RegionalManagedCertificateAuthority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.cluster.v1beta1.SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority").msgclass
78
+ SharedRegionalCertificateAuthority::RegionalManagedCertificateAuthority::RegionalCertChain = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.cluster.v1beta1.SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain").msgclass
79
+ GetSharedRegionalCertificateAuthorityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.cluster.v1beta1.GetSharedRegionalCertificateAuthorityRequest").msgclass
76
80
  OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.cluster.v1beta1.OperationMetadata").msgclass
77
81
  CertificateAuthority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.cluster.v1beta1.CertificateAuthority").msgclass
78
82
  CertificateAuthority::ManagedCertificateAuthority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.cluster.v1beta1.CertificateAuthority.ManagedCertificateAuthority").msgclass
@@ -94,6 +98,7 @@ module Google
94
98
  AuthorizationMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.cluster.v1beta1.AuthorizationMode").enummodule
95
99
  NodeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.cluster.v1beta1.NodeType").enummodule
96
100
  TransitEncryptionMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.cluster.v1beta1.TransitEncryptionMode").enummodule
101
+ ServerCaMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.cluster.v1beta1.ServerCaMode").enummodule
97
102
  ConnectionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.cluster.v1beta1.ConnectionType").enummodule
98
103
  end
99
104
  end
@@ -80,6 +80,9 @@ module Google
80
80
  rpc :CreateCluster, ::Google::Cloud::Redis::Cluster::V1beta1::CreateClusterRequest, ::Google::Longrunning::Operation
81
81
  # Gets the details of certificate authority information for Redis cluster.
82
82
  rpc :GetClusterCertificateAuthority, ::Google::Cloud::Redis::Cluster::V1beta1::GetClusterCertificateAuthorityRequest, ::Google::Cloud::Redis::Cluster::V1beta1::CertificateAuthority
83
+ # Gets the details of regional certificate authority information for Redis
84
+ # cluster.
85
+ rpc :GetSharedRegionalCertificateAuthority, ::Google::Cloud::Redis::Cluster::V1beta1::GetSharedRegionalCertificateAuthorityRequest, ::Google::Cloud::Redis::Cluster::V1beta1::SharedRegionalCertificateAuthority
83
86
  # Reschedules upcoming maintenance event.
84
87
  rpc :RescheduleClusterMaintenance, ::Google::Cloud::Redis::Cluster::V1beta1::RescheduleClusterMaintenanceRequest, ::Google::Longrunning::Operation
85
88
  # Lists all backup collections owned by a consumer project in either the
@@ -22,7 +22,7 @@ module Google
22
22
  module Redis
23
23
  module Cluster
24
24
  module V1beta1
25
- VERSION = "0.8.0"
25
+ VERSION = "0.9.0"
26
26
  end
27
27
  end
28
28
  end
@@ -141,9 +141,10 @@ module Google
141
141
  #
142
142
  # Example of a YAML configuration::
143
143
  #
144
- # publishing:
145
- # java_settings:
146
- # library_package: com.google.cloud.pubsub.v1
144
+ # publishing:
145
+ # library_settings:
146
+ # java_settings:
147
+ # library_package: com.google.cloud.pubsub.v1
147
148
  # @!attribute [rw] service_class_names
148
149
  # @return [::Google::Protobuf::Map{::String => ::String}]
149
150
  # Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ module Google
155
156
  #
156
157
  # Example of a YAML configuration::
157
158
  #
158
- # publishing:
159
- # java_settings:
160
- # service_class_names:
161
- # - google.pubsub.v1.Publisher: TopicAdmin
162
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
159
+ # publishing:
160
+ # java_settings:
161
+ # service_class_names:
162
+ # - google.pubsub.v1.Publisher: TopicAdmin
163
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
163
164
  # @!attribute [rw] common
164
165
  # @return [::Google::Api::CommonLanguageSettings]
165
166
  # Some settings.
@@ -190,6 +191,20 @@ module Google
190
191
  # @!attribute [rw] common
191
192
  # @return [::Google::Api::CommonLanguageSettings]
192
193
  # Some settings.
194
+ # @!attribute [rw] library_package
195
+ # @return [::String]
196
+ # The package name to use in Php. Clobbers the php_namespace option
197
+ # set in the protobuf. This should be used **only** by APIs
198
+ # who have already set the language_settings.php.package_name" field
199
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
200
+ # where possible.
201
+ #
202
+ # Example of a YAML configuration::
203
+ #
204
+ # publishing:
205
+ # library_settings:
206
+ # php_settings:
207
+ # library_package: Google\Cloud\PubSub\V1
193
208
  class PhpSettings
194
209
  include ::Google::Protobuf::MessageExts
195
210
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ module Google
318
333
  # service names and values are the name to be used for the service client
319
334
  # and call options.
320
335
  #
321
- # publishing:
322
- # go_settings:
323
- # renamed_services:
324
- # Publisher: TopicAdmin
336
+ # Example:
337
+ #
338
+ # publishing:
339
+ # go_settings:
340
+ # renamed_services:
341
+ # Publisher: TopicAdmin
325
342
  class GoSettings
326
343
  include ::Google::Protobuf::MessageExts
327
344
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ module Google
344
361
  #
345
362
  # Example:
346
363
  #
347
- # publishing:
348
- # method_settings:
349
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
350
- # # method settings for CreateFolder...
364
+ # publishing:
365
+ # method_settings:
366
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
367
+ # # method settings for CreateFolder...
351
368
  # @!attribute [rw] long_running
352
369
  # @return [::Google::Api::MethodSettings::LongRunning]
353
370
  # Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ module Google
356
373
  #
357
374
  # Example of a YAML configuration::
358
375
  #
359
- # publishing:
360
- # method_settings:
361
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
362
- # long_running:
363
- # initial_poll_delay: 60s # 1 minute
364
- # poll_delay_multiplier: 1.5
365
- # max_poll_delay: 360s # 6 minutes
366
- # total_poll_timeout: 54000s # 90 minutes
376
+ # publishing:
377
+ # method_settings:
378
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
379
+ # long_running:
380
+ # initial_poll_delay: 60s # 1 minute
381
+ # poll_delay_multiplier: 1.5
382
+ # max_poll_delay: 360s # 6 minutes
383
+ # total_poll_timeout: 54000s # 90 minutes
367
384
  # @!attribute [rw] auto_populated_fields
368
385
  # @return [::Array<::String>]
369
386
  # List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ module Google
372
389
  #
373
390
  # Example of a YAML configuration:
374
391
  #
375
- # publishing:
376
- # method_settings:
377
- # - selector: google.example.v1.ExampleService.CreateExample
378
- # auto_populated_fields:
379
- # - request_id
392
+ # publishing:
393
+ # method_settings:
394
+ # - selector: google.example.v1.ExampleService.CreateExample
395
+ # auto_populated_fields:
396
+ # - request_id
397
+ # @!attribute [rw] batching
398
+ # @return [::Google::Api::BatchingConfigProto]
399
+ # Batching configuration for an API method in client libraries.
400
+ #
401
+ # Example of a YAML configuration:
402
+ #
403
+ # publishing:
404
+ # method_settings:
405
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
406
+ # batching:
407
+ # element_count_threshold: 1000
408
+ # request_byte_threshold: 100000000
409
+ # delay_threshold_millis: 10
380
410
  class MethodSettings
381
411
  include ::Google::Protobuf::MessageExts
382
412
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ module Google
428
458
  extend ::Google::Protobuf::MessageExts::ClassMethods
429
459
  end
430
460
 
461
+ # `BatchingConfigProto` defines the batching configuration for an API method.
462
+ # @!attribute [rw] thresholds
463
+ # @return [::Google::Api::BatchingSettingsProto]
464
+ # The thresholds which trigger a batched request to be sent.
465
+ # @!attribute [rw] batch_descriptor
466
+ # @return [::Google::Api::BatchingDescriptorProto]
467
+ # The request and response fields used in batching.
468
+ class BatchingConfigProto
469
+ include ::Google::Protobuf::MessageExts
470
+ extend ::Google::Protobuf::MessageExts::ClassMethods
471
+ end
472
+
473
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
474
+ # which acts as a trigger to send a batch of messages as a request. At least
475
+ # one threshold must be positive nonzero.
476
+ # @!attribute [rw] element_count_threshold
477
+ # @return [::Integer]
478
+ # The number of elements of a field collected into a batch which, if
479
+ # exceeded, causes the batch to be sent.
480
+ # @!attribute [rw] request_byte_threshold
481
+ # @return [::Integer]
482
+ # The aggregated size of the batched field which, if exceeded, causes the
483
+ # batch to be sent. This size is computed by aggregating the sizes of the
484
+ # request field to be batched, not of the entire request message.
485
+ # @!attribute [rw] delay_threshold
486
+ # @return [::Google::Protobuf::Duration]
487
+ # The duration after which a batch should be sent, starting from the addition
488
+ # of the first message to that batch.
489
+ # @!attribute [rw] element_count_limit
490
+ # @return [::Integer]
491
+ # The maximum number of elements collected in a batch that could be accepted
492
+ # by server.
493
+ # @!attribute [rw] request_byte_limit
494
+ # @return [::Integer]
495
+ # The maximum size of the request that could be accepted by server.
496
+ # @!attribute [rw] flow_control_element_limit
497
+ # @return [::Integer]
498
+ # The maximum number of elements allowed by flow control.
499
+ # @!attribute [rw] flow_control_byte_limit
500
+ # @return [::Integer]
501
+ # The maximum size of data allowed by flow control.
502
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
503
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
504
+ # The behavior to take when the flow control limit is exceeded.
505
+ class BatchingSettingsProto
506
+ include ::Google::Protobuf::MessageExts
507
+ extend ::Google::Protobuf::MessageExts::ClassMethods
508
+ end
509
+
510
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
511
+ # used for batching, and, optionally, the fields of the response message to be
512
+ # used for demultiplexing.
513
+ # @!attribute [rw] batched_field
514
+ # @return [::String]
515
+ # The repeated field in the request message to be aggregated by batching.
516
+ # @!attribute [rw] discriminator_fields
517
+ # @return [::Array<::String>]
518
+ # A list of the fields in the request message. Two requests will be batched
519
+ # together only if the values of every field specified in
520
+ # `request_discriminator_fields` is equal between the two requests.
521
+ # @!attribute [rw] subresponse_field
522
+ # @return [::String]
523
+ # Optional. When present, indicates the field in the response message to be
524
+ # used to demultiplex the response into multiple response messages, in
525
+ # correspondence with the multiple request messages originally batched
526
+ # together.
527
+ class BatchingDescriptorProto
528
+ include ::Google::Protobuf::MessageExts
529
+ extend ::Google::Protobuf::MessageExts::ClassMethods
530
+ end
531
+
431
532
  # The organization for which the client libraries are being published.
432
533
  # Affects the url where generated docs are published, etc.
433
534
  module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module Google
469
570
  # Publish the library to package managers like nuget.org and npmjs.com.
470
571
  PACKAGE_MANAGER = 20
471
572
  end
573
+
574
+ # The behavior to take when the flow control limit is exceeded.
575
+ module FlowControlLimitExceededBehaviorProto
576
+ # Default behavior, system-defined.
577
+ UNSET_BEHAVIOR = 0
578
+
579
+ # Stop operation, raise error.
580
+ THROW_EXCEPTION = 1
581
+
582
+ # Pause operation until limit clears.
583
+ BLOCK = 2
584
+
585
+ # Continue operation, disregard limit.
586
+ IGNORE = 3
587
+ end
472
588
  end
473
589
  end
@@ -426,6 +426,17 @@ module Google
426
426
  # @!attribute [r] encryption_info
427
427
  # @return [::Google::Cloud::Redis::Cluster::V1beta1::EncryptionInfo]
428
428
  # Output only. Encryption information of the data at rest of the cluster.
429
+ # @!attribute [rw] server_ca_mode
430
+ # @return [::Google::Cloud::Redis::Cluster::V1beta1::ServerCaMode]
431
+ # Optional. Server CA mode for the cluster.
432
+ # @!attribute [rw] server_ca_pool
433
+ # @return [::String]
434
+ # Optional. Customer-managed CA pool for the cluster. Only applicable for
435
+ # BYOCA i.e. if server_ca_mode is SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA.
436
+ # Format: "projects/\\{project}/locations/\\{region}/caPools/\\{ca_pool}".
437
+ # @!attribute [rw] rotate_server_certificate
438
+ # @return [::Boolean]
439
+ # Optional. Input only. Rotate the server certificates.
429
440
  class Cluster
430
441
  include ::Google::Protobuf::MessageExts
431
442
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -950,6 +961,51 @@ module Google
950
961
  extend ::Google::Protobuf::MessageExts::ClassMethods
951
962
  end
952
963
 
964
+ # Shared regional certificate authority
965
+ # @!attribute [rw] managed_server_ca
966
+ # @return [::Google::Cloud::Redis::Cluster::V1beta1::SharedRegionalCertificateAuthority::RegionalManagedCertificateAuthority]
967
+ # CA certificate chains for redis managed server authentication.
968
+ # @!attribute [rw] name
969
+ # @return [::String]
970
+ # Identifier. Unique name of the resource in this scope including project and
971
+ # location using the form:
972
+ # `projects/{project}/locations/{location}/sharedRegionalCertificateAuthority`
973
+ class SharedRegionalCertificateAuthority
974
+ include ::Google::Protobuf::MessageExts
975
+ extend ::Google::Protobuf::MessageExts::ClassMethods
976
+
977
+ # CA certificate chains for redis managed server authentication.
978
+ # @!attribute [rw] ca_certs
979
+ # @return [::Array<::Google::Cloud::Redis::Cluster::V1beta1::SharedRegionalCertificateAuthority::RegionalManagedCertificateAuthority::RegionalCertChain>]
980
+ # The PEM encoded CA certificate chains for redis managed
981
+ # server authentication
982
+ class RegionalManagedCertificateAuthority
983
+ include ::Google::Protobuf::MessageExts
984
+ extend ::Google::Protobuf::MessageExts::ClassMethods
985
+
986
+ # The certificates that form the CA chain, from leaf to root order.
987
+ # @!attribute [rw] certificates
988
+ # @return [::Array<::String>]
989
+ # The certificates that form the CA chain, from leaf to root order.
990
+ class RegionalCertChain
991
+ include ::Google::Protobuf::MessageExts
992
+ extend ::Google::Protobuf::MessageExts::ClassMethods
993
+ end
994
+ end
995
+ end
996
+
997
+ # Request for
998
+ # [GetSharedRegionalCertificateAuthority][CloudRedis.GetSharedRegionalCertificateAuthority].
999
+ # @!attribute [rw] name
1000
+ # @return [::String]
1001
+ # Required. Regional certificate authority resource name using the form:
1002
+ # `projects/{project_id}/locations/{location_id}/sharedRegionalCertificateAuthority`
1003
+ # where `location_id` refers to a Google Cloud region.
1004
+ class GetSharedRegionalCertificateAuthorityRequest
1005
+ include ::Google::Protobuf::MessageExts
1006
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1007
+ end
1008
+
953
1009
  # Pre-defined metadata fields.
954
1010
  # @!attribute [r] create_time
955
1011
  # @return [::Google::Protobuf::Timestamp]
@@ -1280,6 +1336,21 @@ module Google
1280
1336
  TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION = 2
1281
1337
  end
1282
1338
 
1339
+ # Server CA mode for the cluster.
1340
+ module ServerCaMode
1341
+ # Server CA mode not specified.
1342
+ SERVER_CA_MODE_UNSPECIFIED = 0
1343
+
1344
+ # Each cluster has its own Google managed CA.
1345
+ SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1
1346
+
1347
+ # The cluster uses Google managed shared CA in the region.
1348
+ SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2
1349
+
1350
+ # The cluster uses customer managed CA from CAS.
1351
+ SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
1352
+ end
1353
+
1283
1354
  # Type of a PSC connection, for cluster access purpose.
1284
1355
  module ConnectionType
1285
1356
  # Cluster endpoint Type is not set
@@ -25,18 +25,22 @@ module Google
25
25
  # `google.protobuf.Timestamp`.
26
26
  # @!attribute [rw] hours
27
27
  # @return [::Integer]
28
- # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
29
- # to allow the value "24:00:00" for scenarios like business closing time.
28
+ # Hours of a day in 24 hour format. Must be greater than or equal to 0 and
29
+ # typically must be less than or equal to 23. An API may choose to allow the
30
+ # value "24:00:00" for scenarios like business closing time.
30
31
  # @!attribute [rw] minutes
31
32
  # @return [::Integer]
32
- # Minutes of hour of day. Must be from 0 to 59.
33
+ # Minutes of an hour. Must be greater than or equal to 0 and less than or
34
+ # equal to 59.
33
35
  # @!attribute [rw] seconds
34
36
  # @return [::Integer]
35
- # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
36
- # allow the value 60 if it allows leap-seconds.
37
+ # Seconds of a minute. Must be greater than or equal to 0 and typically must
38
+ # be less than or equal to 59. An API may allow the value 60 if it allows
39
+ # leap-seconds.
37
40
  # @!attribute [rw] nanos
38
41
  # @return [::Integer]
39
- # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
42
+ # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0
43
+ # and less than or equal to 999,999,999.
40
44
  class TimeOfDay
41
45
  include ::Google::Protobuf::MessageExts
42
46
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-redis-cluster-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC