google-cloud-alloy_db-v1alpha 0.2.0 → 0.4.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/v1alpha/alloy_db_admin/client.rb +116 -1
- data/lib/google/cloud/alloy_db/v1alpha/version.rb +1 -1
- data/lib/google/cloud/alloydb/v1alpha/resources_pb.rb +11 -3
- data/lib/google/cloud/alloydb/v1alpha/service_pb.rb +3 -1
- data/lib/google/cloud/alloydb/v1alpha/service_services_pb.rb +2 -0
- data/proto_docs/google/api/client.rb +13 -0
- data/proto_docs/google/api/field_info.rb +65 -0
- data/proto_docs/google/cloud/alloydb/v1alpha/resources.rb +177 -18
- data/proto_docs/google/cloud/alloydb/v1alpha/service.rb +39 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e88dce195e97b95d54b670b0abc1ca20fd473836c45c3a09eb854c5bec936c4
|
|
4
|
+
data.tar.gz: 159c0ae359dc649d979cb692f5ada26bbe617f863ddfa661d2c6071e3ff29598
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0120eeb4741765f54b8a615b77972f99baca8cab367cf94e4ae9072432dcb4e9cd42b9b08a58e1d8f236df7761018df6c3107935f4a8020cff2223ef5071b10c
|
|
7
|
+
data.tar.gz: cf7c111f636e4440a3bd10430d8282fb45647011f98f49e16ac5f03f7cff44597b9bdefbaac057a0bc053cd9bab7a006b59a29605ec14bfca48554036d899917
|
|
@@ -123,6 +123,11 @@ module Google
|
|
|
123
123
|
initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
+
default_config.rpcs.list_databases.timeout = 60.0
|
|
127
|
+
default_config.rpcs.list_databases.retry_policy = {
|
|
128
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
129
|
+
}
|
|
130
|
+
|
|
126
131
|
default_config
|
|
127
132
|
end
|
|
128
133
|
yield @configure if block_given?
|
|
@@ -2935,7 +2940,8 @@ module Google
|
|
|
2935
2940
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
2936
2941
|
# not supported (00000000-0000-0000-0000-000000000000).
|
|
2937
2942
|
# @param pem_csr [::String]
|
|
2938
|
-
# Optional. A pem-encoded X.509 certificate signing request (CSR).
|
|
2943
|
+
# Optional. A pem-encoded X.509 certificate signing request (CSR). It is
|
|
2944
|
+
# recommended to use public_key instead.
|
|
2939
2945
|
# @param cert_duration [::Google::Protobuf::Duration, ::Hash]
|
|
2940
2946
|
# Optional. An optional hint to the endpoint to generate the client
|
|
2941
2947
|
# certificate with the requested duration. The duration can be from 1 hour to
|
|
@@ -3617,6 +3623,108 @@ module Google
|
|
|
3617
3623
|
raise ::Google::Cloud::Error.from_error(e)
|
|
3618
3624
|
end
|
|
3619
3625
|
|
|
3626
|
+
##
|
|
3627
|
+
# Lists Databases in a given project and location.
|
|
3628
|
+
#
|
|
3629
|
+
# @overload list_databases(request, options = nil)
|
|
3630
|
+
# Pass arguments to `list_databases` via a request object, either of type
|
|
3631
|
+
# {::Google::Cloud::AlloyDB::V1alpha::ListDatabasesRequest} or an equivalent Hash.
|
|
3632
|
+
#
|
|
3633
|
+
# @param request [::Google::Cloud::AlloyDB::V1alpha::ListDatabasesRequest, ::Hash]
|
|
3634
|
+
# A request object representing the call parameters. Required. To specify no
|
|
3635
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
3636
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3637
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3638
|
+
#
|
|
3639
|
+
# @overload list_databases(parent: nil, page_size: nil, page_token: nil, filter: nil)
|
|
3640
|
+
# Pass arguments to `list_databases` via keyword arguments. Note that at
|
|
3641
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3642
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
3643
|
+
#
|
|
3644
|
+
# @param parent [::String]
|
|
3645
|
+
# Required. Parent value for ListDatabasesRequest.
|
|
3646
|
+
# @param page_size [::Integer]
|
|
3647
|
+
# Optional. The maximum number of databases to return. The service may return
|
|
3648
|
+
# fewer than this value. If unspecified, an appropriate number of databases
|
|
3649
|
+
# will be returned. The max value will be 2000, values above max will be
|
|
3650
|
+
# coerced to max.
|
|
3651
|
+
# @param page_token [::String]
|
|
3652
|
+
# Optional. A page token, received from a previous `ListDatabases` call.
|
|
3653
|
+
# This should be provided to retrieve the subsequent page.
|
|
3654
|
+
# This field is currently not supported, its value will be ignored if passed.
|
|
3655
|
+
# @param filter [::String]
|
|
3656
|
+
# Optional. Filtering results.
|
|
3657
|
+
# This field is currently not supported, its value will be ignored if passed.
|
|
3658
|
+
#
|
|
3659
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
|
3660
|
+
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::AlloyDB::V1alpha::Database>]
|
|
3661
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
3662
|
+
#
|
|
3663
|
+
# @return [::Gapic::PagedEnumerable<::Google::Cloud::AlloyDB::V1alpha::Database>]
|
|
3664
|
+
#
|
|
3665
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
3666
|
+
#
|
|
3667
|
+
# @example Basic example
|
|
3668
|
+
# require "google/cloud/alloy_db/v1alpha"
|
|
3669
|
+
#
|
|
3670
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
3671
|
+
# client = Google::Cloud::AlloyDB::V1alpha::AlloyDBAdmin::Client.new
|
|
3672
|
+
#
|
|
3673
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
3674
|
+
# request = Google::Cloud::AlloyDB::V1alpha::ListDatabasesRequest.new
|
|
3675
|
+
#
|
|
3676
|
+
# # Call the list_databases method.
|
|
3677
|
+
# result = client.list_databases request
|
|
3678
|
+
#
|
|
3679
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
|
3680
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
|
3681
|
+
# result.each do |item|
|
|
3682
|
+
# # Each element is of type ::Google::Cloud::AlloyDB::V1alpha::Database.
|
|
3683
|
+
# p item
|
|
3684
|
+
# end
|
|
3685
|
+
#
|
|
3686
|
+
def list_databases request, options = nil
|
|
3687
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
3688
|
+
|
|
3689
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1alpha::ListDatabasesRequest
|
|
3690
|
+
|
|
3691
|
+
# Converts hash and nil to an options object
|
|
3692
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
3693
|
+
|
|
3694
|
+
# Customize the options with defaults
|
|
3695
|
+
metadata = @config.rpcs.list_databases.metadata.to_h
|
|
3696
|
+
|
|
3697
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
|
3698
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3699
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3700
|
+
gapic_version: ::Google::Cloud::AlloyDB::V1alpha::VERSION
|
|
3701
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3702
|
+
|
|
3703
|
+
header_params = {}
|
|
3704
|
+
if request.parent
|
|
3705
|
+
header_params["parent"] = request.parent
|
|
3706
|
+
end
|
|
3707
|
+
|
|
3708
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
3709
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
3710
|
+
|
|
3711
|
+
options.apply_defaults timeout: @config.rpcs.list_databases.timeout,
|
|
3712
|
+
metadata: metadata,
|
|
3713
|
+
retry_policy: @config.rpcs.list_databases.retry_policy
|
|
3714
|
+
|
|
3715
|
+
options.apply_defaults timeout: @config.timeout,
|
|
3716
|
+
metadata: @config.metadata,
|
|
3717
|
+
retry_policy: @config.retry_policy
|
|
3718
|
+
|
|
3719
|
+
@alloy_db_admin_stub.call_rpc :list_databases, request, options: options do |response, operation|
|
|
3720
|
+
response = ::Gapic::PagedEnumerable.new @alloy_db_admin_stub, :list_databases, request, response, operation, options
|
|
3721
|
+
yield response, operation if block_given?
|
|
3722
|
+
return response
|
|
3723
|
+
end
|
|
3724
|
+
rescue ::GRPC::BadStatus => e
|
|
3725
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
3726
|
+
end
|
|
3727
|
+
|
|
3620
3728
|
##
|
|
3621
3729
|
# Configuration class for the AlloyDBAdmin API.
|
|
3622
3730
|
#
|
|
@@ -3917,6 +4025,11 @@ module Google
|
|
|
3917
4025
|
# @return [::Gapic::Config::Method]
|
|
3918
4026
|
#
|
|
3919
4027
|
attr_reader :delete_user
|
|
4028
|
+
##
|
|
4029
|
+
# RPC-specific configuration for `list_databases`
|
|
4030
|
+
# @return [::Gapic::Config::Method]
|
|
4031
|
+
#
|
|
4032
|
+
attr_reader :list_databases
|
|
3920
4033
|
|
|
3921
4034
|
# @private
|
|
3922
4035
|
def initialize parent_rpcs = nil
|
|
@@ -3982,6 +4095,8 @@ module Google
|
|
|
3982
4095
|
@update_user = ::Gapic::Config::Method.new update_user_config
|
|
3983
4096
|
delete_user_config = parent_rpcs.delete_user if parent_rpcs.respond_to? :delete_user
|
|
3984
4097
|
@delete_user = ::Gapic::Config::Method.new delete_user_config
|
|
4098
|
+
list_databases_config = parent_rpcs.list_databases if parent_rpcs.respond_to? :list_databases
|
|
4099
|
+
@list_databases = ::Gapic::Config::Method.new list_databases_config
|
|
3985
4100
|
|
|
3986
4101
|
yield self if block_given?
|
|
3987
4102
|
end
|
|
@@ -4,16 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
|
-
require 'google/api/field_behavior_pb'
|
|
8
|
-
require 'google/api/resource_pb'
|
|
9
7
|
require 'google/protobuf/duration_pb'
|
|
10
8
|
require 'google/protobuf/timestamp_pb'
|
|
11
9
|
require 'google/protobuf/wrappers_pb'
|
|
12
10
|
require 'google/type/dayofweek_pb'
|
|
13
11
|
require 'google/type/timeofday_pb'
|
|
12
|
+
require 'google/api/field_behavior_pb'
|
|
13
|
+
require 'google/api/field_info_pb'
|
|
14
|
+
require 'google/api/resource_pb'
|
|
14
15
|
|
|
15
16
|
|
|
16
|
-
descriptor_data = "\n,google/cloud/alloydb/v1alpha/resources.proto\x12\x1cgoogle.cloud.alloydb.v1alpha\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\"\xe8\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\x12[\n\x0bsource_type\x18\x03 \x01(\x0e\x32\x41.google.cloud.alloydb.v1alpha.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\"\x8b\x02\n\x0e\x45ncryptionInfo\x12O\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32\x31.google.cloud.alloydb.v1alpha.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\"\x88\x03\n\tSslConfig\x12\x46\n\x08ssl_mode\x18\x01 \x01(\x0e\x32/.google.cloud.alloydb.v1alpha.SslConfig.SslModeB\x03\xe0\x41\x01\x12H\n\tca_source\x18\x02 \x01(\x0e\x32\x30.google.cloud.alloydb.v1alpha.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\"\xfe\x06\n\x15\x41utomatedBackupPolicy\x12]\n\x0fweekly_schedule\x18\x02 \x01(\x0b\x32\x42.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleH\x00\x12\x66\n\x14time_based_retention\x18\x04 \x01(\x0b\x32\x46.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionH\x01\x12n\n\x18quantity_based_retention\x18\x05 \x01(\x0b\x32J.google.cloud.alloydb.v1alpha.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\x12N\n\x11\x65ncryption_config\x18\x08 \x01(\x0b\x32..google.cloud.alloydb.v1alpha.EncryptionConfigB\x03\xe0\x41\x01\x12\x10\n\x08location\x18\x06 \x01(\t\x12O\n\x06labels\x18\x07 \x03(\x0b\x32?.google.cloud.alloydb.v1alpha.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\"\xa3\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\x12I\n\x11\x65ncryption_config\x18\x03 \x01(\x0b\x32..google.cloud.alloydb.v1alpha.EncryptionConfigB\n\n\x08_enabled\"\x8b\x02\n\x14\x43ontinuousBackupInfo\x12J\n\x0f\x65ncryption_info\x18\x01 \x01(\x0b\x32,.google.cloud.alloydb.v1alpha.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\"\x96\x12\n\x07\x43luster\x12H\n\rbackup_source\x18\x0f \x01(\x0b\x32*.google.cloud.alloydb.v1alpha.BackupSourceB\x03\xe0\x41\x03H\x00\x12N\n\x10migration_source\x18\x10 \x01(\x0b\x32-.google.cloud.alloydb.v1alpha.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\x41\n\x06labels\x18\x07 \x03(\x0b\x32\x31.google.cloud.alloydb.v1alpha.Cluster.LabelsEntry\x12?\n\x05state\x18\x08 \x01(\x0e\x32+.google.cloud.alloydb.v1alpha.Cluster.StateB\x03\xe0\x41\x03\x12L\n\x0c\x63luster_type\x18\x18 \x01(\x0e\x32\x31.google.cloud.alloydb.v1alpha.Cluster.ClusterTypeB\x03\xe0\x41\x03\x12L\n\x10\x64\x61tabase_version\x18\t \x01(\x0e\x32-.google.cloud.alloydb.v1alpha.DatabaseVersionB\x03\xe0\x41\x01\x12P\n\x0enetwork_config\x18\x1d \x01(\x0b\x32\x33.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigB\x03\xe0\x41\x01\x12\x37\n\x07network\x18\n \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t\x12K\n\x0b\x61nnotations\x18\x0c \x03(\x0b\x32\x36.google.cloud.alloydb.v1alpha.Cluster.AnnotationsEntry\x12\x18\n\x0breconciling\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x12\x45\n\x0cinitial_user\x18\x0e \x01(\x0b\x32*.google.cloud.alloydb.v1alpha.UserPasswordB\x03\xe0\x41\x04\x12T\n\x17\x61utomated_backup_policy\x18\x11 \x01(\x0b\x32\x33.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy\x12?\n\nssl_config\x18\x12 \x01(\x0b\x32\'.google.cloud.alloydb.v1alpha.SslConfigB\x02\x18\x01\x12N\n\x11\x65ncryption_config\x18\x13 \x01(\x0b\x32..google.cloud.alloydb.v1alpha.EncryptionConfigB\x03\xe0\x41\x01\x12J\n\x0f\x65ncryption_info\x18\x14 \x01(\x0b\x32,.google.cloud.alloydb.v1alpha.EncryptionInfoB\x03\xe0\x41\x03\x12[\n\x18\x63ontinuous_backup_config\x18\x1b \x01(\x0b\x32\x34.google.cloud.alloydb.v1alpha.ContinuousBackupConfigB\x03\xe0\x41\x01\x12W\n\x16\x63ontinuous_backup_info\x18\x1c \x01(\x0b\x32\x32.google.cloud.alloydb.v1alpha.ContinuousBackupInfoB\x03\xe0\x41\x03\x12O\n\x10secondary_config\x18\x16 \x01(\x0b\x32\x35.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig\x12P\n\x0eprimary_config\x18\x17 \x01(\x0b\x32\x33.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigB\x03\xe0\x41\x03\x12\x15\n\rsatisfies_pzs\x18\x1e \x01(\x08\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\"\xe2\x12\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x06labels\x18\x07 \x03(\x0b\x32\x32.google.cloud.alloydb.v1alpha.Instance.LabelsEntry\x12@\n\x05state\x18\x08 \x01(\x0e\x32,.google.cloud.alloydb.v1alpha.Instance.StateB\x03\xe0\x41\x03\x12O\n\rinstance_type\x18\t \x01(\x0e\x32\x33.google.cloud.alloydb.v1alpha.Instance.InstanceTypeB\x03\xe0\x41\x02\x12L\n\x0emachine_config\x18\n \x01(\x0b\x32\x34.google.cloud.alloydb.v1alpha.Instance.MachineConfig\x12R\n\x11\x61vailability_type\x18\x0b \x01(\x0e\x32\x37.google.cloud.alloydb.v1alpha.Instance.AvailabilityType\x12\x10\n\x08gce_zone\x18\x0c \x01(\t\x12Q\n\x0e\x64\x61tabase_flags\x18\r \x03(\x0b\x32\x39.google.cloud.alloydb.v1alpha.Instance.DatabaseFlagsEntry\x12G\n\rwritable_node\x18\x13 \x01(\x0b\x32+.google.cloud.alloydb.v1alpha.Instance.NodeB\x03\xe0\x41\x03\x12?\n\x05nodes\x18\x14 \x03(\x0b\x32+.google.cloud.alloydb.v1alpha.Instance.NodeB\x03\xe0\x41\x03\x12\x61\n\x15query_insights_config\x18\x15 \x01(\x0b\x32\x42.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig\x12O\n\x10read_pool_config\x18\x0e \x01(\x0b\x32\x35.google.cloud.alloydb.v1alpha.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\x12L\n\x0b\x61nnotations\x18\x12 \x03(\x0b\x32\x37.google.cloud.alloydb.v1alpha.Instance.AnnotationsEntry\x12J\n\rupdate_policy\x18\x16 \x01(\x0b\x32\x33.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy\x12\x15\n\rsatisfies_pzs\x18\x18 \x01(\x08\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\x92\x01\n\x0cUpdatePolicy\x12\x46\n\x04mode\x18\x01 \x01(\x0e\x32\x38.google.cloud.alloydb.v1alpha.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\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\"\x97\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\x30.google.cloud.alloydb.v1alpha.Backup.LabelsEntry\x12>\n\x05state\x18\x07 \x01(\x0e\x32*.google.cloud.alloydb.v1alpha.Backup.StateB\x03\xe0\x41\x03\x12\x37\n\x04type\x18\x08 \x01(\x0e\x32).google.cloud.alloydb.v1alpha.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\x12N\n\x11\x65ncryption_config\x18\x0c \x01(\x0b\x32..google.cloud.alloydb.v1alpha.EncryptionConfigB\x03\xe0\x41\x01\x12J\n\x0f\x65ncryption_info\x18\r \x01(\x0b\x32,.google.cloud.alloydb.v1alpha.EncryptionInfoB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12J\n\x0b\x61nnotations\x18\x10 \x03(\x0b\x32\x35.google.cloud.alloydb.v1alpha.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\x12V\n\x0f\x65xpiry_quantity\x18\x14 \x01(\x0b\x32\x38.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryB\x03\xe0\x41\x03\x12\x15\n\rsatisfies_pzs\x18\x15 \x01(\x08\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\"\xdc\x06\n\x15SupportedDatabaseFlag\x12\x65\n\x13string_restrictions\x18\x07 \x01(\x0b\x32\x46.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsH\x00\x12g\n\x14integer_restrictions\x18\x08 \x01(\x0b\x32G.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tflag_name\x18\x02 \x01(\t\x12Q\n\nvalue_type\x18\x03 \x01(\x0e\x32=.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType\x12\x1f\n\x17\x61\x63\x63\x65pts_multiple_values\x18\x04 \x01(\x08\x12L\n\x15supported_db_versions\x18\x05 \x03(\x0e\x32-.google.cloud.alloydb.v1alpha.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\"\xd3\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\x43\n\tuser_type\x18\x05 \x01(\x0e\x32+.google.cloud.alloydb.v1alpha.User.UserTypeB\x03\xe0\x41\x01\"Q\n\x08UserType\x12\x19\n\x15USER_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41LLOYDB_BUILT_IN\x10\x01\x12\x14\n\x10\x41LLOYDB_IAM_USER\x10\x02:l\xea\x41i\n\x1b\x61lloydb.googleapis.com/User\x12Gprojects/{project}/locations/{location}/clusters/{cluster}/users/{user}R\x01\x01*^\n\x0cInstanceView\x12\x1d\n\x19INSTANCE_VIEW_UNSPECIFIED\x10\x00\x12\x17\n\x13INSTANCE_VIEW_BASIC\x10\x01\x12\x16\n\x12INSTANCE_VIEW_FULL\x10\x02*g\n\x0b\x43lusterView\x12\x1c\n\x18\x43LUSTER_VIEW_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43LUSTER_VIEW_BASIC\x10\x01\x12\"\n\x1e\x43LUSTER_VIEW_CONTINUOUS_BACKUP\x10\x02*Y\n\x0f\x44\x61tabaseVersion\x12 \n\x1c\x44\x41TABASE_VERSION_UNSPECIFIED\x10\x00\x12\x13\n\x0bPOSTGRES_13\x10\x01\x1a\x02\x08\x01\x12\x0f\n\x0bPOSTGRES_14\x10\x02\x42\xcb\x03\n com.google.cloud.alloydb.v1alphaB\x0eResourcesProtoP\x01Z:cloud.google.com/go/alloydb/apiv1alpha/alloydbpb;alloydbpb\xaa\x02\x1cGoogle.Cloud.AlloyDb.V1Alpha\xca\x02\x1cGoogle\\Cloud\\AlloyDb\\V1alpha\xea\x02\x1fGoogle::Cloud::AlloyDB::V1alpha\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/v1alpha/resources.proto\x12\x1cgoogle.cloud.alloydb.v1alpha\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\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\".\n\x0cUserPassword\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\"\xe8\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\x12[\n\x0bsource_type\x18\x03 \x01(\x0e\x32\x41.google.cloud.alloydb.v1alpha.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\"\x8b\x02\n\x0e\x45ncryptionInfo\x12O\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32\x31.google.cloud.alloydb.v1alpha.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\"\x88\x03\n\tSslConfig\x12\x46\n\x08ssl_mode\x18\x01 \x01(\x0e\x32/.google.cloud.alloydb.v1alpha.SslConfig.SslModeB\x03\xe0\x41\x01\x12H\n\tca_source\x18\x02 \x01(\x0e\x32\x30.google.cloud.alloydb.v1alpha.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\"\xfe\x06\n\x15\x41utomatedBackupPolicy\x12]\n\x0fweekly_schedule\x18\x02 \x01(\x0b\x32\x42.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleH\x00\x12\x66\n\x14time_based_retention\x18\x04 \x01(\x0b\x32\x46.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionH\x01\x12n\n\x18quantity_based_retention\x18\x05 \x01(\x0b\x32J.google.cloud.alloydb.v1alpha.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\x12N\n\x11\x65ncryption_config\x18\x08 \x01(\x0b\x32..google.cloud.alloydb.v1alpha.EncryptionConfigB\x03\xe0\x41\x01\x12\x10\n\x08location\x18\x06 \x01(\t\x12O\n\x06labels\x18\x07 \x03(\x0b\x32?.google.cloud.alloydb.v1alpha.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\"\xa3\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\x12I\n\x11\x65ncryption_config\x18\x03 \x01(\x0b\x32..google.cloud.alloydb.v1alpha.EncryptionConfigB\n\n\x08_enabled\"\x8b\x02\n\x14\x43ontinuousBackupInfo\x12J\n\x0f\x65ncryption_info\x18\x01 \x01(\x0b\x32,.google.cloud.alloydb.v1alpha.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\"\xaa\x13\n\x07\x43luster\x12H\n\rbackup_source\x18\x0f \x01(\x0b\x32*.google.cloud.alloydb.v1alpha.BackupSourceB\x03\xe0\x41\x03H\x00\x12N\n\x10migration_source\x18\x10 \x01(\x0b\x32-.google.cloud.alloydb.v1alpha.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\x41\n\x06labels\x18\x07 \x03(\x0b\x32\x31.google.cloud.alloydb.v1alpha.Cluster.LabelsEntry\x12?\n\x05state\x18\x08 \x01(\x0e\x32+.google.cloud.alloydb.v1alpha.Cluster.StateB\x03\xe0\x41\x03\x12L\n\x0c\x63luster_type\x18\x18 \x01(\x0e\x32\x31.google.cloud.alloydb.v1alpha.Cluster.ClusterTypeB\x03\xe0\x41\x03\x12L\n\x10\x64\x61tabase_version\x18\t \x01(\x0e\x32-.google.cloud.alloydb.v1alpha.DatabaseVersionB\x03\xe0\x41\x01\x12P\n\x0enetwork_config\x18\x1d \x01(\x0b\x32\x33.google.cloud.alloydb.v1alpha.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\x12K\n\x0b\x61nnotations\x18\x0c \x03(\x0b\x32\x36.google.cloud.alloydb.v1alpha.Cluster.AnnotationsEntry\x12\x18\n\x0breconciling\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x12\x45\n\x0cinitial_user\x18\x0e \x01(\x0b\x32*.google.cloud.alloydb.v1alpha.UserPasswordB\x03\xe0\x41\x04\x12T\n\x17\x61utomated_backup_policy\x18\x11 \x01(\x0b\x32\x33.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy\x12?\n\nssl_config\x18\x12 \x01(\x0b\x32\'.google.cloud.alloydb.v1alpha.SslConfigB\x02\x18\x01\x12N\n\x11\x65ncryption_config\x18\x13 \x01(\x0b\x32..google.cloud.alloydb.v1alpha.EncryptionConfigB\x03\xe0\x41\x01\x12J\n\x0f\x65ncryption_info\x18\x14 \x01(\x0b\x32,.google.cloud.alloydb.v1alpha.EncryptionInfoB\x03\xe0\x41\x03\x12[\n\x18\x63ontinuous_backup_config\x18\x1b \x01(\x0b\x32\x34.google.cloud.alloydb.v1alpha.ContinuousBackupConfigB\x03\xe0\x41\x01\x12W\n\x16\x63ontinuous_backup_info\x18\x1c \x01(\x0b\x32\x32.google.cloud.alloydb.v1alpha.ContinuousBackupInfoB\x03\xe0\x41\x03\x12O\n\x10secondary_config\x18\x16 \x01(\x0b\x32\x35.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig\x12P\n\x0eprimary_config\x18\x17 \x01(\x0b\x32\x33.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzi\x18! \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x1e \x01(\x08\x42\x03\xe0\x41\x03\x12H\n\npsc_config\x18\x1f \x01(\x0b\x32/.google.cloud.alloydb.v1alpha.Cluster.PscConfigB\x03\xe0\x41\x01\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\tPscConfig\x12\x18\n\x0bpsc_enabled\x18\x01 \x01(\x08\x42\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\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\"\x8a\x1b\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\x42\n\x06labels\x18\x07 \x03(\x0b\x32\x32.google.cloud.alloydb.v1alpha.Instance.LabelsEntry\x12@\n\x05state\x18\x08 \x01(\x0e\x32,.google.cloud.alloydb.v1alpha.Instance.StateB\x03\xe0\x41\x03\x12O\n\rinstance_type\x18\t \x01(\x0e\x32\x33.google.cloud.alloydb.v1alpha.Instance.InstanceTypeB\x03\xe0\x41\x02\x12L\n\x0emachine_config\x18\n \x01(\x0b\x32\x34.google.cloud.alloydb.v1alpha.Instance.MachineConfig\x12R\n\x11\x61vailability_type\x18\x0b \x01(\x0e\x32\x37.google.cloud.alloydb.v1alpha.Instance.AvailabilityType\x12\x10\n\x08gce_zone\x18\x0c \x01(\t\x12Q\n\x0e\x64\x61tabase_flags\x18\r \x03(\x0b\x32\x39.google.cloud.alloydb.v1alpha.Instance.DatabaseFlagsEntry\x12G\n\rwritable_node\x18\x13 \x01(\x0b\x32+.google.cloud.alloydb.v1alpha.Instance.NodeB\x03\xe0\x41\x03\x12?\n\x05nodes\x18\x14 \x03(\x0b\x32+.google.cloud.alloydb.v1alpha.Instance.NodeB\x03\xe0\x41\x03\x12\x61\n\x15query_insights_config\x18\x15 \x01(\x0b\x32\x42.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig\x12O\n\x10read_pool_config\x18\x0e \x01(\x0b\x32\x35.google.cloud.alloydb.v1alpha.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\x12L\n\x0b\x61nnotations\x18\x12 \x03(\x0b\x32\x37.google.cloud.alloydb.v1alpha.Instance.AnnotationsEntry\x12J\n\rupdate_policy\x18\x16 \x01(\x0b\x32\x33.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy\x12\x64\n\x18\x63lient_connection_config\x18\x17 \x01(\x0b\x32=.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigB\x03\xe0\x41\x01\x12\x1a\n\rsatisfies_pzi\x18\x1e \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x18 \x01(\x08\x42\x03\xe0\x41\x03\x12Z\n\x13psc_instance_config\x18\x1c \x01(\x0b\x32\x38.google.cloud.alloydb.v1alpha.Instance.PscInstanceConfigB\x03\xe0\x41\x01\x12Y\n\x0enetwork_config\x18\x1d \x01(\x0b\x32<.google.cloud.alloydb.v1alpha.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\x92\x01\n\x0cUpdatePolicy\x12\x46\n\x04mode\x18\x01 \x01(\x0e\x32\x38.google.cloud.alloydb.v1alpha.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\x1a{\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.v1alpha.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\xb2\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\x39.google.cloud.alloydb.v1alpha.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\xe4\x01\n\x15InstanceNetworkConfig\x12y\n\x1c\x61uthorized_external_networks\x18\x01 \x03(\x0b\x32N.google.cloud.alloydb.v1alpha.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\"\xae\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\xe2\x8c\xcf\xd7\x08\x02\x08\x02\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\"\x86\x0c\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\x30.google.cloud.alloydb.v1alpha.Backup.LabelsEntry\x12>\n\x05state\x18\x07 \x01(\x0e\x32*.google.cloud.alloydb.v1alpha.Backup.StateB\x03\xe0\x41\x03\x12\x37\n\x04type\x18\x08 \x01(\x0e\x32).google.cloud.alloydb.v1alpha.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\x12N\n\x11\x65ncryption_config\x18\x0c \x01(\x0b\x32..google.cloud.alloydb.v1alpha.EncryptionConfigB\x03\xe0\x41\x01\x12J\n\x0f\x65ncryption_info\x18\r \x01(\x0b\x32,.google.cloud.alloydb.v1alpha.EncryptionInfoB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12J\n\x0b\x61nnotations\x18\x10 \x03(\x0b\x32\x35.google.cloud.alloydb.v1alpha.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\x12V\n\x0f\x65xpiry_quantity\x18\x14 \x01(\x0b\x32\x38.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzi\x18\x17 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x15 \x01(\x08\x42\x03\xe0\x41\x03\x12L\n\x10\x64\x61tabase_version\x18\x16 \x01(\x0e\x32-.google.cloud.alloydb.v1alpha.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\"\xdc\x06\n\x15SupportedDatabaseFlag\x12\x65\n\x13string_restrictions\x18\x07 \x01(\x0b\x32\x46.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsH\x00\x12g\n\x14integer_restrictions\x18\x08 \x01(\x0b\x32G.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tflag_name\x18\x02 \x01(\t\x12Q\n\nvalue_type\x18\x03 \x01(\x0e\x32=.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType\x12\x1f\n\x17\x61\x63\x63\x65pts_multiple_values\x18\x04 \x01(\x08\x12L\n\x15supported_db_versions\x18\x05 \x03(\x0e\x32-.google.cloud.alloydb.v1alpha.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\"\xd3\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\x43\n\tuser_type\x18\x05 \x01(\x0e\x32+.google.cloud.alloydb.v1alpha.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\xcb\x03\n com.google.cloud.alloydb.v1alphaB\x0eResourcesProtoP\x01Z:cloud.google.com/go/alloydb/apiv1alpha/alloydbpb;alloydbpb\xaa\x02\x1cGoogle.Cloud.AlloyDb.V1Alpha\xca\x02\x1cGoogle\\Cloud\\AlloyDb\\V1alpha\xea\x02\x1fGoogle::Cloud::AlloyDB::V1alpha\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
|
|
|
@@ -68,6 +69,7 @@ module Google
|
|
|
68
69
|
Cluster::NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Cluster.NetworkConfig").msgclass
|
|
69
70
|
Cluster::SecondaryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig").msgclass
|
|
70
71
|
Cluster::PrimaryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig").msgclass
|
|
72
|
+
Cluster::PscConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Cluster.PscConfig").msgclass
|
|
71
73
|
Cluster::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Cluster.State").enummodule
|
|
72
74
|
Cluster::ClusterType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Cluster.ClusterType").enummodule
|
|
73
75
|
Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance").msgclass
|
|
@@ -77,6 +79,11 @@ module Google
|
|
|
77
79
|
Instance::ReadPoolConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig").msgclass
|
|
78
80
|
Instance::UpdatePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.UpdatePolicy").msgclass
|
|
79
81
|
Instance::UpdatePolicy::Mode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode").enummodule
|
|
82
|
+
Instance::ClientConnectionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig").msgclass
|
|
83
|
+
Instance::PscInterfaceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.PscInterfaceConfig").msgclass
|
|
84
|
+
Instance::PscInstanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.PscInstanceConfig").msgclass
|
|
85
|
+
Instance::InstanceNetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig").msgclass
|
|
86
|
+
Instance::InstanceNetworkConfig::AuthorizedNetwork = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig.AuthorizedNetwork").msgclass
|
|
80
87
|
Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.State").enummodule
|
|
81
88
|
Instance::InstanceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.InstanceType").enummodule
|
|
82
89
|
Instance::AvailabilityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Instance.AvailabilityType").enummodule
|
|
@@ -91,6 +98,7 @@ module Google
|
|
|
91
98
|
SupportedDatabaseFlag::ValueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType").enummodule
|
|
92
99
|
User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.User").msgclass
|
|
93
100
|
User::UserType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.User.UserType").enummodule
|
|
101
|
+
Database = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.Database").msgclass
|
|
94
102
|
InstanceView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.InstanceView").enummodule
|
|
95
103
|
ClusterView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ClusterView").enummodule
|
|
96
104
|
DatabaseVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.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/v1alpha/service.proto\x12\x1cgoogle.cloud.alloydb.v1alpha\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/v1alpha/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\x37\n\x08\x63lusters\x18\x01 \x03(\x0b\x32%.google.cloud.alloydb.v1alpha.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x87\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.v1alpha.ClusterViewB\x03\xe0\x41\x01\"\xe2\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.v1alpha.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\"\xd9\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.v1alpha.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\"\xda\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.v1alpha.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\"\x83\x03\n\x15RestoreClusterRequest\x12\x43\n\rbackup_source\x18\x04 \x01(\x0b\x32*.google.cloud.alloydb.v1alpha.BackupSourceH\x00\x12X\n\x18\x63ontinuous_backup_source\x18\x08 \x01(\x0b\x32\x34.google.cloud.alloydb.v1alpha.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.v1alpha.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\"\x80\x01\n\x15ListInstancesResponse\x12\x39\n\tinstances\x18\x01 \x03(\x0b\x32&.google.cloud.alloydb.v1alpha.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x85\x01\n\x12GetInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32*.google.cloud.alloydb.v1alpha.InstanceView\"\xde\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.v1alpha.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\"\xe7\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.v1alpha.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\"t\n\x16\x43reateInstanceRequests\x12Z\n\x18\x63reate_instance_requests\x18\x01 \x03(\x0b\x32\x33.google.cloud.alloydb.v1alpha.CreateInstanceRequestB\x03\xe0\x41\x02\"\xbc\x01\n\x1b\x42\x61tchCreateInstancesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12K\n\x08requests\x18\x02 \x01(\x0b\x32\x34.google.cloud.alloydb.v1alpha.CreateInstanceRequestsB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"Y\n\x1c\x42\x61tchCreateInstancesResponse\x12\x39\n\tinstances\x18\x01 \x03(\x0b\x32&.google.cloud.alloydb.v1alpha.Instance\"\x97\x02\n\x1c\x42\x61tchCreateInstancesMetadata\x12\x18\n\x10instance_targets\x18\x01 \x03(\t\x12k\n\x11instance_statuses\x18\x02 \x03(\x0b\x32P.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.InstanceStatusesEntry\x1ap\n\x15InstanceStatusesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x37.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus:\x02\x38\x01\"\xda\x02\n\x19\x42\x61tchCreateInstanceStatus\x12L\n\x05state\x18\x01 \x01(\x0e\x32=.google.cloud.alloydb.v1alpha.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\x41\n\x04type\x18\x03 \x01(\x0e\x32\x33.google.cloud.alloydb.v1alpha.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\"\xdd\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.v1alpha.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\"\x8b\x02\n\x12InjectFaultRequest\x12S\n\nfault_type\x18\x01 \x01(\x0e\x32:.google.cloud.alloydb.v1alpha.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\"z\n\x13ListBackupsResponse\x12\x35\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32$.google.cloud.alloydb.v1alpha.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\"\xd4\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\x39\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32$.google.cloud.alloydb.v1alpha.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\"\xd7\x01\n\x13UpdateBackupRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x39\n\x06\x62\x61\x63kup\x18\x02 \x01(\x0b\x32$.google.cloud.alloydb.v1alpha.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\"\x94\x01\n\"ListSupportedDatabaseFlagsResponse\x12U\n\x18supported_database_flags\x18\x01 \x03(\x0b\x32\x33.google.cloud.alloydb.v1alpha.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\"\x80\x03\n\x11OperationMetadata\x12j\n\x1f\x62\x61tch_create_instances_metadata\x18\x08 \x01(\x0b\x32:.google.cloud.alloydb.v1alpha.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\"t\n\x11ListUsersResponse\x12\x31\n\x05users\x18\x01 \x03(\x0b\x32\".google.cloud.alloydb.v1alpha.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\"\xca\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\x35\n\x04user\x18\x03 \x01(\x0b\x32\".google.cloud.alloydb.v1alpha.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\"\xd1\x01\n\x11UpdateUserRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x35\n\x04user\x18\x02 \x01(\x0b\x32\".google.cloud.alloydb.v1alpha.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\xf1\x34\n\x0c\x41lloyDBAdmin\x12\xb9\x01\n\x0cListClusters\x12\x31.google.cloud.alloydb.v1alpha.ListClustersRequest\x1a\x32.google.cloud.alloydb.v1alpha.ListClustersResponse\"B\x82\xd3\xe4\x93\x02\x33\x12\x31/v1alpha/{parent=projects/*/locations/*}/clusters\xda\x41\x06parent\x12\xa6\x01\n\nGetCluster\x12/.google.cloud.alloydb.v1alpha.GetClusterRequest\x1a%.google.cloud.alloydb.v1alpha.Cluster\"@\x82\xd3\xe4\x93\x02\x33\x12\x31/v1alpha/{name=projects/*/locations/*/clusters/*}\xda\x41\x04name\x12\xe1\x01\n\rCreateCluster\x12\x32.google.cloud.alloydb.v1alpha.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02<\"1/v1alpha/{parent=projects/*/locations/*}/clusters:\x07\x63luster\xda\x41\x19parent,cluster,cluster_id\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xe3\x01\n\rUpdateCluster\x12\x32.google.cloud.alloydb.v1alpha.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"\x7f\x82\xd3\xe4\x93\x02\x44\x32\x39/v1alpha/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\xda\x41\x13\x63luster,update_mask\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xd1\x01\n\rDeleteCluster\x12\x32.google.cloud.alloydb.v1alpha.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"m\x82\xd3\xe4\x93\x02\x33*1/v1alpha/{name=projects/*/locations/*/clusters/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xd0\x01\n\x0ePromoteCluster\x12\x33.google.cloud.alloydb.v1alpha.PromoteClusterRequest\x1a\x1d.google.longrunning.Operation\"j\x82\xd3\xe4\x93\x02>\"9/v1alpha/{name=projects/*/locations/*/clusters/*}:promote:\x01*\xda\x41\x04name\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xc9\x01\n\x0eRestoreCluster\x12\x33.google.cloud.alloydb.v1alpha.RestoreClusterRequest\x1a\x1d.google.longrunning.Operation\"c\x82\xd3\xe4\x93\x02>\"9/v1alpha/{parent=projects/*/locations/*}/clusters:restore:\x01*\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\x84\x02\n\x16\x43reateSecondaryCluster\x12;.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\x82\xd3\xe4\x93\x02L\"A/v1alpha/{parent=projects/*/locations/*}/clusters:createsecondary:\x07\x63luster\xda\x41\x19parent,cluster,cluster_id\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xc8\x01\n\rListInstances\x12\x32.google.cloud.alloydb.v1alpha.ListInstancesRequest\x1a\x33.google.cloud.alloydb.v1alpha.ListInstancesResponse\"N\x82\xd3\xe4\x93\x02?\x12=/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances\xda\x41\x06parent\x12\xb5\x01\n\x0bGetInstance\x12\x30.google.cloud.alloydb.v1alpha.GetInstanceRequest\x1a&.google.cloud.alloydb.v1alpha.Instance\"L\x82\xd3\xe4\x93\x02?\x12=/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}\xda\x41\x04name\x12\xf4\x01\n\x0e\x43reateInstance\x12\x33.google.cloud.alloydb.v1alpha.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\x82\xd3\xe4\x93\x02I\"=/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances:\x08instance\xda\x41\x1bparent,instance,instance_id\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\x96\x02\n\x17\x43reateSecondaryInstance\x12<.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x9d\x01\x82\xd3\xe4\x93\x02Y\"M/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances:createsecondary:\x08instance\xda\x41\x1bparent,instance,instance_id\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\x82\x02\n\x14\x42\x61tchCreateInstances\x12\x39.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02U\"I/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances:batchCreate:\x08requests\xca\x41\x31\n\x1c\x42\x61tchCreateInstancesResponse\x12\x11OperationMetadata\x12\xf6\x01\n\x0eUpdateInstance\x12\x33.google.cloud.alloydb.v1alpha.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02R2F/v1alpha/{instance.name=projects/*/locations/*/clusters/*/instances/*}:\x08instance\xda\x41\x14instance,update_mask\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xdf\x01\n\x0e\x44\x65leteInstance\x12\x33.google.cloud.alloydb.v1alpha.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"y\x82\xd3\xe4\x93\x02?*=/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe2\x01\n\x10\x46\x61iloverInstance\x12\x35.google.cloud.alloydb.v1alpha.FailoverInstanceRequest\x1a\x1d.google.longrunning.Operation\"x\x82\xd3\xe4\x93\x02K\"F/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:failover:\x01*\xda\x41\x04name\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xe7\x01\n\x0bInjectFault\x12\x30.google.cloud.alloydb.v1alpha.InjectFaultRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\x82\xd3\xe4\x93\x02N\"I/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault:\x01*\xda\x41\x0f\x66\x61ult_type,name\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xdf\x01\n\x0fRestartInstance\x12\x34.google.cloud.alloydb.v1alpha.RestartInstanceRequest\x1a\x1d.google.longrunning.Operation\"w\x82\xd3\xe4\x93\x02J\"E/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:restart:\x01*\xda\x41\x04name\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xb5\x01\n\x0bListBackups\x12\x30.google.cloud.alloydb.v1alpha.ListBackupsRequest\x1a\x31.google.cloud.alloydb.v1alpha.ListBackupsResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1alpha/{parent=projects/*/locations/*}/backups\xda\x41\x06parent\x12\xa2\x01\n\tGetBackup\x12..google.cloud.alloydb.v1alpha.GetBackupRequest\x1a$.google.cloud.alloydb.v1alpha.Backup\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1alpha/{name=projects/*/locations/*/backups/*}\xda\x41\x04name\x12\xda\x01\n\x0c\x43reateBackup\x12\x31.google.cloud.alloydb.v1alpha.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"x\x82\xd3\xe4\x93\x02:\"0/v1alpha/{parent=projects/*/locations/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xdc\x01\n\x0cUpdateBackup\x12\x31.google.cloud.alloydb.v1alpha.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02\x41\x32\x37/v1alpha/{backup.name=projects/*/locations/*/backups/*}:\x06\x62\x61\x63kup\xda\x41\x12\x62\x61\x63kup,update_mask\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xce\x01\n\x0c\x44\x65leteBackup\x12\x31.google.cloud.alloydb.v1alpha.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x32*0/v1alpha/{name=projects/*/locations/*/backups/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xf1\x01\n\x1aListSupportedDatabaseFlags\x12?.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest\x1a@.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse\"P\x82\xd3\xe4\x93\x02\x41\x12?/v1alpha/{parent=projects/*/locations/*}/supportedDatabaseFlags\xda\x41\x06parent\x12\xff\x01\n\x19GenerateClientCertificate\x12>.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest\x1a?.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse\"a\x82\xd3\xe4\x93\x02R\"M/v1alpha/{parent=projects/*/locations/*/clusters/*}:generateClientCertificate:\x01*\xda\x41\x06parent\x12\xda\x01\n\x11GetConnectionInfo\x12\x36.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest\x1a,.google.cloud.alloydb.v1alpha.ConnectionInfo\"_\x82\xd3\xe4\x93\x02P\x12N/v1alpha/{parent=projects/*/locations/*/clusters/*/instances/*}/connectionInfo\xda\x41\x06parent\x12\xb8\x01\n\tListUsers\x12..google.cloud.alloydb.v1alpha.ListUsersRequest\x1a/.google.cloud.alloydb.v1alpha.ListUsersResponse\"J\x82\xd3\xe4\x93\x02;\x12\x39/v1alpha/{parent=projects/*/locations/*/clusters/*}/users\xda\x41\x06parent\x12\xa5\x01\n\x07GetUser\x12,.google.cloud.alloydb.v1alpha.GetUserRequest\x1a\".google.cloud.alloydb.v1alpha.User\"H\x82\xd3\xe4\x93\x02;\x12\x39/v1alpha/{name=projects/*/locations/*/clusters/*/users/*}\xda\x41\x04name\x12\xc0\x01\n\nCreateUser\x12/.google.cloud.alloydb.v1alpha.CreateUserRequest\x1a\".google.cloud.alloydb.v1alpha.User\"]\x82\xd3\xe4\x93\x02\x41\"9/v1alpha/{parent=projects/*/locations/*/clusters/*}/users:\x04user\xda\x41\x13parent,user,user_id\x12\xc2\x01\n\nUpdateUser\x12/.google.cloud.alloydb.v1alpha.UpdateUserRequest\x1a\".google.cloud.alloydb.v1alpha.User\"_\x82\xd3\xe4\x93\x02\x46\x32>/v1alpha/{user.name=projects/*/locations/*/clusters/*/users/*}:\x04user\xda\x41\x10user,update_mask\x12\x9f\x01\n\nDeleteUser\x12/.google.cloud.alloydb.v1alpha.DeleteUserRequest\x1a\x16.google.protobuf.Empty\"H\x82\xd3\xe4\x93\x02;*9/v1alpha/{name=projects/*/locations/*/clusters/*/users/*}\xda\x41\x04name\x1aJ\xca\x41\x16\x61lloydb.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xce\x01\n com.google.cloud.alloydb.v1alphaB\x0cServiceProtoP\x01Z:cloud.google.com/go/alloydb/apiv1alpha/alloydbpb;alloydbpb\xaa\x02\x1cGoogle.Cloud.AlloyDb.V1Alpha\xca\x02\x1cGoogle\\Cloud\\AlloyDb\\V1alpha\xea\x02\x1fGoogle::Cloud::AlloyDB::V1alphab\x06proto3"
|
|
20
|
+
descriptor_data = "\n*google/cloud/alloydb/v1alpha/service.proto\x12\x1cgoogle.cloud.alloydb.v1alpha\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/v1alpha/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\x37\n\x08\x63lusters\x18\x01 \x03(\x0b\x32%.google.cloud.alloydb.v1alpha.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x87\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.v1alpha.ClusterViewB\x03\xe0\x41\x01\"\xe2\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.v1alpha.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\"\xd9\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.v1alpha.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\"\xda\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.v1alpha.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\"\x83\x03\n\x15RestoreClusterRequest\x12\x43\n\rbackup_source\x18\x04 \x01(\x0b\x32*.google.cloud.alloydb.v1alpha.BackupSourceH\x00\x12X\n\x18\x63ontinuous_backup_source\x18\x08 \x01(\x0b\x32\x34.google.cloud.alloydb.v1alpha.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.v1alpha.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\"\x80\x01\n\x15ListInstancesResponse\x12\x39\n\tinstances\x18\x01 \x03(\x0b\x32&.google.cloud.alloydb.v1alpha.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x85\x01\n\x12GetInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32*.google.cloud.alloydb.v1alpha.InstanceView\"\xde\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.v1alpha.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\"\xe7\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.v1alpha.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\"t\n\x16\x43reateInstanceRequests\x12Z\n\x18\x63reate_instance_requests\x18\x01 \x03(\x0b\x32\x33.google.cloud.alloydb.v1alpha.CreateInstanceRequestB\x03\xe0\x41\x02\"\xbc\x01\n\x1b\x42\x61tchCreateInstancesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12K\n\x08requests\x18\x02 \x01(\x0b\x32\x34.google.cloud.alloydb.v1alpha.CreateInstanceRequestsB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"Y\n\x1c\x42\x61tchCreateInstancesResponse\x12\x39\n\tinstances\x18\x01 \x03(\x0b\x32&.google.cloud.alloydb.v1alpha.Instance\"\x97\x02\n\x1c\x42\x61tchCreateInstancesMetadata\x12\x18\n\x10instance_targets\x18\x01 \x03(\t\x12k\n\x11instance_statuses\x18\x02 \x03(\x0b\x32P.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.InstanceStatusesEntry\x1ap\n\x15InstanceStatusesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x37.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus:\x02\x38\x01\"\xda\x02\n\x19\x42\x61tchCreateInstanceStatus\x12L\n\x05state\x18\x01 \x01(\x0e\x32=.google.cloud.alloydb.v1alpha.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\x41\n\x04type\x18\x03 \x01(\x0e\x32\x33.google.cloud.alloydb.v1alpha.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\"\xdd\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.v1alpha.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\"\x8b\x02\n\x12InjectFaultRequest\x12S\n\nfault_type\x18\x01 \x01(\x0e\x32:.google.cloud.alloydb.v1alpha.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\"z\n\x13ListBackupsResponse\x12\x35\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32$.google.cloud.alloydb.v1alpha.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\"\xd4\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\x39\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32$.google.cloud.alloydb.v1alpha.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\"\xd7\x01\n\x13UpdateBackupRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x39\n\x06\x62\x61\x63kup\x18\x02 \x01(\x0b\x32$.google.cloud.alloydb.v1alpha.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\"\x94\x01\n\"ListSupportedDatabaseFlagsResponse\x12U\n\x18supported_database_flags\x18\x01 \x03(\x0b\x32\x33.google.cloud.alloydb.v1alpha.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\"\x80\x03\n\x11OperationMetadata\x12j\n\x1f\x62\x61tch_create_instances_metadata\x18\x08 \x01(\x0b\x32:.google.cloud.alloydb.v1alpha.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\"t\n\x11ListUsersResponse\x12\x31\n\x05users\x18\x01 \x03(\x0b\x32\".google.cloud.alloydb.v1alpha.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\"\xca\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\x35\n\x04user\x18\x03 \x01(\x0b\x32\".google.cloud.alloydb.v1alpha.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\"\xd1\x01\n\x11UpdateUserRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x35\n\x04user\x18\x02 \x01(\x0b\x32\".google.cloud.alloydb.v1alpha.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\"k\n\x15ListDatabasesResponse\x12\x39\n\tdatabases\x18\x01 \x03(\x0b\x32&.google.cloud.alloydb.v1alpha.Database\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xbc\x36\n\x0c\x41lloyDBAdmin\x12\xb9\x01\n\x0cListClusters\x12\x31.google.cloud.alloydb.v1alpha.ListClustersRequest\x1a\x32.google.cloud.alloydb.v1alpha.ListClustersResponse\"B\x82\xd3\xe4\x93\x02\x33\x12\x31/v1alpha/{parent=projects/*/locations/*}/clusters\xda\x41\x06parent\x12\xa6\x01\n\nGetCluster\x12/.google.cloud.alloydb.v1alpha.GetClusterRequest\x1a%.google.cloud.alloydb.v1alpha.Cluster\"@\x82\xd3\xe4\x93\x02\x33\x12\x31/v1alpha/{name=projects/*/locations/*/clusters/*}\xda\x41\x04name\x12\xe1\x01\n\rCreateCluster\x12\x32.google.cloud.alloydb.v1alpha.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02<\"1/v1alpha/{parent=projects/*/locations/*}/clusters:\x07\x63luster\xda\x41\x19parent,cluster,cluster_id\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xe3\x01\n\rUpdateCluster\x12\x32.google.cloud.alloydb.v1alpha.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"\x7f\x82\xd3\xe4\x93\x02\x44\x32\x39/v1alpha/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\xda\x41\x13\x63luster,update_mask\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xd1\x01\n\rDeleteCluster\x12\x32.google.cloud.alloydb.v1alpha.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"m\x82\xd3\xe4\x93\x02\x33*1/v1alpha/{name=projects/*/locations/*/clusters/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xd0\x01\n\x0ePromoteCluster\x12\x33.google.cloud.alloydb.v1alpha.PromoteClusterRequest\x1a\x1d.google.longrunning.Operation\"j\x82\xd3\xe4\x93\x02>\"9/v1alpha/{name=projects/*/locations/*/clusters/*}:promote:\x01*\xda\x41\x04name\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xc9\x01\n\x0eRestoreCluster\x12\x33.google.cloud.alloydb.v1alpha.RestoreClusterRequest\x1a\x1d.google.longrunning.Operation\"c\x82\xd3\xe4\x93\x02>\"9/v1alpha/{parent=projects/*/locations/*}/clusters:restore:\x01*\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\x84\x02\n\x16\x43reateSecondaryCluster\x12;.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\x82\xd3\xe4\x93\x02L\"A/v1alpha/{parent=projects/*/locations/*}/clusters:createsecondary:\x07\x63luster\xda\x41\x19parent,cluster,cluster_id\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x12\xc8\x01\n\rListInstances\x12\x32.google.cloud.alloydb.v1alpha.ListInstancesRequest\x1a\x33.google.cloud.alloydb.v1alpha.ListInstancesResponse\"N\x82\xd3\xe4\x93\x02?\x12=/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances\xda\x41\x06parent\x12\xb5\x01\n\x0bGetInstance\x12\x30.google.cloud.alloydb.v1alpha.GetInstanceRequest\x1a&.google.cloud.alloydb.v1alpha.Instance\"L\x82\xd3\xe4\x93\x02?\x12=/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}\xda\x41\x04name\x12\xf4\x01\n\x0e\x43reateInstance\x12\x33.google.cloud.alloydb.v1alpha.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\x82\xd3\xe4\x93\x02I\"=/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances:\x08instance\xda\x41\x1bparent,instance,instance_id\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\x96\x02\n\x17\x43reateSecondaryInstance\x12<.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x9d\x01\x82\xd3\xe4\x93\x02Y\"M/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances:createsecondary:\x08instance\xda\x41\x1bparent,instance,instance_id\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\x82\x02\n\x14\x42\x61tchCreateInstances\x12\x39.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02U\"I/v1alpha/{parent=projects/*/locations/*/clusters/*}/instances:batchCreate:\x08requests\xca\x41\x31\n\x1c\x42\x61tchCreateInstancesResponse\x12\x11OperationMetadata\x12\xf6\x01\n\x0eUpdateInstance\x12\x33.google.cloud.alloydb.v1alpha.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02R2F/v1alpha/{instance.name=projects/*/locations/*/clusters/*/instances/*}:\x08instance\xda\x41\x14instance,update_mask\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xdf\x01\n\x0e\x44\x65leteInstance\x12\x33.google.cloud.alloydb.v1alpha.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"y\x82\xd3\xe4\x93\x02?*=/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe2\x01\n\x10\x46\x61iloverInstance\x12\x35.google.cloud.alloydb.v1alpha.FailoverInstanceRequest\x1a\x1d.google.longrunning.Operation\"x\x82\xd3\xe4\x93\x02K\"F/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:failover:\x01*\xda\x41\x04name\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xe7\x01\n\x0bInjectFault\x12\x30.google.cloud.alloydb.v1alpha.InjectFaultRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\x82\xd3\xe4\x93\x02N\"I/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault:\x01*\xda\x41\x0f\x66\x61ult_type,name\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xdf\x01\n\x0fRestartInstance\x12\x34.google.cloud.alloydb.v1alpha.RestartInstanceRequest\x1a\x1d.google.longrunning.Operation\"w\x82\xd3\xe4\x93\x02J\"E/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:restart:\x01*\xda\x41\x04name\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xb5\x01\n\x0bListBackups\x12\x30.google.cloud.alloydb.v1alpha.ListBackupsRequest\x1a\x31.google.cloud.alloydb.v1alpha.ListBackupsResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1alpha/{parent=projects/*/locations/*}/backups\xda\x41\x06parent\x12\xa2\x01\n\tGetBackup\x12..google.cloud.alloydb.v1alpha.GetBackupRequest\x1a$.google.cloud.alloydb.v1alpha.Backup\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1alpha/{name=projects/*/locations/*/backups/*}\xda\x41\x04name\x12\xda\x01\n\x0c\x43reateBackup\x12\x31.google.cloud.alloydb.v1alpha.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"x\x82\xd3\xe4\x93\x02:\"0/v1alpha/{parent=projects/*/locations/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xdc\x01\n\x0cUpdateBackup\x12\x31.google.cloud.alloydb.v1alpha.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02\x41\x32\x37/v1alpha/{backup.name=projects/*/locations/*/backups/*}:\x06\x62\x61\x63kup\xda\x41\x12\x62\x61\x63kup,update_mask\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xce\x01\n\x0c\x44\x65leteBackup\x12\x31.google.cloud.alloydb.v1alpha.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x32*0/v1alpha/{name=projects/*/locations/*/backups/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xf1\x01\n\x1aListSupportedDatabaseFlags\x12?.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest\x1a@.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse\"P\x82\xd3\xe4\x93\x02\x41\x12?/v1alpha/{parent=projects/*/locations/*}/supportedDatabaseFlags\xda\x41\x06parent\x12\xff\x01\n\x19GenerateClientCertificate\x12>.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest\x1a?.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse\"a\x82\xd3\xe4\x93\x02R\"M/v1alpha/{parent=projects/*/locations/*/clusters/*}:generateClientCertificate:\x01*\xda\x41\x06parent\x12\xda\x01\n\x11GetConnectionInfo\x12\x36.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest\x1a,.google.cloud.alloydb.v1alpha.ConnectionInfo\"_\x82\xd3\xe4\x93\x02P\x12N/v1alpha/{parent=projects/*/locations/*/clusters/*/instances/*}/connectionInfo\xda\x41\x06parent\x12\xb8\x01\n\tListUsers\x12..google.cloud.alloydb.v1alpha.ListUsersRequest\x1a/.google.cloud.alloydb.v1alpha.ListUsersResponse\"J\x82\xd3\xe4\x93\x02;\x12\x39/v1alpha/{parent=projects/*/locations/*/clusters/*}/users\xda\x41\x06parent\x12\xa5\x01\n\x07GetUser\x12,.google.cloud.alloydb.v1alpha.GetUserRequest\x1a\".google.cloud.alloydb.v1alpha.User\"H\x82\xd3\xe4\x93\x02;\x12\x39/v1alpha/{name=projects/*/locations/*/clusters/*/users/*}\xda\x41\x04name\x12\xc0\x01\n\nCreateUser\x12/.google.cloud.alloydb.v1alpha.CreateUserRequest\x1a\".google.cloud.alloydb.v1alpha.User\"]\x82\xd3\xe4\x93\x02\x41\"9/v1alpha/{parent=projects/*/locations/*/clusters/*}/users:\x04user\xda\x41\x13parent,user,user_id\x12\xc2\x01\n\nUpdateUser\x12/.google.cloud.alloydb.v1alpha.UpdateUserRequest\x1a\".google.cloud.alloydb.v1alpha.User\"_\x82\xd3\xe4\x93\x02\x46\x32>/v1alpha/{user.name=projects/*/locations/*/clusters/*/users/*}:\x04user\xda\x41\x10user,update_mask\x12\x9f\x01\n\nDeleteUser\x12/.google.cloud.alloydb.v1alpha.DeleteUserRequest\x1a\x16.google.protobuf.Empty\"H\x82\xd3\xe4\x93\x02;*9/v1alpha/{name=projects/*/locations/*/clusters/*/users/*}\xda\x41\x04name\x12\xc8\x01\n\rListDatabases\x12\x32.google.cloud.alloydb.v1alpha.ListDatabasesRequest\x1a\x33.google.cloud.alloydb.v1alpha.ListDatabasesResponse\"N\x82\xd3\xe4\x93\x02?\x12=/v1alpha/{parent=projects/*/locations/*/clusters/*}/databases\xda\x41\x06parent\x1aJ\xca\x41\x16\x61lloydb.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xce\x01\n com.google.cloud.alloydb.v1alphaB\x0cServiceProtoP\x01Z:cloud.google.com/go/alloydb/apiv1alpha/alloydbpb;alloydbpb\xaa\x02\x1cGoogle.Cloud.AlloyDb.V1Alpha\xca\x02\x1cGoogle\\Cloud\\AlloyDb\\V1alpha\xea\x02\x1fGoogle::Cloud::AlloyDB::V1alphab\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.v1alpha.CreateUserRequest").msgclass
|
|
97
97
|
UpdateUserRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.UpdateUserRequest").msgclass
|
|
98
98
|
DeleteUserRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.DeleteUserRequest").msgclass
|
|
99
|
+
ListDatabasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ListDatabasesRequest").msgclass
|
|
100
|
+
ListDatabasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1alpha.ListDatabasesResponse").msgclass
|
|
99
101
|
end
|
|
100
102
|
end
|
|
101
103
|
end
|
|
@@ -118,6 +118,8 @@ module Google
|
|
|
118
118
|
rpc :UpdateUser, ::Google::Cloud::AlloyDB::V1alpha::UpdateUserRequest, ::Google::Cloud::AlloyDB::V1alpha::User
|
|
119
119
|
# Deletes a single User.
|
|
120
120
|
rpc :DeleteUser, ::Google::Cloud::AlloyDB::V1alpha::DeleteUserRequest, ::Google::Protobuf::Empty
|
|
121
|
+
# Lists Databases in a given project and location.
|
|
122
|
+
rpc :ListDatabases, ::Google::Cloud::AlloyDB::V1alpha::ListDatabasesRequest, ::Google::Cloud::AlloyDB::V1alpha::ListDatabasesResponse
|
|
121
123
|
end
|
|
122
124
|
|
|
123
125
|
Stub = Service.rpc_stub_class
|
|
@@ -304,6 +304,19 @@ module Google
|
|
|
304
304
|
# seconds: 360 # 6 minutes
|
|
305
305
|
# total_poll_timeout:
|
|
306
306
|
# seconds: 54000 # 90 minutes
|
|
307
|
+
# @!attribute [rw] auto_populated_fields
|
|
308
|
+
# @return [::Array<::String>]
|
|
309
|
+
# List of top-level fields of the request message, that should be
|
|
310
|
+
# automatically populated by the client libraries based on their
|
|
311
|
+
# (google.api.field_info).format. Currently supported format: UUID4.
|
|
312
|
+
#
|
|
313
|
+
# Example of a YAML configuration:
|
|
314
|
+
#
|
|
315
|
+
# publishing:
|
|
316
|
+
# method_settings:
|
|
317
|
+
# - selector: google.example.v1.ExampleService.CreateExample
|
|
318
|
+
# auto_populated_fields:
|
|
319
|
+
# - request_id
|
|
307
320
|
class MethodSettings
|
|
308
321
|
include ::Google::Protobuf::MessageExts
|
|
309
322
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2023 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
|
|
@@ -378,8 +378,8 @@ module Google
|
|
|
378
378
|
# Required. The resource link for the VPC network in which cluster resources
|
|
379
379
|
# are created and from which they are accessible via Private IP. The network
|
|
380
380
|
# must belong to the same project as the cluster. It is specified in the
|
|
381
|
-
# form: "projects/\\{
|
|
382
|
-
#
|
|
381
|
+
# form: "projects/\\{project}/global/networks/\\{network_id}". This is required
|
|
382
|
+
# to create a cluster. Deprecated, use network_config.network instead.
|
|
383
383
|
# @!attribute [rw] etag
|
|
384
384
|
# @return [::String]
|
|
385
385
|
# For Resource freshness validation (https://google.aip.dev/154)
|
|
@@ -433,9 +433,16 @@ module Google
|
|
|
433
433
|
# @!attribute [r] primary_config
|
|
434
434
|
# @return [::Google::Cloud::AlloyDB::V1alpha::Cluster::PrimaryConfig]
|
|
435
435
|
# Output only. Cross Region replication config specific to PRIMARY cluster.
|
|
436
|
-
# @!attribute [
|
|
436
|
+
# @!attribute [r] satisfies_pzi
|
|
437
437
|
# @return [::Boolean]
|
|
438
|
-
# Reserved for future use.
|
|
438
|
+
# Output only. Reserved for future use.
|
|
439
|
+
# @!attribute [r] satisfies_pzs
|
|
440
|
+
# @return [::Boolean]
|
|
441
|
+
# Output only. Reserved for future use.
|
|
442
|
+
# @!attribute [rw] psc_config
|
|
443
|
+
# @return [::Google::Cloud::AlloyDB::V1alpha::Cluster::PscConfig]
|
|
444
|
+
# Optional. The configuration for Private Service Connect (PSC) for the
|
|
445
|
+
# cluster.
|
|
439
446
|
class Cluster
|
|
440
447
|
include ::Google::Protobuf::MessageExts
|
|
441
448
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -443,22 +450,21 @@ module Google
|
|
|
443
450
|
# Metadata related to network configuration.
|
|
444
451
|
# @!attribute [rw] network
|
|
445
452
|
# @return [::String]
|
|
446
|
-
#
|
|
453
|
+
# Optional. The resource link for the VPC network in which cluster
|
|
447
454
|
# resources are created and from which they are accessible via Private IP.
|
|
448
455
|
# The network must belong to the same project as the cluster. It is
|
|
449
456
|
# specified in the form:
|
|
450
457
|
# "projects/\\{project_number}/global/networks/\\{network_id}". This is
|
|
451
|
-
# required to create a cluster.
|
|
452
|
-
# removed.
|
|
458
|
+
# required to create a cluster.
|
|
453
459
|
# @!attribute [rw] allocated_ip_range
|
|
454
460
|
# @return [::String]
|
|
455
|
-
# Optional.
|
|
456
|
-
# cluster
|
|
461
|
+
# Optional. Name of the allocated IP range for the private IP AlloyDB
|
|
462
|
+
# cluster, for example: "google-managed-services-default". If set, the
|
|
457
463
|
# instance IPs for this cluster will be created in the allocated range. The
|
|
458
464
|
# range name must comply with RFC 1035. Specifically, the name must be 1-63
|
|
459
465
|
# characters long and match the regular expression
|
|
460
|
-
# [a-z]([-a-z0-9]*[a-z0-9])
|
|
461
|
-
# Field name is intended to be consistent with
|
|
466
|
+
# `[a-z]([-a-z0-9]*[a-z0-9])?`.
|
|
467
|
+
# Field name is intended to be consistent with Cloud SQL.
|
|
462
468
|
class NetworkConfig
|
|
463
469
|
include ::Google::Protobuf::MessageExts
|
|
464
470
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -487,6 +493,16 @@ module Google
|
|
|
487
493
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
488
494
|
end
|
|
489
495
|
|
|
496
|
+
# PscConfig contains PSC related configuration at a cluster level.
|
|
497
|
+
# @!attribute [rw] psc_enabled
|
|
498
|
+
# @return [::Boolean]
|
|
499
|
+
# Optional. Create an instance that allows connections from Private Service
|
|
500
|
+
# Connect endpoints to the instance.
|
|
501
|
+
class PscConfig
|
|
502
|
+
include ::Google::Protobuf::MessageExts
|
|
503
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
504
|
+
end
|
|
505
|
+
|
|
490
506
|
# @!attribute [rw] key
|
|
491
507
|
# @return [::String]
|
|
492
508
|
# @!attribute [rw] value
|
|
@@ -647,7 +663,8 @@ module Google
|
|
|
647
663
|
# Configuration for query insights.
|
|
648
664
|
# @!attribute [rw] read_pool_config
|
|
649
665
|
# @return [::Google::Cloud::AlloyDB::V1alpha::Instance::ReadPoolConfig]
|
|
650
|
-
# Read pool
|
|
666
|
+
# Read pool instance configuration.
|
|
667
|
+
# This is required if the value of instanceType is READ_POOL.
|
|
651
668
|
# @!attribute [r] ip_address
|
|
652
669
|
# @return [::String]
|
|
653
670
|
# Output only. The IP address for the Instance.
|
|
@@ -673,9 +690,22 @@ module Google
|
|
|
673
690
|
# This field is not persisted when you update the instance.
|
|
674
691
|
# To use a non-default update policy, you must
|
|
675
692
|
# specify explicitly specify the value in each update request.
|
|
676
|
-
# @!attribute [rw]
|
|
693
|
+
# @!attribute [rw] client_connection_config
|
|
694
|
+
# @return [::Google::Cloud::AlloyDB::V1alpha::Instance::ClientConnectionConfig]
|
|
695
|
+
# Optional. Client connection specific configurations
|
|
696
|
+
# @!attribute [r] satisfies_pzi
|
|
697
|
+
# @return [::Boolean]
|
|
698
|
+
# Output only. Reserved for future use.
|
|
699
|
+
# @!attribute [r] satisfies_pzs
|
|
677
700
|
# @return [::Boolean]
|
|
678
|
-
# Reserved for future use.
|
|
701
|
+
# Output only. Reserved for future use.
|
|
702
|
+
# @!attribute [rw] psc_instance_config
|
|
703
|
+
# @return [::Google::Cloud::AlloyDB::V1alpha::Instance::PscInstanceConfig]
|
|
704
|
+
# Optional. The configuration for Private Service Connect (PSC) for the
|
|
705
|
+
# instance.
|
|
706
|
+
# @!attribute [rw] network_config
|
|
707
|
+
# @return [::Google::Cloud::AlloyDB::V1alpha::Instance::InstanceNetworkConfig]
|
|
708
|
+
# Optional. Instance level network configuration.
|
|
679
709
|
class Instance
|
|
680
710
|
include ::Google::Protobuf::MessageExts
|
|
681
711
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -766,6 +796,98 @@ module Google
|
|
|
766
796
|
end
|
|
767
797
|
end
|
|
768
798
|
|
|
799
|
+
# Client connection configuration
|
|
800
|
+
# @!attribute [rw] require_connectors
|
|
801
|
+
# @return [::Boolean]
|
|
802
|
+
# Optional. Configuration to enforce connectors only (ex: AuthProxy)
|
|
803
|
+
# connections to the database.
|
|
804
|
+
# @!attribute [rw] ssl_config
|
|
805
|
+
# @return [::Google::Cloud::AlloyDB::V1alpha::SslConfig]
|
|
806
|
+
# Optional. SSL config option for this instance.
|
|
807
|
+
class ClientConnectionConfig
|
|
808
|
+
include ::Google::Protobuf::MessageExts
|
|
809
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
810
|
+
end
|
|
811
|
+
|
|
812
|
+
# Configuration for setting up a PSC interface. This information needs to be
|
|
813
|
+
# provided by the customer.
|
|
814
|
+
# PSC interfaces will be created and added to VMs via SLM (adding a network
|
|
815
|
+
# interface will require recreating the VM). For HA instances this will be
|
|
816
|
+
# done via LDTM.
|
|
817
|
+
# @!attribute [rw] consumer_endpoint_ips
|
|
818
|
+
# @return [::Array<::String>]
|
|
819
|
+
# A list of endpoints in the consumer VPC the interface might initiate
|
|
820
|
+
# outbound connections to. This list has to be provided when the PSC
|
|
821
|
+
# interface is created.
|
|
822
|
+
# @!attribute [rw] network_attachment
|
|
823
|
+
# @return [::String]
|
|
824
|
+
# The NetworkAttachment resource created in the consumer VPC to which the
|
|
825
|
+
# PSC interface will be linked, in the form of:
|
|
826
|
+
# "projects/$\\{CONSUMER_PROJECT}/regions/$\\{REGION}/networkAttachments/$\\{NETWORK_ATTACHMENT_NAME}".
|
|
827
|
+
# NetworkAttachment has to be provided when the PSC interface is created.
|
|
828
|
+
class PscInterfaceConfig
|
|
829
|
+
include ::Google::Protobuf::MessageExts
|
|
830
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
831
|
+
end
|
|
832
|
+
|
|
833
|
+
# PscInstanceConfig contains PSC related configuration at an
|
|
834
|
+
# instance level.
|
|
835
|
+
# @!attribute [r] service_attachment_link
|
|
836
|
+
# @return [::String]
|
|
837
|
+
# Output only. The service attachment created when Private
|
|
838
|
+
# Service Connect (PSC) is enabled for the instance.
|
|
839
|
+
# The name of the resource will be in the format of
|
|
840
|
+
# projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>
|
|
841
|
+
# @!attribute [rw] allowed_consumer_projects
|
|
842
|
+
# @return [::Array<::String>]
|
|
843
|
+
# Optional. List of consumer projects that are allowed to create
|
|
844
|
+
# PSC endpoints to service-attachments to this instance.
|
|
845
|
+
# @!attribute [rw] allowed_consumer_networks
|
|
846
|
+
# @return [::Array<::String>]
|
|
847
|
+
# Optional. List of consumer networks that are allowed to create
|
|
848
|
+
# PSC endpoints to service-attachments to this instance.
|
|
849
|
+
# @!attribute [rw] psc_interface_configs
|
|
850
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1alpha::Instance::PscInterfaceConfig>]
|
|
851
|
+
# Optional. Configurations for setting up PSC interfaces attached to the
|
|
852
|
+
# instance which are used for outbound connectivity. Only primary instances
|
|
853
|
+
# can have PSC interface attached. All the VMs created for the primary
|
|
854
|
+
# instance will share the same configurations. Currently we only support 0
|
|
855
|
+
# or 1 PSC interface.
|
|
856
|
+
# @!attribute [rw] outgoing_service_attachment_links
|
|
857
|
+
# @return [::Array<::String>]
|
|
858
|
+
# Optional. List of service attachments that this instance has created
|
|
859
|
+
# endpoints to connect with. Currently, only a single outgoing service
|
|
860
|
+
# attachment is supported per instance.
|
|
861
|
+
# @!attribute [rw] psc_enabled
|
|
862
|
+
# @return [::Boolean]
|
|
863
|
+
# Optional. Whether PSC connectivity is enabled for this instance.
|
|
864
|
+
# This is populated by referencing the value from the parent cluster.
|
|
865
|
+
class PscInstanceConfig
|
|
866
|
+
include ::Google::Protobuf::MessageExts
|
|
867
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
868
|
+
end
|
|
869
|
+
|
|
870
|
+
# Metadata related to instance level network configuration.
|
|
871
|
+
# @!attribute [rw] authorized_external_networks
|
|
872
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1alpha::Instance::InstanceNetworkConfig::AuthorizedNetwork>]
|
|
873
|
+
# Optional. A list of external network authorized to access this instance.
|
|
874
|
+
# @!attribute [rw] enable_public_ip
|
|
875
|
+
# @return [::Boolean]
|
|
876
|
+
# Optional. Enabling public ip for the instance.
|
|
877
|
+
class InstanceNetworkConfig
|
|
878
|
+
include ::Google::Protobuf::MessageExts
|
|
879
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
880
|
+
|
|
881
|
+
# AuthorizedNetwork contains metadata for an authorized network.
|
|
882
|
+
# @!attribute [rw] cidr_range
|
|
883
|
+
# @return [::String]
|
|
884
|
+
# CIDR range for one authorzied network of the instance.
|
|
885
|
+
class AuthorizedNetwork
|
|
886
|
+
include ::Google::Protobuf::MessageExts
|
|
887
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
888
|
+
end
|
|
889
|
+
end
|
|
890
|
+
|
|
769
891
|
# @!attribute [rw] key
|
|
770
892
|
# @return [::String]
|
|
771
893
|
# @!attribute [rw] value
|
|
@@ -876,8 +998,14 @@ module Google
|
|
|
876
998
|
# This field currently has no semantic meaning.
|
|
877
999
|
# @!attribute [r] ip_address
|
|
878
1000
|
# @return [::String]
|
|
879
|
-
# Output only. The IP address for the Instance.
|
|
880
|
-
#
|
|
1001
|
+
# Output only. The private network IP address for the Instance. This is the
|
|
1002
|
+
# default IP for the instance and is always created (even if enable_public_ip
|
|
1003
|
+
# is set). This is the connection endpoint for an end-user application.
|
|
1004
|
+
# @!attribute [r] public_ip_address
|
|
1005
|
+
# @return [::String]
|
|
1006
|
+
# Output only. The public IP addresses for the Instance. This is available
|
|
1007
|
+
# ONLY when enable_public_ip is set. This is the connection endpoint for an
|
|
1008
|
+
# end-user application.
|
|
881
1009
|
# @!attribute [r] pem_certificate_chain
|
|
882
1010
|
# @return [::Array<::String>]
|
|
883
1011
|
# Output only. The pem-encoded chain that may be used to verify the X.509
|
|
@@ -974,9 +1102,17 @@ module Google
|
|
|
974
1102
|
# Output only. The QuantityBasedExpiry of the backup, specified by the
|
|
975
1103
|
# backup's retention policy. Once the expiry quantity is over retention, the
|
|
976
1104
|
# backup is eligible to be garbage collected.
|
|
977
|
-
# @!attribute [
|
|
1105
|
+
# @!attribute [r] satisfies_pzi
|
|
1106
|
+
# @return [::Boolean]
|
|
1107
|
+
# Output only. Reserved for future use.
|
|
1108
|
+
# @!attribute [r] satisfies_pzs
|
|
978
1109
|
# @return [::Boolean]
|
|
979
|
-
# Reserved for future use.
|
|
1110
|
+
# Output only. Reserved for future use.
|
|
1111
|
+
# @!attribute [r] database_version
|
|
1112
|
+
# @return [::Google::Cloud::AlloyDB::V1alpha::DatabaseVersion]
|
|
1113
|
+
# Output only. The database engine major version of the cluster this backup
|
|
1114
|
+
# was created from. Any restored cluster created from this backup will have
|
|
1115
|
+
# the same database version.
|
|
980
1116
|
class Backup
|
|
981
1117
|
include ::Google::Protobuf::MessageExts
|
|
982
1118
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1177,6 +1313,26 @@ module Google
|
|
|
1177
1313
|
end
|
|
1178
1314
|
end
|
|
1179
1315
|
|
|
1316
|
+
# Message describing Database object.
|
|
1317
|
+
# @!attribute [rw] name
|
|
1318
|
+
# @return [::String]
|
|
1319
|
+
# Identifier. Name of the resource in the form of
|
|
1320
|
+
# projects/\\{project}/locations/\\{location}/clusters/\\{cluster}/databases/\\{database}.
|
|
1321
|
+
# @!attribute [rw] charset
|
|
1322
|
+
# @return [::String]
|
|
1323
|
+
# Optional. Charset for the database.
|
|
1324
|
+
# This field can contain any PostgreSQL supported charset name.
|
|
1325
|
+
# Example values include "UTF8", "SQL_ASCII", etc.
|
|
1326
|
+
# @!attribute [rw] collation
|
|
1327
|
+
# @return [::String]
|
|
1328
|
+
# Optional. Collation for the database.
|
|
1329
|
+
# Name of the custom or native collation for postgres.
|
|
1330
|
+
# Example values include "C", "POSIX", etc
|
|
1331
|
+
class Database
|
|
1332
|
+
include ::Google::Protobuf::MessageExts
|
|
1333
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1334
|
+
end
|
|
1335
|
+
|
|
1180
1336
|
# View on Instance. Pass this enum to rpcs that returns an Instance message to
|
|
1181
1337
|
# control which subsets of fields to get.
|
|
1182
1338
|
module InstanceView
|
|
@@ -1220,6 +1376,9 @@ module Google
|
|
|
1220
1376
|
|
|
1221
1377
|
# The database version is Postgres 14.
|
|
1222
1378
|
POSTGRES_14 = 2
|
|
1379
|
+
|
|
1380
|
+
# The database version is Postgres 15.
|
|
1381
|
+
POSTGRES_15 = 3
|
|
1223
1382
|
end
|
|
1224
1383
|
end
|
|
1225
1384
|
end
|
|
@@ -957,7 +957,8 @@ module Google
|
|
|
957
957
|
# not supported (00000000-0000-0000-0000-000000000000).
|
|
958
958
|
# @!attribute [rw] pem_csr
|
|
959
959
|
# @return [::String]
|
|
960
|
-
# Optional. A pem-encoded X.509 certificate signing request (CSR).
|
|
960
|
+
# Optional. A pem-encoded X.509 certificate signing request (CSR). It is
|
|
961
|
+
# recommended to use public_key instead.
|
|
961
962
|
# @!attribute [rw] cert_duration
|
|
962
963
|
# @return [::Google::Protobuf::Duration]
|
|
963
964
|
# Optional. An optional hint to the endpoint to generate the client
|
|
@@ -1200,6 +1201,43 @@ module Google
|
|
|
1200
1201
|
include ::Google::Protobuf::MessageExts
|
|
1201
1202
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1202
1203
|
end
|
|
1204
|
+
|
|
1205
|
+
# Message for requesting list of Databases.
|
|
1206
|
+
# @!attribute [rw] parent
|
|
1207
|
+
# @return [::String]
|
|
1208
|
+
# Required. Parent value for ListDatabasesRequest.
|
|
1209
|
+
# @!attribute [rw] page_size
|
|
1210
|
+
# @return [::Integer]
|
|
1211
|
+
# Optional. The maximum number of databases to return. The service may return
|
|
1212
|
+
# fewer than this value. If unspecified, an appropriate number of databases
|
|
1213
|
+
# will be returned. The max value will be 2000, values above max will be
|
|
1214
|
+
# coerced to max.
|
|
1215
|
+
# @!attribute [rw] page_token
|
|
1216
|
+
# @return [::String]
|
|
1217
|
+
# Optional. A page token, received from a previous `ListDatabases` call.
|
|
1218
|
+
# This should be provided to retrieve the subsequent page.
|
|
1219
|
+
# This field is currently not supported, its value will be ignored if passed.
|
|
1220
|
+
# @!attribute [rw] filter
|
|
1221
|
+
# @return [::String]
|
|
1222
|
+
# Optional. Filtering results.
|
|
1223
|
+
# This field is currently not supported, its value will be ignored if passed.
|
|
1224
|
+
class ListDatabasesRequest
|
|
1225
|
+
include ::Google::Protobuf::MessageExts
|
|
1226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1227
|
+
end
|
|
1228
|
+
|
|
1229
|
+
# Message for response to listing Databases.
|
|
1230
|
+
# @!attribute [rw] databases
|
|
1231
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1alpha::Database>]
|
|
1232
|
+
# The list of databases
|
|
1233
|
+
# @!attribute [rw] next_page_token
|
|
1234
|
+
# @return [::String]
|
|
1235
|
+
# A token identifying the next page of results the server should return.
|
|
1236
|
+
# If this field is omitted, there are no subsequent pages.
|
|
1237
|
+
class ListDatabasesResponse
|
|
1238
|
+
include ::Google::Protobuf::MessageExts
|
|
1239
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1240
|
+
end
|
|
1203
1241
|
end
|
|
1204
1242
|
end
|
|
1205
1243
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-alloy_db-v1alpha
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.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:
|
|
11
|
+
date: 2024-01-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -231,6 +231,7 @@ files:
|
|
|
231
231
|
- proto_docs/README.md
|
|
232
232
|
- proto_docs/google/api/client.rb
|
|
233
233
|
- proto_docs/google/api/field_behavior.rb
|
|
234
|
+
- proto_docs/google/api/field_info.rb
|
|
234
235
|
- proto_docs/google/api/launch_stage.rb
|
|
235
236
|
- proto_docs/google/api/resource.rb
|
|
236
237
|
- proto_docs/google/cloud/alloydb/v1alpha/resources.rb
|
|
@@ -265,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
265
266
|
- !ruby/object:Gem::Version
|
|
266
267
|
version: '0'
|
|
267
268
|
requirements: []
|
|
268
|
-
rubygems_version: 3.
|
|
269
|
+
rubygems_version: 3.5.3
|
|
269
270
|
signing_key:
|
|
270
271
|
specification_version: 4
|
|
271
272
|
summary: AlloyDB for PostgreSQL is an open source-compatible database service that
|