google-cloud-alloy_db-v1 0.5.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 666c7f5b014838c0e1ca771340df119d8fe9c06c9c249fd92ca6c77ecd01109f
4
- data.tar.gz: 03155a639386e64bc74c387195ae3bea6a47221749a714563b17f42228cb5729
3
+ metadata.gz: 8f4fffc3455977ed16cde176a39be5b604f1d63ce2405a01004dd10c9fe6b1bf
4
+ data.tar.gz: 6de360cb22f7f4737c23b881ea4e8ea0804589cfaa8d6810449765d03b2c6350
5
5
  SHA512:
6
- metadata.gz: d90b57f676824f2ca13b9dae74e5f5090745808bb392512fb2f2fc374dd78041e12153d2876be3d91b3be0274106f6e3542076dc9398555ae38bf74bc68e7d7e
7
- data.tar.gz: 72e1c62a04f88eb85fc2ab4a7a1179984ba02160669551bb5c5ef38565ca4667113ed023f0bfb5473a913c3a506777789a25862a256c427e813ae6fb47a8f2cb
6
+ metadata.gz: 5156ff8308fe8b49d2c2449dc57b3a56368d644de407a52463fd5e2e08b975df2c694e9e391a1a199db40c86d0333ec95102e52cf25d4aa2394921cb2eebdcf1
7
+ data.tar.gz: 50ba5dc7d0d404d583a7db878e3b132ce5d2978c945f7d9e74c03972837414c01e9e19a51efeccc7fbebf9ee54ec4c3b04b20e1616fc47a116856ad629c0f66e
@@ -103,6 +103,16 @@ module Google
103
103
  initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
104
104
  }
105
105
 
106
+ default_config.rpcs.generate_client_certificate.timeout = 60.0
107
+ default_config.rpcs.generate_client_certificate.retry_policy = {
108
+ initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
109
+ }
110
+
111
+ default_config.rpcs.get_connection_info.timeout = 60.0
112
+ default_config.rpcs.get_connection_info.retry_policy = {
113
+ initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
114
+ }
115
+
106
116
  default_config
107
117
  end
108
118
  yield @configure if block_given?
@@ -2875,6 +2885,222 @@ module Google
2875
2885
  raise ::Google::Cloud::Error.from_error(e)
2876
2886
  end
2877
2887
 
2888
+ ##
2889
+ # Generate a client certificate signed by a Cluster CA.
2890
+ # The sole purpose of this endpoint is to support AlloyDB connectors and the
2891
+ # Auth Proxy client. The endpoint's behavior is subject to change without
2892
+ # notice, so do not rely on its behavior remaining constant. Future changes
2893
+ # will not break AlloyDB connectors or the Auth Proxy client.
2894
+ #
2895
+ # @overload generate_client_certificate(request, options = nil)
2896
+ # Pass arguments to `generate_client_certificate` via a request object, either of type
2897
+ # {::Google::Cloud::AlloyDB::V1::GenerateClientCertificateRequest} or an equivalent Hash.
2898
+ #
2899
+ # @param request [::Google::Cloud::AlloyDB::V1::GenerateClientCertificateRequest, ::Hash]
2900
+ # A request object representing the call parameters. Required. To specify no
2901
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2902
+ # @param options [::Gapic::CallOptions, ::Hash]
2903
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2904
+ #
2905
+ # @overload generate_client_certificate(parent: nil, request_id: nil, cert_duration: nil, public_key: nil, use_metadata_exchange: nil)
2906
+ # Pass arguments to `generate_client_certificate` via keyword arguments. Note that at
2907
+ # least one keyword argument is required. To specify no parameters, or to keep all
2908
+ # the default parameter values, pass an empty Hash as a request object (see above).
2909
+ #
2910
+ # @param parent [::String]
2911
+ # Required. The name of the parent resource. The required format is:
2912
+ # * projects/\\{project}/locations/\\{location}/clusters/\\{cluster}
2913
+ # @param request_id [::String]
2914
+ # Optional. An optional request ID to identify requests. Specify a unique
2915
+ # request ID so that if you must retry your request, the server will know to
2916
+ # ignore the request if it has already been completed. The server will
2917
+ # guarantee that for at least 60 minutes after the first request.
2918
+ #
2919
+ # For example, consider a situation where you make an initial request and
2920
+ # the request times out. If you make the request again with the same request
2921
+ # ID, the server can check if original operation with the same request ID
2922
+ # was received, and if so, will ignore the second request. This prevents
2923
+ # clients from accidentally creating duplicate commitments.
2924
+ #
2925
+ # The request ID must be a valid UUID with the exception that zero UUID is
2926
+ # not supported (00000000-0000-0000-0000-000000000000).
2927
+ # @param cert_duration [::Google::Protobuf::Duration, ::Hash]
2928
+ # Optional. An optional hint to the endpoint to generate the client
2929
+ # certificate with the requested duration. The duration can be from 1 hour to
2930
+ # 24 hours. The endpoint may or may not honor the hint. If the hint is left
2931
+ # unspecified or is not honored, then the endpoint will pick an appropriate
2932
+ # default duration.
2933
+ # @param public_key [::String]
2934
+ # Optional. The public key from the client.
2935
+ # @param use_metadata_exchange [::Boolean]
2936
+ # Optional. An optional hint to the endpoint to generate a client
2937
+ # ceritificate that can be used by AlloyDB connectors to exchange additional
2938
+ # metadata with the server after TLS handshake.
2939
+ #
2940
+ # @yield [response, operation] Access the result along with the RPC operation
2941
+ # @yieldparam response [::Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse]
2942
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2943
+ #
2944
+ # @return [::Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse]
2945
+ #
2946
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2947
+ #
2948
+ # @example Basic example
2949
+ # require "google/cloud/alloy_db/v1"
2950
+ #
2951
+ # # Create a client object. The client can be reused for multiple calls.
2952
+ # client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Client.new
2953
+ #
2954
+ # # Create a request. To set request fields, pass in keyword arguments.
2955
+ # request = Google::Cloud::AlloyDB::V1::GenerateClientCertificateRequest.new
2956
+ #
2957
+ # # Call the generate_client_certificate method.
2958
+ # result = client.generate_client_certificate request
2959
+ #
2960
+ # # The returned object is of type Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse.
2961
+ # p result
2962
+ #
2963
+ def generate_client_certificate request, options = nil
2964
+ raise ::ArgumentError, "request must be provided" if request.nil?
2965
+
2966
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1::GenerateClientCertificateRequest
2967
+
2968
+ # Converts hash and nil to an options object
2969
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2970
+
2971
+ # Customize the options with defaults
2972
+ metadata = @config.rpcs.generate_client_certificate.metadata.to_h
2973
+
2974
+ # Set x-goog-api-client and x-goog-user-project headers
2975
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2976
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2977
+ gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
2978
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2979
+
2980
+ header_params = {}
2981
+ if request.parent
2982
+ header_params["parent"] = request.parent
2983
+ end
2984
+
2985
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2986
+ metadata[:"x-goog-request-params"] ||= request_params_header
2987
+
2988
+ options.apply_defaults timeout: @config.rpcs.generate_client_certificate.timeout,
2989
+ metadata: metadata,
2990
+ retry_policy: @config.rpcs.generate_client_certificate.retry_policy
2991
+
2992
+ options.apply_defaults timeout: @config.timeout,
2993
+ metadata: @config.metadata,
2994
+ retry_policy: @config.retry_policy
2995
+
2996
+ @alloy_db_admin_stub.call_rpc :generate_client_certificate, request, options: options do |response, operation|
2997
+ yield response, operation if block_given?
2998
+ return response
2999
+ end
3000
+ rescue ::GRPC::BadStatus => e
3001
+ raise ::Google::Cloud::Error.from_error(e)
3002
+ end
3003
+
3004
+ ##
3005
+ # Get instance metadata used for a connection.
3006
+ #
3007
+ # @overload get_connection_info(request, options = nil)
3008
+ # Pass arguments to `get_connection_info` via a request object, either of type
3009
+ # {::Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest} or an equivalent Hash.
3010
+ #
3011
+ # @param request [::Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest, ::Hash]
3012
+ # A request object representing the call parameters. Required. To specify no
3013
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3014
+ # @param options [::Gapic::CallOptions, ::Hash]
3015
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3016
+ #
3017
+ # @overload get_connection_info(parent: nil, request_id: nil)
3018
+ # Pass arguments to `get_connection_info` via keyword arguments. Note that at
3019
+ # least one keyword argument is required. To specify no parameters, or to keep all
3020
+ # the default parameter values, pass an empty Hash as a request object (see above).
3021
+ #
3022
+ # @param parent [::String]
3023
+ # Required. The name of the parent resource. The required format is:
3024
+ # projects/\\{project}/locations/\\{location}/clusters/\\{cluster}/instances/\\{instance}
3025
+ # @param request_id [::String]
3026
+ # Optional. An optional request ID to identify requests. Specify a unique
3027
+ # request ID so that if you must retry your request, the server will know to
3028
+ # ignore the request if it has already been completed. The server will
3029
+ # guarantee that for at least 60 minutes after the first request.
3030
+ #
3031
+ # For example, consider a situation where you make an initial request and
3032
+ # the request times out. If you make the request again with the same request
3033
+ # ID, the server can check if original operation with the same request ID
3034
+ # was received, and if so, will ignore the second request. This prevents
3035
+ # clients from accidentally creating duplicate commitments.
3036
+ #
3037
+ # The request ID must be a valid UUID with the exception that zero UUID is
3038
+ # not supported (00000000-0000-0000-0000-000000000000).
3039
+ #
3040
+ # @yield [response, operation] Access the result along with the RPC operation
3041
+ # @yieldparam response [::Google::Cloud::AlloyDB::V1::ConnectionInfo]
3042
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3043
+ #
3044
+ # @return [::Google::Cloud::AlloyDB::V1::ConnectionInfo]
3045
+ #
3046
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3047
+ #
3048
+ # @example Basic example
3049
+ # require "google/cloud/alloy_db/v1"
3050
+ #
3051
+ # # Create a client object. The client can be reused for multiple calls.
3052
+ # client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Client.new
3053
+ #
3054
+ # # Create a request. To set request fields, pass in keyword arguments.
3055
+ # request = Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest.new
3056
+ #
3057
+ # # Call the get_connection_info method.
3058
+ # result = client.get_connection_info request
3059
+ #
3060
+ # # The returned object is of type Google::Cloud::AlloyDB::V1::ConnectionInfo.
3061
+ # p result
3062
+ #
3063
+ def get_connection_info request, options = nil
3064
+ raise ::ArgumentError, "request must be provided" if request.nil?
3065
+
3066
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest
3067
+
3068
+ # Converts hash and nil to an options object
3069
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3070
+
3071
+ # Customize the options with defaults
3072
+ metadata = @config.rpcs.get_connection_info.metadata.to_h
3073
+
3074
+ # Set x-goog-api-client and x-goog-user-project headers
3075
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3076
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3077
+ gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
3078
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3079
+
3080
+ header_params = {}
3081
+ if request.parent
3082
+ header_params["parent"] = request.parent
3083
+ end
3084
+
3085
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3086
+ metadata[:"x-goog-request-params"] ||= request_params_header
3087
+
3088
+ options.apply_defaults timeout: @config.rpcs.get_connection_info.timeout,
3089
+ metadata: metadata,
3090
+ retry_policy: @config.rpcs.get_connection_info.retry_policy
3091
+
3092
+ options.apply_defaults timeout: @config.timeout,
3093
+ metadata: @config.metadata,
3094
+ retry_policy: @config.retry_policy
3095
+
3096
+ @alloy_db_admin_stub.call_rpc :get_connection_info, request, options: options do |response, operation|
3097
+ yield response, operation if block_given?
3098
+ return response
3099
+ end
3100
+ rescue ::GRPC::BadStatus => e
3101
+ raise ::Google::Cloud::Error.from_error(e)
3102
+ end
3103
+
2878
3104
  ##
2879
3105
  # Lists Users in a given project and location.
2880
3106
  #
@@ -3645,6 +3871,16 @@ module Google
3645
3871
  #
3646
3872
  attr_reader :list_supported_database_flags
3647
3873
  ##
3874
+ # RPC-specific configuration for `generate_client_certificate`
3875
+ # @return [::Gapic::Config::Method]
3876
+ #
3877
+ attr_reader :generate_client_certificate
3878
+ ##
3879
+ # RPC-specific configuration for `get_connection_info`
3880
+ # @return [::Gapic::Config::Method]
3881
+ #
3882
+ attr_reader :get_connection_info
3883
+ ##
3648
3884
  # RPC-specific configuration for `list_users`
3649
3885
  # @return [::Gapic::Config::Method]
3650
3886
  #
@@ -3720,6 +3956,10 @@ module Google
3720
3956
  @delete_backup = ::Gapic::Config::Method.new delete_backup_config
3721
3957
  list_supported_database_flags_config = parent_rpcs.list_supported_database_flags if parent_rpcs.respond_to? :list_supported_database_flags
3722
3958
  @list_supported_database_flags = ::Gapic::Config::Method.new list_supported_database_flags_config
3959
+ generate_client_certificate_config = parent_rpcs.generate_client_certificate if parent_rpcs.respond_to? :generate_client_certificate
3960
+ @generate_client_certificate = ::Gapic::Config::Method.new generate_client_certificate_config
3961
+ get_connection_info_config = parent_rpcs.get_connection_info if parent_rpcs.respond_to? :get_connection_info
3962
+ @get_connection_info = ::Gapic::Config::Method.new get_connection_info_config
3723
3963
  list_users_config = parent_rpcs.list_users if parent_rpcs.respond_to? :list_users
