google-cloud-alloy_db-v1beta 0.7.0 → 0.8.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/v1beta/alloy_db_admin/client.rb +116 -1
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/rest/client.rb +109 -1
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/rest/service_stub.rb +59 -0
- data/lib/google/cloud/alloy_db/v1beta/version.rb +1 -1
- data/lib/google/cloud/alloydb/v1beta/resources_pb.rb +7 -1
- data/lib/google/cloud/alloydb/v1beta/service_pb.rb +3 -1
- data/lib/google/cloud/alloydb/v1beta/service_services_pb.rb +2 -0
- data/proto_docs/google/api/field_info.rb +65 -0
- data/proto_docs/google/cloud/alloydb/v1beta/resources.rb +133 -4
- data/proto_docs/google/cloud/alloydb/v1beta/service.rb +40 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b6a8d6cf84eed8c47cce47361422113ba5676749f4e6e6fcc54c52ab935625c1
|
|
4
|
+
data.tar.gz: 9c90ee45d8a91ce3ff28a2386019bc617107a4e8cb8cae424960c92c48457b52
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fbe0d715807eeb502cba40caf2c2f4b0a5780e61ff4f10e6f619460142c7744a1d7c11744ed28abee80158445fe974f72b7170ae5487cf424d044e18a901cbb1
|
|
7
|
+
data.tar.gz: fed4662266819d6523a408ce33f797ab5f05406728bc4599bcb1c9ef18ed34d9b8fbe323936025cddab411697c084996c4a1ce3c673725a85ee411cdf67b1c79
|
|
@@ -126,6 +126,11 @@ module Google
|
|
|
126
126
|
initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
+
default_config.rpcs.list_databases.timeout = 60.0
|
|
130
|
+
default_config.rpcs.list_databases.retry_policy = {
|
|
131
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
132
|
+
}
|
|
133
|
+
|
|
129
134
|
default_config
|
|
130
135
|
end
|
|
131
136
|
yield @configure if block_given?
|
|
@@ -2953,7 +2958,8 @@ module Google
|
|
|
2953
2958
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
2954
2959
|
# not supported (00000000-0000-0000-0000-000000000000).
|
|
2955
2960
|
# @param pem_csr [::String]
|
|
2956
|
-
# Optional. A pem-encoded X.509 certificate signing request (CSR).
|
|
2961
|
+
# Optional. A pem-encoded X.509 certificate signing request (CSR). It is
|
|
2962
|
+
# recommended to use public_key instead.
|
|
2957
2963
|
# @param cert_duration [::Google::Protobuf::Duration, ::Hash]
|
|
2958
2964
|
# Optional. An optional hint to the endpoint to generate the client
|
|
2959
2965
|
# certificate with the requested duration. The duration can be from 1 hour to
|
|
@@ -3635,6 +3641,108 @@ module Google
|
|
|
3635
3641
|
raise ::Google::Cloud::Error.from_error(e)
|
|
3636
3642
|
end
|
|
3637
3643
|
|
|
3644
|
+
##
|
|
3645
|
+
# Lists Databases in a given project and location.
|
|
3646
|
+
#
|
|
3647
|
+
# @overload list_databases(request, options = nil)
|
|
3648
|
+
# Pass arguments to `list_databases` via a request object, either of type
|
|
3649
|
+
# {::Google::Cloud::AlloyDB::V1beta::ListDatabasesRequest} or an equivalent Hash.
|
|
3650
|
+
#
|
|
3651
|
+
# @param request [::Google::Cloud::AlloyDB::V1beta::ListDatabasesRequest, ::Hash]
|
|
3652
|
+
# A request object representing the call parameters. Required. To specify no
|
|
3653
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
3654
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3655
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3656
|
+
#
|
|
3657
|
+
# @overload list_databases(parent: nil, page_size: nil, page_token: nil, filter: nil)
|
|
3658
|
+
# Pass arguments to `list_databases` via keyword arguments. Note that at
|
|
3659
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3660
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
3661
|
+
#
|
|
3662
|
+
# @param parent [::String]
|
|
3663
|
+
# Required. Parent value for ListDatabasesRequest.
|
|
3664
|
+
# @param page_size [::Integer]
|
|
3665
|
+
# Optional. The maximum number of databases to return. The service may return
|
|
3666
|
+
# fewer than this value. If unspecified, an appropriate number of databases
|
|
3667
|
+
# will be returned. The max value will be 2000, values above max will be
|
|
3668
|
+
# coerced to max.
|
|
3669
|
+
# @param page_token [::String]
|
|
3670
|
+
# Optional. A page token, received from a previous `ListDatabases` call.
|
|
3671
|
+
# This should be provided to retrieve the subsequent page.
|
|
3672
|
+
# This field is currently not supported, its value will be ignored if passed.
|
|
3673
|
+
# @param filter [::String]
|
|
3674
|
+
# Optional. Filtering results.
|
|
3675
|
+
# This field is currently not supported, its value will be ignored if passed.
|
|
3676
|
+
#
|
|
3677
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
|
3678
|
+
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::Database>]
|
|
3679
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
3680
|
+
#
|
|
3681
|
+
# @return [::Gapic::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::Database>]
|
|
3682
|
+
#
|
|
3683
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
3684
|
+
#
|
|
3685
|
+
# @example Basic example
|
|
3686
|
+
# require "google/cloud/alloy_db/v1beta"
|
|
3687
|
+
#
|
|
3688
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
3689
|
+
# client = Google::Cloud::AlloyDB::V1beta::AlloyDBAdmin::Client.new
|
|
3690
|
+
#
|
|
3691
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
3692
|
+
# request = Google::Cloud::AlloyDB::V1beta::ListDatabasesRequest.new
|
|
3693
|
+
#
|
|
3694
|
+
# # Call the list_databases method.
|
|
3695
|
+
# result = client.list_databases request
|
|
3696
|
+
#
|
|
3697
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
|
3698
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
|
3699
|
+
# result.each do |item|
|
|
3700
|
+
# # Each element is of type ::Google::Cloud::AlloyDB::V1beta::Database.
|
|
3701
|
+
# p item
|
|
3702
|
+
# end
|
|
3703
|
+
#
|
|
3704
|
+
def list_databases request, options = nil
|
|
3705
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
3706
|
+
|
|
3707
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1beta::ListDatabasesRequest
|
|
3708
|
+
|
|
3709
|
+
# Converts hash and nil to an options object
|
|
3710
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
3711
|
+
|
|
3712
|
+
# Customize the options with defaults
|
|
3713
|
+
metadata = @config.rpcs.list_databases.metadata.to_h
|
|
3714
|
+
|
|
3715
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
|
3716
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3717
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3718
|
+
gapic_version: ::Google::Cloud::AlloyDB::V1beta::VERSION
|
|
3719
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3720
|
+
|
|
3721
|
+
header_params = {}
|
|
3722
|
+
if request.parent
|
|
3723
|
+
header_params["parent"] = request.parent
|
|
3724
|
+
end
|
|
3725
|
+
|
|
3726
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
3727
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
3728
|
+
|
|
3729
|
+
options.apply_defaults timeout: @config.rpcs.list_databases.timeout,
|
|
3730
|
+
metadata: metadata,
|
|
3731
|
+
retry_policy: @config.rpcs.list_databases.retry_policy
|
|
3732
|
+
|
|
3733
|
+
options.apply_defaults timeout: @config.timeout,
|
|
3734
|
+
metadata: @config.metadata,
|
|
3735
|
+
retry_policy: @config.retry_policy
|
|
3736
|
+
|
|
3737
|
+
@alloy_db_admin_stub.call_rpc :list_databases, request, options: options do |response, operation|
|
|
3738
|
+
response = ::Gapic::PagedEnumerable.new @alloy_db_admin_stub, :list_databases, request, response, operation, options
|
|
3739
|
+
yield response, operation if block_given?
|
|
3740
|
+
return response
|
|
3741
|
+
end
|
|
3742
|
+
rescue ::GRPC::BadStatus => e
|
|
3743
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
3744
|
+
end
|
|
3745
|
+
|
|
3638
3746
|
##
|
|
3639
3747
|
# Configuration class for the AlloyDBAdmin API.
|
|
3640
3748
|
#
|
|
@@ -3943,6 +4051,11 @@ module Google
|
|
|
3943
4051
|
# @return [::Gapic::Config::Method]
|
|
3944
4052
|
#
|
|
3945
4053
|
attr_reader :delete_user
|
|
4054
|
+
##
|
|
4055
|
+
# RPC-specific configuration for `list_databases`
|
|
4056
|
+
# @return [::Gapic::Config::Method]
|
|
4057
|
+
#
|
|
4058
|
+
attr_reader :list_databases
|
|
3946
4059
|
|
|
3947
4060
|
# @private
|
|
3948
4061
|
def initialize parent_rpcs = nil
|
|
@@ -4008,6 +4121,8 @@ module Google
|
|
|
4008
4121
|
@update_user = ::Gapic::Config::Method.new update_user_config
|
|
4009
4122
|
delete_user_config = parent_rpcs.delete_user if parent_rpcs.respond_to? :delete_user
|
|
4010
4123
|
@delete_user = ::Gapic::Config::Method.new delete_user_config
|
|
4124
|
+
list_databases_config = parent_rpcs.list_databases if parent_rpcs.respond_to? :list_databases
|
|
4125
|
+
@list_databases = ::Gapic::Config::Method.new list_databases_config
|
|
4011
4126
|
|
|
4012
4127
|
yield self if block_given?
|
|
4013
4128
|
end
|
|
@@ -128,6 +128,11 @@ module Google
|
|
|
128
128
|
initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
+
default_config.rpcs.list_databases.timeout = 60.0
|
|
132
|
+
default_config.rpcs.list_databases.retry_policy = {
|
|
133
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
134
|
+
}
|
|
135
|
+
|
|
131
136
|
default_config
|
|
132
137
|
end
|
|
133
138
|
yield @configure if block_given?
|
|
@@ -2776,7 +2781,8 @@ module Google
|
|
|
2776
2781
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
2777
2782
|
# not supported (00000000-0000-0000-0000-000000000000).
|
|
2778
2783
|
# @param pem_csr [::String]
|
|
2779
|
-
# Optional. A pem-encoded X.509 certificate signing request (CSR).
|
|
2784
|
+
# Optional. A pem-encoded X.509 certificate signing request (CSR). It is
|
|
2785
|
+
# recommended to use public_key instead.
|
|
2780
2786
|
# @param cert_duration [::Google::Protobuf::Duration, ::Hash]
|
|
2781
2787
|
# Optional. An optional hint to the endpoint to generate the client
|
|
2782
2788
|
# certificate with the requested duration. The duration can be from 1 hour to
|
|
@@ -3408,6 +3414,101 @@ module Google
|
|
|
3408
3414
|
raise ::Google::Cloud::Error.from_error(e)
|
|
3409
3415
|
end
|
|
3410
3416
|
|
|
3417
|
+
##
|
|
3418
|
+
# Lists Databases in a given project and location.
|
|
3419
|
+
#
|
|
3420
|
+
# @overload list_databases(request, options = nil)
|
|
3421
|
+
# Pass arguments to `list_databases` via a request object, either of type
|
|
3422
|
+
# {::Google::Cloud::AlloyDB::V1beta::ListDatabasesRequest} or an equivalent Hash.
|
|
3423
|
+
#
|
|
3424
|
+
# @param request [::Google::Cloud::AlloyDB::V1beta::ListDatabasesRequest, ::Hash]
|
|
3425
|
+
# A request object representing the call parameters. Required. To specify no
|
|
3426
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
3427
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3428
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3429
|
+
#
|
|
3430
|
+
# @overload list_databases(parent: nil, page_size: nil, page_token: nil, filter: nil)
|
|
3431
|
+
# Pass arguments to `list_databases` via keyword arguments. Note that at
|
|
3432
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3433
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
3434
|
+
#
|
|
3435
|
+
# @param parent [::String]
|
|
3436
|
+
# Required. Parent value for ListDatabasesRequest.
|
|
3437
|
+
# @param page_size [::Integer]
|
|
3438
|
+
# Optional. The maximum number of databases to return. The service may return
|
|
3439
|
+
# fewer than this value. If unspecified, an appropriate number of databases
|
|
3440
|
+
# will be returned. The max value will be 2000, values above max will be
|
|
3441
|
+
# coerced to max.
|
|
3442
|
+
# @param page_token [::String]
|
|
3443
|
+
# Optional. A page token, received from a previous `ListDatabases` call.
|
|
3444
|
+
# This should be provided to retrieve the subsequent page.
|
|
3445
|
+
# This field is currently not supported, its value will be ignored if passed.
|
|
3446
|
+
# @param filter [::String]
|
|
3447
|
+
# Optional. Filtering results.
|
|
3448
|
+
# This field is currently not supported, its value will be ignored if passed.
|
|
3449
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3450
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::Database>]
|
|
3451
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3452
|
+
#
|
|
3453
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::Database>]
|
|
3454
|
+
#
|
|
3455
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
3456
|
+
#
|
|
3457
|
+
# @example Basic example
|
|
3458
|
+
# require "google/cloud/alloy_db/v1beta"
|
|
3459
|
+
#
|
|
3460
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
3461
|
+
# client = Google::Cloud::AlloyDB::V1beta::AlloyDBAdmin::Rest::Client.new
|
|
3462
|
+
#
|
|
3463
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
3464
|
+
# request = Google::Cloud::AlloyDB::V1beta::ListDatabasesRequest.new
|
|
3465
|
+
#
|
|
3466
|
+
# # Call the list_databases method.
|
|
3467
|
+
# result = client.list_databases request
|
|
3468
|
+
#
|
|
3469
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
|
3470
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
|
3471
|
+
# result.each do |item|
|
|
3472
|
+
# # Each element is of type ::Google::Cloud::AlloyDB::V1beta::Database.
|
|
3473
|
+
# p item
|
|
3474
|
+
# end
|
|
3475
|
+
#
|
|
3476
|
+
def list_databases request, options = nil
|
|
3477
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
3478
|
+
|
|
3479
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1beta::ListDatabasesRequest
|
|
3480
|
+
|
|
3481
|
+
# Converts hash and nil to an options object
|
|
3482
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
3483
|
+
|
|
3484
|
+
# Customize the options with defaults
|
|
3485
|
+
call_metadata = @config.rpcs.list_databases.metadata.to_h
|
|
3486
|
+
|
|
3487
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
|
3488
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3489
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3490
|
+
gapic_version: ::Google::Cloud::AlloyDB::V1beta::VERSION,
|
|
3491
|
+
transports_version_send: [:rest]
|
|
3492
|
+
|
|
3493
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3494
|
+
|
|
3495
|
+
options.apply_defaults timeout: @config.rpcs.list_databases.timeout,
|
|
3496
|
+
metadata: call_metadata,
|
|
3497
|
+
retry_policy: @config.rpcs.list_databases.retry_policy
|
|
3498
|
+
|
|
3499
|
+
options.apply_defaults timeout: @config.timeout,
|
|
3500
|
+
metadata: @config.metadata,
|
|
3501
|
+
retry_policy: @config.retry_policy
|
|
3502
|
+
|
|
3503
|
+
@alloy_db_admin_stub.list_databases request, options do |result, operation|
|
|
3504
|
+
result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_databases, "databases", request, result, options
|
|
3505
|
+
yield result, operation if block_given?
|
|
3506
|
+
return result
|
|
3507
|
+
end
|
|
3508
|
+
rescue ::Gapic::Rest::Error => e
|
|
3509
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
3510
|
+
end
|
|
3511
|
+
|
|
3411
3512
|
##
|
|
3412
3513
|
# Configuration class for the AlloyDBAdmin REST API.
|
|
3413
3514
|
#
|
|
@@ -3703,6 +3804,11 @@ module Google
|
|
|
3703
3804
|
# @return [::Gapic::Config::Method]
|
|
3704
3805
|
#
|
|
3705
3806
|
attr_reader :delete_user
|
|
3807
|
+
##
|
|
3808
|
+
# RPC-specific configuration for `list_databases`
|
|
3809
|
+
# @return [::Gapic::Config::Method]
|
|
3810
|
+
#
|
|
3811
|
+
attr_reader :list_databases
|
|
3706
3812
|
|
|
3707
3813
|
# @private
|
|
3708
3814
|
def initialize parent_rpcs = nil
|
|
@@ -3768,6 +3874,8 @@ module Google
|
|
|
3768
3874
|
@update_user = ::Gapic::Config::Method.new update_user_config
|
|
3769
3875
|
delete_user_config = parent_rpcs.delete_user if parent_rpcs.respond_to? :delete_user
|
|
3770
3876
|
@delete_user = ::Gapic::Config::Method.new delete_user_config
|
|
3877
|
+
list_databases_config = parent_rpcs.list_databases if parent_rpcs.respond_to? :list_databases
|
|
3878
|
+
@list_databases = ::Gapic::Config::Method.new list_databases_config
|
|
3771
3879
|
|
|
3772
3880
|
yield self if block_given?
|
|
3773
3881
|
end
|
|
@@ -1239,6 +1239,44 @@ module Google
|
|
|
1239
1239
|
result
|
|
1240
1240
|
end
|
|
1241
1241
|
|
|
1242
|
+
##
|
|
1243
|
+
# Baseline implementation for the list_databases REST call
|
|
1244
|
+
#
|
|
1245
|
+
# @param request_pb [::Google::Cloud::AlloyDB::V1beta::ListDatabasesRequest]
|
|
1246
|
+
# A request object representing the call parameters. Required.
|
|
1247
|
+
# @param options [::Gapic::CallOptions]
|
|
1248
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1249
|
+
#
|
|
1250
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1251
|
+
# @yieldparam result [::Google::Cloud::AlloyDB::V1beta::ListDatabasesResponse]
|
|
1252
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1253
|
+
#
|
|
1254
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::ListDatabasesResponse]
|
|
1255
|
+
# A result object deserialized from the server's reply
|
|
1256
|
+
def list_databases request_pb, options = nil
|
|
1257
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1258
|
+
|
|
1259
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_databases_request request_pb
|
|
1260
|
+
query_string_params = if query_string_params.any?
|
|
1261
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1262
|
+
else
|
|
1263
|
+
{}
|
|
1264
|
+
end
|
|
1265
|
+
|
|
1266
|
+
response = @client_stub.make_http_request(
|
|
1267
|
+
verb,
|
|
1268
|
+
uri: uri,
|
|
1269
|
+
body: body || "",
|
|
1270
|
+
params: query_string_params,
|
|
1271
|
+
options: options
|
|
1272
|
+
)
|
|
1273
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1274
|
+
result = ::Google::Cloud::AlloyDB::V1beta::ListDatabasesResponse.decode_json response.body, ignore_unknown_fields: true
|
|
1275
|
+
|
|
1276
|
+
yield result, operation if block_given?
|
|
1277
|
+
result
|
|
1278
|
+
end
|
|
1279
|
+
|
|
1242
1280
|
##
|
|
1243
1281
|
# @private
|
|
1244
1282
|
#
|
|
@@ -1906,6 +1944,27 @@ module Google
|
|
|
1906
1944
|
)
|
|
1907
1945
|
transcoder.transcode request_pb
|
|
1908
1946
|
end
|
|
1947
|
+
|
|
1948
|
+
##
|
|
1949
|
+
# @private
|
|
1950
|
+
#
|
|
1951
|
+
# GRPC transcoding helper method for the list_databases REST call
|
|
1952
|
+
#
|
|
1953
|
+
# @param request_pb [::Google::Cloud::AlloyDB::V1beta::ListDatabasesRequest]
|
|
1954
|
+
# A request object representing the call parameters. Required.
|
|
1955
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1956
|
+
# Uri, Body, Query string parameters
|
|
1957
|
+
def self.transcode_list_databases_request request_pb
|
|
1958
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1959
|
+
.with_bindings(
|
|
1960
|
+
uri_method: :get,
|
|
1961
|
+
uri_template: "/v1beta/{parent}/databases",
|
|
1962
|
+
matches: [
|
|
1963
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/?$}, false]
|
|
1964
|
+
]
|
|
1965
|
+
)
|
|
1966
|
+
transcoder.transcode request_pb
|
|
1967
|
+
end
|
|
1909
1968
|
end
|
|
1910
1969
|
end
|
|
1911
1970
|
end
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/field_info_pb'
|
|
8
9
|
require 'google/api/resource_pb'
|
|
9
10
|
require 'google/protobuf/duration_pb'
|
|
10
11
|
require 'google/protobuf/timestamp_pb'
|
|
@@ -13,7 +14,7 @@ require 'google/type/dayofweek_pb'
|
|
|
13
14
|
require 'google/type/timeofday_pb'
|
|
14
15
|
|
|
15
16
|
|
|
16
|
-
descriptor_data = "\n+google/cloud/alloydb/v1beta/resources.proto\x12\x1bgoogle.cloud.alloydb.v1beta\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\"\xe7\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\x12Z\n\x0bsource_type\x18\x03 \x01(\x0e\x32@.google.cloud.alloydb.v1beta.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\"\x8a\x02\n\x0e\x45ncryptionInfo\x12N\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32\x30.google.cloud.alloydb.v1beta.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\"\x86\x03\n\tSslConfig\x12\x45\n\x08ssl_mode\x18\x01 \x01(\x0e\x32..google.cloud.alloydb.v1beta.SslConfig.SslModeB\x03\xe0\x41\x01\x12G\n\tca_source\x18\x02 \x01(\x0e\x32/.google.cloud.alloydb.v1beta.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\"\xf9\x06\n\x15\x41utomatedBackupPolicy\x12\\\n\x0fweekly_schedule\x18\x02 \x01(\x0b\x32\x41.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleH\x00\x12\x65\n\x14time_based_retention\x18\x04 \x01(\x0b\x32\x45.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionH\x01\x12m\n\x18quantity_based_retention\x18\x05 \x01(\x0b\x32I.google.cloud.alloydb.v1beta.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\x12M\n\x11\x65ncryption_config\x18\x08 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12\x10\n\x08location\x18\x06 \x01(\t\x12N\n\x06labels\x18\x07 \x03(\x0b\x32>.google.cloud.alloydb.v1beta.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\"\xa2\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\x12H\n\x11\x65ncryption_config\x18\x03 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\n\n\x08_enabled\"\x8a\x02\n\x14\x43ontinuousBackupInfo\x12I\n\x0f\x65ncryption_info\x18\x01 \x01(\x0b\x32+.google.cloud.alloydb.v1beta.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\"\xf0\x11\n\x07\x43luster\x12G\n\rbackup_source\x18\x0f \x01(\x0b\x32).google.cloud.alloydb.v1beta.BackupSourceB\x03\xe0\x41\x03H\x00\x12M\n\x10migration_source\x18\x10 \x01(\x0b\x32,.google.cloud.alloydb.v1beta.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\x30.google.cloud.alloydb.v1beta.Cluster.LabelsEntry\x12>\n\x05state\x18\x08 \x01(\x0e\x32*.google.cloud.alloydb.v1beta.Cluster.StateB\x03\xe0\x41\x03\x12K\n\x0c\x63luster_type\x18\x18 \x01(\x0e\x32\x30.google.cloud.alloydb.v1beta.Cluster.ClusterTypeB\x03\xe0\x41\x03\x12K\n\x10\x64\x61tabase_version\x18\t \x01(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersionB\x03\xe0\x41\x01\x12O\n\x0enetwork_config\x18\x1d \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.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\x12J\n\x0b\x61nnotations\x18\x0c \x03(\x0b\x32\x35.google.cloud.alloydb.v1beta.Cluster.AnnotationsEntry\x12\x18\n\x0breconciling\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x12\x44\n\x0cinitial_user\x18\x0e \x01(\x0b\x32).google.cloud.alloydb.v1beta.UserPasswordB\x03\xe0\x41\x04\x12S\n\x17\x61utomated_backup_policy\x18\x11 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.AutomatedBackupPolicy\x12>\n\nssl_config\x18\x12 \x01(\x0b\x32&.google.cloud.alloydb.v1beta.SslConfigB\x02\x18\x01\x12M\n\x11\x65ncryption_config\x18\x13 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12I\n\x0f\x65ncryption_info\x18\x14 \x01(\x0b\x32+.google.cloud.alloydb.v1beta.EncryptionInfoB\x03\xe0\x41\x03\x12Z\n\x18\x63ontinuous_backup_config\x18\x1b \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.ContinuousBackupConfigB\x03\xe0\x41\x01\x12V\n\x16\x63ontinuous_backup_info\x18\x1c \x01(\x0b\x32\x31.google.cloud.alloydb.v1beta.ContinuousBackupInfoB\x03\xe0\x41\x03\x12N\n\x10secondary_config\x18\x16 \x01(\x0b\x32\x34.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig\x12O\n\x0eprimary_config\x18\x17 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.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\"\x9f\x14\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\x41\n\x06labels\x18\x07 \x03(\x0b\x32\x31.google.cloud.alloydb.v1beta.Instance.LabelsEntry\x12?\n\x05state\x18\x08 \x01(\x0e\x32+.google.cloud.alloydb.v1beta.Instance.StateB\x03\xe0\x41\x03\x12N\n\rinstance_type\x18\t \x01(\x0e\x32\x32.google.cloud.alloydb.v1beta.Instance.InstanceTypeB\x03\xe0\x41\x02\x12K\n\x0emachine_config\x18\n \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.Instance.MachineConfig\x12Q\n\x11\x61vailability_type\x18\x0b \x01(\x0e\x32\x36.google.cloud.alloydb.v1beta.Instance.AvailabilityType\x12\x10\n\x08gce_zone\x18\x0c \x01(\t\x12P\n\x0e\x64\x61tabase_flags\x18\r \x03(\x0b\x32\x38.google.cloud.alloydb.v1beta.Instance.DatabaseFlagsEntry\x12\x46\n\rwritable_node\x18\x13 \x01(\x0b\x32*.google.cloud.alloydb.v1beta.Instance.NodeB\x03\xe0\x41\x03\x12>\n\x05nodes\x18\x14 \x03(\x0b\x32*.google.cloud.alloydb.v1beta.Instance.NodeB\x03\xe0\x41\x03\x12`\n\x15query_insights_config\x18\x15 \x01(\x0b\x32\x41.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig\x12N\n\x10read_pool_config\x18\x0e \x01(\x0b\x32\x34.google.cloud.alloydb.v1beta.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\x12K\n\x0b\x61nnotations\x18\x12 \x03(\x0b\x32\x36.google.cloud.alloydb.v1beta.Instance.AnnotationsEntry\x12I\n\rupdate_policy\x18\x16 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.Instance.UpdatePolicy\x12\x63\n\x18\x63lient_connection_config\x18\x17 \x01(\x0b\x32<.google.cloud.alloydb.v1beta.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\x1a\x91\x01\n\x0cUpdatePolicy\x12\x45\n\x04mode\x18\x01 \x01(\x0e\x32\x37.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode\":\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\x0f\n\x0b\x46ORCE_APPLY\x10\x02\x1az\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.v1beta.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\"\x86\x02\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$\n\x15pem_certificate_chain\x18\x03 \x03(\tB\x05\x18\x01\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\"\xc6\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.v1beta.Backup.LabelsEntry\x12=\n\x05state\x18\x07 \x01(\x0e\x32).google.cloud.alloydb.v1beta.Backup.StateB\x03\xe0\x41\x03\x12\x36\n\x04type\x18\x08 \x01(\x0e\x32(.google.cloud.alloydb.v1beta.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\x12M\n\x11\x65ncryption_config\x18\x0c \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12I\n\x0f\x65ncryption_info\x18\r \x01(\x0b\x32+.google.cloud.alloydb.v1beta.EncryptionInfoB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12I\n\x0b\x61nnotations\x18\x10 \x03(\x0b\x32\x34.google.cloud.alloydb.v1beta.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\x12U\n\x0f\x65xpiry_quantity\x18\x14 \x01(\x0b\x32\x37.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryB\x03\xe0\x41\x03\x12K\n\x10\x64\x61tabase_version\x18\x16 \x01(\x0e\x32,.google.cloud.alloydb.v1beta.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\"\xd8\x06\n\x15SupportedDatabaseFlag\x12\x64\n\x13string_restrictions\x18\x07 \x01(\x0b\x32\x45.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsH\x00\x12\x66\n\x14integer_restrictions\x18\x08 \x01(\x0b\x32\x46.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tflag_name\x18\x02 \x01(\t\x12P\n\nvalue_type\x18\x03 \x01(\x0e\x32<.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType\x12\x1f\n\x17\x61\x63\x63\x65pts_multiple_values\x18\x04 \x01(\x08\x12K\n\x15supported_db_versions\x18\x05 \x03(\x0e\x32,.google.cloud.alloydb.v1beta.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\"\xd2\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\x42\n\tuser_type\x18\x05 \x01(\x0e\x32*.google.cloud.alloydb.v1beta.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*j\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\x12\x0f\n\x0bPOSTGRES_15\x10\x03\x42\xc6\x03\n\x1f\x63om.google.cloud.alloydb.v1betaB\x0eResourcesProtoP\x01Z9cloud.google.com/go/alloydb/apiv1beta/alloydbpb;alloydbpb\xaa\x02\x1bGoogle.Cloud.AlloyDb.V1Beta\xca\x02\x1bGoogle\\Cloud\\AlloyDb\\V1beta\xea\x02\x1eGoogle::Cloud::AlloyDB::V1beta\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
|
+
descriptor_data = "\n+google/cloud/alloydb/v1beta/resources.proto\x12\x1bgoogle.cloud.alloydb.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.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\"\xe7\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\x12Z\n\x0bsource_type\x18\x03 \x01(\x0e\x32@.google.cloud.alloydb.v1beta.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\"\x8a\x02\n\x0e\x45ncryptionInfo\x12N\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32\x30.google.cloud.alloydb.v1beta.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\"\x86\x03\n\tSslConfig\x12\x45\n\x08ssl_mode\x18\x01 \x01(\x0e\x32..google.cloud.alloydb.v1beta.SslConfig.SslModeB\x03\xe0\x41\x01\x12G\n\tca_source\x18\x02 \x01(\x0e\x32/.google.cloud.alloydb.v1beta.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\"\xf9\x06\n\x15\x41utomatedBackupPolicy\x12\\\n\x0fweekly_schedule\x18\x02 \x01(\x0b\x32\x41.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleH\x00\x12\x65\n\x14time_based_retention\x18\x04 \x01(\x0b\x32\x45.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionH\x01\x12m\n\x18quantity_based_retention\x18\x05 \x01(\x0b\x32I.google.cloud.alloydb.v1beta.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\x12M\n\x11\x65ncryption_config\x18\x08 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12\x10\n\x08location\x18\x06 \x01(\t\x12N\n\x06labels\x18\x07 \x03(\x0b\x32>.google.cloud.alloydb.v1beta.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\"\xa2\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\x12H\n\x11\x65ncryption_config\x18\x03 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\n\n\x08_enabled\"\x8a\x02\n\x14\x43ontinuousBackupInfo\x12I\n\x0f\x65ncryption_info\x18\x01 \x01(\x0b\x32+.google.cloud.alloydb.v1beta.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\"\x8c\x12\n\x07\x43luster\x12G\n\rbackup_source\x18\x0f \x01(\x0b\x32).google.cloud.alloydb.v1beta.BackupSourceB\x03\xe0\x41\x03H\x00\x12M\n\x10migration_source\x18\x10 \x01(\x0b\x32,.google.cloud.alloydb.v1beta.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\x30.google.cloud.alloydb.v1beta.Cluster.LabelsEntry\x12>\n\x05state\x18\x08 \x01(\x0e\x32*.google.cloud.alloydb.v1beta.Cluster.StateB\x03\xe0\x41\x03\x12K\n\x0c\x63luster_type\x18\x18 \x01(\x0e\x32\x30.google.cloud.alloydb.v1beta.Cluster.ClusterTypeB\x03\xe0\x41\x03\x12K\n\x10\x64\x61tabase_version\x18\t \x01(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersionB\x03\xe0\x41\x01\x12O\n\x0enetwork_config\x18\x1d \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.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\x12J\n\x0b\x61nnotations\x18\x0c \x03(\x0b\x32\x35.google.cloud.alloydb.v1beta.Cluster.AnnotationsEntry\x12\x18\n\x0breconciling\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x12\x44\n\x0cinitial_user\x18\x0e \x01(\x0b\x32).google.cloud.alloydb.v1beta.UserPasswordB\x03\xe0\x41\x04\x12S\n\x17\x61utomated_backup_policy\x18\x11 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.AutomatedBackupPolicy\x12>\n\nssl_config\x18\x12 \x01(\x0b\x32&.google.cloud.alloydb.v1beta.SslConfigB\x02\x18\x01\x12M\n\x11\x65ncryption_config\x18\x13 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12I\n\x0f\x65ncryption_info\x18\x14 \x01(\x0b\x32+.google.cloud.alloydb.v1beta.EncryptionInfoB\x03\xe0\x41\x03\x12Z\n\x18\x63ontinuous_backup_config\x18\x1b \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.ContinuousBackupConfigB\x03\xe0\x41\x01\x12V\n\x16\x63ontinuous_backup_info\x18\x1c \x01(\x0b\x32\x31.google.cloud.alloydb.v1beta.ContinuousBackupInfoB\x03\xe0\x41\x03\x12N\n\x10secondary_config\x18\x16 \x01(\x0b\x32\x34.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig\x12O\n\x0eprimary_config\x18\x17 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x1e \x01(\x08\x42\x03\xe0\x41\x03\x1ai\n\rNetworkConfig\x12\x37\n\x07network\x18\x01 \x01(\tB&\xe0\x41\x01\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\"\xfb\x1a\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\x41\n\x06labels\x18\x07 \x03(\x0b\x32\x31.google.cloud.alloydb.v1beta.Instance.LabelsEntry\x12?\n\x05state\x18\x08 \x01(\x0e\x32+.google.cloud.alloydb.v1beta.Instance.StateB\x03\xe0\x41\x03\x12N\n\rinstance_type\x18\t \x01(\x0e\x32\x32.google.cloud.alloydb.v1beta.Instance.InstanceTypeB\x03\xe0\x41\x02\x12K\n\x0emachine_config\x18\n \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.Instance.MachineConfig\x12Q\n\x11\x61vailability_type\x18\x0b \x01(\x0e\x32\x36.google.cloud.alloydb.v1beta.Instance.AvailabilityType\x12\x10\n\x08gce_zone\x18\x0c \x01(\t\x12P\n\x0e\x64\x61tabase_flags\x18\r \x03(\x0b\x32\x38.google.cloud.alloydb.v1beta.Instance.DatabaseFlagsEntry\x12\x46\n\rwritable_node\x18\x13 \x01(\x0b\x32*.google.cloud.alloydb.v1beta.Instance.NodeB\x03\xe0\x41\x03\x12>\n\x05nodes\x18\x14 \x03(\x0b\x32*.google.cloud.alloydb.v1beta.Instance.NodeB\x03\xe0\x41\x03\x12`\n\x15query_insights_config\x18\x15 \x01(\x0b\x32\x41.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig\x12N\n\x10read_pool_config\x18\x0e \x01(\x0b\x32\x34.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig\x12\x17\n\nip_address\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x1e\n\x11public_ip_address\x18\x1b \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\x12K\n\x0b\x61nnotations\x18\x12 \x03(\x0b\x32\x36.google.cloud.alloydb.v1beta.Instance.AnnotationsEntry\x12I\n\rupdate_policy\x18\x16 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.Instance.UpdatePolicy\x12\x63\n\x18\x63lient_connection_config\x18\x17 \x01(\x0b\x32<.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigB\x03\xe0\x41\x01\x12\x1a\n\rsatisfies_pzs\x18\x18 \x01(\x08\x42\x03\xe0\x41\x03\x12Y\n\x13psc_instance_config\x18\x1c \x01(\x0b\x32\x37.google.cloud.alloydb.v1beta.Instance.PscInstanceConfigB\x03\xe0\x41\x01\x12X\n\x0enetwork_config\x18\x1d \x01(\x0b\x32;.google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfigB\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\x1a\x91\x01\n\x0cUpdatePolicy\x12\x45\n\x04mode\x18\x01 \x01(\x0e\x32\x37.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode\":\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\x0f\n\x0b\x46ORCE_APPLY\x10\x02\x1az\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.v1beta.SslConfigB\x03\xe0\x41\x01\x1aO\n\x12PscInterfaceConfig\x12\x1d\n\x15\x63onsumer_endpoint_ips\x18\x01 \x03(\t\x12\x1a\n\x12network_attachment\x18\x02 \x01(\t\x1a\xb1\x02\n\x11PscInstanceConfig\x12$\n\x17service_attachment_link\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12&\n\x19\x61llowed_consumer_projects\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12&\n\x19\x61llowed_consumer_networks\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12\\\n\x15psc_interface_configs\x18\x04 \x03(\x0b\x32\x38.google.cloud.alloydb.v1beta.Instance.PscInterfaceConfigB\x03\xe0\x41\x01\x12.\n!outgoing_service_attachment_links\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12\x18\n\x0bpsc_enabled\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x1a\xe3\x01\n\x15InstanceNetworkConfig\x12x\n\x1c\x61uthorized_external_networks\x18\x01 \x03(\x0b\x32M.google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetworkB\x03\xe0\x41\x01\x12\x1d\n\x10\x65nable_public_ip\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x31\n\x11\x41uthorizedNetwork\x12\x1c\n\ncidr_range\x18\x01 \x01(\tB\x08\xe2\x8c\xcf\xd7\x08\x02\x08\x02\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\"\xc9\x02\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&\n\x11public_ip_address\x18\x05 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12$\n\x15pem_certificate_chain\x18\x03 \x03(\tB\x05\x18\x01\xe0\x41\x03\x12\x19\n\x0cinstance_uid\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cpsc_dns_name\x18\x06 \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\"\xe2\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.v1beta.Backup.LabelsEntry\x12=\n\x05state\x18\x07 \x01(\x0e\x32).google.cloud.alloydb.v1beta.Backup.StateB\x03\xe0\x41\x03\x12\x36\n\x04type\x18\x08 \x01(\x0e\x32(.google.cloud.alloydb.v1beta.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\x12M\n\x11\x65ncryption_config\x18\x0c \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12I\n\x0f\x65ncryption_info\x18\r \x01(\x0b\x32+.google.cloud.alloydb.v1beta.EncryptionInfoB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12I\n\x0b\x61nnotations\x18\x10 \x03(\x0b\x32\x34.google.cloud.alloydb.v1beta.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\x12U\n\x0f\x65xpiry_quantity\x18\x14 \x01(\x0b\x32\x37.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x15 \x01(\x08\x42\x03\xe0\x41\x03\x12K\n\x10\x64\x61tabase_version\x18\x16 \x01(\x0e\x32,.google.cloud.alloydb.v1beta.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\"\xd8\x06\n\x15SupportedDatabaseFlag\x12\x64\n\x13string_restrictions\x18\x07 \x01(\x0b\x32\x45.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsH\x00\x12\x66\n\x14integer_restrictions\x18\x08 \x01(\x0b\x32\x46.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tflag_name\x18\x02 \x01(\t\x12P\n\nvalue_type\x18\x03 \x01(\x0e\x32<.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType\x12\x1f\n\x17\x61\x63\x63\x65pts_multiple_values\x18\x04 \x01(\x08\x12K\n\x15supported_db_versions\x18\x05 \x03(\x0e\x32,.google.cloud.alloydb.v1beta.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\"\xd2\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\x42\n\tuser_type\x18\x05 \x01(\x0e\x32*.google.cloud.alloydb.v1beta.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\"\xdc\x01\n\x08\x44\x61tabase\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x07\x63harset\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tcollation\x18\x03 \x01(\tB\x03\xe0\x41\x01:\x8e\x01\xea\x41\x8a\x01\n\x1f\x61lloydb.googleapis.com/Database\x12Oprojects/{project}/locations/{location}/clusters/{cluster}/databases/{database}*\tdatabases2\x08\x64\x61tabaseR\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*j\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\x12\x0f\n\x0bPOSTGRES_15\x10\x03\x42\xc6\x03\n\x1f\x63om.google.cloud.alloydb.v1betaB\x0eResourcesProtoP\x01Z9cloud.google.com/go/alloydb/apiv1beta/alloydbpb;alloydbpb\xaa\x02\x1bGoogle.Cloud.AlloyDb.V1Beta\xca\x02\x1bGoogle\\Cloud\\AlloyDb\\V1beta\xea\x02\x1eGoogle::Cloud::AlloyDB::V1beta\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
18
|
|
|
18
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
19
20
|
|
|
@@ -78,6 +79,10 @@ module Google
|
|
|
78
79
|
Instance::UpdatePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.UpdatePolicy").msgclass
|
|
79
80
|
Instance::UpdatePolicy::Mode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode").enummodule
|
|
80
81
|
Instance::ClientConnectionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig").msgclass
|
|
82
|
+
Instance::PscInterfaceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.PscInterfaceConfig").msgclass
|
|
83
|
+
Instance::PscInstanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.PscInstanceConfig").msgclass
|
|
84
|
+
Instance::InstanceNetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig").msgclass
|
|
85
|
+
Instance::InstanceNetworkConfig::AuthorizedNetwork = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetwork").msgclass
|
|
81
86
|
Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.State").enummodule
|
|
82
87
|
Instance::InstanceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.InstanceType").enummodule
|
|
83
88
|
Instance::AvailabilityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.AvailabilityType").enummodule
|
|
@@ -92,6 +97,7 @@ module Google
|
|
|
92
97
|
SupportedDatabaseFlag::ValueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType").enummodule
|
|
93
98
|
User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.User").msgclass
|
|
94
99
|
User::UserType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.User.UserType").enummodule
|
|
100
|
+
Database = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Database").msgclass
|
|
95
101
|
InstanceView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.InstanceView").enummodule
|
|
96
102
|
ClusterView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ClusterView").enummodule
|
|
97
103
|
DatabaseVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.DatabaseVersion").enummodule
|
|
@@ -17,7 +17,7 @@ require 'google/protobuf/timestamp_pb'
|
|
|
17
17
|
require 'google/rpc/status_pb'
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
descriptor_data = "\n)google/cloud/alloydb/v1beta/service.proto\x12\x1bgoogle.cloud.alloydb.v1beta\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/v1beta/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\"|\n\x14ListClustersResponse\x12\x36\n\x08\x63lusters\x18\x01 \x03(\x0b\x32$.google.cloud.alloydb.v1beta.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x86\x01\n\x11GetClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12;\n\x04view\x18\x02 \x01(\x0e\x32(.google.cloud.alloydb.v1beta.ClusterViewB\x03\xe0\x41\x01\"\xe1\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:\n\x07\x63luster\x18\x03 \x01(\x0b\x32$.google.cloud.alloydb.v1beta.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\"\xd8\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:\n\x07\x63luster\x18\x03 \x01(\x0b\x32$.google.cloud.alloydb.v1beta.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\"\xd9\x01\n\x14UpdateClusterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12:\n\x07\x63luster\x18\x02 \x01(\x0b\x32$.google.cloud.alloydb.v1beta.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\"\x80\x03\n\x15RestoreClusterRequest\x12\x42\n\rbackup_source\x18\x04 \x01(\x0b\x32).google.cloud.alloydb.v1beta.BackupSourceH\x00\x12W\n\x18\x63ontinuous_backup_source\x18\x08 \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.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:\n\x07\x63luster\x18\x03 \x01(\x0b\x32$.google.cloud.alloydb.v1beta.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\"\x7f\n\x15ListInstancesResponse\x12\x38\n\tinstances\x18\x01 \x03(\x0b\x32%.google.cloud.alloydb.v1beta.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x84\x01\n\x12GetInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x37\n\x04view\x18\x02 \x01(\x0e\x32).google.cloud.alloydb.v1beta.InstanceView\"\xdd\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<\n\x08instance\x18\x03 \x01(\x0b\x32%.google.cloud.alloydb.v1beta.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\"\xe6\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<\n\x08instance\x18\x03 \x01(\x0b\x32%.google.cloud.alloydb.v1beta.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\"s\n\x16\x43reateInstanceRequests\x12Y\n\x18\x63reate_instance_requests\x18\x01 \x03(\x0b\x32\x32.google.cloud.alloydb.v1beta.CreateInstanceRequestB\x03\xe0\x41\x02\"\xbb\x01\n\x1b\x42\x61tchCreateInstancesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12J\n\x08requests\x18\x02 \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.CreateInstanceRequestsB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"X\n\x1c\x42\x61tchCreateInstancesResponse\x12\x38\n\tinstances\x18\x01 \x03(\x0b\x32%.google.cloud.alloydb.v1beta.Instance\"\x95\x02\n\x1c\x42\x61tchCreateInstancesMetadata\x12\x18\n\x10instance_targets\x18\x01 \x03(\t\x12j\n\x11instance_statuses\x18\x02 \x03(\x0b\x32O.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.InstanceStatusesEntry\x1ao\n\x15InstanceStatusesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus:\x02\x38\x01\"\xd8\x02\n\x19\x42\x61tchCreateInstanceStatus\x12K\n\x05state\x18\x01 \x01(\x0e\x32<.google.cloud.alloydb.v1beta.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\x32.google.cloud.alloydb.v1beta.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\"\xdc\x01\n\x15UpdateInstanceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12<\n\x08instance\x18\x02 \x01(\x0b\x32%.google.cloud.alloydb.v1beta.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\"\x8a\x02\n\x12InjectFaultRequest\x12R\n\nfault_type\x18\x01 \x01(\x0e\x32\x39.google.cloud.alloydb.v1beta.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\"y\n\x13ListBackupsResponse\x12\x34\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32#.google.cloud.alloydb.v1beta.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\"\xd3\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\x38\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32#.google.cloud.alloydb.v1beta.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\"\xd6\x01\n\x13UpdateBackupRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x38\n\x06\x62\x61\x63kup\x18\x02 \x01(\x0b\x32#.google.cloud.alloydb.v1beta.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\"\x93\x01\n\"ListSupportedDatabaseFlagsResponse\x12T\n\x18supported_database_flags\x18\x01 \x03(\x0b\x32\x32.google.cloud.alloydb.v1beta.SupportedDatabaseFlag\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xff\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\x16\n\x07pem_csr\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12\x35\n\rcert_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x17\n\npublic_key\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\"\n\x15use_metadata_exchange\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"{\n!GenerateClientCertificateResponse\x12\x1c\n\x0fpem_certificate\x18\x01 \x01(\tB\x03\xe0\x41\x03\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\"\xff\x02\n\x11OperationMetadata\x12i\n\x1f\x62\x61tch_create_instances_metadata\x18\x08 \x01(\x0b\x32\x39.google.cloud.alloydb.v1beta.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\"s\n\x11ListUsersResponse\x12\x30\n\x05users\x18\x01 \x03(\x0b\x32!.google.cloud.alloydb.v1beta.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\"\xc9\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\x34\n\x04user\x18\x03 \x01(\x0b\x32!.google.cloud.alloydb.v1beta.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\"\xd0\x01\n\x11UpdateUserRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x34\n\x04user\x18\x02 \x01(\x0b\x32!.google.cloud.alloydb.v1beta.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\xa6\x34\n\x0c\x41lloyDBAdmin\x12\xb6\x01\n\x0cListClusters\x12\x30.google.cloud.alloydb.v1beta.ListClustersRequest\x1a\x31.google.cloud.alloydb.v1beta.ListClustersResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1beta/{parent=projects/*/locations/*}/clusters\x12\xa3\x01\n\nGetCluster\x12..google.cloud.alloydb.v1beta.GetClusterRequest\x1a$.google.cloud.alloydb.v1beta.Cluster\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1beta/{name=projects/*/locations/*/clusters/*}\x12\xdf\x01\n\rCreateCluster\x12\x31.google.cloud.alloydb.v1beta.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"|\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02;\"0/v1beta/{parent=projects/*/locations/*}/clusters:\x07\x63luster\x12\xe1\x01\n\rUpdateCluster\x12\x31.google.cloud.alloydb.v1beta.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"~\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x13\x63luster,update_mask\x82\xd3\xe4\x93\x02\x43\x32\x38/v1beta/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\x12\xcf\x01\n\rDeleteCluster\x12\x31.google.cloud.alloydb.v1beta.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1beta/{name=projects/*/locations/*/clusters/*}\x12\xce\x01\n\x0ePromoteCluster\x12\x32.google.cloud.alloydb.v1beta.PromoteClusterRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02=\"8/v1beta/{name=projects/*/locations/*/clusters/*}:promote:\x01*\x12\xc7\x01\n\x0eRestoreCluster\x12\x32.google.cloud.alloydb.v1beta.RestoreClusterRequest\x1a\x1d.google.longrunning.Operation\"b\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02=\"8/v1beta/{parent=projects/*/locations/*}/clusters:restore:\x01*\x12\x82\x02\n\x16\x43reateSecondaryCluster\x12:.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02K\"@/v1beta/{parent=projects/*/locations/*}/clusters:createsecondary:\x07\x63luster\x12\xc5\x01\n\rListInstances\x12\x31.google.cloud.alloydb.v1beta.ListInstancesRequest\x1a\x32.google.cloud.alloydb.v1beta.ListInstancesResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1beta/{parent=projects/*/locations/*/clusters/*}/instances\x12\xb2\x01\n\x0bGetInstance\x12/.google.cloud.alloydb.v1beta.GetInstanceRequest\x1a%.google.cloud.alloydb.v1beta.Instance\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\x12</v1beta/{name=projects/*/locations/*/clusters/*/instances/*}\x12\xf2\x01\n\x0e\x43reateInstance\x12\x32.google.cloud.alloydb.v1beta.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02H\"</v1beta/{parent=projects/*/locations/*/clusters/*}/instances:\x08instance\x12\x94\x02\n\x17\x43reateSecondaryInstance\x12;.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x9c\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02X\"L/v1beta/{parent=projects/*/locations/*/clusters/*}/instances:createsecondary:\x08instance\x12\x80\x02\n\x14\x42\x61tchCreateInstances\x12\x38.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest\x1a\x1d.google.longrunning.Operation\"\x8e\x01\xca\x41\x31\n\x1c\x42\x61tchCreateInstancesResponse\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02T\"H/v1beta/{parent=projects/*/locations/*/clusters/*}/instances:batchCreate:\x08requests\x12\xf4\x01\n\x0eUpdateInstance\x12\x32.google.cloud.alloydb.v1beta.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8e\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x14instance,update_mask\x82\xd3\xe4\x93\x02Q2E/v1beta/{instance.name=projects/*/locations/*/clusters/*/instances/*}:\x08instance\x12\xdd\x01\n\x0e\x44\x65leteInstance\x12\x32.google.cloud.alloydb.v1beta.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02>*</v1beta/{name=projects/*/locations/*/clusters/*/instances/*}\x12\xe0\x01\n\x10\x46\x61iloverInstance\x12\x34.google.cloud.alloydb.v1beta.FailoverInstanceRequest\x1a\x1d.google.longrunning.Operation\"w\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02J\"E/v1beta/{name=projects/*/locations/*/clusters/*/instances/*}:failover:\x01*\x12\xe5\x01\n\x0bInjectFault\x12/.google.cloud.alloydb.v1beta.InjectFaultRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x0f\x66\x61ult_type,name\x82\xd3\xe4\x93\x02M\"H/v1beta/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault:\x01*\x12\xdd\x01\n\x0fRestartInstance\x12\x33.google.cloud.alloydb.v1beta.RestartInstanceRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02I\"D/v1beta/{name=projects/*/locations/*/clusters/*/instances/*}:restart:\x01*\x12\xb2\x01\n\x0bListBackups\x12/.google.cloud.alloydb.v1beta.ListBackupsRequest\x1a\x30.google.cloud.alloydb.v1beta.ListBackupsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1beta/{parent=projects/*/locations/*}/backups\x12\x9f\x01\n\tGetBackup\x12-.google.cloud.alloydb.v1beta.GetBackupRequest\x1a#.google.cloud.alloydb.v1beta.Backup\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1beta/{name=projects/*/locations/*/backups/*}\x12\xd8\x01\n\x0c\x43reateBackup\x12\x30.google.cloud.alloydb.v1beta.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"w\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x17parent,backup,backup_id\x82\xd3\xe4\x93\x02\x39\"//v1beta/{parent=projects/*/locations/*}/backups:\x06\x62\x61\x63kup\x12\xda\x01\n\x0cUpdateBackup\x12\x30.google.cloud.alloydb.v1beta.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x12\x62\x61\x63kup,update_mask\x82\xd3\xe4\x93\x02@26/v1beta/{backup.name=projects/*/locations/*/backups/*}:\x06\x62\x61\x63kup\x12\xcc\x01\n\x0c\x44\x65leteBackup\x12\x30.google.cloud.alloydb.v1beta.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1beta/{name=projects/*/locations/*/backups/*}\x12\xee\x01\n\x1aListSupportedDatabaseFlags\x12>.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest\x1a?.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1beta/{parent=projects/*/locations/*}/supportedDatabaseFlags\x12\xfc\x01\n\x19GenerateClientCertificate\x12=.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest\x1a>.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse\"`\xda\x41\x06parent\x82\xd3\xe4\x93\x02Q\"L/v1beta/{parent=projects/*/locations/*/clusters/*}:generateClientCertificate:\x01*\x12\xd7\x01\n\x11GetConnectionInfo\x12\x35.google.cloud.alloydb.v1beta.GetConnectionInfoRequest\x1a+.google.cloud.alloydb.v1beta.ConnectionInfo\"^\xda\x41\x06parent\x82\xd3\xe4\x93\x02O\x12M/v1beta/{parent=projects/*/locations/*/clusters/*/instances/*}/connectionInfo\x12\xb5\x01\n\tListUsers\x12-.google.cloud.alloydb.v1beta.ListUsersRequest\x1a..google.cloud.alloydb.v1beta.ListUsersResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v1beta/{parent=projects/*/locations/*/clusters/*}/users\x12\xa2\x01\n\x07GetUser\x12+.google.cloud.alloydb.v1beta.GetUserRequest\x1a!.google.cloud.alloydb.v1beta.User\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\x12\x38/v1beta/{name=projects/*/locations/*/clusters/*/users/*}\x12\xbd\x01\n\nCreateUser\x12..google.cloud.alloydb.v1beta.CreateUserRequest\x1a!.google.cloud.alloydb.v1beta.User\"\\\xda\x41\x13parent,user,user_id\x82\xd3\xe4\x93\x02@\"8/v1beta/{parent=projects/*/locations/*/clusters/*}/users:\x04user\x12\xbf\x01\n\nUpdateUser\x12..google.cloud.alloydb.v1beta.UpdateUserRequest\x1a!.google.cloud.alloydb.v1beta.User\"^\xda\x41\x10user,update_mask\x82\xd3\xe4\x93\x02\x45\x32=/v1beta/{user.name=projects/*/locations/*/clusters/*/users/*}:\x04user\x12\x9d\x01\n\nDeleteUser\x12..google.cloud.alloydb.v1beta.DeleteUserRequest\x1a\x16.google.protobuf.Empty\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:*8/v1beta/{name=projects/*/locations/*/clusters/*/users/*}\x1aJ\xca\x41\x16\x61lloydb.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc9\x01\n\x1f\x63om.google.cloud.alloydb.v1betaB\x0cServiceProtoP\x01Z9cloud.google.com/go/alloydb/apiv1beta/alloydbpb;alloydbpb\xaa\x02\x1bGoogle.Cloud.AlloyDb.V1Beta\xca\x02\x1bGoogle\\Cloud\\AlloyDb\\V1beta\xea\x02\x1eGoogle::Cloud::AlloyDB::V1betab\x06proto3"
|
|
20
|
+
descriptor_data = "\n)google/cloud/alloydb/v1beta/service.proto\x12\x1bgoogle.cloud.alloydb.v1beta\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/v1beta/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\"|\n\x14ListClustersResponse\x12\x36\n\x08\x63lusters\x18\x01 \x03(\x0b\x32$.google.cloud.alloydb.v1beta.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x86\x01\n\x11GetClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12;\n\x04view\x18\x02 \x01(\x0e\x32(.google.cloud.alloydb.v1beta.ClusterViewB\x03\xe0\x41\x01\"\xe1\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:\n\x07\x63luster\x18\x03 \x01(\x0b\x32$.google.cloud.alloydb.v1beta.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\"\xd8\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:\n\x07\x63luster\x18\x03 \x01(\x0b\x32$.google.cloud.alloydb.v1beta.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\"\xd9\x01\n\x14UpdateClusterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12:\n\x07\x63luster\x18\x02 \x01(\x0b\x32$.google.cloud.alloydb.v1beta.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\"\x80\x03\n\x15RestoreClusterRequest\x12\x42\n\rbackup_source\x18\x04 \x01(\x0b\x32).google.cloud.alloydb.v1beta.BackupSourceH\x00\x12W\n\x18\x63ontinuous_backup_source\x18\x08 \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.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:\n\x07\x63luster\x18\x03 \x01(\x0b\x32$.google.cloud.alloydb.v1beta.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\"\x7f\n\x15ListInstancesResponse\x12\x38\n\tinstances\x18\x01 \x03(\x0b\x32%.google.cloud.alloydb.v1beta.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x84\x01\n\x12GetInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x37\n\x04view\x18\x02 \x01(\x0e\x32).google.cloud.alloydb.v1beta.InstanceView\"\xdd\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<\n\x08instance\x18\x03 \x01(\x0b\x32%.google.cloud.alloydb.v1beta.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\"\xe6\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<\n\x08instance\x18\x03 \x01(\x0b\x32%.google.cloud.alloydb.v1beta.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\"s\n\x16\x43reateInstanceRequests\x12Y\n\x18\x63reate_instance_requests\x18\x01 \x03(\x0b\x32\x32.google.cloud.alloydb.v1beta.CreateInstanceRequestB\x03\xe0\x41\x02\"\xbb\x01\n\x1b\x42\x61tchCreateInstancesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12J\n\x08requests\x18\x02 \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.CreateInstanceRequestsB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"X\n\x1c\x42\x61tchCreateInstancesResponse\x12\x38\n\tinstances\x18\x01 \x03(\x0b\x32%.google.cloud.alloydb.v1beta.Instance\"\x95\x02\n\x1c\x42\x61tchCreateInstancesMetadata\x12\x18\n\x10instance_targets\x18\x01 \x03(\t\x12j\n\x11instance_statuses\x18\x02 \x03(\x0b\x32O.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.InstanceStatusesEntry\x1ao\n\x15InstanceStatusesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus:\x02\x38\x01\"\xd8\x02\n\x19\x42\x61tchCreateInstanceStatus\x12K\n\x05state\x18\x01 \x01(\x0e\x32<.google.cloud.alloydb.v1beta.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\x32.google.cloud.alloydb.v1beta.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\"\xdc\x01\n\x15UpdateInstanceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12<\n\x08instance\x18\x02 \x01(\x0b\x32%.google.cloud.alloydb.v1beta.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\"\x8a\x02\n\x12InjectFaultRequest\x12R\n\nfault_type\x18\x01 \x01(\x0e\x32\x39.google.cloud.alloydb.v1beta.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\"y\n\x13ListBackupsResponse\x12\x34\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32#.google.cloud.alloydb.v1beta.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\"\xd3\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\x38\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32#.google.cloud.alloydb.v1beta.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\"\xd6\x01\n\x13UpdateBackupRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x38\n\x06\x62\x61\x63kup\x18\x02 \x01(\x0b\x32#.google.cloud.alloydb.v1beta.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\"\x93\x01\n\"ListSupportedDatabaseFlagsResponse\x12T\n\x18supported_database_flags\x18\x01 \x03(\x0b\x32\x32.google.cloud.alloydb.v1beta.SupportedDatabaseFlag\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xff\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\x16\n\x07pem_csr\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12\x35\n\rcert_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x17\n\npublic_key\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\"\n\x15use_metadata_exchange\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"}\n!GenerateClientCertificateResponse\x12\x1e\n\x0fpem_certificate\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x03\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\"\xff\x02\n\x11OperationMetadata\x12i\n\x1f\x62\x61tch_create_instances_metadata\x18\x08 \x01(\x0b\x32\x39.google.cloud.alloydb.v1beta.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\"s\n\x11ListUsersResponse\x12\x30\n\x05users\x18\x01 \x03(\x0b\x32!.google.cloud.alloydb.v1beta.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\"\xc9\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\x34\n\x04user\x18\x03 \x01(\x0b\x32!.google.cloud.alloydb.v1beta.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\"\xd0\x01\n\x11UpdateUserRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x34\n\x04user\x18\x02 \x01(\x0b\x32!.google.cloud.alloydb.v1beta.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\"\x95\x01\n\x14ListDatabasesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Database\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\"j\n\x15ListDatabasesResponse\x12\x38\n\tdatabases\x18\x01 \x03(\x0b\x32%.google.cloud.alloydb.v1beta.Database\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xee\x35\n\x0c\x41lloyDBAdmin\x12\xb6\x01\n\x0cListClusters\x12\x30.google.cloud.alloydb.v1beta.ListClustersRequest\x1a\x31.google.cloud.alloydb.v1beta.ListClustersResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1beta/{parent=projects/*/locations/*}/clusters\x12\xa3\x01\n\nGetCluster\x12..google.cloud.alloydb.v1beta.GetClusterRequest\x1a$.google.cloud.alloydb.v1beta.Cluster\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1beta/{name=projects/*/locations/*/clusters/*}\x12\xdf\x01\n\rCreateCluster\x12\x31.google.cloud.alloydb.v1beta.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"|\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02;\"0/v1beta/{parent=projects/*/locations/*}/clusters:\x07\x63luster\x12\xe1\x01\n\rUpdateCluster\x12\x31.google.cloud.alloydb.v1beta.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"~\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x13\x63luster,update_mask\x82\xd3\xe4\x93\x02\x43\x32\x38/v1beta/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\x12\xcf\x01\n\rDeleteCluster\x12\x31.google.cloud.alloydb.v1beta.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1beta/{name=projects/*/locations/*/clusters/*}\x12\xce\x01\n\x0ePromoteCluster\x12\x32.google.cloud.alloydb.v1beta.PromoteClusterRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02=\"8/v1beta/{name=projects/*/locations/*/clusters/*}:promote:\x01*\x12\xc7\x01\n\x0eRestoreCluster\x12\x32.google.cloud.alloydb.v1beta.RestoreClusterRequest\x1a\x1d.google.longrunning.Operation\"b\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02=\"8/v1beta/{parent=projects/*/locations/*}/clusters:restore:\x01*\x12\x82\x02\n\x16\x43reateSecondaryCluster\x12:.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02K\"@/v1beta/{parent=projects/*/locations/*}/clusters:createsecondary:\x07\x63luster\x12\xc5\x01\n\rListInstances\x12\x31.google.cloud.alloydb.v1beta.ListInstancesRequest\x1a\x32.google.cloud.alloydb.v1beta.ListInstancesResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1beta/{parent=projects/*/locations/*/clusters/*}/instances\x12\xb2\x01\n\x0bGetInstance\x12/.google.cloud.alloydb.v1beta.GetInstanceRequest\x1a%.google.cloud.alloydb.v1beta.Instance\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\x12</v1beta/{name=projects/*/locations/*/clusters/*/instances/*}\x12\xf2\x01\n\x0e\x43reateInstance\x12\x32.google.cloud.alloydb.v1beta.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02H\"</v1beta/{parent=projects/*/locations/*/clusters/*}/instances:\x08instance\x12\x94\x02\n\x17\x43reateSecondaryInstance\x12;.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x9c\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02X\"L/v1beta/{parent=projects/*/locations/*/clusters/*}/instances:createsecondary:\x08instance\x12\x80\x02\n\x14\x42\x61tchCreateInstances\x12\x38.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest\x1a\x1d.google.longrunning.Operation\"\x8e\x01\xca\x41\x31\n\x1c\x42\x61tchCreateInstancesResponse\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02T\"H/v1beta/{parent=projects/*/locations/*/clusters/*}/instances:batchCreate:\x08requests\x12\xf4\x01\n\x0eUpdateInstance\x12\x32.google.cloud.alloydb.v1beta.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8e\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x14instance,update_mask\x82\xd3\xe4\x93\x02Q2E/v1beta/{instance.name=projects/*/locations/*/clusters/*/instances/*}:\x08instance\x12\xdd\x01\n\x0e\x44\x65leteInstance\x12\x32.google.cloud.alloydb.v1beta.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02>*</v1beta/{name=projects/*/locations/*/clusters/*/instances/*}\x12\xe0\x01\n\x10\x46\x61iloverInstance\x12\x34.google.cloud.alloydb.v1beta.FailoverInstanceRequest\x1a\x1d.google.longrunning.Operation\"w\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02J\"E/v1beta/{name=projects/*/locations/*/clusters/*/instances/*}:failover:\x01*\x12\xe5\x01\n\x0bInjectFault\x12/.google.cloud.alloydb.v1beta.InjectFaultRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x0f\x66\x61ult_type,name\x82\xd3\xe4\x93\x02M\"H/v1beta/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault:\x01*\x12\xdd\x01\n\x0fRestartInstance\x12\x33.google.cloud.alloydb.v1beta.RestartInstanceRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02I\"D/v1beta/{name=projects/*/locations/*/clusters/*/instances/*}:restart:\x01*\x12\xb2\x01\n\x0bListBackups\x12/.google.cloud.alloydb.v1beta.ListBackupsRequest\x1a\x30.google.cloud.alloydb.v1beta.ListBackupsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1beta/{parent=projects/*/locations/*}/backups\x12\x9f\x01\n\tGetBackup\x12-.google.cloud.alloydb.v1beta.GetBackupRequest\x1a#.google.cloud.alloydb.v1beta.Backup\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1beta/{name=projects/*/locations/*/backups/*}\x12\xd8\x01\n\x0c\x43reateBackup\x12\x30.google.cloud.alloydb.v1beta.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"w\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x17parent,backup,backup_id\x82\xd3\xe4\x93\x02\x39\"//v1beta/{parent=projects/*/locations/*}/backups:\x06\x62\x61\x63kup\x12\xda\x01\n\x0cUpdateBackup\x12\x30.google.cloud.alloydb.v1beta.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x12\x62\x61\x63kup,update_mask\x82\xd3\xe4\x93\x02@26/v1beta/{backup.name=projects/*/locations/*/backups/*}:\x06\x62\x61\x63kup\x12\xcc\x01\n\x0c\x44\x65leteBackup\x12\x30.google.cloud.alloydb.v1beta.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1beta/{name=projects/*/locations/*/backups/*}\x12\xee\x01\n\x1aListSupportedDatabaseFlags\x12>.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest\x1a?.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1beta/{parent=projects/*/locations/*}/supportedDatabaseFlags\x12\xfc\x01\n\x19GenerateClientCertificate\x12=.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest\x1a>.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse\"`\xda\x41\x06parent\x82\xd3\xe4\x93\x02Q\"L/v1beta/{parent=projects/*/locations/*/clusters/*}:generateClientCertificate:\x01*\x12\xd7\x01\n\x11GetConnectionInfo\x12\x35.google.cloud.alloydb.v1beta.GetConnectionInfoRequest\x1a+.google.cloud.alloydb.v1beta.ConnectionInfo\"^\xda\x41\x06parent\x82\xd3\xe4\x93\x02O\x12M/v1beta/{parent=projects/*/locations/*/clusters/*/instances/*}/connectionInfo\x12\xb5\x01\n\tListUsers\x12-.google.cloud.alloydb.v1beta.ListUsersRequest\x1a..google.cloud.alloydb.v1beta.ListUsersResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v1beta/{parent=projects/*/locations/*/clusters/*}/users\x12\xa2\x01\n\x07GetUser\x12+.google.cloud.alloydb.v1beta.GetUserRequest\x1a!.google.cloud.alloydb.v1beta.User\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\x12\x38/v1beta/{name=projects/*/locations/*/clusters/*/users/*}\x12\xbd\x01\n\nCreateUser\x12..google.cloud.alloydb.v1beta.CreateUserRequest\x1a!.google.cloud.alloydb.v1beta.User\"\\\xda\x41\x13parent,user,user_id\x82\xd3\xe4\x93\x02@\"8/v1beta/{parent=projects/*/locations/*/clusters/*}/users:\x04user\x12\xbf\x01\n\nUpdateUser\x12..google.cloud.alloydb.v1beta.UpdateUserRequest\x1a!.google.cloud.alloydb.v1beta.User\"^\xda\x41\x10user,update_mask\x82\xd3\xe4\x93\x02\x45\x32=/v1beta/{user.name=projects/*/locations/*/clusters/*/users/*}:\x04user\x12\x9d\x01\n\nDeleteUser\x12..google.cloud.alloydb.v1beta.DeleteUserRequest\x1a\x16.google.protobuf.Empty\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:*8/v1beta/{name=projects/*/locations/*/clusters/*/users/*}\x12\xc5\x01\n\rListDatabases\x12\x31.google.cloud.alloydb.v1beta.ListDatabasesRequest\x1a\x32.google.cloud.alloydb.v1beta.ListDatabasesResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1beta/{parent=projects/*/locations/*/clusters/*}/databases\x1aJ\xca\x41\x16\x61lloydb.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc9\x01\n\x1f\x63om.google.cloud.alloydb.v1betaB\x0cServiceProtoP\x01Z9cloud.google.com/go/alloydb/apiv1beta/alloydbpb;alloydbpb\xaa\x02\x1bGoogle.Cloud.AlloyDb.V1Beta\xca\x02\x1bGoogle\\Cloud\\AlloyDb\\V1beta\xea\x02\x1eGoogle::Cloud::AlloyDB::V1betab\x06proto3"
|
|
21
21
|
|
|
22
22
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
23
23
|
|
|
@@ -96,6 +96,8 @@ module Google
|
|
|
96
96
|
CreateUserRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.CreateUserRequest").msgclass
|
|
97
97
|
UpdateUserRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.UpdateUserRequest").msgclass
|
|
98
98
|
DeleteUserRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.DeleteUserRequest").msgclass
|
|
99
|
+
ListDatabasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ListDatabasesRequest").msgclass
|
|
100
|
+
ListDatabasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ListDatabasesResponse").msgclass
|
|
99
101
|
end
|
|
100
102
|
end
|
|
101
103
|
end
|
|
@@ -118,6 +118,8 @@ module Google
|
|
|
118
118
|
rpc :UpdateUser, ::Google::Cloud::AlloyDB::V1beta::UpdateUserRequest, ::Google::Cloud::AlloyDB::V1beta::User
|
|
119
119
|
# Deletes a single User.
|
|
120
120
|
rpc :DeleteUser, ::Google::Cloud::AlloyDB::V1beta::DeleteUserRequest, ::Google::Protobuf::Empty
|
|
121
|
+
# Lists Databases in a given project and location.
|
|
122
|
+
rpc :ListDatabases, ::Google::Cloud::AlloyDB::V1beta::ListDatabasesRequest, ::Google::Cloud::AlloyDB::V1beta::ListDatabasesResponse
|
|
121
123
|
end
|
|
122
124
|
|
|
123
125
|
Stub = Service.rpc_stub_class
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2024 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Api
|
|
22
|
+
# Rich semantic information of an API field beyond basic typing.
|
|
23
|
+
# @!attribute [rw] format
|
|
24
|
+
# @return [::Google::Api::FieldInfo::Format]
|
|
25
|
+
# The standard format of a field value. This does not explicitly configure
|
|
26
|
+
# any API consumer, just documents the API's format for the field it is
|
|
27
|
+
# applied to.
|
|
28
|
+
class FieldInfo
|
|
29
|
+
include ::Google::Protobuf::MessageExts
|
|
30
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
31
|
+
|
|
32
|
+
# The standard format of a field value. The supported formats are all backed
|
|
33
|
+
# by either an RFC defined by the IETF or a Google-defined AIP.
|
|
34
|
+
module Format
|
|
35
|
+
# Default, unspecified value.
|
|
36
|
+
FORMAT_UNSPECIFIED = 0
|
|
37
|
+
|
|
38
|
+
# Universally Unique Identifier, version 4, value as defined by
|
|
39
|
+
# https://datatracker.ietf.org/doc/html/rfc4122. The value may be
|
|
40
|
+
# normalized to entirely lowercase letters. For example, the value
|
|
41
|
+
# `F47AC10B-58CC-0372-8567-0E02B2C3D479` would be normalized to
|
|
42
|
+
# `f47ac10b-58cc-0372-8567-0e02b2c3d479`.
|
|
43
|
+
UUID4 = 1
|
|
44
|
+
|
|
45
|
+
# Internet Protocol v4 value as defined by [RFC
|
|
46
|
+
# 791](https://datatracker.ietf.org/doc/html/rfc791). The value may be
|
|
47
|
+
# condensed, with leading zeros in each octet stripped. For example,
|
|
48
|
+
# `001.022.233.040` would be condensed to `1.22.233.40`.
|
|
49
|
+
IPV4 = 2
|
|
50
|
+
|
|
51
|
+
# Internet Protocol v6 value as defined by [RFC
|
|
52
|
+
# 2460](https://datatracker.ietf.org/doc/html/rfc2460). The value may be
|
|
53
|
+
# normalized to entirely lowercase letters, and zero-padded partial and
|
|
54
|
+
# empty octets. For example, the value `2001:DB8::` would be normalized to
|
|
55
|
+
# `2001:0db8:0:0`.
|
|
56
|
+
IPV6 = 3
|
|
57
|
+
|
|
58
|
+
# An IP address in either v4 or v6 format as described by the individual
|
|
59
|
+
# values defined herein. See the comments on the IPV4 and IPV6 types for
|
|
60
|
+
# allowed normalizations of each.
|
|
61
|
+
IPV4_OR_IPV6 = 4
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
@@ -435,6 +435,9 @@ module Google
|
|
|
435
435
|
# @!attribute [r] primary_config
|
|
436
436
|
# @return [::Google::Cloud::AlloyDB::V1beta::Cluster::PrimaryConfig]
|
|
437
437
|
# Output only. Cross Region replication config specific to PRIMARY cluster.
|
|
438
|
+
# @!attribute [r] satisfies_pzs
|
|
439
|
+
# @return [::Boolean]
|
|
440
|
+
# Output only. Reserved for future use.
|
|
438
441
|
class Cluster
|
|
439
442
|
include ::Google::Protobuf::MessageExts
|
|
440
443
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -442,7 +445,7 @@ module Google
|
|
|
442
445
|
# Metadata related to network configuration.
|
|
443
446
|
# @!attribute [rw] network
|
|
444
447
|
# @return [::String]
|
|
445
|
-
#
|
|
448
|
+
# Optional. The resource link for the VPC network in which cluster
|
|
446
449
|
# resources are created and from which they are accessible via Private IP.
|
|
447
450
|
# The network must belong to the same project as the cluster. It is
|
|
448
451
|
# specified in the form:
|
|
@@ -455,8 +458,8 @@ module Google
|
|
|
455
458
|
# instance IPs for this cluster will be created in the allocated range. The
|
|
456
459
|
# range name must comply with RFC 1035. Specifically, the name must be 1-63
|
|
457
460
|
# characters long and match the regular expression
|
|
458
|
-
# [a-z]([-a-z0-9]*[a-z0-9])
|
|
459
|
-
# Field name is intended to be consistent with
|
|
461
|
+
# `[a-z]([-a-z0-9]*[a-z0-9])?`.
|
|
462
|
+
# Field name is intended to be consistent with Cloud SQL.
|
|
460
463
|
class NetworkConfig
|
|
461
464
|
include ::Google::Protobuf::MessageExts
|
|
462
465
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -645,11 +648,17 @@ module Google
|
|
|
645
648
|
# Configuration for query insights.
|
|
646
649
|
# @!attribute [rw] read_pool_config
|
|
647
650
|
# @return [::Google::Cloud::AlloyDB::V1beta::Instance::ReadPoolConfig]
|
|
648
|
-
# Read pool
|
|
651
|
+
# Read pool instance configuration.
|
|
652
|
+
# This is required if the value of instanceType is READ_POOL.
|
|
649
653
|
# @!attribute [r] ip_address
|
|
650
654
|
# @return [::String]
|
|
651
655
|
# Output only. The IP address for the Instance.
|
|
652
656
|
# This is the connection endpoint for an end-user application.
|
|
657
|
+
# @!attribute [r] public_ip_address
|
|
658
|
+
# @return [::String]
|
|
659
|
+
# Output only. The public IP addresses for the Instance. This is available
|
|
660
|
+
# ONLY when enable_public_ip is set. This is the connection endpoint for an
|
|
661
|
+
# end-user application.
|
|
653
662
|
# @!attribute [r] reconciling
|
|
654
663
|
# @return [::Boolean]
|
|
655
664
|
# Output only. Reconciling (https://google.aip.dev/128#reconciliation).
|
|
@@ -674,6 +683,16 @@ module Google
|
|
|
674
683
|
# @!attribute [rw] client_connection_config
|
|
675
684
|
# @return [::Google::Cloud::AlloyDB::V1beta::Instance::ClientConnectionConfig]
|
|
676
685
|
# Optional. Client connection specific configurations
|
|
686
|
+
# @!attribute [r] satisfies_pzs
|
|
687
|
+
# @return [::Boolean]
|
|
688
|
+
# Output only. Reserved for future use.
|
|
689
|
+
# @!attribute [rw] psc_instance_config
|
|
690
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::Instance::PscInstanceConfig]
|
|
691
|
+
# Optional. The configuration for Private Service Connect (PSC) for the
|
|
692
|
+
# instance.
|
|
693
|
+
# @!attribute [rw] network_config
|
|
694
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::Instance::InstanceNetworkConfig]
|
|
695
|
+
# Optional. Instance level network configuration.
|
|
677
696
|
class Instance
|
|
678
697
|
include ::Google::Protobuf::MessageExts
|
|
679
698
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -777,6 +796,85 @@ module Google
|
|
|
777
796
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
778
797
|
end
|
|
779
798
|
|
|
799
|
+
# Configuration for setting up a PSC interface. This information needs to be
|
|
800
|
+
# provided by the customer.
|
|
801
|
+
# PSC interfaces will be created and added to VMs via SLM (adding a network
|
|
802
|
+
# interface will require recreating the VM). For HA instances this will be
|
|
803
|
+
# done via LDTM.
|
|
804
|
+
# @!attribute [rw] consumer_endpoint_ips
|
|
805
|
+
# @return [::Array<::String>]
|
|
806
|
+
# A list of endpoints in the consumer VPC the interface might initiate
|
|
807
|
+
# outbound connections to. This list has to be provided when the PSC
|
|
808
|
+
# interface is created.
|
|
809
|
+
# @!attribute [rw] network_attachment
|
|
810
|
+
# @return [::String]
|
|
811
|
+
# The NetworkAttachment resource created in the consumer VPC to which the
|
|
812
|
+
# PSC interface will be linked, in the form of:
|
|
813
|
+
# `projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}`.
|
|
814
|
+
# NetworkAttachment has to be provided when the PSC interface is created.
|
|
815
|
+
class PscInterfaceConfig
|
|
816
|
+
include ::Google::Protobuf::MessageExts
|
|
817
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
818
|
+
end
|
|
819
|
+
|
|
820
|
+
# PscInstanceConfig contains PSC related configuration at an
|
|
821
|
+
# instance level.
|
|
822
|
+
# @!attribute [r] service_attachment_link
|
|
823
|
+
# @return [::String]
|
|
824
|
+
# Output only. The service attachment created when Private
|
|
825
|
+
# Service Connect (PSC) is enabled for the instance.
|
|
826
|
+
# The name of the resource will be in the format of
|
|
827
|
+
# `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>`
|
|
828
|
+
# @!attribute [rw] allowed_consumer_projects
|
|
829
|
+
# @return [::Array<::String>]
|
|
830
|
+
# Optional. List of consumer projects that are allowed to create
|
|
831
|
+
# PSC endpoints to service-attachments to this instance.
|
|
832
|
+
# @!attribute [rw] allowed_consumer_networks
|
|
833
|
+
# @return [::Array<::String>]
|
|
834
|
+
# Optional. List of consumer networks that are allowed to create
|
|
835
|
+
# PSC endpoints to service-attachments to this instance.
|
|
836
|
+
# @!attribute [rw] psc_interface_configs
|
|
837
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1beta::Instance::PscInterfaceConfig>]
|
|
838
|
+
# Optional. Configurations for setting up PSC interfaces attached to the
|
|
839
|
+
# instance which are used for outbound connectivity. Only primary instances
|
|
840
|
+
# can have PSC interface attached. All the VMs created for the primary
|
|
841
|
+
# instance will share the same configurations. Currently we only support 0
|
|
842
|
+
# or 1 PSC interface.
|
|
843
|
+
# @!attribute [rw] outgoing_service_attachment_links
|
|
844
|
+
# @return [::Array<::String>]
|
|
845
|
+
# Optional. List of service attachments that this instance has created
|
|
846
|
+
# endpoints to connect with. Currently, only a single outgoing service
|
|
847
|
+
# attachment is supported per instance.
|
|
848
|
+
# @!attribute [rw] psc_enabled
|
|
849
|
+
# @return [::Boolean]
|
|
850
|
+
# Optional. Whether PSC connectivity is enabled for this instance.
|
|
851
|
+
# This is populated by referencing the value from the parent cluster.
|
|
852
|
+
class PscInstanceConfig
|
|
853
|
+
include ::Google::Protobuf::MessageExts
|
|
854
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
855
|
+
end
|
|
856
|
+
|
|
857
|
+
# Metadata related to instance level network configuration.
|
|
858
|
+
# @!attribute [rw] authorized_external_networks
|
|
859
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1beta::Instance::InstanceNetworkConfig::AuthorizedNetwork>]
|
|
860
|
+
# Optional. A list of external network authorized to access this instance.
|
|
861
|
+
# @!attribute [rw] enable_public_ip
|
|
862
|
+
# @return [::Boolean]
|
|
863
|
+
# Optional. Enabling public ip for the instance.
|
|
864
|
+
class InstanceNetworkConfig
|
|
865
|
+
include ::Google::Protobuf::MessageExts
|
|
866
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
867
|
+
|
|
868
|
+
# AuthorizedNetwork contains metadata for an authorized network.
|
|
869
|
+
# @!attribute [rw] cidr_range
|
|
870
|
+
# @return [::String]
|
|
871
|
+
# CIDR range for one authorzied network of the instance.
|
|
872
|
+
class AuthorizedNetwork
|
|
873
|
+
include ::Google::Protobuf::MessageExts
|
|
874
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
875
|
+
end
|
|
876
|
+
end
|
|
877
|
+
|
|
780
878
|
# @!attribute [rw] key
|
|
781
879
|
# @return [::String]
|
|
782
880
|
# @!attribute [rw] value
|
|
@@ -890,6 +988,11 @@ module Google
|
|
|
890
988
|
# Output only. The private network IP address for the Instance. This is the
|
|
891
989
|
# default IP for the instance and is always created (even if enable_public_ip
|
|
892
990
|
# is set). This is the connection endpoint for an end-user application.
|
|
991
|
+
# @!attribute [r] public_ip_address
|
|
992
|
+
# @return [::String]
|
|
993
|
+
# Output only. The public IP addresses for the Instance. This is available
|
|
994
|
+
# ONLY when enable_public_ip is set. This is the connection endpoint for an
|
|
995
|
+
# end-user application.
|
|
893
996
|
# @!attribute [r] pem_certificate_chain
|
|
894
997
|
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
895
998
|
# @return [::Array<::String>]
|
|
@@ -898,6 +1001,9 @@ module Google
|
|
|
898
1001
|
# @!attribute [r] instance_uid
|
|
899
1002
|
# @return [::String]
|
|
900
1003
|
# Output only. The unique ID of the Instance.
|
|
1004
|
+
# @!attribute [r] psc_dns_name
|
|
1005
|
+
# @return [::String]
|
|
1006
|
+
# Output only. The DNS name to use with PSC for the Instance.
|
|
901
1007
|
class ConnectionInfo
|
|
902
1008
|
include ::Google::Protobuf::MessageExts
|
|
903
1009
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -987,6 +1093,9 @@ module Google
|
|
|
987
1093
|
# Output only. The QuantityBasedExpiry of the backup, specified by the
|
|
988
1094
|
# backup's retention policy. Once the expiry quantity is over retention, the
|
|
989
1095
|
# backup is eligible to be garbage collected.
|
|
1096
|
+
# @!attribute [r] satisfies_pzs
|
|
1097
|
+
# @return [::Boolean]
|
|
1098
|
+
# Output only. Reserved for future use.
|
|
990
1099
|
# @!attribute [r] database_version
|
|
991
1100
|
# @return [::Google::Cloud::AlloyDB::V1beta::DatabaseVersion]
|
|
992
1101
|
# Output only. The database engine major version of the cluster this backup
|
|
@@ -1192,6 +1301,26 @@ module Google
|
|
|
1192
1301
|
end
|
|
1193
1302
|
end
|
|
1194
1303
|
|
|
1304
|
+
# Message describing Database object.
|
|
1305
|
+
# @!attribute [rw] name
|
|
1306
|
+
# @return [::String]
|
|
1307
|
+
# Identifier. Name of the resource in the form of
|
|
1308
|
+
# `projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}`.
|
|
1309
|
+
# @!attribute [rw] charset
|
|
1310
|
+
# @return [::String]
|
|
1311
|
+
# Optional. Charset for the database.
|
|
1312
|
+
# This field can contain any PostgreSQL supported charset name.
|
|
1313
|
+
# Example values include "UTF8", "SQL_ASCII", etc.
|
|
1314
|
+
# @!attribute [rw] collation
|
|
1315
|
+
# @return [::String]
|
|
1316
|
+
# Optional. Collation for the database.
|
|
1317
|
+
# Name of the custom or native collation for postgres.
|
|
1318
|
+
# Example values include "C", "POSIX", etc
|
|
1319
|
+
class Database
|
|
1320
|
+
include ::Google::Protobuf::MessageExts
|
|
1321
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1322
|
+
end
|
|
1323
|
+
|
|
1195
1324
|
# View on Instance. Pass this enum to rpcs that returns an Instance message to
|
|
1196
1325
|
# control which subsets of fields to get.
|
|
1197
1326
|
module InstanceView
|
|
@@ -958,7 +958,8 @@ module Google
|
|
|
958
958
|
# @!attribute [rw] pem_csr
|
|
959
959
|
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
960
960
|
# @return [::String]
|
|
961
|
-
# Optional. A pem-encoded X.509 certificate signing request (CSR).
|
|
961
|
+
# Optional. A pem-encoded X.509 certificate signing request (CSR). It is
|
|
962
|
+
# recommended to use public_key instead.
|
|
962
963
|
# @!attribute [rw] cert_duration
|
|
963
964
|
# @return [::Google::Protobuf::Duration]
|
|
964
965
|
# Optional. An optional hint to the endpoint to generate the client
|
|
@@ -981,6 +982,7 @@ module Google
|
|
|
981
982
|
|
|
982
983
|
# Message returned by a GenerateClientCertificate operation.
|
|
983
984
|
# @!attribute [r] pem_certificate
|
|
985
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
984
986
|
# @return [::String]
|
|
985
987
|
# Output only. The pem-encoded, signed X.509 certificate.
|
|
986
988
|
# @!attribute [r] pem_certificate_chain
|
|
@@ -1201,6 +1203,43 @@ module Google
|
|
|
1201
1203
|
include ::Google::Protobuf::MessageExts
|
|
1202
1204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1203
1205
|
end
|
|
1206
|
+
|
|
1207
|
+
# Message for requesting list of Databases.
|
|
1208
|
+
# @!attribute [rw] parent
|
|
1209
|
+
# @return [::String]
|
|
1210
|
+
# Required. Parent value for ListDatabasesRequest.
|
|
1211
|
+
# @!attribute [rw] page_size
|
|
1212
|
+
# @return [::Integer]
|
|
1213
|
+
# Optional. The maximum number of databases to return. The service may return
|
|
1214
|
+
# fewer than this value. If unspecified, an appropriate number of databases
|
|
1215
|
+
# will be returned. The max value will be 2000, values above max will be
|
|
1216
|
+
# coerced to max.
|
|
1217
|
+
# @!attribute [rw] page_token
|
|
1218
|
+
# @return [::String]
|
|
1219
|
+
# Optional. A page token, received from a previous `ListDatabases` call.
|
|
1220
|
+
# This should be provided to retrieve the subsequent page.
|
|
1221
|
+
# This field is currently not supported, its value will be ignored if passed.
|
|
1222
|
+
# @!attribute [rw] filter
|
|
1223
|
+
# @return [::String]
|
|
1224
|
+
# Optional. Filtering results.
|
|
1225
|
+
# This field is currently not supported, its value will be ignored if passed.
|
|
1226
|
+
class ListDatabasesRequest
|
|
1227
|
+
include ::Google::Protobuf::MessageExts
|
|
1228
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1229
|
+
end
|
|
1230
|
+
|
|
1231
|
+
# Message for response to listing Databases.
|
|
1232
|
+
# @!attribute [rw] databases
|
|
1233
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1beta::Database>]
|
|
1234
|
+
# The list of databases
|
|
1235
|
+
# @!attribute [rw] next_page_token
|
|
1236
|
+
# @return [::String]
|
|
1237
|
+
# A token identifying the next page of results the server should return.
|
|
1238
|
+
# If this field is omitted, there are no subsequent pages.
|
|
1239
|
+
class ListDatabasesResponse
|
|
1240
|
+
include ::Google::Protobuf::MessageExts
|
|
1241
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1242
|
+
end
|
|
1204
1243
|
end
|
|
1205
1244
|
end
|
|
1206
1245
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-alloy_db-v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-02-
|
|
11
|
+
date: 2024-02-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -125,6 +125,7 @@ files:
|
|
|
125
125
|
- proto_docs/README.md
|
|
126
126
|
- proto_docs/google/api/client.rb
|
|
127
127
|
- proto_docs/google/api/field_behavior.rb
|
|
128
|
+
- proto_docs/google/api/field_info.rb
|
|
128
129
|
- proto_docs/google/api/launch_stage.rb
|
|
129
130
|
- proto_docs/google/api/resource.rb
|
|
130
131
|
- proto_docs/google/cloud/alloydb/v1beta/resources.rb
|