google-cloud-alloy_db-v1 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/alloy_db/v1/alloy_db_admin/client.rb +236 -0
- data/lib/google/cloud/alloy_db/v1/alloy_db_admin/rest/client.rb +222 -0
- data/lib/google/cloud/alloy_db/v1/alloy_db_admin/rest/service_stub.rb +119 -0
- data/lib/google/cloud/alloy_db/v1/version.rb +1 -1
- data/lib/google/cloud/alloydb/v1/resources_pb.rb +2 -1
- data/lib/google/cloud/alloydb/v1/service_pb.rb +6 -1
- data/lib/google/cloud/alloydb/v1/service_services_pb.rb +8 -0
- data/proto_docs/google/cloud/alloydb/v1/resources.rb +20 -0
- data/proto_docs/google/cloud/alloydb/v1/service.rb +74 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3e5073abfcee4aa51eb65222baef592e1b23ffa1515aa81eb10c860f9debc390
|
|
4
|
+
data.tar.gz: e509b28846651539566689f9120a99fa24e99b2dff53e73c1b30a3290968b03c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0405a3008cf39e8cca6e732d91df3959ae5f3b81e57a3bcc7eccfac6d0b8494894efe605ad08cb16ab5bf8279cf46768767fdd1d1c9519e2cc5a6ca98b38468
|
|
7
|
+
data.tar.gz: a820946ca782728599b136e919bc3daa68af87ab321440b76261a1bd64260f21e9c78508afb04f228832342cf415fb8aab81747d1d35811e4e4ffe78fd3fdb71
|
|
@@ -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,218 @@ 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)
|
|
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
|
+
#
|
|
2936
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
|
2937
|
+
# @yieldparam response [::Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse]
|
|
2938
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
2939
|
+
#
|
|
2940
|
+
# @return [::Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse]
|
|
2941
|
+
#
|
|
2942
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
2943
|
+
#
|
|
2944
|
+
# @example Basic example
|
|
2945
|
+
# require "google/cloud/alloy_db/v1"
|
|
2946
|
+
#
|
|
2947
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
2948
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Client.new
|
|
2949
|
+
#
|
|
2950
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
2951
|
+
# request = Google::Cloud::AlloyDB::V1::GenerateClientCertificateRequest.new
|
|
2952
|
+
#
|
|
2953
|
+
# # Call the generate_client_certificate method.
|
|
2954
|
+
# result = client.generate_client_certificate request
|
|
2955
|
+
#
|
|
2956
|
+
# # The returned object is of type Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse.
|
|
2957
|
+
# p result
|
|
2958
|
+
#
|
|
2959
|
+
def generate_client_certificate request, options = nil
|
|
2960
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
2961
|
+
|
|
2962
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1::GenerateClientCertificateRequest
|
|
2963
|
+
|
|
2964
|
+
# Converts hash and nil to an options object
|
|
2965
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
2966
|
+
|
|
2967
|
+
# Customize the options with defaults
|
|
2968
|
+
metadata = @config.rpcs.generate_client_certificate.metadata.to_h
|
|
2969
|
+
|
|
2970
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
|
2971
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2972
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2973
|
+
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
|
2974
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2975
|
+
|
|
2976
|
+
header_params = {}
|
|
2977
|
+
if request.parent
|
|
2978
|
+
header_params["parent"] = request.parent
|
|
2979
|
+
end
|
|
2980
|
+
|
|
2981
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
2982
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
2983
|
+
|
|
2984
|
+
options.apply_defaults timeout: @config.rpcs.generate_client_certificate.timeout,
|
|
2985
|
+
metadata: metadata,
|
|
2986
|
+
retry_policy: @config.rpcs.generate_client_certificate.retry_policy
|
|
2987
|
+
|
|
2988
|
+
options.apply_defaults timeout: @config.timeout,
|
|
2989
|
+
metadata: @config.metadata,
|
|
2990
|
+
retry_policy: @config.retry_policy
|
|
2991
|
+
|
|
2992
|
+
@alloy_db_admin_stub.call_rpc :generate_client_certificate, request, options: options do |response, operation|
|
|
2993
|
+
yield response, operation if block_given?
|
|
2994
|
+
return response
|
|
2995
|
+
end
|
|
2996
|
+
rescue ::GRPC::BadStatus => e
|
|
2997
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
2998
|
+
end
|
|
2999
|
+
|
|
3000
|
+
##
|
|
3001
|
+
# Get instance metadata used for a connection.
|
|
3002
|
+
#
|
|
3003
|
+
# @overload get_connection_info(request, options = nil)
|
|
3004
|
+
# Pass arguments to `get_connection_info` via a request object, either of type
|
|
3005
|
+
# {::Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest} or an equivalent Hash.
|
|
3006
|
+
#
|
|
3007
|
+
# @param request [::Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest, ::Hash]
|
|
3008
|
+
# A request object representing the call parameters. Required. To specify no
|
|
3009
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
3010
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3011
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3012
|
+
#
|
|
3013
|
+
# @overload get_connection_info(parent: nil, request_id: nil)
|
|
3014
|
+
# Pass arguments to `get_connection_info` via keyword arguments. Note that at
|
|
3015
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3016
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
3017
|
+
#
|
|
3018
|
+
# @param parent [::String]
|
|
3019
|
+
# Required. The name of the parent resource. The required format is:
|
|
3020
|
+
# projects/\\{project}/locations/\\{location}/clusters/\\{cluster}/instances/\\{instance}
|
|
3021
|
+
# @param request_id [::String]
|
|
3022
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
3023
|
+
# request ID so that if you must retry your request, the server will know to
|
|
3024
|
+
# ignore the request if it has already been completed. The server will
|
|
3025
|
+
# guarantee that for at least 60 minutes after the first request.
|
|
3026
|
+
#
|
|
3027
|
+
# For example, consider a situation where you make an initial request and
|
|
3028
|
+
# the request times out. If you make the request again with the same request
|
|
3029
|
+
# ID, the server can check if original operation with the same request ID
|
|
3030
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
3031
|
+
# clients from accidentally creating duplicate commitments.
|
|
3032
|
+
#
|
|
3033
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
3034
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
3035
|
+
#
|
|
3036
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
|
3037
|
+
# @yieldparam response [::Google::Cloud::AlloyDB::V1::ConnectionInfo]
|
|
3038
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
3039
|
+
#
|
|
3040
|
+
# @return [::Google::Cloud::AlloyDB::V1::ConnectionInfo]
|
|
3041
|
+
#
|
|
3042
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
3043
|
+
#
|
|
3044
|
+
# @example Basic example
|
|
3045
|
+
# require "google/cloud/alloy_db/v1"
|
|
3046
|
+
#
|
|
3047
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
3048
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Client.new
|
|
3049
|
+
#
|
|
3050
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
3051
|
+
# request = Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest.new
|
|
3052
|
+
#
|
|
3053
|
+
# # Call the get_connection_info method.
|
|
3054
|
+
# result = client.get_connection_info request
|
|
3055
|
+
#
|
|
3056
|
+
# # The returned object is of type Google::Cloud::AlloyDB::V1::ConnectionInfo.
|
|
3057
|
+
# p result
|
|
3058
|
+
#
|
|
3059
|
+
def get_connection_info request, options = nil
|
|
3060
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
3061
|
+
|
|
3062
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest
|
|
3063
|
+
|
|
3064
|
+
# Converts hash and nil to an options object
|
|
3065
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
3066
|
+
|
|
3067
|
+
# Customize the options with defaults
|
|
3068
|
+
metadata = @config.rpcs.get_connection_info.metadata.to_h
|
|
3069
|
+
|
|
3070
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
|
3071
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3072
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3073
|
+
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
|
|
3074
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3075
|
+
|
|
3076
|
+
header_params = {}
|
|
3077
|
+
if request.parent
|
|
3078
|
+
header_params["parent"] = request.parent
|
|
3079
|
+
end
|
|
3080
|
+
|
|
3081
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
3082
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
3083
|
+
|
|
3084
|
+
options.apply_defaults timeout: @config.rpcs.get_connection_info.timeout,
|
|
3085
|
+
metadata: metadata,
|
|
3086
|
+
retry_policy: @config.rpcs.get_connection_info.retry_policy
|
|
3087
|
+
|
|
3088
|
+
options.apply_defaults timeout: @config.timeout,
|
|
3089
|
+
metadata: @config.metadata,
|
|
3090
|
+
retry_policy: @config.retry_policy
|
|
3091
|
+
|
|
3092
|
+
@alloy_db_admin_stub.call_rpc :get_connection_info, request, options: options do |response, operation|
|
|
3093
|
+
yield response, operation if block_given?
|
|
3094
|
+
return response
|
|
3095
|
+
end
|
|
3096
|
+
rescue ::GRPC::BadStatus => e
|
|
3097
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
3098
|
+
end
|
|
3099
|
+
|
|
2878
3100
|
##
|
|
2879
3101
|
# Lists Users in a given project and location.
|
|
2880
3102
|
#
|
|
@@ -3645,6 +3867,16 @@ module Google
|
|
|
3645
3867
|
#
|
|
3646
3868
|
attr_reader :list_supported_database_flags
|
|
3647
3869
|
##
|
|
3870
|
+
# RPC-specific configuration for `generate_client_certificate`
|
|
3871
|
+
# @return [::Gapic::Config::Method]
|
|
3872
|
+
#
|
|
3873
|
+
attr_reader :generate_client_certificate
|
|
3874
|
+
##
|
|
3875
|
+
# RPC-specific configuration for `get_connection_info`
|
|
3876
|
+
# @return [::Gapic::Config::Method]
|
|
3877
|
+
#
|
|
3878
|
+
attr_reader :get_connection_info
|
|
3879
|
+
##
|
|
3648
3880
|
# RPC-specific configuration for `list_users`
|
|
3649
3881
|
# @return [::Gapic::Config::Method]
|
|
3650
3882
|
#
|
|
@@ -3720,6 +3952,10 @@ module Google
|
|
|
3720
3952
|
@delete_backup = ::Gapic::Config::Method.new delete_backup_config
|
|
3721
3953
|
list_supported_database_flags_config = parent_rpcs.list_supported_database_flags if parent_rpcs.respond_to? :list_supported_database_flags
|
|
3722
3954
|
@list_supported_database_flags = ::Gapic::Config::Method.new list_supported_database_flags_config
|
|
3955
|
+
generate_client_certificate_config = parent_rpcs.generate_client_certificate if parent_rpcs.respond_to? :generate_client_certificate
|
|
3956
|
+
@generate_client_certificate = ::Gapic::Config::Method.new generate_client_certificate_config
|
|
3957
|
+
get_connection_info_config = parent_rpcs.get_connection_info if parent_rpcs.respond_to? :get_connection_info
|
|
3958
|
+
@get_connection_info = ::Gapic::Config::Method.new get_connection_info_config
|
|
3723
3959
|
list_users_config = parent_rpcs.list_users if parent_rpcs.respond_to? :list_users
|
|
3724
3960
|
@list_users = ::Gapic::Config::Method.new list_users_config
|
|
3725
3961
|
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,204 @@ 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)
|
|
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
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2756
|
+
# @yieldparam result [::Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse]
|
|
2757
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2758
|
+
#
|
|
2759
|
+
# @return [::Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse]
|
|
2760
|
+
#
|
|
2761
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
2762
|
+
#
|
|
2763
|
+
# @example Basic example
|
|
2764
|
+
# require "google/cloud/alloy_db/v1"
|
|
2765
|
+
#
|
|
2766
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
2767
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
|
2768
|
+
#
|
|
2769
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
2770
|
+
# request = Google::Cloud::AlloyDB::V1::GenerateClientCertificateRequest.new
|
|
2771
|
+
#
|
|
2772
|
+
# # Call the generate_client_certificate method.
|
|
2773
|
+
# result = client.generate_client_certificate request
|
|
2774
|
+
#
|
|
2775
|
+
# # The returned object is of type Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse.
|
|
2776
|
+
# p result
|
|
2777
|
+
#
|
|
2778
|
+
def generate_client_certificate request, options = nil
|
|
2779
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
2780
|
+
|
|
2781
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1::GenerateClientCertificateRequest
|
|
2782
|
+
|
|
2783
|
+
# Converts hash and nil to an options object
|
|
2784
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
2785
|
+
|
|
2786
|
+
# Customize the options with defaults
|
|
2787
|
+
call_metadata = @config.rpcs.generate_client_certificate.metadata.to_h
|
|
2788
|
+
|
|
2789
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
|
2790
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2791
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2792
|
+
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
|
2793
|
+
transports_version_send: [:rest]
|
|
2794
|
+
|
|
2795
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2796
|
+
|
|
2797
|
+
options.apply_defaults timeout: @config.rpcs.generate_client_certificate.timeout,
|
|
2798
|
+
metadata: call_metadata,
|
|
2799
|
+
retry_policy: @config.rpcs.generate_client_certificate.retry_policy
|
|
2800
|
+
|
|
2801
|
+
options.apply_defaults timeout: @config.timeout,
|
|
2802
|
+
metadata: @config.metadata,
|
|
2803
|
+
retry_policy: @config.retry_policy
|
|
2804
|
+
|
|
2805
|
+
@alloy_db_admin_stub.generate_client_certificate request, options do |result, operation|
|
|
2806
|
+
yield result, operation if block_given?
|
|
2807
|
+
return result
|
|
2808
|
+
end
|
|
2809
|
+
rescue ::Gapic::Rest::Error => e
|
|
2810
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
2811
|
+
end
|
|
2812
|
+
|
|
2813
|
+
##
|
|
2814
|
+
# Get instance metadata used for a connection.
|
|
2815
|
+
#
|
|
2816
|
+
# @overload get_connection_info(request, options = nil)
|
|
2817
|
+
# Pass arguments to `get_connection_info` via a request object, either of type
|
|
2818
|
+
# {::Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest} or an equivalent Hash.
|
|
2819
|
+
#
|
|
2820
|
+
# @param request [::Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest, ::Hash]
|
|
2821
|
+
# A request object representing the call parameters. Required. To specify no
|
|
2822
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
2823
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2824
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2825
|
+
#
|
|
2826
|
+
# @overload get_connection_info(parent: nil, request_id: nil)
|
|
2827
|
+
# Pass arguments to `get_connection_info` via keyword arguments. Note that at
|
|
2828
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2829
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
2830
|
+
#
|
|
2831
|
+
# @param parent [::String]
|
|
2832
|
+
# Required. The name of the parent resource. The required format is:
|
|
2833
|
+
# projects/\\{project}/locations/\\{location}/clusters/\\{cluster}/instances/\\{instance}
|
|
2834
|
+
# @param request_id [::String]
|
|
2835
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
2836
|
+
# request ID so that if you must retry your request, the server will know to
|
|
2837
|
+
# ignore the request if it has already been completed. The server will
|
|
2838
|
+
# guarantee that for at least 60 minutes after the first request.
|
|
2839
|
+
#
|
|
2840
|
+
# For example, consider a situation where you make an initial request and
|
|
2841
|
+
# the request times out. If you make the request again with the same request
|
|
2842
|
+
# ID, the server can check if original operation with the same request ID
|
|
2843
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
2844
|
+
# clients from accidentally creating duplicate commitments.
|
|
2845
|
+
#
|
|
2846
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
2847
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
2848
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2849
|
+
# @yieldparam result [::Google::Cloud::AlloyDB::V1::ConnectionInfo]
|
|
2850
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2851
|
+
#
|
|
2852
|
+
# @return [::Google::Cloud::AlloyDB::V1::ConnectionInfo]
|
|
2853
|
+
#
|
|
2854
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
2855
|
+
#
|
|
2856
|
+
# @example Basic example
|
|
2857
|
+
# require "google/cloud/alloy_db/v1"
|
|
2858
|
+
#
|
|
2859
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
2860
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
|
2861
|
+
#
|
|
2862
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
2863
|
+
# request = Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest.new
|
|
2864
|
+
#
|
|
2865
|
+
# # Call the get_connection_info method.
|
|
2866
|
+
# result = client.get_connection_info request
|
|
2867
|
+
#
|
|
2868
|
+
# # The returned object is of type Google::Cloud::AlloyDB::V1::ConnectionInfo.
|
|
2869
|
+
# p result
|
|
2870
|
+
#
|
|
2871
|
+
def get_connection_info request, options = nil
|
|
2872
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
2873
|
+
|
|
2874
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1::GetConnectionInfoRequest
|
|
2875
|
+
|
|
2876
|
+
# Converts hash and nil to an options object
|
|
2877
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
2878
|
+
|
|
2879
|
+
# Customize the options with defaults
|
|
2880
|
+
call_metadata = @config.rpcs.get_connection_info.metadata.to_h
|
|
2881
|
+
|
|
2882
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
|
2883
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2884
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2885
|
+
gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
|
|
2886
|
+
transports_version_send: [:rest]
|
|
2887
|
+
|
|
2888
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2889
|
+
|
|
2890
|
+
options.apply_defaults timeout: @config.rpcs.get_connection_info.timeout,
|
|
2891
|
+
metadata: call_metadata,
|
|
2892
|
+
retry_policy: @config.rpcs.get_connection_info.retry_policy
|
|
2893
|
+
|
|
2894
|
+
options.apply_defaults timeout: @config.timeout,
|
|
2895
|
+
metadata: @config.metadata,
|
|
2896
|
+
retry_policy: @config.retry_policy
|
|
2897
|
+
|
|
2898
|
+
@alloy_db_admin_stub.get_connection_info request, options do |result, operation|
|
|
2899
|
+
yield result, operation if block_given?
|
|
2900
|
+
return result
|
|
2901
|
+
end
|
|
2902
|
+
rescue ::Gapic::Rest::Error => e
|
|
2903
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
2904
|
+
end
|
|
2905
|
+
|
|
2698
2906
|
##
|
|
2699
2907
|
# Lists Users in a given project and location.
|
|
2700
2908
|
#
|
|
@@ -3416,6 +3624,16 @@ module Google
|
|
|
3416
3624
|
#
|
|
3417
3625
|
attr_reader :list_supported_database_flags
|
|
3418
3626
|
##
|
|
3627
|
+
# RPC-specific configuration for `generate_client_certificate`
|
|
3628
|
+
# @return [::Gapic::Config::Method]
|
|
3629
|
+
#
|
|
3630
|
+
attr_reader :generate_client_certificate
|
|
3631
|
+
##
|
|
3632
|
+
# RPC-specific configuration for `get_connection_info`
|
|
3633
|
+
# @return [::Gapic::Config::Method]
|
|
3634
|
+
#
|
|
3635
|
+
attr_reader :get_connection_info
|
|
3636
|
+
##
|
|
3419
3637
|
# RPC-specific configuration for `list_users`
|
|
3420
3638
|
# @return [::Gapic::Config::Method]
|
|
3421
3639
|
#
|
|
@@ -3491,6 +3709,10 @@ module Google
|
|
|
3491
3709
|
@delete_backup = ::Gapic::Config::Method.new delete_backup_config
|
|
3492
3710
|
list_supported_database_flags_config = parent_rpcs.list_supported_database_flags if parent_rpcs.respond_to? :list_supported_database_flags
|
|
3493
3711
|
@list_supported_database_flags = ::Gapic::Config::Method.new list_supported_database_flags_config
|
|
3712
|
+
generate_client_certificate_config = parent_rpcs.generate_client_certificate if parent_rpcs.respond_to? :generate_client_certificate
|
|
3713
|
+
@generate_client_certificate = ::Gapic::Config::Method.new generate_client_certificate_config
|
|
3714
|
+
get_connection_info_config = parent_rpcs.get_connection_info if parent_rpcs.respond_to? :get_connection_info
|
|
3715
|
+
@get_connection_info = ::Gapic::Config::Method.new get_connection_info_config
|
|
3494
3716
|
list_users_config = parent_rpcs.list_users if parent_rpcs.respond_to? :list_users
|
|
3495
3717
|
@list_users = ::Gapic::Config::Method.new list_users_config
|
|
3496
3718
|
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
|
#
|
|
@@ -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\"\xc3\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\"]\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.
|
|
@@ -848,6 +848,26 @@ module Google
|
|
|
848
848
|
end
|
|
849
849
|
end
|
|
850
850
|
|
|
851
|
+
# ConnectionInfo singleton resource.
|
|
852
|
+
# https://google.aip.dev/156
|
|
853
|
+
# @!attribute [rw] name
|
|
854
|
+
# @return [::String]
|
|
855
|
+
# The name of the ConnectionInfo singleton resource, e.g.:
|
|
856
|
+
# projects/\\{project}/locations/\\{location}/clusters/*/instances/*/connectionInfo
|
|
857
|
+
# This field currently has no semantic meaning.
|
|
858
|
+
# @!attribute [r] ip_address
|
|
859
|
+
# @return [::String]
|
|
860
|
+
# Output only. The private network IP address for the Instance. This is the
|
|
861
|
+
# default IP for the instance and is always created (even if enable_public_ip
|
|
862
|
+
# is set). This is the connection endpoint for an end-user application.
|
|
863
|
+
# @!attribute [r] instance_uid
|
|
864
|
+
# @return [::String]
|
|
865
|
+
# Output only. The unique ID of the Instance.
|
|
866
|
+
class ConnectionInfo
|
|
867
|
+
include ::Google::Protobuf::MessageExts
|
|
868
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
869
|
+
end
|
|
870
|
+
|
|
851
871
|
# Message describing Backup object
|
|
852
872
|
# @!attribute [r] name
|
|
853
873
|
# @return [::String]
|
|
@@ -934,6 +934,80 @@ 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
|
+
class GenerateClientCertificateRequest
|
|
969
|
+
include ::Google::Protobuf::MessageExts
|
|
970
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
971
|
+
end
|
|
972
|
+
|
|
973
|
+
# Message returned by a GenerateClientCertificate operation.
|
|
974
|
+
# @!attribute [r] pem_certificate_chain
|
|
975
|
+
# @return [::Array<::String>]
|
|
976
|
+
# Output only. The pem-encoded chain that may be used to verify the X.509
|
|
977
|
+
# certificate. Expected to be in issuer-to-root order according to RFC 5246.
|
|
978
|
+
# @!attribute [rw] ca_cert
|
|
979
|
+
# @return [::String]
|
|
980
|
+
# Optional. The pem-encoded cluster ca X.509 certificate.
|
|
981
|
+
class GenerateClientCertificateResponse
|
|
982
|
+
include ::Google::Protobuf::MessageExts
|
|
983
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
984
|
+
end
|
|
985
|
+
|
|
986
|
+
# Request message for GetConnectionInfo.
|
|
987
|
+
# @!attribute [rw] parent
|
|
988
|
+
# @return [::String]
|
|
989
|
+
# Required. The name of the parent resource. The required format is:
|
|
990
|
+
# projects/\\{project}/locations/\\{location}/clusters/\\{cluster}/instances/\\{instance}
|
|
991
|
+
# @!attribute [rw] request_id
|
|
992
|
+
# @return [::String]
|
|
993
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
994
|
+
# request ID so that if you must retry your request, the server will know to
|
|
995
|
+
# ignore the request if it has already been completed. The server will
|
|
996
|
+
# guarantee that for at least 60 minutes after the first request.
|
|
997
|
+
#
|
|
998
|
+
# For example, consider a situation where you make an initial request and
|
|
999
|
+
# the request times out. If you make the request again with the same request
|
|
1000
|
+
# ID, the server can check if original operation with the same request ID
|
|
1001
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
1002
|
+
# clients from accidentally creating duplicate commitments.
|
|
1003
|
+
#
|
|
1004
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
1005
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
1006
|
+
class GetConnectionInfoRequest
|
|
1007
|
+
include ::Google::Protobuf::MessageExts
|
|
1008
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1009
|
+
end
|
|
1010
|
+
|
|
937
1011
|
# Represents the metadata of the long-running operation.
|
|
938
1012
|
# @!attribute [r] batch_create_instances_metadata
|
|
939
1013
|
# @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.
|
|
4
|
+
version: 0.6.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-
|
|
11
|
+
date: 2023-09-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|