3724
3964
  @list_users = ::Gapic::Config::Method.new list_users_config
3725
3965
  get_user_config = parent_rpcs.get_user if parent_rpcs.respond_to? :get_user
@@ -105,6 +105,16 @@ module Google
105
105
  initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
106
106
  }
107
107
 
108
+ default_config.rpcs.generate_client_certificate.timeout = 60.0
109
+ default_config.rpcs.generate_client_certificate.retry_policy = {
110
+ initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
111
+ }
112
+
113
+ default_config.rpcs.get_connection_info.timeout = 60.0
114
+ default_config.rpcs.get_connection_info.retry_policy = {
115
+ initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
116
+ }
117
+
108
118
  default_config
109
119
  end
110
120
  yield @configure if block_given?
@@ -2695,6 +2705,208 @@ module Google
2695
2705
  raise ::Google::Cloud::Error.from_error(e)
2696
2706
  end
2697
2707
 
2708
+ ##
2709
+ # Generate a client certificate signed by a Cluster CA.
2710
+ # The sole purpose of this endpoint is to support AlloyDB connectors and the
2711
+ # Auth Proxy client. The endpoint's behavior is subject to change without
2712
+ # notice, so do not rely on its behavior remaining constant. Future changes
2713
+ # will not break AlloyDB connectors or the Auth Proxy client.
2714
+ #
2715
+ # @overload generate_client_certificate(request, options = nil)
2716
+ # Pass arguments to `generate_client_certificate` via a request object, either of type
2717
+ # {::Google::Cloud::AlloyDB::V1::GenerateClientCertificateRequest} or an equivalent Hash.
2718
+ #
2719
+ # @param request [::Google::Cloud::AlloyDB::V1::GenerateClientCertificateRequest, ::Hash]
2720
+ # A request object representing the call parameters. Required. To specify no
2721
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2722
+ # @param options [::Gapic::CallOptions, ::Hash]
2723
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2724
+ #
2725
+ # @overload generate_client_certificate(parent: nil, request_id: nil, cert_duration: nil, public_key: nil, use_metadata_exchange: nil)
2726
+ # Pass arguments to `generate_client_certificate` via keyword arguments. Note that at
2727
+ # least one keyword argument is required. To specify no parameters, or to keep all
2728
+ # the default parameter values, pass an empty Hash as a request object (see above).
2729
+ #
2730
+ # @param parent [::String]
2731
+ # Required. The name of the parent resource. The required format is:
2732
+ # * projects/\\{project}/locations/\\{location}/clusters/\\{cluster}
2733
+ # @param request_id [::String]
2734
+ # Optional. An optional request ID to identify requests. Specify a unique
2735
+ # request ID so that if you must retry your request, the server will know to
2736
+ # ignore the request if it has already been completed. The server will
2737
+ # guarantee that for at least 60 minutes after the first request.
2738
+ #
2739
+ # For example, consider a situation where you make an initial request and
2740
+ # the request times out. If you make the request again with the same request
2741
+ # ID, the server can check if original operation with the same request ID
2742
+ # was received, and if so, will ignore the second request. This prevents
2743
+ # clients from accidentally creating duplicate commitments.
2744
+ #
2745
+ # The request ID must be a valid UUID with the exception that zero UUID is
2746
+ # not supported (00000000-0000-0000-0000-000000000000).
2747
+ # @param cert_duration [::Google::Protobuf::Duration, ::Hash]
2748
+ # Optional. An optional hint to the endpoint to generate the client
2749
+ # certificate with the requested duration. The duration can be from 1 hour to
2750
+ # 24 hours. The endpoint may or may not honor the hint. If the hint is left
2751
+ # unspecified or is not honored, then the endpoint will pick an appropriate
2752
+ # default duration.
2753
+ # @param public_key [::String]
2754
+ # Optional. The public key from the client.
2755
+ # @param use_metadata_exchange [::Boolean]
2756
+ # Optional. An optional hint to the endpoint to generate a client
2757
+ # ceritificate that can be used by AlloyDB connectors to exchange additional
2758
+ # metadata with the server after TLS handshake.
2759
+ # @yield [result, operation] Access the result along with the TransportOperation object
2760
+ # @yieldparam result [::Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse]
2761
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2762
+ #
2763
+ # @return [::Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse]
2764
+ #
2765
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
2766
+ #
2767
+ # @example Basic example
2768
+ # require "google/cloud/alloy_db/v1"
2769
+ #
2770
+ # # Create a client object. The client can be reused for multiple calls.
2771
+ # client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
2772
+ #
2773
+ # # Create a request. To set request fields, pass in keyword arguments.
2774
+ # request = Google::Cloud::AlloyDB::V1::GenerateClientCertificateRequest.new
2775
+ #
2776
+ # # Call the generate_client_certificate method.
2777
+ # result = client.generate_client_certificate request
2778
+ #
2779
+ # # The returned object is of type Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse.
2780
+ # p result
2781
+ #
2782
+ def generate_client_certificate request, options = nil
2783
+ raise ::ArgumentError, "request must be provided" if request.nil?
2784
+
2785
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1::GenerateClientCertificateRequest
2786
+
2787
+ # Converts hash and nil to an options object
2788
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2789
+
2790
+ # Customize the options with defaults
2791
+ call_metadata = @config.rpcs.generate_client_certificate.metadata.to_h
2792
+
2793
+ # Set x-goog-api-client and x-goog-user-project headers
2794
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2795
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2796
+ gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
2797
+ transports_version_send: [:rest]
2798
+
2799
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2800
+
2801
+ options.apply_defaults timeout: @config.rpcs.generate_client_certificate.timeout,
2802
+ metadata: call_metadata,
2803
+ retry_policy: @config.rpcs.generate_client_certificate.retry_policy
2804
+
2805
+ options.apply_defaults timeout: @config.timeout,
2806
+ metadata: @config.metadata,
2807
+ retry_policy: @config.retry_policy
2808
+
2809
+ @alloy_db_admin_stub.generate_client_certificate request, options do |result, operation|
2810
+ yield result, operation if block_given?
2811
+ return result
2812
+ end
2813
+ rescue ::Gapic::Rest::Error => e
2814
+ raise ::Google::Cloud::Error.from_error(e)
2815
+ end
2816
+
2817
+ ##
2818
+ # Get instance metadata used for a connection.
2819
+ #
2820
+ # @overload get_connection_info(request, options = nil)
2821
+ # Pass arguments to `get_connection_info` via a request object, either of type
2822
+ # {::Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest} or an equivalent Hash.
2823
+ #
2824
+ # @param request [::Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest, ::Hash]
2825
+ # A request object representing the call parameters. Required. To specify no
2826
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2827
+ # @param options [::Gapic::CallOptions, ::Hash]
2828
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2829
+ #
2830
+ # @overload get_connection_info(parent: nil, request_id: nil)
2831
+ # Pass arguments to `get_connection_info` via keyword arguments. Note that at
2832
+ # least one keyword argument is required. To specify no parameters, or to keep all
2833
+ # the default parameter values, pass an empty Hash as a request object (see above).
2834
+ #
2835
+ # @param parent [::String]
2836
+ # Required. The name of the parent resource. The required format is:
2837
+ # projects/\\{project}/locations/\\{location}/clusters/\\{cluster}/instances/\\{instance}
2838
+ # @param request_id [::String]
2839
+ # Optional. An optional request ID to identify requests. Specify a unique
2840
+ # request ID so that if you must retry your request, the server will know to
2841
+ # ignore the request if it has already been completed. The server will
2842
+ # guarantee that for at least 60 minutes after the first request.
2843
+ #
2844
+ # For example, consider a situation where you make an initial request and
2845
+ # the request times out. If you make the request again with the same request
2846
+ # ID, the server can check if original operation with the same request ID
2847
+ # was received, and if so, will ignore the second request. This prevents
2848
+ # clients from accidentally creating duplicate commitments.
2849
+ #
2850
+ # The request ID must be a valid UUID with the exception that zero UUID is
2851
+ # not supported (00000000-0000-0000-0000-000000000000).
2852
+ # @yield [result, operation] Access the result along with the TransportOperation object
2853
+ # @yieldparam result [::Google::Cloud::AlloyDB::V1::ConnectionInfo]
2854
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2855
+ #
2856
+ # @return [::Google::Cloud::AlloyDB::V1::ConnectionInfo]
2857
+ #
2858
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
2859
+ #
2860
+ # @example Basic example
2861
+ # require "google/cloud/alloy_db/v1"
2862
+ #
2863
+ # # Create a client object. The client can be reused for multiple calls.
2864
+ # client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
2865
+ #
2866
+ # # Create a request. To set request fields, pass in keyword arguments.
2867
+ # request = Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest.new
2868
+ #
2869
+ # # Call the get_connection_info method.
2870
+ # result = client.get_connection_info request
2871
+ #
2872
+ # # The returned object is of type Google::Cloud::AlloyDB::V1::ConnectionInfo.
2873
+ # p result
2874
+ #
2875
+ def get_connection_info request, options = nil
2876
+ raise ::ArgumentError, "request must be provided" if request.nil?
2877
+
2878
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest
2879
+
2880
+ # Converts hash and nil to an options object
2881
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2882
+
2883
+ # Customize the options with defaults
2884
+ call_metadata = @config.rpcs.get_connection_info.metadata.to_h
2885
+
2886
+ # Set x-goog-api-client and x-goog-user-project headers
2887
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2888
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2889
+ gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
2890
+ transports_version_send: [:rest]
2891
+
2892
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2893
+
2894
+ options.apply_defaults timeout: @config.rpcs.get_connection_info.timeout,
2895
+ metadata: call_metadata,
2896
+ retry_policy: @config.rpcs.get_connection_info.retry_policy
2897
+
2898
+ options.apply_defaults timeout: @config.timeout,
2899
+ metadata: @config.metadata,
2900
+ retry_policy: @config.retry_policy
2901
+
2902
+ @alloy_db_admin_stub.get_connection_info request, options do |result, operation|
2903
+ yield result, operation if block_given?
2904
+ return result
2905
+ end
2906
+ rescue ::Gapic::Rest::Error => e
2907
+ raise ::Google::Cloud::Error.from_error(e)
2908
+ end
2909
+
2698
2910
  ##
2699
2911
  # Lists Users in a given project and location.
2700
2912
  #
@@ -3416,6 +3628,16 @@ module Google
3416
3628
  #
3417
3629
  attr_reader :list_supported_database_flags
3418
3630
  ##
3631
+ # RPC-specific configuration for `generate_client_certificate`
3632
+ # @return [::Gapic::Config::Method]
3633
+ #
3634
+ attr_reader :generate_client_certificate
3635
+ ##
3636
+ # RPC-specific configuration for `get_connection_info`
3637
+ # @return [::Gapic::Config::Method]
3638
+ #
3639
+ attr_reader :get_connection_info
3640
+ ##
3419
3641
  # RPC-specific configuration for `list_users`
3420
3642
  # @return [::Gapic::Config::Method]
3421
3643
  #
@@ -3491,6 +3713,10 @@ module Google
3491
3713
  @delete_backup = ::Gapic::Config::Method.new delete_backup_config
3492
3714
  list_supported_database_flags_config = parent_rpcs.list_supported_database_flags if parent_rpcs.respond_to? :list_supported_database_flags
3493
3715
  @list_supported_database_flags = ::Gapic::Config::Method.new list_supported_database_flags_config
3716
+ generate_client_certificate_config = parent_rpcs.generate_client_certificate if parent_rpcs.respond_to? :generate_client_certificate
3717
+ @generate_client_certificate = ::Gapic::Config::Method.new generate_client_certificate_config
3718
+ get_connection_info_config = parent_rpcs.get_connection_info if parent_rpcs.respond_to? :get_connection_info
3719
+ @get_connection_info = ::Gapic::Config::Method.new get_connection_info_config
3494
3720
  list_users_config = parent_rpcs.list_users if parent_rpcs.respond_to? :list_users
3495
3721
  @list_users = ::Gapic::Config::Method.new list_users_config
3496
3722
  get_user_config = parent_rpcs.get_user if parent_rpcs.respond_to? :get_user
@@ -952,6 +952,82 @@ module Google
952
952
  result
953
953
  end
954
954
 
955
+ ##
956
+ # Baseline implementation for the generate_client_certificate REST call
957
+ #
958
+ # @param request_pb [::Google::Cloud::AlloyDB::V1::GenerateClientCertificateRequest]
959
+ # A request object representing the call parameters. Required.
960
+ # @param options [::Gapic::CallOptions]
961
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
962
+ #
963
+ # @yield [result, operation] Access the result along with the TransportOperation object
964
+ # @yieldparam result [::Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse]
965
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
966
+ #
967
+ # @return [::Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse]
968
+ # A result object deserialized from the server's reply
969
+ def generate_client_certificate request_pb, options = nil
970
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
971
+
972
+ verb, uri, query_string_params, body = ServiceStub.transcode_generate_client_certificate_request request_pb
973
+ query_string_params = if query_string_params.any?
974
+ query_string_params.to_h { |p| p.split "=", 2 }
975
+ else
976
+ {}
977
+ end
978
+
979
+ response = @client_stub.make_http_request(
980
+ verb,
981
+ uri: uri,
982
+ body: body || "",
983
+ params: query_string_params,
984
+ options: options
985
+ )
986
+ operation = ::Gapic::Rest::TransportOperation.new response
987
+ result = ::Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse.decode_json response.body, ignore_unknown_fields: true
988
+
989
+ yield result, operation if block_given?
990
+ result
991
+ end
992
+
993
+ ##
994
+ # Baseline implementation for the get_connection_info REST call
995
+ #
996
+ # @param request_pb [::Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest]
997
+ # A request object representing the call parameters. Required.
998
+ # @param options [::Gapic::CallOptions]
999
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1000
+ #
1001
+ # @yield [result, operation] Access the result along with the TransportOperation object
1002
+ # @yieldparam result [::Google::Cloud::AlloyDB::V1::ConnectionInfo]
1003
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1004
+ #
1005
+ # @return [::Google::Cloud::AlloyDB::V1::ConnectionInfo]
1006
+ # A result object deserialized from the server's reply
1007
+ def get_connection_info request_pb, options = nil
1008
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1009
+
1010
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_connection_info_request request_pb
1011
+ query_string_params = if query_string_params.any?
1012
+ query_string_params.to_h { |p| p.split "=", 2 }
1013
+ else
1014
+ {}
1015
+ end
1016
+
1017
+ response = @client_stub.make_http_request(
1018
+ verb,
1019
+ uri: uri,
1020
+ body: body || "",
1021
+ params: query_string_params,
1022
+ options: options
1023
+ )
1024
+ operation = ::Gapic::Rest::TransportOperation.new response
1025
+ result = ::Google::Cloud::AlloyDB::V1::ConnectionInfo.decode_json response.body, ignore_unknown_fields: true
1026
+
1027
+ yield result, operation if block_given?
1028
+ result
1029
+ end
1030
+
955
1031
  ##
956
1032
  # Baseline implementation for the list_users REST call
957
1033
  #
@@ -1660,6 +1736,49 @@ module Google
1660
1736
  transcoder.transcode request_pb
1661
1737
  end
1662
1738
 
1739
+ ##
1740
+ # @private
1741
+ #
1742
+ # GRPC transcoding helper method for the generate_client_certificate REST call
1743
+ #
1744
+ # @param request_pb [::Google::Cloud::AlloyDB::V1::GenerateClientCertificateRequest]
1745
+ # A request object representing the call parameters. Required.
1746
+ # @return [Array(String, [String, nil], Hash{String => String})]
1747
+ # Uri, Body, Query string parameters
1748
+ def self.transcode_generate_client_certificate_request request_pb
1749
+ transcoder = Gapic::Rest::GrpcTranscoder.new
1750
+ .with_bindings(
1751
+ uri_method: :post,
1752
+ uri_template: "/v1/{parent}:generateClientCertificate",
1753
+ body: "*",
1754
+ matches: [
1755
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/?$}, false]
1756
+ ]
1757
+ )
1758
+ transcoder.transcode request_pb
1759
+ end
1760
+
1761
+ ##
1762
+ # @private
1763
+ #
1764
+ # GRPC transcoding helper method for the get_connection_info REST call
1765
+ #
1766
+ # @param request_pb [::Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest]
1767
+ # A request object representing the call parameters. Required.
1768
+ # @return [Array(String, [String, nil], Hash{String => String})]
1769
+ # Uri, Body, Query string parameters
1770
+ def self.transcode_get_connection_info_request request_pb
1771
+ transcoder = Gapic::Rest::GrpcTranscoder.new
1772
+ .with_bindings(
1773
+ uri_method: :get,
1774
+ uri_template: "/v1/{parent}/connectionInfo",
1775
+ matches: [
1776
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/instances/[^/]+/?$}, false]
1777
+ ]
1778
+ )
1779
+ transcoder.transcode request_pb
1780
+ end
1781
+
1663
1782
  ##
1664
1783
  # @private
1665
1784
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AlloyDB
23
23
  module V1
24
- VERSION = "0.5.0"
24
+ VERSION = "0.7.0"
25
25
  end
26
26
  end
27
27
  end
@@ -13,7 +13,7 @@ require 'google/type/dayofweek_pb'
13
13
  require 'google/type/timeofday_pb'
14
14
 
15
15
 
16
- descriptor_data = "\n\'google/cloud/alloydb/v1/resources.proto\x12\x17google.cloud.alloydb.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\".\n\x0cUserPassword\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\"\xe3\x01\n\x0fMigrationSource\x12\x16\n\thost_port\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0creference_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12V\n\x0bsource_type\x18\x03 \x01(\x0e\x32<.google.cloud.alloydb.v1.MigrationSource.MigrationSourceTypeB\x03\xe0\x41\x03\"E\n\x13MigrationSourceType\x12%\n!MIGRATION_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x44MS\x10\x01\"(\n\x10\x45ncryptionConfig\x12\x14\n\x0ckms_key_name\x18\x01 \x01(\t\"\x86\x02\n\x0e\x45ncryptionInfo\x12J\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32,.google.cloud.alloydb.v1.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\"\\\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\"\xfe\x02\n\tSslConfig\x12\x41\n\x08ssl_mode\x18\x01 \x01(\x0e\x32*.google.cloud.alloydb.v1.SslConfig.SslModeB\x03\xe0\x41\x01\x12\x43\n\tca_source\x18\x02 \x01(\x0e\x32+.google.cloud.alloydb.v1.SslConfig.CaSourceB\x03\xe0\x41\x01\"\xaa\x01\n\x07SslMode\x12\x18\n\x14SSL_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x0eSSL_MODE_ALLOW\x10\x01\x1a\x02\x08\x01\x12\x18\n\x10SSL_MODE_REQUIRE\x10\x02\x1a\x02\x08\x01\x12\x1a\n\x12SSL_MODE_VERIFY_CA\x10\x03\x1a\x02\x08\x01\x12#\n\x1f\x41LLOW_UNENCRYPTED_AND_ENCRYPTED\x10\x04\x12\x12\n\x0e\x45NCRYPTED_ONLY\x10\x05\"<\n\x08\x43\x61Source\x12\x19\n\x15\x43\x41_SOURCE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43\x41_SOURCE_MANAGED\x10\x01\"\xe5\x06\n\x15\x41utomatedBackupPolicy\x12X\n\x0fweekly_schedule\x18\x02 \x01(\x0b\x32=.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleH\x00\x12\x61\n\x14time_based_retention\x18\x04 \x01(\x0b\x32\x41.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionH\x01\x12i\n\x18quantity_based_retention\x18\x05 \x01(\x0b\x32\x45.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionH\x01\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x02\x88\x01\x01\x12\x30\n\rbackup_window\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12I\n\x11\x65ncryption_config\x18\x08 \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\x03\xe0\x41\x01\x12\x10\n\x08location\x18\x06 \x01(\t\x12J\n\x06labels\x18\x07 \x03(\x0b\x32:.google.cloud.alloydb.v1.AutomatedBackupPolicy.LabelsEntry\x1ak\n\x0eWeeklySchedule\x12+\n\x0bstart_times\x18\x01 \x03(\x0b\x32\x16.google.type.TimeOfDay\x12,\n\x0c\x64\x61ys_of_week\x18\x02 \x03(\x0e\x32\x16.google.type.DayOfWeek\x1aI\n\x12TimeBasedRetention\x12\x33\n\x10retention_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\'\n\x16QuantityBasedRetention\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08scheduleB\x0b\n\tretentionB\n\n\x08_enabled\"\x9e\x01\n\x16\x43ontinuousBackupConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1c\n\x14recovery_window_days\x18\x04 \x01(\x05\x12\x44\n\x11\x65ncryption_config\x18\x03 \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\n\n\x08_enabled\"\x86\x02\n\x14\x43ontinuousBackupInfo\x12\x45\n\x0f\x65ncryption_info\x18\x01 \x01(\x0b\x32\'.google.cloud.alloydb.v1.EncryptionInfoB\x03\xe0\x41\x03\x12\x35\n\x0c\x65nabled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12-\n\x08schedule\x18\x03 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x03\x12\x41\n\x18\x65\x61rliest_restorable_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"c\n\x0c\x42\x61\x63kupSource\x12\x17\n\nbackup_uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12:\n\x0b\x62\x61\x63kup_name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\"f\n\x16\x43ontinuousBackupSource\x12\x14\n\x07\x63luster\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\rpoint_in_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\xac\x11\n\x07\x43luster\x12\x43\n\rbackup_source\x18\x0f \x01(\x0b\x32%.google.cloud.alloydb.v1.BackupSourceB\x03\xe0\x41\x03H\x00\x12I\n\x10migration_source\x18\x10 \x01(\x0b\x32(.google.cloud.alloydb.v1.MigrationSourceB\x03\xe0\x41\x03H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x06labels\x18\x07 \x03(\x0b\x32,.google.cloud.alloydb.v1.Cluster.LabelsEntry\x12:\n\x05state\x18\x08 \x01(\x0e\x32&.google.cloud.alloydb.v1.Cluster.StateB\x03\xe0\x41\x03\x12G\n\x0c\x63luster_type\x18\x18 \x01(\x0e\x32,.google.cloud.alloydb.v1.Cluster.ClusterTypeB\x03\xe0\x41\x03\x12G\n\x10\x64\x61tabase_version\x18\t \x01(\x0e\x32(.google.cloud.alloydb.v1.DatabaseVersionB\x03\xe0\x41\x01\x12K\n\x0enetwork_config\x18\x1d \x01(\x0b\x32..google.cloud.alloydb.v1.Cluster.NetworkConfigB\x03\xe0\x41\x01\x12\x39\n\x07network\x18\n \x01(\tB(\x18\x01\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t\x12\x46\n\x0b\x61nnotations\x18\x0c \x03(\x0b\x32\x31.google.cloud.alloydb.v1.Cluster.AnnotationsEntry\x12\x18\n\x0breconciling\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x12@\n\x0cinitial_user\x18\x0e \x01(\x0b\x32%.google.cloud.alloydb.v1.UserPasswordB\x03\xe0\x41\x04\x12O\n\x17\x61utomated_backup_policy\x18\x11 \x01(\x0b\x32..google.cloud.alloydb.v1.AutomatedBackupPolicy\x12:\n\nssl_config\x18\x12 \x01(\x0b\x32\".google.cloud.alloydb.v1.SslConfigB\x02\x18\x01\x12I\n\x11\x65ncryption_config\x18\x13 \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\x03\xe0\x41\x01\x12\x45\n\x0f\x65ncryption_info\x18\x14 \x01(\x0b\x32\'.google.cloud.alloydb.v1.EncryptionInfoB\x03\xe0\x41\x03\x12V\n\x18\x63ontinuous_backup_config\x18\x1b \x01(\x0b\x32/.google.cloud.alloydb.v1.ContinuousBackupConfigB\x03\xe0\x41\x01\x12R\n\x16\x63ontinuous_backup_info\x18\x1c \x01(\x0b\x32-.google.cloud.alloydb.v1.ContinuousBackupInfoB\x03\xe0\x41\x03\x12J\n\x10secondary_config\x18\x16 \x01(\x0b\x32\x30.google.cloud.alloydb.v1.Cluster.SecondaryConfig\x12K\n\x0eprimary_config\x18\x17 \x01(\x0b\x32..google.cloud.alloydb.v1.Cluster.PrimaryConfigB\x03\xe0\x41\x03\x1ai\n\rNetworkConfig\x12\x37\n\x07network\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x1f\n\x12\x61llocated_ip_range\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a/\n\x0fSecondaryConfig\x12\x1c\n\x14primary_cluster_name\x18\x01 \x01(\t\x1a\x35\n\rPrimaryConfig\x12$\n\x17secondary_cluster_names\x18\x01 \x03(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0b\n\x07STOPPED\x10\x02\x12\t\n\x05\x45MPTY\x10\x03\x12\x0c\n\x08\x43REATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x11\n\rBOOTSTRAPPING\x10\x07\x12\x0f\n\x0bMAINTENANCE\x10\x08\x12\r\n\tPROMOTING\x10\t\"G\n\x0b\x43lusterType\x12\x1c\n\x18\x43LUSTER_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tSECONDARY\x10\x02:b\xea\x41_\n\x1e\x61lloydb.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}R\x01\x01\x42\x08\n\x06source\"\x8c\x12\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x06labels\x18\x07 \x03(\x0b\x32-.google.cloud.alloydb.v1.Instance.LabelsEntry\x12;\n\x05state\x18\x08 \x01(\x0e\x32\'.google.cloud.alloydb.v1.Instance.StateB\x03\xe0\x41\x03\x12J\n\rinstance_type\x18\t \x01(\x0e\x32..google.cloud.alloydb.v1.Instance.InstanceTypeB\x03\xe0\x41\x02\x12G\n\x0emachine_config\x18\n \x01(\x0b\x32/.google.cloud.alloydb.v1.Instance.MachineConfig\x12M\n\x11\x61vailability_type\x18\x0b \x01(\x0e\x32\x32.google.cloud.alloydb.v1.Instance.AvailabilityType\x12\x10\n\x08gce_zone\x18\x0c \x01(\t\x12L\n\x0e\x64\x61tabase_flags\x18\r \x03(\x0b\x32\x34.google.cloud.alloydb.v1.Instance.DatabaseFlagsEntry\x12\x42\n\rwritable_node\x18\x13 \x01(\x0b\x32&.google.cloud.alloydb.v1.Instance.NodeB\x03\xe0\x41\x03\x12:\n\x05nodes\x18\x14 \x03(\x0b\x32&.google.cloud.alloydb.v1.Instance.NodeB\x03\xe0\x41\x03\x12\\\n\x15query_insights_config\x18\x15 \x01(\x0b\x32=.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig\x12J\n\x10read_pool_config\x18\x0e \x01(\x0b\x32\x30.google.cloud.alloydb.v1.Instance.ReadPoolConfig\x12\x17\n\nip_address\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x10 \x01(\x08\x42\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x11 \x01(\t\x12G\n\x0b\x61nnotations\x18\x12 \x03(\x0b\x32\x32.google.cloud.alloydb.v1.Instance.AnnotationsEntry\x12_\n\x18\x63lient_connection_config\x18\x17 \x01(\x0b\x32\x38.google.cloud.alloydb.v1.Instance.ClientConnectionConfigB\x03\xe0\x41\x01\x1a\"\n\rMachineConfig\x12\x11\n\tcpu_count\x18\x01 \x01(\x05\x1a>\n\x04Node\x12\x0f\n\x07zone_id\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\n\n\x02ip\x18\x03 \x01(\t\x12\r\n\x05state\x18\x04 \x01(\t\x1a\xfa\x01\n\x1bQueryInsightsInstanceConfig\x12$\n\x17record_application_tags\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\"\n\x15record_client_address\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x1b\n\x13query_string_length\x18\x04 \x01(\r\x12#\n\x16query_plans_per_minute\x18\x05 \x01(\rH\x02\x88\x01\x01\x42\x1a\n\x18_record_application_tagsB\x18\n\x16_record_client_addressB\x19\n\x17_query_plans_per_minute\x1a$\n\x0eReadPoolConfig\x12\x12\n\nnode_count\x18\x01 \x01(\x05\x1av\n\x16\x43lientConnectionConfig\x12\x1f\n\x12require_connectors\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12;\n\nssl_config\x18\x02 \x01(\x0b\x32\".google.cloud.alloydb.v1.SslConfigB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12\x44\x61tabaseFlagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x91\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0b\n\x07STOPPED\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0f\n\x0bMAINTENANCE\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x11\n\rBOOTSTRAPPING\x10\x08\x12\r\n\tPROMOTING\x10\t\"X\n\x0cInstanceType\x12\x1d\n\x19INSTANCE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tREAD_POOL\x10\x02\x12\r\n\tSECONDARY\x10\x03\"N\n\x10\x41vailabilityType\x12!\n\x1d\x41VAILABILITY_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05ZONAL\x10\x01\x12\x0c\n\x08REGIONAL\x10\x02:x\xea\x41u\n\x1f\x61lloydb.googleapis.com/Instance\x12Oprojects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}R\x01\x01\"\xa6\x0b\n\x06\x42\x61\x63kup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12;\n\x06labels\x18\x06 \x03(\x0b\x32+.google.cloud.alloydb.v1.Backup.LabelsEntry\x12\x39\n\x05state\x18\x07 \x01(\x0e\x32%.google.cloud.alloydb.v1.Backup.StateB\x03\xe0\x41\x03\x12\x32\n\x04type\x18\x08 \x01(\x0e\x32$.google.cloud.alloydb.v1.Backup.Type\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12\x18\n\x0b\x63luster_uid\x18\x12 \x01(\tB\x03\xe0\x41\x03\x12<\n\x0c\x63luster_name\x18\n \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x18\n\x0breconciling\x18\x0b \x01(\x08\x42\x03\xe0\x41\x03\x12I\n\x11\x65ncryption_config\x18\x0c \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\x03\xe0\x41\x01\x12\x45\n\x0f\x65ncryption_info\x18\r \x01(\x0b\x32\'.google.cloud.alloydb.v1.EncryptionInfoB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12\x45\n\x0b\x61nnotations\x18\x10 \x03(\x0b\x32\x30.google.cloud.alloydb.v1.Backup.AnnotationsEntry\x12\x17\n\nsize_bytes\x18\x11 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpiry_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Q\n\x0f\x65xpiry_quantity\x18\x14 \x01(\x0b\x32\x33.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryB\x03\xe0\x41\x03\x12G\n\x10\x64\x61tabase_version\x18\x16 \x01(\x0e\x32(.google.cloud.alloydb.v1.DatabaseVersionB\x03\xe0\x41\x03\x1aW\n\x13QuantityBasedExpiry\x12\x1c\n\x0fretention_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\"\n\x15total_retention_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Q\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\"J\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tON_DEMAND\x10\x01\x12\r\n\tAUTOMATED\x10\x02\x12\x0e\n\nCONTINUOUS\x10\x03:_\xea\x41\\\n\x1d\x61lloydb.googleapis.com/Backup\x12\x38projects/{project}/locations/{location}/backups/{backup}R\x01\x01\"\xc8\x06\n\x15SupportedDatabaseFlag\x12`\n\x13string_restrictions\x18\x07 \x01(\x0b\x32\x41.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsH\x00\x12\x62\n\x14integer_restrictions\x18\x08 \x01(\x0b\x32\x42.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tflag_name\x18\x02 \x01(\t\x12L\n\nvalue_type\x18\x03 \x01(\x0e\x32\x38.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType\x12\x1f\n\x17\x61\x63\x63\x65pts_multiple_values\x18\x04 \x01(\x08\x12G\n\x15supported_db_versions\x18\x05 \x03(\x0e\x32(.google.cloud.alloydb.v1.DatabaseVersion\x12\x1b\n\x13requires_db_restart\x18\x06 \x01(\x08\x1a,\n\x12StringRestrictions\x12\x16\n\x0e\x61llowed_values\x18\x01 \x03(\t\x1au\n\x13IntegerRestrictions\x12.\n\tmin_value\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12.\n\tmax_value\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"U\n\tValueType\x12\x1a\n\x16VALUE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\x0b\n\x07INTEGER\x10\x02\x12\t\n\x05\x46LOAT\x10\x03\x12\x08\n\x04NONE\x10\x04:g\xea\x41\x64\n,alloydb.googleapis.com/SupportedDatabaseFlag\x12\x34projects/{project}/locations/{location}/flags/{flag}B\x0e\n\x0crestrictions\"\xce\x02\n\x04User\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08password\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x1b\n\x0e\x64\x61tabase_roles\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12>\n\tuser_type\x18\x05 \x01(\x0e\x32&.google.cloud.alloydb.v1.User.UserTypeB\x03\xe0\x41\x01\"Q\n\x08UserType\x12\x19\n\x15USER_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41LLOYDB_BUILT_IN\x10\x01\x12\x14\n\x10\x41LLOYDB_IAM_USER\x10\x02:l\xea\x41i\n\x1b\x61lloydb.googleapis.com/User\x12Gprojects/{project}/locations/{location}/clusters/{cluster}/users/{user}R\x01\x01*^\n\x0cInstanceView\x12\x1d\n\x19INSTANCE_VIEW_UNSPECIFIED\x10\x00\x12\x17\n\x13INSTANCE_VIEW_BASIC\x10\x01\x12\x16\n\x12INSTANCE_VIEW_FULL\x10\x02*g\n\x0b\x43lusterView\x12\x1c\n\x18\x43LUSTER_VIEW_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43LUSTER_VIEW_BASIC\x10\x01\x12\"\n\x1e\x43LUSTER_VIEW_CONTINUOUS_BACKUP\x10\x02*Y\n\x0f\x44\x61tabaseVersion\x12 \n\x1c\x44\x41TABASE_VERSION_UNSPECIFIED\x10\x00\x12\x13\n\x0bPOSTGRES_13\x10\x01\x1a\x02\x08\x01\x12\x0f\n\x0bPOSTGRES_14\x10\x02\x42\xb2\x03\n\x1b\x63om.google.cloud.alloydb.v1B\x0eResourcesProtoP\x01Z5cloud.google.com/go/alloydb/apiv1/alloydbpb;alloydbpb\xaa\x02\x17Google.Cloud.AlloyDb.V1\xca\x02\x17Google\\Cloud\\AlloyDb\\V1\xea\x02\x1aGoogle::Cloud::AlloyDB::V1\xea\x41\xa6\x01\n(cloudkms.googleapis.com/CryptoKeyVersion\x12zprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}b\x06proto3"
16
+ descriptor_data = "\n\'google/cloud/alloydb/v1/resources.proto\x12\x17google.cloud.alloydb.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\".\n\x0cUserPassword\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\"\xe3\x01\n\x0fMigrationSource\x12\x16\n\thost_port\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0creference_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12V\n\x0bsource_type\x18\x03 \x01(\x0e\x32<.google.cloud.alloydb.v1.MigrationSource.MigrationSourceTypeB\x03\xe0\x41\x03\"E\n\x13MigrationSourceType\x12%\n!MIGRATION_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x44MS\x10\x01\"(\n\x10\x45ncryptionConfig\x12\x14\n\x0ckms_key_name\x18\x01 \x01(\t\"\x86\x02\n\x0e\x45ncryptionInfo\x12J\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32,.google.cloud.alloydb.v1.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\"\\\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\"\xfe\x02\n\tSslConfig\x12\x41\n\x08ssl_mode\x18\x01 \x01(\x0e\x32*.google.cloud.alloydb.v1.SslConfig.SslModeB\x03\xe0\x41\x01\x12\x43\n\tca_source\x18\x02 \x01(\x0e\x32+.google.cloud.alloydb.v1.SslConfig.CaSourceB\x03\xe0\x41\x01\"\xaa\x01\n\x07SslMode\x12\x18\n\x14SSL_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x0eSSL_MODE_ALLOW\x10\x01\x1a\x02\x08\x01\x12\x18\n\x10SSL_MODE_REQUIRE\x10\x02\x1a\x02\x08\x01\x12\x1a\n\x12SSL_MODE_VERIFY_CA\x10\x03\x1a\x02\x08\x01\x12#\n\x1f\x41LLOW_UNENCRYPTED_AND_ENCRYPTED\x10\x04\x12\x12\n\x0e\x45NCRYPTED_ONLY\x10\x05\"<\n\x08\x43\x61Source\x12\x19\n\x15\x43\x41_SOURCE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43\x41_SOURCE_MANAGED\x10\x01\"\xe5\x06\n\x15\x41utomatedBackupPolicy\x12X\n\x0fweekly_schedule\x18\x02 \x01(\x0b\x32=.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleH\x00\x12\x61\n\x14time_based_retention\x18\x04 \x01(\x0b\x32\x41.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionH\x01\x12i\n\x18quantity_based_retention\x18\x05 \x01(\x0b\x32\x45.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionH\x01\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x02\x88\x01\x01\x12\x30\n\rbackup_window\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12I\n\x11\x65ncryption_config\x18\x08 \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\x03\xe0\x41\x01\x12\x10\n\x08location\x18\x06 \x01(\t\x12J\n\x06labels\x18\x07 \x03(\x0b\x32:.google.cloud.alloydb.v1.AutomatedBackupPolicy.LabelsEntry\x1ak\n\x0eWeeklySchedule\x12+\n\x0bstart_times\x18\x01 \x03(\x0b\x32\x16.google.type.TimeOfDay\x12,\n\x0c\x64\x61ys_of_week\x18\x02 \x03(\x0e\x32\x16.google.type.DayOfWeek\x1aI\n\x12TimeBasedRetention\x12\x33\n\x10retention_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\'\n\x16QuantityBasedRetention\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08scheduleB\x0b\n\tretentionB\n\n\x08_enabled\"\x9e\x01\n\x16\x43ontinuousBackupConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1c\n\x14recovery_window_days\x18\x04 \x01(\x05\x12\x44\n\x11\x65ncryption_config\x18\x03 \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\n\n\x08_enabled\"\x86\x02\n\x14\x43ontinuousBackupInfo\x12\x45\n\x0f\x65ncryption_info\x18\x01 \x01(\x0b\x32\'.google.cloud.alloydb.v1.EncryptionInfoB\x03\xe0\x41\x03\x12\x35\n\x0c\x65nabled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12-\n\x08schedule\x18\x03 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x03\x12\x41\n\x18\x65\x61rliest_restorable_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"c\n\x0c\x42\x61\x63kupSource\x12\x17\n\nbackup_uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12:\n\x0b\x62\x61\x63kup_name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\"f\n\x16\x43ontinuousBackupSource\x12\x14\n\x07\x63luster\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\rpoint_in_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\xac\x11\n\x07\x43luster\x12\x43\n\rbackup_source\x18\x0f \x01(\x0b\x32%.google.cloud.alloydb.v1.BackupSourceB\x03\xe0\x41\x03H\x00\x12I\n\x10migration_source\x18\x10 \x01(\x0b\x32(.google.cloud.alloydb.v1.MigrationSourceB\x03\xe0\x41\x03H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x06labels\x18\x07 \x03(\x0b\x32,.google.cloud.alloydb.v1.Cluster.LabelsEntry\x12:\n\x05state\x18\x08 \x01(\x0e\x32&.google.cloud.alloydb.v1.Cluster.StateB\x03\xe0\x41\x03\x12G\n\x0c\x63luster_type\x18\x18 \x01(\x0e\x32,.google.cloud.alloydb.v1.Cluster.ClusterTypeB\x03\xe0\x41\x03\x12G\n\x10\x64\x61tabase_version\x18\t \x01(\x0e\x32(.google.cloud.alloydb.v1.DatabaseVersionB\x03\xe0\x41\x01\x12K\n\x0enetwork_config\x18\x1d \x01(\x0b\x32..google.cloud.alloydb.v1.Cluster.NetworkConfigB\x03\xe0\x41\x01\x12\x39\n\x07network\x18\n \x01(\tB(\x18\x01\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t\x12\x46\n\x0b\x61nnotations\x18\x0c \x03(\x0b\x32\x31.google.cloud.alloydb.v1.Cluster.AnnotationsEntry\x12\x18\n\x0breconciling\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x12@\n\x0cinitial_user\x18\x0e \x01(\x0b\x32%.google.cloud.alloydb.v1.UserPasswordB\x03\xe0\x41\x04\x12O\n\x17\x61utomated_backup_policy\x18\x11 \x01(\x0b\x32..google.cloud.alloydb.v1.AutomatedBackupPolicy\x12:\n\nssl_config\x18\x12 \x01(\x0b\x32\".google.cloud.alloydb.v1.SslConfigB\x02\x18\x01\x12I\n\x11\x65ncryption_config\x18\x13 \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\x03\xe0\x41\x01\x12\x45\n\x0f\x65ncryption_info\x18\x14 \x01(\x0b\x32\'.google.cloud.alloydb.v1.EncryptionInfoB\x03\xe0\x41\x03\x12V\n\x18\x63ontinuous_backup_config\x18\x1b \x01(\x0b\x32/.google.cloud.alloydb.v1.ContinuousBackupConfigB\x03\xe0\x41\x01\x12R\n\x16\x63ontinuous_backup_info\x18\x1c \x01(\x0b\x32-.google.cloud.alloydb.v1.ContinuousBackupInfoB\x03\xe0\x41\x03\x12J\n\x10secondary_config\x18\x16 \x01(\x0b\x32\x30.google.cloud.alloydb.v1.Cluster.SecondaryConfig\x12K\n\x0eprimary_config\x18\x17 \x01(\x0b\x32..google.cloud.alloydb.v1.Cluster.PrimaryConfigB\x03\xe0\x41\x03\x1ai\n\rNetworkConfig\x12\x37\n\x07network\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x1f\n\x12\x61llocated_ip_range\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a/\n\x0fSecondaryConfig\x12\x1c\n\x14primary_cluster_name\x18\x01 \x01(\t\x1a\x35\n\rPrimaryConfig\x12$\n\x17secondary_cluster_names\x18\x01 \x03(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0b\n\x07STOPPED\x10\x02\x12\t\n\x05\x45MPTY\x10\x03\x12\x0c\n\x08\x43REATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x11\n\rBOOTSTRAPPING\x10\x07\x12\x0f\n\x0bMAINTENANCE\x10\x08\x12\r\n\tPROMOTING\x10\t\"G\n\x0b\x43lusterType\x12\x1c\n\x18\x43LUSTER_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tSECONDARY\x10\x02:b\xea\x41_\n\x1e\x61lloydb.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}R\x01\x01\x42\x08\n\x06source\"\x8c\x12\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x06labels\x18\x07 \x03(\x0b\x32-.google.cloud.alloydb.v1.Instance.LabelsEntry\x12;\n\x05state\x18\x08 \x01(\x0e\x32\'.google.cloud.alloydb.v1.Instance.StateB\x03\xe0\x41\x03\x12J\n\rinstance_type\x18\t \x01(\x0e\x32..google.cloud.alloydb.v1.Instance.InstanceTypeB\x03\xe0\x41\x02\x12G\n\x0emachine_config\x18\n \x01(\x0b\x32/.google.cloud.alloydb.v1.Instance.MachineConfig\x12M\n\x11\x61vailability_type\x18\x0b \x01(\x0e\x32\x32.google.cloud.alloydb.v1.Instance.AvailabilityType\x12\x10\n\x08gce_zone\x18\x0c \x01(\t\x12L\n\x0e\x64\x61tabase_flags\x18\r \x03(\x0b\x32\x34.google.cloud.alloydb.v1.Instance.DatabaseFlagsEntry\x12\x42\n\rwritable_node\x18\x13 \x01(\x0b\x32&.google.cloud.alloydb.v1.Instance.NodeB\x03\xe0\x41\x03\x12:\n\x05nodes\x18\x14 \x03(\x0b\x32&.google.cloud.alloydb.v1.Instance.NodeB\x03\xe0\x41\x03\x12\\\n\x15query_insights_config\x18\x15 \x01(\x0b\x32=.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig\x12J\n\x10read_pool_config\x18\x0e \x01(\x0b\x32\x30.google.cloud.alloydb.v1.Instance.ReadPoolConfig\x12\x17\n\nip_address\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x10 \x01(\x08\x42\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x11 \x01(\t\x12G\n\x0b\x61nnotations\x18\x12 \x03(\x0b\x32\x32.google.cloud.alloydb.v1.Instance.AnnotationsEntry\x12_\n\x18\x63lient_connection_config\x18\x17 \x01(\x0b\x32\x38.google.cloud.alloydb.v1.Instance.ClientConnectionConfigB\x03\xe0\x41\x01\x1a\"\n\rMachineConfig\x12\x11\n\tcpu_count\x18\x01 \x01(\x05\x1a>\n\x04Node\x12\x0f\n\x07zone_id\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\n\n\x02ip\x18\x03 \x01(\t\x12\r\n\x05state\x18\x04 \x01(\t\x1a\xfa\x01\n\x1bQueryInsightsInstanceConfig\x12$\n\x17record_application_tags\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\"\n\x15record_client_address\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x1b\n\x13query_string_length\x18\x04 \x01(\r\x12#\n\x16query_plans_per_minute\x18\x05 \x01(\rH\x02\x88\x01\x01\x42\x1a\n\x18_record_application_tagsB\x18\n\x16_record_client_addressB\x19\n\x17_query_plans_per_minute\x1a$\n\x0eReadPoolConfig\x12\x12\n\nnode_count\x18\x01 \x01(\x05\x1av\n\x16\x43lientConnectionConfig\x12\x1f\n\x12require_connectors\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12;\n\nssl_config\x18\x02 \x01(\x0b\x32\".google.cloud.alloydb.v1.SslConfigB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12\x44\x61tabaseFlagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x91\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0b\n\x07STOPPED\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0f\n\x0bMAINTENANCE\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x11\n\rBOOTSTRAPPING\x10\x08\x12\r\n\tPROMOTING\x10\t\"X\n\x0cInstanceType\x12\x1d\n\x19INSTANCE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tREAD_POOL\x10\x02\x12\r\n\tSECONDARY\x10\x03\"N\n\x10\x41vailabilityType\x12!\n\x1d\x41VAILABILITY_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05ZONAL\x10\x01\x12\x0c\n\x08REGIONAL\x10\x02:x\xea\x41u\n\x1f\x61lloydb.googleapis.com/Instance\x12Oprojects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}R\x01\x01\"\xe0\x01\n\x0e\x43onnectionInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\nip_address\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cinstance_uid\x18\x04 \x01(\tB\x03\xe0\x41\x03:\x8b\x01\xea\x41\x87\x01\n%alloydb.googleapis.com/ConnectionInfo\x12^projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}/connectionInfo\"\xa6\x0b\n\x06\x42\x61\x63kup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12;\n\x06labels\x18\x06 \x03(\x0b\x32+.google.cloud.alloydb.v1.Backup.LabelsEntry\x12\x39\n\x05state\x18\x07 \x01(\x0e\x32%.google.cloud.alloydb.v1.Backup.StateB\x03\xe0\x41\x03\x12\x32\n\x04type\x18\x08 \x01(\x0e\x32$.google.cloud.alloydb.v1.Backup.Type\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12\x18\n\x0b\x63luster_uid\x18\x12 \x01(\tB\x03\xe0\x41\x03\x12<\n\x0c\x63luster_name\x18\n \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x18\n\x0breconciling\x18\x0b \x01(\x08\x42\x03\xe0\x41\x03\x12I\n\x11\x65ncryption_config\x18\x0c \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\x03\xe0\x41\x01\x12\x45\n\x0f\x65ncryption_info\x18\r \x01(\x0b\x32\'.google.cloud.alloydb.v1.EncryptionInfoB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12\x45\n\x0b\x61nnotations\x18\x10 \x03(\x0b\x32\x30.google.cloud.alloydb.v1.Backup.AnnotationsEntry\x12\x17\n\nsize_bytes\x18\x11 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpiry_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Q\n\x0f\x65xpiry_quantity\x18\x14 \x01(\x0b\x32\x33.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryB\x03\xe0\x41\x03\x12G\n\x10\x64\x61tabase_version\x18\x16 \x01(\x0e\x32(.google.cloud.alloydb.v1.DatabaseVersionB\x03\xe0\x41\x03\x1aW\n\x13QuantityBasedExpiry\x12\x1c\n\x0fretention_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\"\n\x15total_retention_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Q\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\"J\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tON_DEMAND\x10\x01\x12\r\n\tAUTOMATED\x10\x02\x12\x0e\n\nCONTINUOUS\x10\x03:_\xea\x41\\\n\x1d\x61lloydb.googleapis.com/Backup\x12\x38projects/{project}/locations/{location}/backups/{backup}R\x01\x01\"\xc8\x06\n\x15SupportedDatabaseFlag\x12`\n\x13string_restrictions\x18\x07 \x01(\x0b\x32\x41.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsH\x00\x12\x62\n\x14integer_restrictions\x18\x08 \x01(\x0b\x32\x42.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tflag_name\x18\x02 \x01(\t\x12L\n\nvalue_type\x18\x03 \x01(\x0e\x32\x38.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType\x12\x1f\n\x17\x61\x63\x63\x65pts_multiple_values\x18\x04 \x01(\x08\x12G\n\x15supported_db_versions\x18\x05 \x03(\x0e\x32(.google.cloud.alloydb.v1.DatabaseVersion\x12\x1b\n\x13requires_db_restart\x18\x06 \x01(\x08\x1a,\n\x12StringRestrictions\x12\x16\n\x0e\x61llowed_values\x18\x01 \x03(\t\x1au\n\x13IntegerRestrictions\x12.\n\tmin_value\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12.\n\tmax_value\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"U\n\tValueType\x12\x1a\n\x16VALUE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\x0b\n\x07INTEGER\x10\x02\x12\t\n\x05\x46LOAT\x10\x03\x12\x08\n\x04NONE\x10\x04:g\xea\x41\x64\n,alloydb.googleapis.com/SupportedDatabaseFlag\x12\x34projects/{project}/locations/{location}/flags/{flag}B\x0e\n\x0crestrictions\"\xce\x02\n\x04User\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08password\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x1b\n\x0e\x64\x61tabase_roles\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12>\n\tuser_type\x18\x05 \x01(\x0e\x32&.google.cloud.alloydb.v1.User.UserTypeB\x03\xe0\x41\x01\"Q\n\x08UserType\x12\x19\n\x15USER_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41LLOYDB_BUILT_IN\x10\x01\x12\x14\n\x10\x41LLOYDB_IAM_USER\x10\x02:l\xea\x41i\n\x1b\x61lloydb.googleapis.com/User\x12Gprojects/{project}/locations/{location}/clusters/{cluster}/users/{user}R\x01\x01*^\n\x0cInstanceView\x12\x1d\n\x19INSTANCE_VIEW_UNSPECIFIED\x10\x00\x12\x17\n\x13INSTANCE_VIEW_BASIC\x10\x01\x12\x16\n\x12INSTANCE_VIEW_FULL\x10\x02*g\n\x0b\x43lusterView\x12\x1c\n\x18\x43LUSTER_VIEW_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43LUSTER_VIEW_BASIC\x10\x01\x12\"\n\x1e\x43LUSTER_VIEW_CONTINUOUS_BACKUP\x10\x02*Y\n\x0f\x44\x61tabaseVersion\x12 \n\x1c\x44\x41TABASE_VERSION_UNSPECIFIED\x10\x00\x12\x13\n\x0bPOSTGRES_13\x10\x01\x1a\x02\x08\x01\x12\x0f\n\x0bPOSTGRES_14\x10\x02\x42\xb2\x03\n\x1b\x63om.google.cloud.alloydb.v1B\x0eResourcesProtoP\x01Z5cloud.google.com/go/alloydb/apiv1/alloydbpb;alloydbpb\xaa\x02\x17Google.Cloud.AlloyDb.V1\xca\x02\x17Google\\Cloud\\AlloyDb\\V1\xea\x02\x1aGoogle::Cloud::AlloyDB::V1\xea\x41\xa6\x01\n(cloudkms.googleapis.com/CryptoKeyVersion\x12zprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}b\x06proto3"
17
17
 
18
18
  pool = Google::Protobuf::DescriptorPool.generated_pool
19
19
 
@@ -79,6 +79,7 @@ module Google
79
79
  Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Instance.State").enummodule
80
80
  Instance::InstanceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Instance.InstanceType").enummodule
81
81
  Instance::AvailabilityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Instance.AvailabilityType").enummodule
82
+ ConnectionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.ConnectionInfo").msgclass
82
83
  Backup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Backup").msgclass
83
84
  Backup::QuantityBasedExpiry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Backup.QuantityBasedExpiry").msgclass
84
85
  Backup::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Backup.State").enummodule
@@ -10,13 +10,14 @@ require 'google/api/field_behavior_pb'
10
10
  require 'google/api/resource_pb'
11
11
  require 'google/cloud/alloydb/v1/resources_pb'
12
12
  require 'google/longrunning/operations_pb'
13
+ require 'google/protobuf/duration_pb'
13
14
  require 'google/protobuf/empty_pb'
14
15
  require 'google/protobuf/field_mask_pb'
15
16
  require 'google/protobuf/timestamp_pb'
16
17
  require 'google/rpc/status_pb'
17
18
 
18
19
 
19
- descriptor_data = "\n%google/cloud/alloydb/v1/service.proto\x12\x17google.cloud.alloydb.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/alloydb/v1/resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xa5\x01\n\x13ListClustersRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"x\n\x14ListClustersResponse\x12\x32\n\x08\x63lusters\x18\x01 \x03(\x0b\x32 .google.cloud.alloydb.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x82\x01\n\x11GetClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x37\n\x04view\x18\x02 \x01(\x0e\x32$.google.cloud.alloydb.v1.ClusterViewB\x03\xe0\x41\x01\"\xdd\x01\n\x1d\x43reateSecondaryClusterRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\x07\x63luster\x18\x03 \x01(\x0b\x32 .google.cloud.alloydb.v1.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"\xd4\x01\n\x14\x43reateClusterRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\x07\x63luster\x18\x03 \x01(\x0b\x32 .google.cloud.alloydb.v1.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xd5\x01\n\x14UpdateClusterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x36\n\x07\x63luster\x18\x02 \x01(\x0b\x32 .google.cloud.alloydb.v1.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xa8\x01\n\x14\x44\x65leteClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x95\x01\n\x15PromoteClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xf4\x02\n\x15RestoreClusterRequest\x12>\n\rbackup_source\x18\x04 \x01(\x0b\x32%.google.cloud.alloydb.v1.BackupSourceH\x00\x12S\n\x18\x63ontinuous_backup_source\x18\x08 \x01(\x0b\x32/.google.cloud.alloydb.v1.ContinuousBackupSourceH\x00\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\x07\x63luster\x18\x03 \x01(\x0b\x32 .google.cloud.alloydb.v1.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x42\x08\n\x06source\"\xa7\x01\n\x14ListInstancesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"{\n\x15ListInstancesResponse\x12\x34\n\tinstances\x18\x01 \x03(\x0b\x32!.google.cloud.alloydb.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x80\x01\n\x12GetInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x33\n\x04view\x18\x02 \x01(\x0e\x32%.google.cloud.alloydb.v1.InstanceView\"\xd9\x01\n\x15\x43reateInstanceRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x08instance\x18\x03 \x01(\x0b\x32!.google.cloud.alloydb.v1.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xe2\x01\n\x1e\x43reateSecondaryInstanceRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x08instance\x18\x03 \x01(\x0b\x32!.google.cloud.alloydb.v1.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"o\n\x16\x43reateInstanceRequests\x12U\n\x18\x63reate_instance_requests\x18\x01 \x03(\x0b\x32..google.cloud.alloydb.v1.CreateInstanceRequestB\x03\xe0\x41\x02\"\xb7\x01\n\x1b\x42\x61tchCreateInstancesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x46\n\x08requests\x18\x02 \x01(\x0b\x32/.google.cloud.alloydb.v1.CreateInstanceRequestsB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"T\n\x1c\x42\x61tchCreateInstancesResponse\x12\x34\n\tinstances\x18\x01 \x03(\x0b\x32!.google.cloud.alloydb.v1.Instance\"\x8d\x02\n\x1c\x42\x61tchCreateInstancesMetadata\x12\x18\n\x10instance_targets\x18\x01 \x03(\t\x12\x66\n\x11instance_statuses\x18\x02 \x03(\x0b\x32K.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.InstanceStatusesEntry\x1ak\n\x15InstanceStatusesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32\x32.google.cloud.alloydb.v1.BatchCreateInstanceStatus:\x02\x38\x01\"\xd0\x02\n\x19\x42\x61tchCreateInstanceStatus\x12G\n\x05state\x18\x01 \x01(\x0e\x32\x38.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State\x12\x11\n\terror_msg\x18\x02 \x01(\t\x12!\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.Status\x12<\n\x04type\x18\x03 \x01(\x0e\x32..google.cloud.alloydb.v1.Instance.InstanceType\"v\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x12\n\x0ePENDING_CREATE\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x0f\n\x0bROLLED_BACK\x10\x06\"\xd8\x01\n\x15UpdateInstanceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x38\n\x08instance\x18\x02 \x01(\x0b\x32!.google.cloud.alloydb.v1.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x96\x01\n\x15\x44\x65leteInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x85\x01\n\x17\x46\x61iloverInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x86\x02\n\x12InjectFaultRequest\x12N\n\nfault_type\x18\x01 \x01(\x0e\x32\x35.google.cloud.alloydb.v1.InjectFaultRequest.FaultTypeB\x03\xe0\x41\x02\x12\x35\n\x04name\x18\x02 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"4\n\tFaultType\x12\x1a\n\x16\x46\x41ULT_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07STOP_VM\x10\x01\"\x84\x01\n\x16RestartInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x94\x01\n\x12ListBackupsRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1d\x61lloydb.googleapis.com/Backup\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"u\n\x13ListBackupsResponse\x12\x30\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32\x1f.google.cloud.alloydb.v1.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"G\n\x10GetBackupRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\"\xcf\x01\n\x13\x43reateBackupRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1d\x61lloydb.googleapis.com/Backup\x12\x16\n\tbackup_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32\x1f.google.cloud.alloydb.v1.BackupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xd2\x01\n\x13UpdateBackupRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x34\n\x06\x62\x61\x63kup\x18\x02 \x01(\x0b\x32\x1f.google.cloud.alloydb.v1.BackupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x92\x01\n\x13\x44\x65leteBackupRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x90\x01\n!ListSupportedDatabaseFlagsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,alloydb.googleapis.com/SupportedDatabaseFlag\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8f\x01\n\"ListSupportedDatabaseFlagsResponse\x12P\n\x18supported_database_flags\x18\x01 \x03(\x0b\x32..google.cloud.alloydb.v1.SupportedDatabaseFlag\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xfb\x02\n\x11OperationMetadata\x12\x65\n\x1f\x62\x61tch_create_instances_metadata\x18\x08 \x01(\x0b\x32\x35.google.cloud.alloydb.v1.BatchCreateInstancesMetadataB\x03\xe0\x41\x03H\x00\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\x42\x12\n\x10request_specific\"\xa4\x01\n\x10ListUsersRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x61lloydb.googleapis.com/User\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\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"o\n\x11ListUsersResponse\x12,\n\x05users\x18\x01 \x03(\x0b\x32\x1d.google.cloud.alloydb.v1.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"C\n\x0eGetUserRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x61lloydb.googleapis.com/User\"\xc5\x01\n\x11\x43reateUserRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x61lloydb.googleapis.com/User\x12\x14\n\x07user_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x30\n\x04user\x18\x03 \x01(\x0b\x32\x1d.google.cloud.alloydb.v1.UserB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xcc\x01\n\x11UpdateUserRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x30\n\x04user\x18\x02 \x01(\x0b\x32\x1d.google.cloud.alloydb.v1.UserB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"{\n\x11\x44\x65leteUserRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x61lloydb.googleapis.com/User\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x32\xb9.\n\x0c\x41lloyDBAdmin\x12\xaa\x01\n\x0cListClusters\x12,.google.cloud.alloydb.v1.ListClustersRequest\x1a-.google.cloud.alloydb.v1.ListClustersResponse\"=\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/clusters\xda\x41\x06parent\x12\x97\x01\n\nGetCluster\x12*.google.cloud.alloydb.v1.GetClusterRequest\x1a .google.cloud.alloydb.v1.Cluster\";\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/clusters/*}\xda\x41\x04name\x12\xd7\x01\n\rCreateCluster\x12-.google.cloud.alloydb.v1.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"x\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/clusters:\x07\x63luster\xda\x41\x19parent,cluster,cluster_id\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xd9\x01\n\rUpdateCluster\x12-.google.cloud.alloydb.v1.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02?24/v1/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\xda\x41\x13\x63luster,update_mask\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xc7\x01\n\rDeleteCluster\x12-.google.cloud.alloydb.v1.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"h\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/clusters/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xc6\x01\n\x0ePromoteCluster\x12..google.cloud.alloydb.v1.PromoteClusterRequest\x1a\x1d.google.longrunning.Operation\"e\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/clusters/*}:promote:\x01*\xda\x41\x04name\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xbf\x01\n\x0eRestoreCluster\x12..google.cloud.alloydb.v1.RestoreClusterRequest\x1a\x1d.google.longrunning.Operation\"^\x82\xd3\xe4\x93\x02\x39\"4/v1/{parent=projects/*/locations/*}/clusters:restore:\x01*\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xfa\x01\n\x16\x43reateSecondaryCluster\x12\x36.google.cloud.alloydb.v1.CreateSecondaryClusterRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\x82\xd3\xe4\x93\x02G\"</v1/{parent=projects/*/locations/*}/clusters:createsecondary:\x07\x63luster\xda\x41\x19parent,cluster,cluster_id\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xb9\x01\n\rListInstances\x12-.google.cloud.alloydb.v1.ListInstancesRequest\x1a..google.cloud.alloydb.v1.ListInstancesResponse\"I\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*/clusters/*}/instances\xda\x41\x06parent\x12\xa6\x01\n\x0bGetInstance\x12+.google.cloud.alloydb.v1.GetInstanceRequest\x1a!.google.cloud.alloydb.v1.Instance\"G\x82\xd3\xe4\x93\x02:\x12\x38/v1/{name=projects/*/locations/*/clusters/*/instances/*}\xda\x41\x04name\x12\xea\x01\n\x0e\x43reateInstance\x12..google.cloud.alloydb.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\x82\xd3\xe4\x93\x02\x44\"8/v1/{parent=projects/*/locations/*/clusters/*}/instances:\x08instance\xda\x41\x1bparent,instance,instance_id\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\x8c\x02\n\x17\x43reateSecondaryInstance\x12\x37.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\x82\xd3\xe4\x93\x02T\"H/v1/{parent=projects/*/locations/*/clusters/*}/instances:createsecondary:\x08instance\xda\x41\x1bparent,instance,instance_id\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xf8\x01\n\x14\x42\x61tchCreateInstances\x12\x34.google.cloud.alloydb.v1.BatchCreateInstancesRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\x82\xd3\xe4\x93\x02P\"D/v1/{parent=projects/*/locations/*/clusters/*}/instances:batchCreate:\x08requests\xca\x41\x31\n\x1c\x42\x61tchCreateInstancesResponse\x12\x11OperationMetadata\x12\xec\x01\n\x0eUpdateInstance\x12..google.cloud.alloydb.v1.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\x82\xd3\xe4\x93\x02M2A/v1/{instance.name=projects/*/locations/*/clusters/*/instances/*}:\x08instance\xda\x41\x14instance,update_mask\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xd5\x01\n\x0e\x44\x65leteInstance\x12..google.cloud.alloydb.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"t\x82\xd3\xe4\x93\x02:*8/v1/{name=projects/*/locations/*/clusters/*/instances/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xd8\x01\n\x10\x46\x61iloverInstance\x12\x30.google.cloud.alloydb.v1.FailoverInstanceRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/clusters/*/instances/*}:failover:\x01*\xda\x41\x04name\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xdd\x01\n\x0bInjectFault\x12+.google.cloud.alloydb.v1.InjectFaultRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\x82\xd3\xe4\x93\x02I\"D/v1/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault:\x01*\xda\x41\x0f\x66\x61ult_type,name\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xd5\x01\n\x0fRestartInstance\x12/.google.cloud.alloydb.v1.RestartInstanceRequest\x1a\x1d.google.longrunning.Operation\"r\x82\xd3\xe4\x93\x02\x45\"@/v1/{name=projects/*/locations/*/clusters/*/instances/*}:restart:\x01*\xda\x41\x04name\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xa6\x01\n\x0bListBackups\x12+.google.cloud.alloydb.v1.ListBackupsRequest\x1a,.google.cloud.alloydb.v1.ListBackupsResponse\"<\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/backups\xda\x41\x06parent\x12\x93\x01\n\tGetBackup\x12).google.cloud.alloydb.v1.GetBackupRequest\x1a\x1f.google.cloud.alloydb.v1.Backup\":\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/backups/*}\xda\x41\x04name\x12\xd0\x01\n\x0c\x43reateBackup\x12,.google.cloud.alloydb.v1.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xd2\x01\n\x0cUpdateBackup\x12,.google.cloud.alloydb.v1.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"u\x82\xd3\xe4\x93\x02<22/v1/{backup.name=projects/*/locations/*/backups/*}:\x06\x62\x61\x63kup\xda\x41\x12\x62\x61\x63kup,update_mask\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xc4\x01\n\x0c\x44\x65leteBackup\x12,.google.cloud.alloydb.v1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/backups/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe2\x01\n\x1aListSupportedDatabaseFlags\x12:.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest\x1a;.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse\"K\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/*}/supportedDatabaseFlags\xda\x41\x06parent\x12\xa9\x01\n\tListUsers\x12).google.cloud.alloydb.v1.ListUsersRequest\x1a*.google.cloud.alloydb.v1.ListUsersResponse\"E\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{parent=projects/*/locations/*/clusters/*}/users\xda\x41\x06parent\x12\x96\x01\n\x07GetUser\x12\'.google.cloud.alloydb.v1.GetUserRequest\x1a\x1d.google.cloud.alloydb.v1.User\"C\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/clusters/*/users/*}\xda\x41\x04name\x12\xb1\x01\n\nCreateUser\x12*.google.cloud.alloydb.v1.CreateUserRequest\x1a\x1d.google.cloud.alloydb.v1.User\"X\x82\xd3\xe4\x93\x02<\"4/v1/{parent=projects/*/locations/*/clusters/*}/users:\x04user\xda\x41\x13parent,user,user_id\x12\xb3\x01\n\nUpdateUser\x12*.google.cloud.alloydb.v1.UpdateUserRequest\x1a\x1d.google.cloud.alloydb.v1.User\"Z\x82\xd3\xe4\x93\x02\x41\x32\x39/v1/{user.name=projects/*/locations/*/clusters/*/users/*}:\x04user\xda\x41\x10user,update_mask\x12\x95\x01\n\nDeleteUser\x12*.google.cloud.alloydb.v1.DeleteUserRequest\x1a\x16.google.protobuf.Empty\"C\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/clusters/*/users/*}\xda\x41\x04name\x1aJ\xca\x41\x16\x61lloydb.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb5\x01\n\x1b\x63om.google.cloud.alloydb.v1B\x0cServiceProtoP\x01Z5cloud.google.com/go/alloydb/apiv1/alloydbpb;alloydbpb\xaa\x02\x17Google.Cloud.AlloyDb.V1\xca\x02\x17Google\\Cloud\\AlloyDb\\V1\xea\x02\x1aGoogle::Cloud::AlloyDB::V1b\x06proto3"
20
+ descriptor_data = "\n%google/cloud/alloydb/v1/service.proto\x12\x17google.cloud.alloydb.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/alloydb/v1/resources.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xa5\x01\n\x13ListClustersRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"x\n\x14ListClustersResponse\x12\x32\n\x08\x63lusters\x18\x01 \x03(\x0b\x32 .google.cloud.alloydb.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x82\x01\n\x11GetClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x37\n\x04view\x18\x02 \x01(\x0e\x32$.google.cloud.alloydb.v1.ClusterViewB\x03\xe0\x41\x01\"\xdd\x01\n\x1d\x43reateSecondaryClusterRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\x07\x63luster\x18\x03 \x01(\x0b\x32 .google.cloud.alloydb.v1.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"\xd4\x01\n\x14\x43reateClusterRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\x07\x63luster\x18\x03 \x01(\x0b\x32 .google.cloud.alloydb.v1.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xd5\x01\n\x14UpdateClusterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x36\n\x07\x63luster\x18\x02 \x01(\x0b\x32 .google.cloud.alloydb.v1.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xa8\x01\n\x14\x44\x65leteClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x95\x01\n\x15PromoteClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xf4\x02\n\x15RestoreClusterRequest\x12>\n\rbackup_source\x18\x04 \x01(\x0b\x32%.google.cloud.alloydb.v1.BackupSourceH\x00\x12S\n\x18\x63ontinuous_backup_source\x18\x08 \x01(\x0b\x32/.google.cloud.alloydb.v1.ContinuousBackupSourceH\x00\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\x07\x63luster\x18\x03 \x01(\x0b\x32 .google.cloud.alloydb.v1.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x42\x08\n\x06source\"\xa7\x01\n\x14ListInstancesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"{\n\x15ListInstancesResponse\x12\x34\n\tinstances\x18\x01 \x03(\x0b\x32!.google.cloud.alloydb.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x80\x01\n\x12GetInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x33\n\x04view\x18\x02 \x01(\x0e\x32%.google.cloud.alloydb.v1.InstanceView\"\xd9\x01\n\x15\x43reateInstanceRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x08instance\x18\x03 \x01(\x0b\x32!.google.cloud.alloydb.v1.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xe2\x01\n\x1e\x43reateSecondaryInstanceRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x08instance\x18\x03 \x01(\x0b\x32!.google.cloud.alloydb.v1.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"o\n\x16\x43reateInstanceRequests\x12U\n\x18\x63reate_instance_requests\x18\x01 \x03(\x0b\x32..google.cloud.alloydb.v1.CreateInstanceRequestB\x03\xe0\x41\x02\"\xb7\x01\n\x1b\x42\x61tchCreateInstancesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x46\n\x08requests\x18\x02 \x01(\x0b\x32/.google.cloud.alloydb.v1.CreateInstanceRequestsB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"T\n\x1c\x42\x61tchCreateInstancesResponse\x12\x34\n\tinstances\x18\x01 \x03(\x0b\x32!.google.cloud.alloydb.v1.Instance\"\x8d\x02\n\x1c\x42\x61tchCreateInstancesMetadata\x12\x18\n\x10instance_targets\x18\x01 \x03(\t\x12\x66\n\x11instance_statuses\x18\x02 \x03(\x0b\x32K.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.InstanceStatusesEntry\x1ak\n\x15InstanceStatusesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32\x32.google.cloud.alloydb.v1.BatchCreateInstanceStatus:\x02\x38\x01\"\xd0\x02\n\x19\x42\x61tchCreateInstanceStatus\x12G\n\x05state\x18\x01 \x01(\x0e\x32\x38.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State\x12\x11\n\terror_msg\x18\x02 \x01(\t\x12!\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.Status\x12<\n\x04type\x18\x03 \x01(\x0e\x32..google.cloud.alloydb.v1.Instance.InstanceType\"v\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x12\n\x0ePENDING_CREATE\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x0f\n\x0bROLLED_BACK\x10\x06\"\xd8\x01\n\x15UpdateInstanceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x38\n\x08instance\x18\x02 \x01(\x0b\x32!.google.cloud.alloydb.v1.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x96\x01\n\x15\x44\x65leteInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x85\x01\n\x17\x46\x61iloverInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x86\x02\n\x12InjectFaultRequest\x12N\n\nfault_type\x18\x01 \x01(\x0e\x32\x35.google.cloud.alloydb.v1.InjectFaultRequest.FaultTypeB\x03\xe0\x41\x02\x12\x35\n\x04name\x18\x02 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"4\n\tFaultType\x12\x1a\n\x16\x46\x41ULT_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07STOP_VM\x10\x01\"\x84\x01\n\x16RestartInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x94\x01\n\x12ListBackupsRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1d\x61lloydb.googleapis.com/Backup\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"u\n\x13ListBackupsResponse\x12\x30\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32\x1f.google.cloud.alloydb.v1.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"G\n\x10GetBackupRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\"\xcf\x01\n\x13\x43reateBackupRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1d\x61lloydb.googleapis.com/Backup\x12\x16\n\tbackup_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32\x1f.google.cloud.alloydb.v1.BackupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xd2\x01\n\x13UpdateBackupRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x34\n\x06\x62\x61\x63kup\x18\x02 \x01(\x0b\x32\x1f.google.cloud.alloydb.v1.BackupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x92\x01\n\x13\x44\x65leteBackupRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x90\x01\n!ListSupportedDatabaseFlagsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,alloydb.googleapis.com/SupportedDatabaseFlag\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8f\x01\n\"ListSupportedDatabaseFlagsResponse\x12P\n\x18supported_database_flags\x18\x01 \x03(\x0b\x32..google.cloud.alloydb.v1.SupportedDatabaseFlag\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe7\x01\n GenerateClientCertificateRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x35\n\rcert_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x17\n\npublic_key\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\"\n\x15use_metadata_exchange\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"]\n!GenerateClientCertificateResponse\x12\"\n\x15pem_certificate_chain\x18\x02 \x03(\tB\x03\xe0\x41\x03\x12\x14\n\x07\x63\x61_cert\x18\x03 \x01(\tB\x03\xe0\x41\x01\"l\n\x18GetConnectionInfoRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xfb\x02\n\x11OperationMetadata\x12\x65\n\x1f\x62\x61tch_create_instances_metadata\x18\x08 \x01(\x0b\x32\x35.google.cloud.alloydb.v1.BatchCreateInstancesMetadataB\x03\xe0\x41\x03H\x00\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\x42\x12\n\x10request_specific\"\xa4\x01\n\x10ListUsersRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x61lloydb.googleapis.com/User\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\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"o\n\x11ListUsersResponse\x12,\n\x05users\x18\x01 \x03(\x0b\x32\x1d.google.cloud.alloydb.v1.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"C\n\x0eGetUserRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x61lloydb.googleapis.com/User\"\xc5\x01\n\x11\x43reateUserRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x61lloydb.googleapis.com/User\x12\x14\n\x07user_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x30\n\x04user\x18\x03 \x01(\x0b\x32\x1d.google.cloud.alloydb.v1.UserB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xcc\x01\n\x11UpdateUserRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x30\n\x04user\x18\x02 \x01(\x0b\x32\x1d.google.cloud.alloydb.v1.UserB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"{\n\x11\x44\x65leteUserRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x61lloydb.googleapis.com/User\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x32\xfa\x31\n\x0c\x41lloyDBAdmin\x12\xaa\x01\n\x0cListClusters\x12,.google.cloud.alloydb.v1.ListClustersRequest\x1a-.google.cloud.alloydb.v1.ListClustersResponse\"=\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/clusters\xda\x41\x06parent\x12\x97\x01\n\nGetCluster\x12*.google.cloud.alloydb.v1.GetClusterRequest\x1a .google.cloud.alloydb.v1.Cluster\";\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/clusters/*}\xda\x41\x04name\x12\xd7\x01\n\rCreateCluster\x12-.google.cloud.alloydb.v1.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"x\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/clusters:\x07\x63luster\xda\x41\x19parent,cluster,cluster_id\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xd9\x01\n\rUpdateCluster\x12-.google.cloud.alloydb.v1.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02?24/v1/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\xda\x41\x13\x63luster,update_mask\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xc7\x01\n\rDeleteCluster\x12-.google.cloud.alloydb.v1.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"h\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/clusters/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xc6\x01\n\x0ePromoteCluster\x12..google.cloud.alloydb.v1.PromoteClusterRequest\x1a\x1d.google.longrunning.Operation\"e\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/clusters/*}:promote:\x01*\xda\x41\x04name\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xbf\x01\n\x0eRestoreCluster\x12..google.cloud.alloydb.v1.RestoreClusterRequest\x1a\x1d.google.longrunning.Operation\"^\x82\xd3\xe4\x93\x02\x39\"4/v1/{parent=projects/*/locations/*}/clusters:restore:\x01*\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xfa\x01\n\x16\x43reateSecondaryCluster\x12\x36.google.cloud.alloydb.v1.CreateSecondaryClusterRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\x82\xd3\xe4\x93\x02G\"</v1/{parent=projects/*/locations/*}/clusters:createsecondary:\x07\x63luster\xda\x41\x19parent,cluster,cluster_id\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xb9\x01\n\rListInstances\x12-.google.cloud.alloydb.v1.ListInstancesRequest\x1a..google.cloud.alloydb.v1.ListInstancesResponse\"I\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*/clusters/*}/instances\xda\x41\x06parent\x12\xa6\x01\n\x0bGetInstance\x12+.google.cloud.alloydb.v1.GetInstanceRequest\x1a!.google.cloud.alloydb.v1.Instance\"G\x82\xd3\xe4\x93\x02:\x12\x38/v1/{name=projects/*/locations/*/clusters/*/instances/*}\xda\x41\x04name\x12\xea\x01\n\x0e\x43reateInstance\x12..google.cloud.alloydb.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\x82\xd3\xe4\x93\x02\x44\"8/v1/{parent=projects/*/locations/*/clusters/*}/instances:\x08instance\xda\x41\x1bparent,instance,instance_id\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\x8c\x02\n\x17\x43reateSecondaryInstance\x12\x37.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\x82\xd3\xe4\x93\x02T\"H/v1/{parent=projects/*/locations/*/clusters/*}/instances:createsecondary:\x08instance\xda\x41\x1bparent,instance,instance_id\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xf8\x01\n\x14\x42\x61tchCreateInstances\x12\x34.google.cloud.alloydb.v1.BatchCreateInstancesRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\x82\xd3\xe4\x93\x02P\"D/v1/{parent=projects/*/locations/*/clusters/*}/instances:batchCreate:\x08requests\xca\x41\x31\n\x1c\x42\x61tchCreateInstancesResponse\x12\x11OperationMetadata\x12\xec\x01\n\x0eUpdateInstance\x12..google.cloud.alloydb.v1.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\x82\xd3\xe4\x93\x02M2A/v1/{instance.name=projects/*/locations/*/clusters/*/instances/*}:\x08instance\xda\x41\x14instance,update_mask\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xd5\x01\n\x0e\x44\x65leteInstance\x12..google.cloud.alloydb.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"t\x82\xd3\xe4\x93\x02:*8/v1/{name=projects/*/locations/*/clusters/*/instances/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xd8\x01\n\x10\x46\x61iloverInstance\x12\x30.google.cloud.alloydb.v1.FailoverInstanceRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/clusters/*/instances/*}:failover:\x01*\xda\x41\x04name\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xdd\x01\n\x0bInjectFault\x12+.google.cloud.alloydb.v1.InjectFaultRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\x82\xd3\xe4\x93\x02I\"D/v1/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault:\x01*\xda\x41\x0f\x66\x61ult_type,name\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xd5\x01\n\x0fRestartInstance\x12/.google.cloud.alloydb.v1.RestartInstanceRequest\x1a\x1d.google.longrunning.Operation\"r\x82\xd3\xe4\x93\x02\x45\"@/v1/{name=projects/*/locations/*/clusters/*/instances/*}:restart:\x01*\xda\x41\x04name\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xa6\x01\n\x0bListBackups\x12+.google.cloud.alloydb.v1.ListBackupsRequest\x1a,.google.cloud.alloydb.v1.ListBackupsResponse\"<\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/backups\xda\x41\x06parent\x12\x93\x01\n\tGetBackup\x12).google.cloud.alloydb.v1.GetBackupRequest\x1a\x1f.google.cloud.alloydb.v1.Backup\":\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/backups/*}\xda\x41\x04name\x12\xd0\x01\n\x0c\x43reateBackup\x12,.google.cloud.alloydb.v1.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xd2\x01\n\x0cUpdateBackup\x12,.google.cloud.alloydb.v1.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"u\x82\xd3\xe4\x93\x02<22/v1/{backup.name=projects/*/locations/*/backups/*}:\x06\x62\x61\x63kup\xda\x41\x12\x62\x61\x63kup,update_mask\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xc4\x01\n\x0c\x44\x65leteBackup\x12,.google.cloud.alloydb.v1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/backups/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe2\x01\n\x1aListSupportedDatabaseFlags\x12:.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest\x1a;.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse\"K\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/*}/supportedDatabaseFlags\xda\x41\x06parent\x12\xf0\x01\n\x19GenerateClientCertificate\x12\x39.google.cloud.alloydb.v1.GenerateClientCertificateRequest\x1a:.google.cloud.alloydb.v1.GenerateClientCertificateResponse\"\\\x82\xd3\xe4\x93\x02M\"H/v1/{parent=projects/*/locations/*/clusters/*}:generateClientCertificate:\x01*\xda\x41\x06parent\x12\xcb\x01\n\x11GetConnectionInfo\x12\x31.google.cloud.alloydb.v1.GetConnectionInfoRequest\x1a\'.google.cloud.alloydb.v1.ConnectionInfo\"Z\x82\xd3\xe4\x93\x02K\x12I/v1/{parent=projects/*/locations/*/clusters/*/instances/*}/connectionInfo\xda\x41\x06parent\x12\xa9\x01\n\tListUsers\x12).google.cloud.alloydb.v1.ListUsersRequest\x1a*.google.cloud.alloydb.v1.ListUsersResponse\"E\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{parent=projects/*/locations/*/clusters/*}/users\xda\x41\x06parent\x12\x96\x01\n\x07GetUser\x12\'.google.cloud.alloydb.v1.GetUserRequest\x1a\x1d.google.cloud.alloydb.v1.User\"C\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/clusters/*/users/*}\xda\x41\x04name\x12\xb1\x01\n\nCreateUser\x12*.google.cloud.alloydb.v1.CreateUserRequest\x1a\x1d.google.cloud.alloydb.v1.User\"X\x82\xd3\xe4\x93\x02<\"4/v1/{parent=projects/*/locations/*/clusters/*}/users:\x04user\xda\x41\x13parent,user,user_id\x12\xb3\x01\n\nUpdateUser\x12*.google.cloud.alloydb.v1.UpdateUserRequest\x1a\x1d.google.cloud.alloydb.v1.User\"Z\x82\xd3\xe4\x93\x02\x41\x32\x39/v1/{user.name=projects/*/locations/*/clusters/*/users/*}:\x04user\xda\x41\x10user,update_mask\x12\x95\x01\n\nDeleteUser\x12*.google.cloud.alloydb.v1.DeleteUserRequest\x1a\x16.google.protobuf.Empty\"C\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/clusters/*/users/*}\xda\x41\x04name\x1aJ\xca\x41\x16\x61lloydb.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb5\x01\n\x1b\x63om.google.cloud.alloydb.v1B\x0cServiceProtoP\x01Z5cloud.google.com/go/alloydb/apiv1/alloydbpb;alloydbpb\xaa\x02\x17Google.Cloud.AlloyDb.V1\xca\x02\x17Google\\Cloud\\AlloyDb\\V1\xea\x02\x1aGoogle::Cloud::AlloyDB::V1b\x06proto3"
20
21
 
21
22
  pool = Google::Protobuf::DescriptorPool.generated_pool
22
23
 
@@ -34,6 +35,7 @@ rescue TypeError => e
34
35
  ["google.cloud.alloydb.v1.Cluster", "google/cloud/alloydb/v1/resources.proto"],
35
36
  ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
36
37
  ["google.rpc.Status", "google/rpc/status.proto"],
38
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
37
39
  ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
38
40
  ]
39
41
  imports.each do |type_name, expected_filename|
@@ -84,6 +86,9 @@ module Google
84
86
  DeleteBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.DeleteBackupRequest").msgclass
85
87
  ListSupportedDatabaseFlagsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest").msgclass
86
88
  ListSupportedDatabaseFlagsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse").msgclass
89
+ GenerateClientCertificateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.GenerateClientCertificateRequest").msgclass
90
+ GenerateClientCertificateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.GenerateClientCertificateResponse").msgclass
91
+ GetConnectionInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.GetConnectionInfoRequest").msgclass
87
92
  OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.OperationMetadata").msgclass
88
93
  ListUsersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.ListUsersRequest").msgclass
89
94
  ListUsersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.ListUsersResponse").msgclass
@@ -100,6 +100,14 @@ module Google
100
100
  rpc :DeleteBackup, ::Google::Cloud::AlloyDB::V1::DeleteBackupRequest, ::Google::Longrunning::Operation
101
101
  # Lists SupportedDatabaseFlags for a given project and location.
102
102
  rpc :ListSupportedDatabaseFlags, ::Google::Cloud::AlloyDB::V1::ListSupportedDatabaseFlagsRequest, ::Google::Cloud::AlloyDB::V1::ListSupportedDatabaseFlagsResponse
103
+ # Generate a client certificate signed by a Cluster CA.
104
+ # The sole purpose of this endpoint is to support AlloyDB connectors and the
105
+ # Auth Proxy client. The endpoint's behavior is subject to change without
106
+ # notice, so do not rely on its behavior remaining constant. Future changes
107
+ # will not break AlloyDB connectors or the Auth Proxy client.
108
+ rpc :GenerateClientCertificate, ::Google::Cloud::AlloyDB::V1::GenerateClientCertificateRequest, ::Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse
109
+ # Get instance metadata used for a connection.
110
+ rpc :GetConnectionInfo, ::Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest, ::Google::Cloud::AlloyDB::V1::ConnectionInfo
103
111
  # Lists Users in a given project and location.
104
112
  rpc :ListUsers, ::Google::Cloud::AlloyDB::V1::ListUsersRequest, ::Google::Cloud::AlloyDB::V1::ListUsersResponse
105
113
  # Gets details of a single User.
@@ -453,8 +453,8 @@ module Google
453
453
  # instance IPs for this cluster will be created in the allocated range. The
454
454
  # range name must comply with RFC 1035. Specifically, the name must be 1-63
455
455
  # characters long and match the regular expression
456
- # [a-z]([-a-z0-9]*[a-z0-9])?.
457
- # Field name is intended to be consistent with CloudSQL.
456
+ # `[a-z]([-a-z0-9]*[a-z0-9])?`.
457
+ # Field name is intended to be consistent with Cloud SQL.
458
458
  class NetworkConfig
459
459
  include ::Google::Protobuf::MessageExts
460
460
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -643,7 +643,8 @@ module Google
643
643
  # Configuration for query insights.
644
644
  # @!attribute [rw] read_pool_config
645
645
  # @return [::Google::Cloud::AlloyDB::V1::Instance::ReadPoolConfig]
646
- # Read pool specific config.
646
+ # Read pool instance configuration.
647
+ # This is required if the value of instanceType is READ_POOL.
647
648
  # @!attribute [r] ip_address
648
649
  # @return [::String]
649
650
  # Output only. The IP address for the Instance.
@@ -848,6 +849,26 @@ module Google
848
849
  end
849
850
  end
850
851
 
852
+ # ConnectionInfo singleton resource.
853
+ # https://google.aip.dev/156
854
+ # @!attribute [rw] name
855
+ # @return [::String]
856
+ # The name of the ConnectionInfo singleton resource, e.g.:
857
+ # projects/\\{project}/locations/\\{location}/clusters/*/instances/*/connectionInfo
858
+ # This field currently has no semantic meaning.
859
+ # @!attribute [r] ip_address
860
+ # @return [::String]
861
+ # Output only. The private network IP address for the Instance. This is the
862
+ # default IP for the instance and is always created (even if enable_public_ip
863
+ # is set). This is the connection endpoint for an end-user application.
864
+ # @!attribute [r] instance_uid
865
+ # @return [::String]
866
+ # Output only. The unique ID of the Instance.
867
+ class ConnectionInfo
868
+ include ::Google::Protobuf::MessageExts
869
+ extend ::Google::Protobuf::MessageExts::ClassMethods
870
+ end
871
+
851
872
  # Message describing Backup object
852
873
  # @!attribute [r] name
853
874
  # @return [::String]
@@ -934,6 +934,85 @@ module Google
934
934
  extend ::Google::Protobuf::MessageExts::ClassMethods
935
935
  end
936
936
 
937
+ # Message for requests to generate a client certificate signed by the Cluster
938
+ # CA.
939
+ # @!attribute [rw] parent
940
+ # @return [::String]
941
+ # Required. The name of the parent resource. The required format is:
942
+ # * projects/\\{project}/locations/\\{location}/clusters/\\{cluster}
943
+ # @!attribute [rw] request_id
944
+ # @return [::String]
945
+ # Optional. An optional request ID to identify requests. Specify a unique
946
+ # request ID so that if you must retry your request, the server will know to
947
+ # ignore the request if it has already been completed. The server will
948
+ # guarantee that for at least 60 minutes after the first request.
949
+ #
950
+ # For example, consider a situation where you make an initial request and
951
+ # the request times out. If you make the request again with the same request
952
+ # ID, the server can check if original operation with the same request ID
953
+ # was received, and if so, will ignore the second request. This prevents
954
+ # clients from accidentally creating duplicate commitments.
955
+ #
956
+ # The request ID must be a valid UUID with the exception that zero UUID is
957
+ # not supported (00000000-0000-0000-0000-000000000000).
958
+ # @!attribute [rw] cert_duration
959
+ # @return [::Google::Protobuf::Duration]
960
+ # Optional. An optional hint to the endpoint to generate the client
961
+ # certificate with the requested duration. The duration can be from 1 hour to
962
+ # 24 hours. The endpoint may or may not honor the hint. If the hint is left
963
+ # unspecified or is not honored, then the endpoint will pick an appropriate
964
+ # default duration.
965
+ # @!attribute [rw] public_key
966
+ # @return [::String]
967
+ # Optional. The public key from the client.
968
+ # @!attribute [rw] use_metadata_exchange
969
+ # @return [::Boolean]
970
+ # Optional. An optional hint to the endpoint to generate a client
971
+ # ceritificate that can be used by AlloyDB connectors to exchange additional
972
+ # metadata with the server after TLS handshake.
973
+ class GenerateClientCertificateRequest
974
+ include ::Google::Protobuf::MessageExts
975
+ extend ::Google::Protobuf::MessageExts::ClassMethods
976
+ end
977
+
978
+ # Message returned by a GenerateClientCertificate operation.
979
+ # @!attribute [r] pem_certificate_chain
980
+ # @return [::Array<::String>]
981
+ # Output only. The pem-encoded chain that may be used to verify the X.509
982
+ # certificate. Expected to be in issuer-to-root order according to RFC 5246.
983
+ # @!attribute [rw] ca_cert
984
+ # @return [::String]
985
+ # Optional. The pem-encoded cluster ca X.509 certificate.
986
+ class GenerateClientCertificateResponse
987
+ include ::Google::Protobuf::MessageExts
988
+ extend ::Google::Protobuf::MessageExts::ClassMethods
989
+ end
990
+
991
+ # Request message for GetConnectionInfo.
992
+ # @!attribute [rw] parent
993
+ # @return [::String]
994
+ # Required. The name of the parent resource. The required format is:
995
+ # projects/\\{project}/locations/\\{location}/clusters/\\{cluster}/instances/\\{instance}
996
+ # @!attribute [rw] request_id
997
+ # @return [::String]
998
+ # Optional. An optional request ID to identify requests. Specify a unique
999
+ # request ID so that if you must retry your request, the server will know to
1000
+ # ignore the request if it has already been completed. The server will
1001
+ # guarantee that for at least 60 minutes after the first request.
1002
+ #
1003
+ # For example, consider a situation where you make an initial request and
1004
+ # the request times out. If you make the request again with the same request
1005
+ # ID, the server can check if original operation with the same request ID
1006
+ # was received, and if so, will ignore the second request. This prevents
1007
+ # clients from accidentally creating duplicate commitments.
1008
+ #
1009
+ # The request ID must be a valid UUID with the exception that zero UUID is
1010
+ # not supported (00000000-0000-0000-0000-000000000000).
1011
+ class GetConnectionInfoRequest
1012
+ include ::Google::Protobuf::MessageExts
1013
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1014
+ end
1015
+
937
1016
  # Represents the metadata of the long-running operation.
938
1017
  # @!attribute [r] batch_create_instances_metadata
939
1018
  # @return [::Google::Cloud::AlloyDB::V1::BatchCreateInstancesMetadata]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-alloy_db-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-22 00:00:00.000000000 Z
11
+ date: 2023-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common