google-cloud-alloy_db-v1beta 0.12.0 → 0.14.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/README.md +1 -1
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/client.rb +118 -0
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/rest/client.rb +127 -8
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/rest/service_stub.rb +62 -0
- data/lib/google/cloud/alloy_db/v1beta/version.rb +1 -1
- data/lib/google/cloud/alloydb/v1beta/resources_pb.rb +1 -1
- data/lib/google/cloud/alloydb/v1beta/service_pb.rb +6 -1
- data/lib/google/cloud/alloydb/v1beta/service_services_pb.rb +3 -0
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/cloud/alloydb/v1beta/resources.rb +17 -14
- data/proto_docs/google/cloud/alloydb/v1beta/service.rb +97 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3e6152f477e66754acf0a740dec1ddb1ad130b8efdd70b341e3cc5ae89a52dc
|
4
|
+
data.tar.gz: 8e062b5fe48d9c2f2b0dbd14fa2d5a7a3fdde50121faaf4d1aaa1ae1bd93e5ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53b07871f752e9cdd41c974e1bed5be05ebcafd5f301da3c0533093462cfae50e719e3b37a0b05c1869205730536f4cb50159ff2371d597189e74c1f6a1d2bef
|
7
|
+
data.tar.gz: 9fecab47f7e83d5850072b7c29a3fb20d9526f2d9622b6cb160a0035e87b818b58ef8dcfdce2e79351379f379da95c490b35ed98b1306ba1ff75045168337036
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the AlloyDB V1BETA API
|
2
2
|
|
3
|
-
AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance.
|
3
|
+
AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized for the most demanding use cases, allowing you to build new applications that require high transaction throughput, large database sizes, or multiple read resources; scale existing PostgreSQL workloads with no application changes; and modernize legacy proprietary databases.
|
4
4
|
|
5
5
|
AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized for the most demanding use cases, allowing you to build new applications that require high transaction throughput, large database sizes, or multiple read resources; scale existing PostgreSQL workloads with no application changes; and modernize legacy proprietary databases.
|
6
6
|
|
@@ -721,6 +721,117 @@ module Google
|
|
721
721
|
raise ::Google::Cloud::Error.from_error(e)
|
722
722
|
end
|
723
723
|
|
724
|
+
##
|
725
|
+
# Exports data from the cluster.
|
726
|
+
# Imperative only.
|
727
|
+
#
|
728
|
+
# @overload export_cluster(request, options = nil)
|
729
|
+
# Pass arguments to `export_cluster` via a request object, either of type
|
730
|
+
# {::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest} or an equivalent Hash.
|
731
|
+
#
|
732
|
+
# @param request [::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest, ::Hash]
|
733
|
+
# A request object representing the call parameters. Required. To specify no
|
734
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
735
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
736
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
737
|
+
#
|
738
|
+
# @overload export_cluster(gcs_destination: nil, csv_export_options: nil, sql_export_options: nil, name: nil, database: nil)
|
739
|
+
# Pass arguments to `export_cluster` via keyword arguments. Note that at
|
740
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
741
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
742
|
+
#
|
743
|
+
# @param gcs_destination [::Google::Cloud::AlloyDB::V1beta::GcsDestination, ::Hash]
|
744
|
+
# Required. Option to export data to cloud storage.
|
745
|
+
# @param csv_export_options [::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest::CsvExportOptions, ::Hash]
|
746
|
+
# Options for exporting data in CSV format. Required field to be set for
|
747
|
+
# CSV file type.
|
748
|
+
#
|
749
|
+
# Note: The following fields are mutually exclusive: `csv_export_options`, `sql_export_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
750
|
+
# @param sql_export_options [::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest::SqlExportOptions, ::Hash]
|
751
|
+
# Options for exporting data in SQL format. Required field to be set for
|
752
|
+
# SQL file type.
|
753
|
+
#
|
754
|
+
# Note: The following fields are mutually exclusive: `sql_export_options`, `csv_export_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
755
|
+
# @param name [::String]
|
756
|
+
# Required. The resource name of the cluster.
|
757
|
+
# @param database [::String]
|
758
|
+
# Required. Name of the database where the export command will be executed.
|
759
|
+
# Note - Value provided should be the same as expected from
|
760
|
+
# `SELECT current_database();` and NOT as a resource reference.
|
761
|
+
#
|
762
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
763
|
+
# @yieldparam response [::Gapic::Operation]
|
764
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
765
|
+
#
|
766
|
+
# @return [::Gapic::Operation]
|
767
|
+
#
|
768
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
769
|
+
#
|
770
|
+
# @example Basic example
|
771
|
+
# require "google/cloud/alloy_db/v1beta"
|
772
|
+
#
|
773
|
+
# # Create a client object. The client can be reused for multiple calls.
|
774
|
+
# client = Google::Cloud::AlloyDB::V1beta::AlloyDBAdmin::Client.new
|
775
|
+
#
|
776
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
777
|
+
# request = Google::Cloud::AlloyDB::V1beta::ExportClusterRequest.new
|
778
|
+
#
|
779
|
+
# # Call the export_cluster method.
|
780
|
+
# result = client.export_cluster request
|
781
|
+
#
|
782
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
783
|
+
# # check the status of an operation, cancel it, or wait for results.
|
784
|
+
# # Here is how to wait for a response.
|
785
|
+
# result.wait_until_done! timeout: 60
|
786
|
+
# if result.response?
|
787
|
+
# p result.response
|
788
|
+
# else
|
789
|
+
# puts "No response received."
|
790
|
+
# end
|
791
|
+
#
|
792
|
+
def export_cluster request, options = nil
|
793
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
794
|
+
|
795
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest
|
796
|
+
|
797
|
+
# Converts hash and nil to an options object
|
798
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
799
|
+
|
800
|
+
# Customize the options with defaults
|
801
|
+
metadata = @config.rpcs.export_cluster.metadata.to_h
|
802
|
+
|
803
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
804
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
805
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
806
|
+
gapic_version: ::Google::Cloud::AlloyDB::V1beta::VERSION
|
807
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
808
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
809
|
+
|
810
|
+
header_params = {}
|
811
|
+
if request.name
|
812
|
+
header_params["name"] = request.name
|
813
|
+
end
|
814
|
+
|
815
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
816
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
817
|
+
|
818
|
+
options.apply_defaults timeout: @config.rpcs.export_cluster.timeout,
|
819
|
+
metadata: metadata,
|
820
|
+
retry_policy: @config.rpcs.export_cluster.retry_policy
|
821
|
+
|
822
|
+
options.apply_defaults timeout: @config.timeout,
|
823
|
+
metadata: @config.metadata,
|
824
|
+
retry_policy: @config.retry_policy
|
825
|
+
|
826
|
+
@alloy_db_admin_stub.call_rpc :export_cluster, request, options: options do |response, operation|
|
827
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
828
|
+
yield response, operation if block_given?
|
829
|
+
throw :response, response
|
830
|
+
end
|
831
|
+
rescue ::GRPC::BadStatus => e
|
832
|
+
raise ::Google::Cloud::Error.from_error(e)
|
833
|
+
end
|
834
|
+
|
724
835
|
##
|
725
836
|
# Upgrades a single Cluster.
|
726
837
|
# Imperative only.
|
@@ -4323,6 +4434,11 @@ module Google
|
|
4323
4434
|
#
|
4324
4435
|
attr_reader :update_cluster
|
4325
4436
|
##
|
4437
|
+
# RPC-specific configuration for `export_cluster`
|
4438
|
+
# @return [::Gapic::Config::Method]
|
4439
|
+
#
|
4440
|
+
attr_reader :export_cluster
|
4441
|
+
##
|
4326
4442
|
# RPC-specific configuration for `upgrade_cluster`
|
4327
4443
|
# @return [::Gapic::Config::Method]
|
4328
4444
|
#
|
@@ -4488,6 +4604,8 @@ module Google
|
|
4488
4604
|
@create_cluster = ::Gapic::Config::Method.new create_cluster_config
|
4489
4605
|
update_cluster_config = parent_rpcs.update_cluster if parent_rpcs.respond_to? :update_cluster
|
4490
4606
|
@update_cluster = ::Gapic::Config::Method.new update_cluster_config
|
4607
|
+
export_cluster_config = parent_rpcs.export_cluster if parent_rpcs.respond_to? :export_cluster
|
4608
|
+
@export_cluster = ::Gapic::Config::Method.new export_cluster_config
|
4491
4609
|
upgrade_cluster_config = parent_rpcs.upgrade_cluster if parent_rpcs.respond_to? :upgrade_cluster
|
4492
4610
|
@upgrade_cluster = ::Gapic::Config::Method.new upgrade_cluster_config
|
4493
4611
|
delete_cluster_config = parent_rpcs.delete_cluster if parent_rpcs.respond_to? :delete_cluster
|
@@ -318,10 +318,10 @@ module Google
|
|
318
318
|
# @param order_by [::String]
|
319
319
|
# Optional. Hint for how to order the results
|
320
320
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
321
|
-
# @yieldparam result [::Google::Cloud::AlloyDB::V1beta::
|
321
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::Cluster>]
|
322
322
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
323
323
|
#
|
324
|
-
# @return [::Google::Cloud::AlloyDB::V1beta::
|
324
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::Cluster>]
|
325
325
|
#
|
326
326
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
327
327
|
#
|
@@ -373,7 +373,9 @@ module Google
|
|
373
373
|
retry_policy: @config.retry_policy
|
374
374
|
|
375
375
|
@alloy_db_admin_stub.list_clusters request, options do |result, operation|
|
376
|
+
result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_clusters, "clusters", request, result, options
|
376
377
|
yield result, operation if block_given?
|
378
|
+
throw :response, result
|
377
379
|
end
|
378
380
|
rescue ::Gapic::Rest::Error => e
|
379
381
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -685,6 +687,110 @@ module Google
|
|
685
687
|
raise ::Google::Cloud::Error.from_error(e)
|
686
688
|
end
|
687
689
|
|
690
|
+
##
|
691
|
+
# Exports data from the cluster.
|
692
|
+
# Imperative only.
|
693
|
+
#
|
694
|
+
# @overload export_cluster(request, options = nil)
|
695
|
+
# Pass arguments to `export_cluster` via a request object, either of type
|
696
|
+
# {::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest} or an equivalent Hash.
|
697
|
+
#
|
698
|
+
# @param request [::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest, ::Hash]
|
699
|
+
# A request object representing the call parameters. Required. To specify no
|
700
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
701
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
702
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
703
|
+
#
|
704
|
+
# @overload export_cluster(gcs_destination: nil, csv_export_options: nil, sql_export_options: nil, name: nil, database: nil)
|
705
|
+
# Pass arguments to `export_cluster` via keyword arguments. Note that at
|
706
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
707
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
708
|
+
#
|
709
|
+
# @param gcs_destination [::Google::Cloud::AlloyDB::V1beta::GcsDestination, ::Hash]
|
710
|
+
# Required. Option to export data to cloud storage.
|
711
|
+
# @param csv_export_options [::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest::CsvExportOptions, ::Hash]
|
712
|
+
# Options for exporting data in CSV format. Required field to be set for
|
713
|
+
# CSV file type.
|
714
|
+
#
|
715
|
+
# Note: The following fields are mutually exclusive: `csv_export_options`, `sql_export_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
716
|
+
# @param sql_export_options [::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest::SqlExportOptions, ::Hash]
|
717
|
+
# Options for exporting data in SQL format. Required field to be set for
|
718
|
+
# SQL file type.
|
719
|
+
#
|
720
|
+
# Note: The following fields are mutually exclusive: `sql_export_options`, `csv_export_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
721
|
+
# @param name [::String]
|
722
|
+
# Required. The resource name of the cluster.
|
723
|
+
# @param database [::String]
|
724
|
+
# Required. Name of the database where the export command will be executed.
|
725
|
+
# Note - Value provided should be the same as expected from
|
726
|
+
# `SELECT current_database();` and NOT as a resource reference.
|
727
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
728
|
+
# @yieldparam result [::Gapic::Operation]
|
729
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
730
|
+
#
|
731
|
+
# @return [::Gapic::Operation]
|
732
|
+
#
|
733
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
734
|
+
#
|
735
|
+
# @example Basic example
|
736
|
+
# require "google/cloud/alloy_db/v1beta"
|
737
|
+
#
|
738
|
+
# # Create a client object. The client can be reused for multiple calls.
|
739
|
+
# client = Google::Cloud::AlloyDB::V1beta::AlloyDBAdmin::Rest::Client.new
|
740
|
+
#
|
741
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
742
|
+
# request = Google::Cloud::AlloyDB::V1beta::ExportClusterRequest.new
|
743
|
+
#
|
744
|
+
# # Call the export_cluster method.
|
745
|
+
# result = client.export_cluster request
|
746
|
+
#
|
747
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
748
|
+
# # check the status of an operation, cancel it, or wait for results.
|
749
|
+
# # Here is how to wait for a response.
|
750
|
+
# result.wait_until_done! timeout: 60
|
751
|
+
# if result.response?
|
752
|
+
# p result.response
|
753
|
+
# else
|
754
|
+
# puts "No response received."
|
755
|
+
# end
|
756
|
+
#
|
757
|
+
def export_cluster request, options = nil
|
758
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
759
|
+
|
760
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest
|
761
|
+
|
762
|
+
# Converts hash and nil to an options object
|
763
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
764
|
+
|
765
|
+
# Customize the options with defaults
|
766
|
+
call_metadata = @config.rpcs.export_cluster.metadata.to_h
|
767
|
+
|
768
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
769
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
770
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
771
|
+
gapic_version: ::Google::Cloud::AlloyDB::V1beta::VERSION,
|
772
|
+
transports_version_send: [:rest]
|
773
|
+
|
774
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
775
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
776
|
+
|
777
|
+
options.apply_defaults timeout: @config.rpcs.export_cluster.timeout,
|
778
|
+
metadata: call_metadata,
|
779
|
+
retry_policy: @config.rpcs.export_cluster.retry_policy
|
780
|
+
|
781
|
+
options.apply_defaults timeout: @config.timeout,
|
782
|
+
metadata: @config.metadata,
|
783
|
+
retry_policy: @config.retry_policy
|
784
|
+
|
785
|
+
@alloy_db_admin_stub.export_cluster request, options do |result, operation|
|
786
|
+
result = ::Gapic::Operation.new result, @operations_client, options: options
|
787
|
+
yield result, operation if block_given?
|
788
|
+
throw :response, result
|
789
|
+
end
|
790
|
+
rescue ::Gapic::Rest::Error => e
|
791
|
+
raise ::Google::Cloud::Error.from_error(e)
|
792
|
+
end
|
793
|
+
|
688
794
|
##
|
689
795
|
# Upgrades a single Cluster.
|
690
796
|
# Imperative only.
|
@@ -1397,10 +1503,10 @@ module Google
|
|
1397
1503
|
# @param order_by [::String]
|
1398
1504
|
# Optional. Hint for how to order the results
|
1399
1505
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1400
|
-
# @yieldparam result [::Google::Cloud::AlloyDB::V1beta::
|
1506
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::Instance>]
|
1401
1507
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1402
1508
|
#
|
1403
|
-
# @return [::Google::Cloud::AlloyDB::V1beta::
|
1509
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::Instance>]
|
1404
1510
|
#
|
1405
1511
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1406
1512
|
#
|
@@ -1452,7 +1558,9 @@ module Google
|
|
1452
1558
|
retry_policy: @config.retry_policy
|
1453
1559
|
|
1454
1560
|
@alloy_db_admin_stub.list_instances request, options do |result, operation|
|
1561
|
+
result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_instances, "instances", request, result, options
|
1455
1562
|
yield result, operation if block_given?
|
1563
|
+
throw :response, result
|
1456
1564
|
end
|
1457
1565
|
rescue ::Gapic::Rest::Error => e
|
1458
1566
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2544,10 +2652,10 @@ module Google
|
|
2544
2652
|
# @param order_by [::String]
|
2545
2653
|
# Hint for how to order the results
|
2546
2654
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
2547
|
-
# @yieldparam result [::Google::Cloud::AlloyDB::V1beta::
|
2655
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::Backup>]
|
2548
2656
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2549
2657
|
#
|
2550
|
-
# @return [::Google::Cloud::AlloyDB::V1beta::
|
2658
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::Backup>]
|
2551
2659
|
#
|
2552
2660
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2553
2661
|
#
|
@@ -2599,7 +2707,9 @@ module Google
|
|
2599
2707
|
retry_policy: @config.retry_policy
|
2600
2708
|
|
2601
2709
|
@alloy_db_admin_stub.list_backups request, options do |result, operation|
|
2710
|
+
result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_backups, "backups", request, result, options
|
2602
2711
|
yield result, operation if block_given?
|
2712
|
+
throw :response, result
|
2603
2713
|
end
|
2604
2714
|
rescue ::Gapic::Rest::Error => e
|
2605
2715
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -3343,10 +3453,10 @@ module Google
|
|
3343
3453
|
# @param order_by [::String]
|
3344
3454
|
# Optional. Hint for how to order the results
|
3345
3455
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
3346
|
-
# @yieldparam result [::Google::Cloud::AlloyDB::V1beta::
|
3456
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::User>]
|
3347
3457
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
3348
3458
|
#
|
3349
|
-
# @return [::Google::Cloud::AlloyDB::V1beta::
|
3459
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::User>]
|
3350
3460
|
#
|
3351
3461
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
3352
3462
|
#
|
@@ -3398,7 +3508,9 @@ module Google
|
|
3398
3508
|
retry_policy: @config.retry_policy
|
3399
3509
|
|
3400
3510
|
@alloy_db_admin_stub.list_users request, options do |result, operation|
|
3511
|
+
result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_users, "users", request, result, options
|
3401
3512
|
yield result, operation if block_given?
|
3513
|
+
throw :response, result
|
3402
3514
|
end
|
3403
3515
|
rescue ::Gapic::Rest::Error => e
|
3404
3516
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -4051,6 +4163,11 @@ module Google
|
|
4051
4163
|
#
|
4052
4164
|
attr_reader :update_cluster
|
4053
4165
|
##
|
4166
|
+
# RPC-specific configuration for `export_cluster`
|
4167
|
+
# @return [::Gapic::Config::Method]
|
4168
|
+
#
|
4169
|
+
attr_reader :export_cluster
|
4170
|
+
##
|
4054
4171
|
# RPC-specific configuration for `upgrade_cluster`
|
4055
4172
|
# @return [::Gapic::Config::Method]
|
4056
4173
|
#
|
@@ -4216,6 +4333,8 @@ module Google
|
|
4216
4333
|
@create_cluster = ::Gapic::Config::Method.new create_cluster_config
|
4217
4334
|
update_cluster_config = parent_rpcs.update_cluster if parent_rpcs.respond_to? :update_cluster
|
4218
4335
|
@update_cluster = ::Gapic::Config::Method.new update_cluster_config
|
4336
|
+
export_cluster_config = parent_rpcs.export_cluster if parent_rpcs.respond_to? :export_cluster
|
4337
|
+
@export_cluster = ::Gapic::Config::Method.new export_cluster_config
|
4219
4338
|
upgrade_cluster_config = parent_rpcs.upgrade_cluster if parent_rpcs.respond_to? :upgrade_cluster
|
4220
4339
|
@upgrade_cluster = ::Gapic::Config::Method.new upgrade_cluster_config
|
4221
4340
|
delete_cluster_config = parent_rpcs.delete_cluster if parent_rpcs.respond_to? :delete_cluster
|
@@ -233,6 +233,46 @@ module Google
|
|
233
233
|
end
|
234
234
|
end
|
235
235
|
|
236
|
+
##
|
237
|
+
# Baseline implementation for the export_cluster REST call
|
238
|
+
#
|
239
|
+
# @param request_pb [::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest]
|
240
|
+
# A request object representing the call parameters. Required.
|
241
|
+
# @param options [::Gapic::CallOptions]
|
242
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
243
|
+
#
|
244
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
245
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
246
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
247
|
+
#
|
248
|
+
# @return [::Google::Longrunning::Operation]
|
249
|
+
# A result object deserialized from the server's reply
|
250
|
+
def export_cluster request_pb, options = nil
|
251
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
252
|
+
|
253
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_export_cluster_request request_pb
|
254
|
+
query_string_params = if query_string_params.any?
|
255
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
256
|
+
else
|
257
|
+
{}
|
258
|
+
end
|
259
|
+
|
260
|
+
response = @client_stub.make_http_request(
|
261
|
+
verb,
|
262
|
+
uri: uri,
|
263
|
+
body: body || "",
|
264
|
+
params: query_string_params,
|
265
|
+
method_name: "export_cluster",
|
266
|
+
options: options
|
267
|
+
)
|
268
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
269
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
270
|
+
catch :response do
|
271
|
+
yield result, operation if block_given?
|
272
|
+
result
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
236
276
|
##
|
237
277
|
# Baseline implementation for the upgrade_cluster REST call
|
238
278
|
#
|
@@ -1559,6 +1599,28 @@ module Google
|
|
1559
1599
|
transcoder.transcode request_pb
|
1560
1600
|
end
|
1561
1601
|
|
1602
|
+
##
|
1603
|
+
# @private
|
1604
|
+
#
|
1605
|
+
# GRPC transcoding helper method for the export_cluster REST call
|
1606
|
+
#
|
1607
|
+
# @param request_pb [::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest]
|
1608
|
+
# A request object representing the call parameters. Required.
|
1609
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1610
|
+
# Uri, Body, Query string parameters
|
1611
|
+
def self.transcode_export_cluster_request request_pb
|
1612
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1613
|
+
.with_bindings(
|
1614
|
+
uri_method: :post,
|
1615
|
+
uri_template: "/v1beta/{name}:export",
|
1616
|
+
body: "*",
|
1617
|
+
matches: [
|
1618
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/?$}, false]
|
1619
|
+
]
|
1620
|
+
)
|
1621
|
+
transcoder.transcode request_pb
|
1622
|
+
end
|
1623
|
+
|
1562
1624
|
##
|
1563
1625
|
# @private
|
1564
1626
|
#
|
@@ -16,7 +16,7 @@ require 'google/type/dayofweek_pb'
|
|
16
16
|
require 'google/type/timeofday_pb'
|
17
17
|
|
18
18
|
|
19
|
-
descriptor_data = "\n+google/cloud/alloydb/v1beta/resources.proto\x12\x1bgoogle.cloud.alloydb.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/alloydb/v1beta/csql_resources.proto\x1a(google/cloud/alloydb/v1beta/gemini.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\".\n\x0cUserPassword\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\"\xe7\x01\n\x0fMigrationSource\x12\x16\n\thost_port\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0creference_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12Z\n\x0bsource_type\x18\x03 \x01(\x0e\x32@.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceTypeB\x03\xe0\x41\x03\"E\n\x13MigrationSourceType\x12%\n!MIGRATION_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x44MS\x10\x01\"(\n\x10\x45ncryptionConfig\x12\x14\n\x0ckms_key_name\x18\x01 \x01(\t\"\x8a\x02\n\x0e\x45ncryptionInfo\x12N\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32\x30.google.cloud.alloydb.v1beta.EncryptionInfo.TypeB\x03\xe0\x41\x03\x12J\n\x10kms_key_versions\x18\x02 \x03(\tB0\xe0\x41\x03\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\"\\\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19GOOGLE_DEFAULT_ENCRYPTION\x10\x01\x12\x1f\n\x1b\x43USTOMER_MANAGED_ENCRYPTION\x10\x02\"\x86\x03\n\tSslConfig\x12\x45\n\x08ssl_mode\x18\x01 \x01(\x0e\x32..google.cloud.alloydb.v1beta.SslConfig.SslModeB\x03\xe0\x41\x01\x12G\n\tca_source\x18\x02 \x01(\x0e\x32/.google.cloud.alloydb.v1beta.SslConfig.CaSourceB\x03\xe0\x41\x01\"\xaa\x01\n\x07SslMode\x12\x18\n\x14SSL_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x0eSSL_MODE_ALLOW\x10\x01\x1a\x02\x08\x01\x12\x18\n\x10SSL_MODE_REQUIRE\x10\x02\x1a\x02\x08\x01\x12\x1a\n\x12SSL_MODE_VERIFY_CA\x10\x03\x1a\x02\x08\x01\x12#\n\x1f\x41LLOW_UNENCRYPTED_AND_ENCRYPTED\x10\x04\x12\x12\n\x0e\x45NCRYPTED_ONLY\x10\x05\"<\n\x08\x43\x61Source\x12\x19\n\x15\x43\x41_SOURCE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43\x41_SOURCE_MANAGED\x10\x01\"\xf9\x06\n\x15\x41utomatedBackupPolicy\x12\\\n\x0fweekly_schedule\x18\x02 \x01(\x0b\x32\x41.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleH\x00\x12\x65\n\x14time_based_retention\x18\x04 \x01(\x0b\x32\x45.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionH\x01\x12m\n\x18quantity_based_retention\x18\x05 \x01(\x0b\x32I.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionH\x01\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x02\x88\x01\x01\x12\x30\n\rbackup_window\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12M\n\x11\x65ncryption_config\x18\x08 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12\x10\n\x08location\x18\x06 \x01(\t\x12N\n\x06labels\x18\x07 \x03(\x0b\x32>.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.LabelsEntry\x1ak\n\x0eWeeklySchedule\x12+\n\x0bstart_times\x18\x01 \x03(\x0b\x32\x16.google.type.TimeOfDay\x12,\n\x0c\x64\x61ys_of_week\x18\x02 \x03(\x0e\x32\x16.google.type.DayOfWeek\x1aI\n\x12TimeBasedRetention\x12\x33\n\x10retention_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\'\n\x16QuantityBasedRetention\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08scheduleB\x0b\n\tretentionB\n\n\x08_enabled\"\xa2\x01\n\x16\x43ontinuousBackupConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1c\n\x14recovery_window_days\x18\x04 \x01(\x05\x12H\n\x11\x65ncryption_config\x18\x03 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\n\n\x08_enabled\"\x8a\x02\n\x14\x43ontinuousBackupInfo\x12I\n\x0f\x65ncryption_info\x18\x01 \x01(\x0b\x32+.google.cloud.alloydb.v1beta.EncryptionInfoB\x03\xe0\x41\x03\x12\x35\n\x0c\x65nabled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12-\n\x08schedule\x18\x03 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x03\x12\x41\n\x18\x65\x61rliest_restorable_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"c\n\x0c\x42\x61\x63kupSource\x12\x17\n\nbackup_uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12:\n\x0b\x62\x61\x63kup_name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\"f\n\x16\x43ontinuousBackupSource\x12\x14\n\x07\x63luster\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\rpoint_in_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\xe4\x01\n\x17MaintenanceUpdatePolicy\x12\x63\n\x13maintenance_windows\x18\x01 \x03(\x0b\x32\x46.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow\x1a\x64\n\x11MaintenanceWindow\x12#\n\x03\x64\x61y\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeek\x12*\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDay\"J\n\x13MaintenanceSchedule\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\xdd\x19\n\x07\x43luster\x12G\n\rbackup_source\x18\x0f \x01(\x0b\x32).google.cloud.alloydb.v1beta.BackupSourceB\x03\xe0\x41\x03H\x00\x12M\n\x10migration_source\x18\x10 \x01(\x0b\x32,.google.cloud.alloydb.v1beta.MigrationSourceB\x03\xe0\x41\x03H\x00\x12_\n\x1a\x63loudsql_backup_run_source\x18* \x01(\x0b\x32\x34.google.cloud.alloydb.v1beta.CloudSQLBackupRunSourceB\x03\xe0\x41\x03H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x06labels\x18\x07 \x03(\x0b\x32\x30.google.cloud.alloydb.v1beta.Cluster.LabelsEntry\x12>\n\x05state\x18\x08 \x01(\x0e\x32*.google.cloud.alloydb.v1beta.Cluster.StateB\x03\xe0\x41\x03\x12K\n\x0c\x63luster_type\x18\x18 \x01(\x0e\x32\x30.google.cloud.alloydb.v1beta.Cluster.ClusterTypeB\x03\xe0\x41\x03\x12K\n\x10\x64\x61tabase_version\x18\t \x01(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersionB\x03\xe0\x41\x01\x12O\n\x0enetwork_config\x18\x1d \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.Cluster.NetworkConfigB\x03\xe0\x41\x01\x12\x39\n\x07network\x18\n \x01(\tB(\x18\x01\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t\x12J\n\x0b\x61nnotations\x18\x0c \x03(\x0b\x32\x35.google.cloud.alloydb.v1beta.Cluster.AnnotationsEntry\x12\x18\n\x0breconciling\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x12\x44\n\x0cinitial_user\x18\x0e \x01(\x0b\x32).google.cloud.alloydb.v1beta.UserPasswordB\x03\xe0\x41\x04\x12S\n\x17\x61utomated_backup_policy\x18\x11 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.AutomatedBackupPolicy\x12>\n\nssl_config\x18\x12 \x01(\x0b\x32&.google.cloud.alloydb.v1beta.SslConfigB\x02\x18\x01\x12M\n\x11\x65ncryption_config\x18\x13 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12I\n\x0f\x65ncryption_info\x18\x14 \x01(\x0b\x32+.google.cloud.alloydb.v1beta.EncryptionInfoB\x03\xe0\x41\x03\x12Z\n\x18\x63ontinuous_backup_config\x18\x1b \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.ContinuousBackupConfigB\x03\xe0\x41\x01\x12V\n\x16\x63ontinuous_backup_info\x18\x1c \x01(\x0b\x32\x31.google.cloud.alloydb.v1beta.ContinuousBackupInfoB\x03\xe0\x41\x03\x12N\n\x10secondary_config\x18\x16 \x01(\x0b\x32\x34.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig\x12O\n\x0eprimary_config\x18\x17 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x1e \x01(\x08\x42\x03\xe0\x41\x03\x12G\n\npsc_config\x18\x1f \x01(\x0b\x32..google.cloud.alloydb.v1beta.Cluster.PscConfigB\x03\xe0\x41\x01\x12\\\n\x19maintenance_update_policy\x18 \x01(\x0b\x32\x34.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicyB\x03\xe0\x41\x01\x12S\n\x14maintenance_schedule\x18% \x01(\x0b\x32\x30.google.cloud.alloydb.v1beta.MaintenanceScheduleB\x03\xe0\x41\x03\x12L\n\rgemini_config\x18$ \x01(\x0b\x32\x30.google.cloud.alloydb.v1beta.GeminiClusterConfigB\x03\xe0\x41\x01\x12M\n\x11subscription_type\x18& \x01(\x0e\x32-.google.cloud.alloydb.v1beta.SubscriptionTypeB\x03\xe0\x41\x01\x12O\n\x0etrial_metadata\x18\' \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.Cluster.TrialMetadataB\x03\xe0\x41\x03\x12G\n\x04tags\x18) \x03(\x0b\x32..google.cloud.alloydb.v1beta.Cluster.TagsEntryB\t\xe0\x41\x04\xe0\x41\x05\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\xd3\x01\n\rTrialMetadata\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cupgrade_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0egrace_end_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\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\x1a+\n\tTagsEntry\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:u\xea\x41r\n\x1e\x61lloydb.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}*\x08\x63lusters2\x07\x63lusterR\x01\x01\x42\x08\n\x06source\"\xcd\x1f\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x41\n\x06labels\x18\x07 \x03(\x0b\x32\x31.google.cloud.alloydb.v1beta.Instance.LabelsEntry\x12?\n\x05state\x18\x08 \x01(\x0e\x32+.google.cloud.alloydb.v1beta.Instance.StateB\x03\xe0\x41\x03\x12N\n\rinstance_type\x18\t \x01(\x0e\x32\x32.google.cloud.alloydb.v1beta.Instance.InstanceTypeB\x03\xe0\x41\x02\x12K\n\x0emachine_config\x18\n \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.Instance.MachineConfig\x12Q\n\x11\x61vailability_type\x18\x0b \x01(\x0e\x32\x36.google.cloud.alloydb.v1beta.Instance.AvailabilityType\x12\x10\n\x08gce_zone\x18\x0c \x01(\t\x12P\n\x0e\x64\x61tabase_flags\x18\r \x03(\x0b\x32\x38.google.cloud.alloydb.v1beta.Instance.DatabaseFlagsEntry\x12\x46\n\rwritable_node\x18\x13 \x01(\x0b\x32*.google.cloud.alloydb.v1beta.Instance.NodeB\x03\xe0\x41\x03\x12>\n\x05nodes\x18\x14 \x03(\x0b\x32*.google.cloud.alloydb.v1beta.Instance.NodeB\x03\xe0\x41\x03\x12`\n\x15query_insights_config\x18\x15 \x01(\x0b\x32\x41.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig\x12_\n\x14observability_config\x18\x1a \x01(\x0b\x32\x41.google.cloud.alloydb.v1beta.Instance.ObservabilityInstanceConfig\x12N\n\x10read_pool_config\x18\x0e \x01(\x0b\x32\x34.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig\x12\x17\n\nip_address\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12&\n\x11public_ip_address\x18\x1b \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12\x18\n\x0breconciling\x18\x10 \x01(\x08\x42\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x11 \x01(\t\x12K\n\x0b\x61nnotations\x18\x12 \x03(\x0b\x32\x36.google.cloud.alloydb.v1beta.Instance.AnnotationsEntry\x12I\n\rupdate_policy\x18\x16 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.Instance.UpdatePolicy\x12\x63\n\x18\x63lient_connection_config\x18\x17 \x01(\x0b\x32<.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigB\x03\xe0\x41\x01\x12\x1a\n\rsatisfies_pzs\x18\x18 \x01(\x08\x42\x03\xe0\x41\x03\x12Y\n\x13psc_instance_config\x18\x1c \x01(\x0b\x32\x37.google.cloud.alloydb.v1beta.Instance.PscInstanceConfigB\x03\xe0\x41\x01\x12X\n\x0enetwork_config\x18\x1d \x01(\x0b\x32;.google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfigB\x03\xe0\x41\x01\x12M\n\rgemini_config\x18! \x01(\x0b\x32\x31.google.cloud.alloydb.v1beta.GeminiInstanceConfigB\x03\xe0\x41\x01\x12\x31\n\x1coutbound_public_ip_addresses\x18\" \x03(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\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\xac\x04\n\x1bObservabilityInstanceConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1e\n\x11preserve_comments\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x1e\n\x11track_wait_events\x18\x03 \x01(\x08H\x02\x88\x01\x01\x12(\n\x16track_wait_event_types\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03H\x03\x88\x01\x01\x12$\n\x17max_query_string_length\x18\x05 \x01(\x05H\x04\x88\x01\x01\x12$\n\x17record_application_tags\x18\x06 \x01(\x08H\x05\x88\x01\x01\x12#\n\x16query_plans_per_minute\x18\x07 \x01(\x05H\x06\x88\x01\x01\x12!\n\x14track_active_queries\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12!\n\x14track_client_address\x18\t \x01(\x08H\x08\x88\x01\x01\x42\n\n\x08_enabledB\x14\n\x12_preserve_commentsB\x14\n\x12_track_wait_eventsB\x19\n\x17_track_wait_event_typesB\x1a\n\x18_max_query_string_lengthB\x1a\n\x18_record_application_tagsB\x19\n\x17_query_plans_per_minuteB\x17\n\x15_track_active_queriesB\x17\n\x15_track_client_address\x1a$\n\x0eReadPoolConfig\x12\x12\n\nnode_count\x18\x01 \x01(\x05\x1a\x91\x01\n\x0cUpdatePolicy\x12\x45\n\x04mode\x18\x01 \x01(\x0e\x32\x37.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode\":\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\x0f\n\x0b\x46ORCE_APPLY\x10\x02\x1az\n\x16\x43lientConnectionConfig\x12\x1f\n\x12require_connectors\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12?\n\nssl_config\x18\x02 \x01(\x0b\x32&.google.cloud.alloydb.v1beta.SslConfigB\x03\xe0\x41\x01\x1a|\n\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\x19\n\x0cpsc_dns_name\x18\x07 \x01(\tB\x03\xe0\x41\x03\x1a\x8b\x02\n\x15InstanceNetworkConfig\x12x\n\x1c\x61uthorized_external_networks\x18\x01 \x03(\x0b\x32M.google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetworkB\x03\xe0\x41\x01\x12\x1d\n\x10\x65nable_public_ip\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12&\n\x19\x65nable_outbound_public_ip\x18\x03 \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:\x8e\x01\xea\x41\x8a\x01\n\x1f\x61lloydb.googleapis.com/Instance\x12Oprojects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}*\tinstances2\x08instanceR\x01\x01\"\xea\x02\n\x0e\x43onnectionInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\nip_address\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12&\n\x11public_ip_address\x18\x05 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12$\n\x15pem_certificate_chain\x18\x03 \x03(\tB\x05\x18\x01\xe0\x41\x03\x12\x19\n\x0cinstance_uid\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cpsc_dns_name\x18\x06 \x01(\tB\x03\xe0\x41\x03:\xac\x01\xea\x41\xa8\x01\n%alloydb.googleapis.com/ConnectionInfo\x12^projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}/connectionInfo*\x0f\x63onnectionInfos2\x0e\x63onnectionInfo\"\xe8\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/.google.cloud.alloydb.v1beta.Backup.LabelsEntry\x12=\n\x05state\x18\x07 \x01(\x0e\x32).google.cloud.alloydb.v1beta.Backup.StateB\x03\xe0\x41\x03\x12\x36\n\x04type\x18\x08 \x01(\x0e\x32(.google.cloud.alloydb.v1beta.Backup.Type\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12\x18\n\x0b\x63luster_uid\x18\x12 \x01(\tB\x03\xe0\x41\x03\x12<\n\x0c\x63luster_name\x18\n \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x18\n\x0breconciling\x18\x0b \x01(\x08\x42\x03\xe0\x41\x03\x12M\n\x11\x65ncryption_config\x18\x0c \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12I\n\x0f\x65ncryption_info\x18\r \x01(\x0b\x32+.google.cloud.alloydb.v1beta.EncryptionInfoB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12I\n\x0b\x61nnotations\x18\x10 \x03(\x0b\x32\x34.google.cloud.alloydb.v1beta.Backup.AnnotationsEntry\x12\x17\n\nsize_bytes\x18\x11 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpiry_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12U\n\x0f\x65xpiry_quantity\x18\x14 \x01(\x0b\x32\x37.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x15 \x01(\x08\x42\x03\xe0\x41\x03\x12K\n\x10\x64\x61tabase_version\x18\x16 \x01(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersionB\x03\xe0\x41\x03\x12\x46\n\x04tags\x18\x19 \x03(\x0b\x32-.google.cloud.alloydb.v1beta.Backup.TagsEntryB\t\xe0\x41\x04\xe0\x41\x05\xe0\x41\x01\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\x1a+\n\tTagsEntry\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:p\xea\x41m\n\x1d\x61lloydb.googleapis.com/Backup\x12\x38projects/{project}/locations/{location}/backups/{backup}*\x07\x62\x61\x63kups2\x06\x62\x61\x63kupR\x01\x01\"\x89\x07\n\x15SupportedDatabaseFlag\x12\x64\n\x13string_restrictions\x18\x07 \x01(\x0b\x32\x45.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsH\x00\x12\x66\n\x14integer_restrictions\x18\x08 \x01(\x0b\x32\x46.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tflag_name\x18\x02 \x01(\t\x12P\n\nvalue_type\x18\x03 \x01(\x0e\x32<.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType\x12\x1f\n\x17\x61\x63\x63\x65pts_multiple_values\x18\x04 \x01(\x08\x12K\n\x15supported_db_versions\x18\x05 \x03(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersion\x12\x1b\n\x13requires_db_restart\x18\x06 \x01(\x08\x1a,\n\x12StringRestrictions\x12\x16\n\x0e\x61llowed_values\x18\x01 \x03(\t\x1au\n\x13IntegerRestrictions\x12.\n\tmin_value\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12.\n\tmax_value\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"U\n\tValueType\x12\x1a\n\x16VALUE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\x0b\n\x07INTEGER\x10\x02\x12\t\n\x05\x46LOAT\x10\x03\x12\x08\n\x04NONE\x10\x04:\x97\x01\xea\x41\x93\x01\n,alloydb.googleapis.com/SupportedDatabaseFlag\x12\x34projects/{project}/locations/{location}/flags/{flag}*\x16supportedDatabaseFlags2\x15supportedDatabaseFlagB\x0e\n\x0crestrictions\"\xfe\x02\n\x04User\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08password\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x1b\n\x0e\x64\x61tabase_roles\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12\x42\n\tuser_type\x18\x05 \x01(\x0e\x32*.google.cloud.alloydb.v1beta.User.UserTypeB\x03\xe0\x41\x01\x12\x1d\n\x10keep_extra_roles\x18\x06 \x01(\x08\x42\x03\xe0\x41\x04\"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:y\xea\x41v\n\x1b\x61lloydb.googleapis.com/User\x12Gprojects/{project}/locations/{location}/clusters/{cluster}/users/{user}*\x05users2\x04userR\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*{\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\x12\x0f\n\x0bPOSTGRES_16\x10\x04*N\n\x10SubscriptionType\x12!\n\x1dSUBSCRIPTION_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\t\n\x05TRIAL\x10\x02\x42\xc6\x03\n\x1f\x63om.google.cloud.alloydb.v1betaB\x0eResourcesProtoP\x01Z9cloud.google.com/go/alloydb/apiv1beta/alloydbpb;alloydbpb\xaa\x02\x1bGoogle.Cloud.AlloyDb.V1Beta\xca\x02\x1bGoogle\\Cloud\\AlloyDb\\V1beta\xea\x02\x1eGoogle::Cloud::AlloyDB::V1beta\xea\x41\xa6\x01\n(cloudkms.googleapis.com/CryptoKeyVersion\x12zprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}b\x06proto3"
|
19
|
+
descriptor_data = "\n+google/cloud/alloydb/v1beta/resources.proto\x12\x1bgoogle.cloud.alloydb.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/alloydb/v1beta/csql_resources.proto\x1a(google/cloud/alloydb/v1beta/gemini.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\".\n\x0cUserPassword\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\"\xe7\x01\n\x0fMigrationSource\x12\x16\n\thost_port\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0creference_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12Z\n\x0bsource_type\x18\x03 \x01(\x0e\x32@.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceTypeB\x03\xe0\x41\x03\"E\n\x13MigrationSourceType\x12%\n!MIGRATION_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x44MS\x10\x01\"(\n\x10\x45ncryptionConfig\x12\x14\n\x0ckms_key_name\x18\x01 \x01(\t\"\x8a\x02\n\x0e\x45ncryptionInfo\x12N\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32\x30.google.cloud.alloydb.v1beta.EncryptionInfo.TypeB\x03\xe0\x41\x03\x12J\n\x10kms_key_versions\x18\x02 \x03(\tB0\xe0\x41\x03\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\"\\\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19GOOGLE_DEFAULT_ENCRYPTION\x10\x01\x12\x1f\n\x1b\x43USTOMER_MANAGED_ENCRYPTION\x10\x02\"\x86\x03\n\tSslConfig\x12\x45\n\x08ssl_mode\x18\x01 \x01(\x0e\x32..google.cloud.alloydb.v1beta.SslConfig.SslModeB\x03\xe0\x41\x01\x12G\n\tca_source\x18\x02 \x01(\x0e\x32/.google.cloud.alloydb.v1beta.SslConfig.CaSourceB\x03\xe0\x41\x01\"\xaa\x01\n\x07SslMode\x12\x18\n\x14SSL_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x0eSSL_MODE_ALLOW\x10\x01\x1a\x02\x08\x01\x12\x18\n\x10SSL_MODE_REQUIRE\x10\x02\x1a\x02\x08\x01\x12\x1a\n\x12SSL_MODE_VERIFY_CA\x10\x03\x1a\x02\x08\x01\x12#\n\x1f\x41LLOW_UNENCRYPTED_AND_ENCRYPTED\x10\x04\x12\x12\n\x0e\x45NCRYPTED_ONLY\x10\x05\"<\n\x08\x43\x61Source\x12\x19\n\x15\x43\x41_SOURCE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43\x41_SOURCE_MANAGED\x10\x01\"\xf9\x06\n\x15\x41utomatedBackupPolicy\x12\\\n\x0fweekly_schedule\x18\x02 \x01(\x0b\x32\x41.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleH\x00\x12\x65\n\x14time_based_retention\x18\x04 \x01(\x0b\x32\x45.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionH\x01\x12m\n\x18quantity_based_retention\x18\x05 \x01(\x0b\x32I.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionH\x01\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x02\x88\x01\x01\x12\x30\n\rbackup_window\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12M\n\x11\x65ncryption_config\x18\x08 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12\x10\n\x08location\x18\x06 \x01(\t\x12N\n\x06labels\x18\x07 \x03(\x0b\x32>.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.LabelsEntry\x1ak\n\x0eWeeklySchedule\x12+\n\x0bstart_times\x18\x01 \x03(\x0b\x32\x16.google.type.TimeOfDay\x12,\n\x0c\x64\x61ys_of_week\x18\x02 \x03(\x0e\x32\x16.google.type.DayOfWeek\x1aI\n\x12TimeBasedRetention\x12\x33\n\x10retention_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\'\n\x16QuantityBasedRetention\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08scheduleB\x0b\n\tretentionB\n\n\x08_enabled\"\xa2\x01\n\x16\x43ontinuousBackupConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1c\n\x14recovery_window_days\x18\x04 \x01(\x05\x12H\n\x11\x65ncryption_config\x18\x03 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\n\n\x08_enabled\"\x8a\x02\n\x14\x43ontinuousBackupInfo\x12I\n\x0f\x65ncryption_info\x18\x01 \x01(\x0b\x32+.google.cloud.alloydb.v1beta.EncryptionInfoB\x03\xe0\x41\x03\x12\x35\n\x0c\x65nabled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12-\n\x08schedule\x18\x03 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x03\x12\x41\n\x18\x65\x61rliest_restorable_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"c\n\x0c\x42\x61\x63kupSource\x12\x17\n\nbackup_uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12:\n\x0b\x62\x61\x63kup_name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\"f\n\x16\x43ontinuousBackupSource\x12\x14\n\x07\x63luster\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\rpoint_in_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\xe4\x01\n\x17MaintenanceUpdatePolicy\x12\x63\n\x13maintenance_windows\x18\x01 \x03(\x0b\x32\x46.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicy.MaintenanceWindow\x1a\x64\n\x11MaintenanceWindow\x12#\n\x03\x64\x61y\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeek\x12*\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDay\"J\n\x13MaintenanceSchedule\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\xdd\x19\n\x07\x43luster\x12G\n\rbackup_source\x18\x0f \x01(\x0b\x32).google.cloud.alloydb.v1beta.BackupSourceB\x03\xe0\x41\x03H\x00\x12M\n\x10migration_source\x18\x10 \x01(\x0b\x32,.google.cloud.alloydb.v1beta.MigrationSourceB\x03\xe0\x41\x03H\x00\x12_\n\x1a\x63loudsql_backup_run_source\x18* \x01(\x0b\x32\x34.google.cloud.alloydb.v1beta.CloudSQLBackupRunSourceB\x03\xe0\x41\x03H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x06labels\x18\x07 \x03(\x0b\x32\x30.google.cloud.alloydb.v1beta.Cluster.LabelsEntry\x12>\n\x05state\x18\x08 \x01(\x0e\x32*.google.cloud.alloydb.v1beta.Cluster.StateB\x03\xe0\x41\x03\x12K\n\x0c\x63luster_type\x18\x18 \x01(\x0e\x32\x30.google.cloud.alloydb.v1beta.Cluster.ClusterTypeB\x03\xe0\x41\x03\x12K\n\x10\x64\x61tabase_version\x18\t \x01(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersionB\x03\xe0\x41\x01\x12O\n\x0enetwork_config\x18\x1d \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.Cluster.NetworkConfigB\x03\xe0\x41\x01\x12\x39\n\x07network\x18\n \x01(\tB(\x18\x01\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t\x12J\n\x0b\x61nnotations\x18\x0c \x03(\x0b\x32\x35.google.cloud.alloydb.v1beta.Cluster.AnnotationsEntry\x12\x18\n\x0breconciling\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x12\x44\n\x0cinitial_user\x18\x0e \x01(\x0b\x32).google.cloud.alloydb.v1beta.UserPasswordB\x03\xe0\x41\x04\x12S\n\x17\x61utomated_backup_policy\x18\x11 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.AutomatedBackupPolicy\x12>\n\nssl_config\x18\x12 \x01(\x0b\x32&.google.cloud.alloydb.v1beta.SslConfigB\x02\x18\x01\x12M\n\x11\x65ncryption_config\x18\x13 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12I\n\x0f\x65ncryption_info\x18\x14 \x01(\x0b\x32+.google.cloud.alloydb.v1beta.EncryptionInfoB\x03\xe0\x41\x03\x12Z\n\x18\x63ontinuous_backup_config\x18\x1b \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.ContinuousBackupConfigB\x03\xe0\x41\x01\x12V\n\x16\x63ontinuous_backup_info\x18\x1c \x01(\x0b\x32\x31.google.cloud.alloydb.v1beta.ContinuousBackupInfoB\x03\xe0\x41\x03\x12N\n\x10secondary_config\x18\x16 \x01(\x0b\x32\x34.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig\x12O\n\x0eprimary_config\x18\x17 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x1e \x01(\x08\x42\x03\xe0\x41\x03\x12G\n\npsc_config\x18\x1f \x01(\x0b\x32..google.cloud.alloydb.v1beta.Cluster.PscConfigB\x03\xe0\x41\x01\x12\\\n\x19maintenance_update_policy\x18 \x01(\x0b\x32\x34.google.cloud.alloydb.v1beta.MaintenanceUpdatePolicyB\x03\xe0\x41\x01\x12S\n\x14maintenance_schedule\x18% \x01(\x0b\x32\x30.google.cloud.alloydb.v1beta.MaintenanceScheduleB\x03\xe0\x41\x03\x12L\n\rgemini_config\x18$ \x01(\x0b\x32\x30.google.cloud.alloydb.v1beta.GeminiClusterConfigB\x03\xe0\x41\x01\x12M\n\x11subscription_type\x18& \x01(\x0e\x32-.google.cloud.alloydb.v1beta.SubscriptionTypeB\x03\xe0\x41\x01\x12O\n\x0etrial_metadata\x18\' \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.Cluster.TrialMetadataB\x03\xe0\x41\x03\x12G\n\x04tags\x18) \x03(\x0b\x32..google.cloud.alloydb.v1beta.Cluster.TagsEntryB\t\xe0\x41\x04\xe0\x41\x05\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\xd3\x01\n\rTrialMetadata\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cupgrade_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0egrace_end_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\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\x1a+\n\tTagsEntry\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:u\xea\x41r\n\x1e\x61lloydb.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}*\x08\x63lusters2\x07\x63lusterR\x01\x01\x42\x08\n\x06source\"\xe1\x1f\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x41\n\x06labels\x18\x07 \x03(\x0b\x32\x31.google.cloud.alloydb.v1beta.Instance.LabelsEntry\x12?\n\x05state\x18\x08 \x01(\x0e\x32+.google.cloud.alloydb.v1beta.Instance.StateB\x03\xe0\x41\x03\x12N\n\rinstance_type\x18\t \x01(\x0e\x32\x32.google.cloud.alloydb.v1beta.Instance.InstanceTypeB\x03\xe0\x41\x02\x12K\n\x0emachine_config\x18\n \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.Instance.MachineConfig\x12Q\n\x11\x61vailability_type\x18\x0b \x01(\x0e\x32\x36.google.cloud.alloydb.v1beta.Instance.AvailabilityType\x12\x10\n\x08gce_zone\x18\x0c \x01(\t\x12P\n\x0e\x64\x61tabase_flags\x18\r \x03(\x0b\x32\x38.google.cloud.alloydb.v1beta.Instance.DatabaseFlagsEntry\x12\x46\n\rwritable_node\x18\x13 \x01(\x0b\x32*.google.cloud.alloydb.v1beta.Instance.NodeB\x03\xe0\x41\x03\x12>\n\x05nodes\x18\x14 \x03(\x0b\x32*.google.cloud.alloydb.v1beta.Instance.NodeB\x03\xe0\x41\x03\x12`\n\x15query_insights_config\x18\x15 \x01(\x0b\x32\x41.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig\x12_\n\x14observability_config\x18\x1a \x01(\x0b\x32\x41.google.cloud.alloydb.v1beta.Instance.ObservabilityInstanceConfig\x12N\n\x10read_pool_config\x18\x0e \x01(\x0b\x32\x34.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig\x12\x17\n\nip_address\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12&\n\x11public_ip_address\x18\x1b \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12\x18\n\x0breconciling\x18\x10 \x01(\x08\x42\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x11 \x01(\t\x12K\n\x0b\x61nnotations\x18\x12 \x03(\x0b\x32\x36.google.cloud.alloydb.v1beta.Instance.AnnotationsEntry\x12I\n\rupdate_policy\x18\x16 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.Instance.UpdatePolicy\x12\x63\n\x18\x63lient_connection_config\x18\x17 \x01(\x0b\x32<.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigB\x03\xe0\x41\x01\x12\x1a\n\rsatisfies_pzs\x18\x18 \x01(\x08\x42\x03\xe0\x41\x03\x12Y\n\x13psc_instance_config\x18\x1c \x01(\x0b\x32\x37.google.cloud.alloydb.v1beta.Instance.PscInstanceConfigB\x03\xe0\x41\x01\x12X\n\x0enetwork_config\x18\x1d \x01(\x0b\x32;.google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfigB\x03\xe0\x41\x01\x12M\n\rgemini_config\x18! \x01(\x0b\x32\x31.google.cloud.alloydb.v1beta.GeminiInstanceConfigB\x03\xe0\x41\x01\x12\x31\n\x1coutbound_public_ip_addresses\x18\" \x03(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x1a\"\n\rMachineConfig\x12\x11\n\tcpu_count\x18\x01 \x01(\x05\x1aR\n\x04Node\x12\x14\n\x07zone_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x0f\n\x02ip\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05state\x18\x04 \x01(\tB\x03\xe0\x41\x03\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\xac\x04\n\x1bObservabilityInstanceConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1e\n\x11preserve_comments\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x1e\n\x11track_wait_events\x18\x03 \x01(\x08H\x02\x88\x01\x01\x12(\n\x16track_wait_event_types\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03H\x03\x88\x01\x01\x12$\n\x17max_query_string_length\x18\x05 \x01(\x05H\x04\x88\x01\x01\x12$\n\x17record_application_tags\x18\x06 \x01(\x08H\x05\x88\x01\x01\x12#\n\x16query_plans_per_minute\x18\x07 \x01(\x05H\x06\x88\x01\x01\x12!\n\x14track_active_queries\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12!\n\x14track_client_address\x18\t \x01(\x08H\x08\x88\x01\x01\x42\n\n\x08_enabledB\x14\n\x12_preserve_commentsB\x14\n\x12_track_wait_eventsB\x19\n\x17_track_wait_event_typesB\x1a\n\x18_max_query_string_lengthB\x1a\n\x18_record_application_tagsB\x19\n\x17_query_plans_per_minuteB\x17\n\x15_track_active_queriesB\x17\n\x15_track_client_address\x1a$\n\x0eReadPoolConfig\x12\x12\n\nnode_count\x18\x01 \x01(\x05\x1a\x91\x01\n\x0cUpdatePolicy\x12\x45\n\x04mode\x18\x01 \x01(\x0e\x32\x37.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode\":\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\x0f\n\x0b\x46ORCE_APPLY\x10\x02\x1az\n\x16\x43lientConnectionConfig\x12\x1f\n\x12require_connectors\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12?\n\nssl_config\x18\x02 \x01(\x0b\x32&.google.cloud.alloydb.v1beta.SslConfigB\x03\xe0\x41\x01\x1a|\n\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\x19\n\x0cpsc_dns_name\x18\x07 \x01(\tB\x03\xe0\x41\x03\x1a\x8b\x02\n\x15InstanceNetworkConfig\x12x\n\x1c\x61uthorized_external_networks\x18\x01 \x03(\x0b\x32M.google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig.AuthorizedNetworkB\x03\xe0\x41\x01\x12\x1d\n\x10\x65nable_public_ip\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12&\n\x19\x65nable_outbound_public_ip\x18\x03 \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:\x8e\x01\xea\x41\x8a\x01\n\x1f\x61lloydb.googleapis.com/Instance\x12Oprojects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}*\tinstances2\x08instanceR\x01\x01\"\xea\x02\n\x0e\x43onnectionInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\nip_address\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12&\n\x11public_ip_address\x18\x05 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x02\x12$\n\x15pem_certificate_chain\x18\x03 \x03(\tB\x05\x18\x01\xe0\x41\x03\x12\x19\n\x0cinstance_uid\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cpsc_dns_name\x18\x06 \x01(\tB\x03\xe0\x41\x03:\xac\x01\xea\x41\xa8\x01\n%alloydb.googleapis.com/ConnectionInfo\x12^projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}/connectionInfo*\x0f\x63onnectionInfos2\x0e\x63onnectionInfo\"\xe8\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/.google.cloud.alloydb.v1beta.Backup.LabelsEntry\x12=\n\x05state\x18\x07 \x01(\x0e\x32).google.cloud.alloydb.v1beta.Backup.StateB\x03\xe0\x41\x03\x12\x36\n\x04type\x18\x08 \x01(\x0e\x32(.google.cloud.alloydb.v1beta.Backup.Type\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12\x18\n\x0b\x63luster_uid\x18\x12 \x01(\tB\x03\xe0\x41\x03\x12<\n\x0c\x63luster_name\x18\n \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x18\n\x0breconciling\x18\x0b \x01(\x08\x42\x03\xe0\x41\x03\x12M\n\x11\x65ncryption_config\x18\x0c \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12I\n\x0f\x65ncryption_info\x18\r \x01(\x0b\x32+.google.cloud.alloydb.v1beta.EncryptionInfoB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12I\n\x0b\x61nnotations\x18\x10 \x03(\x0b\x32\x34.google.cloud.alloydb.v1beta.Backup.AnnotationsEntry\x12\x17\n\nsize_bytes\x18\x11 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpiry_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12U\n\x0f\x65xpiry_quantity\x18\x14 \x01(\x0b\x32\x37.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x15 \x01(\x08\x42\x03\xe0\x41\x03\x12K\n\x10\x64\x61tabase_version\x18\x16 \x01(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersionB\x03\xe0\x41\x03\x12\x46\n\x04tags\x18\x19 \x03(\x0b\x32-.google.cloud.alloydb.v1beta.Backup.TagsEntryB\t\xe0\x41\x04\xe0\x41\x05\xe0\x41\x01\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\x1a+\n\tTagsEntry\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:p\xea\x41m\n\x1d\x61lloydb.googleapis.com/Backup\x12\x38projects/{project}/locations/{location}/backups/{backup}*\x07\x62\x61\x63kups2\x06\x62\x61\x63kupR\x01\x01\"\x89\x07\n\x15SupportedDatabaseFlag\x12\x64\n\x13string_restrictions\x18\x07 \x01(\x0b\x32\x45.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsH\x00\x12\x66\n\x14integer_restrictions\x18\x08 \x01(\x0b\x32\x46.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tflag_name\x18\x02 \x01(\t\x12P\n\nvalue_type\x18\x03 \x01(\x0e\x32<.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType\x12\x1f\n\x17\x61\x63\x63\x65pts_multiple_values\x18\x04 \x01(\x08\x12K\n\x15supported_db_versions\x18\x05 \x03(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersion\x12\x1b\n\x13requires_db_restart\x18\x06 \x01(\x08\x1a,\n\x12StringRestrictions\x12\x16\n\x0e\x61llowed_values\x18\x01 \x03(\t\x1au\n\x13IntegerRestrictions\x12.\n\tmin_value\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12.\n\tmax_value\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"U\n\tValueType\x12\x1a\n\x16VALUE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\x0b\n\x07INTEGER\x10\x02\x12\t\n\x05\x46LOAT\x10\x03\x12\x08\n\x04NONE\x10\x04:\x97\x01\xea\x41\x93\x01\n,alloydb.googleapis.com/SupportedDatabaseFlag\x12\x34projects/{project}/locations/{location}/flags/{flag}*\x16supportedDatabaseFlags2\x15supportedDatabaseFlagB\x0e\n\x0crestrictions\"\xfe\x02\n\x04User\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08password\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x1b\n\x0e\x64\x61tabase_roles\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12\x42\n\tuser_type\x18\x05 \x01(\x0e\x32*.google.cloud.alloydb.v1beta.User.UserTypeB\x03\xe0\x41\x01\x12\x1d\n\x10keep_extra_roles\x18\x06 \x01(\x08\x42\x03\xe0\x41\x04\"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:y\xea\x41v\n\x1b\x61lloydb.googleapis.com/User\x12Gprojects/{project}/locations/{location}/clusters/{cluster}/users/{user}*\x05users2\x04userR\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*{\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\x12\x0f\n\x0bPOSTGRES_16\x10\x04*N\n\x10SubscriptionType\x12!\n\x1dSUBSCRIPTION_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\t\n\x05TRIAL\x10\x02\x42\xc6\x03\n\x1f\x63om.google.cloud.alloydb.v1betaB\x0eResourcesProtoP\x01Z9cloud.google.com/go/alloydb/apiv1beta/alloydbpb;alloydbpb\xaa\x02\x1bGoogle.Cloud.AlloyDb.V1Beta\xca\x02\x1bGoogle\\Cloud\\AlloyDb\\V1beta\xea\x02\x1eGoogle::Cloud::AlloyDB::V1beta\xea\x41\xa6\x01\n(cloudkms.googleapis.com/CryptoKeyVersion\x12zprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}b\x06proto3"
|
20
20
|
|
21
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
22
|
|
@@ -19,7 +19,7 @@ require 'google/protobuf/timestamp_pb'
|
|
19
19
|
require 'google/rpc/status_pb'
|
20
20
|
|
21
21
|
|
22
|
-
descriptor_data = "\n)google/cloud/alloydb/v1beta/service.proto\x12\x1bgoogle.cloud.alloydb.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/alloydb/v1beta/data_model.proto\x1a+google/cloud/alloydb/v1beta/resources.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xa5\x01\n\x13ListClustersRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"|\n\x14ListClustersResponse\x12\x36\n\x08\x63lusters\x18\x01 \x03(\x0b\x32$.google.cloud.alloydb.v1beta.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x86\x01\n\x11GetClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12;\n\x04view\x18\x02 \x01(\x0e\x32(.google.cloud.alloydb.v1beta.ClusterViewB\x03\xe0\x41\x01\"\xe1\x01\n\x1d\x43reateSecondaryClusterRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x07\x63luster\x18\x03 \x01(\x0b\x32$.google.cloud.alloydb.v1beta.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"\xd8\x01\n\x14\x43reateClusterRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x07\x63luster\x18\x03 \x01(\x0b\x32$.google.cloud.alloydb.v1beta.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xd9\x01\n\x14UpdateClusterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12:\n\x07\x63luster\x18\x02 \x01(\x0b\x32$.google.cloud.alloydb.v1beta.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xe1\x01\n\x15UpgradeClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x42\n\x07version\x18\x02 \x01(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x86\x0b\n\x16UpgradeClusterResponse\x12J\n\x06status\x18\x01 \x01(\x0e\x32:.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status\x12\x0f\n\x07message\x18\x02 \x01(\t\x12j\n\x17\x63luster_upgrade_details\x18\x03 \x03(\x0b\x32I.google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails\x1a\xb3\x01\n\tStageInfo\x12H\n\x05stage\x18\x01 \x01(\x0e\x32\x39.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Stage\x12J\n\x06status\x18\x02 \x01(\x0e\x32:.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status\x12\x10\n\x08logs_url\x18\x03 \x01(\t\x1a\xc5\x01\n\x16InstanceUpgradeDetails\x12\x0c\n\x04name\x18\x01 \x01(\t\x12R\n\x0eupgrade_status\x18\x02 \x01(\x0e\x32:.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status\x12I\n\rinstance_type\x18\x03 \x01(\x0e\x32\x32.google.cloud.alloydb.v1beta.Instance.InstanceType\x1a\xca\x03\n\x15\x43lusterUpgradeDetails\x12\x0c\n\x04name\x18\x01 \x01(\t\x12R\n\x0eupgrade_status\x18\x02 \x01(\x0e\x32:.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status\x12\x46\n\x0c\x63luster_type\x18\x03 \x01(\x0e\x32\x30.google.cloud.alloydb.v1beta.Cluster.ClusterType\x12\x46\n\x10\x64\x61tabase_version\x18\x04 \x01(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersion\x12Q\n\nstage_info\x18\x05 \x03(\x0b\x32=.google.cloud.alloydb.v1beta.UpgradeClusterResponse.StageInfo\x12l\n\x18instance_upgrade_details\x18\x06 \x03(\x0b\x32J.google.cloud.alloydb.v1beta.UpgradeClusterResponse.InstanceUpgradeDetails\"\x97\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNOT_STARTED\x10\x04\x12\x0f\n\x0bIN_PROGRESS\x10\x05\x12\x0b\n\x07SUCCESS\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x13\n\x0fPARTIAL_SUCCESS\x10\x03\x12\x16\n\x12\x43\x41NCEL_IN_PROGRESS\x10\x06\x12\r\n\tCANCELLED\x10\x07\"\xbd\x01\n\x05Stage\x12\x15\n\x11STAGE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41LLOYDB_PRECHECK\x10\x01\x12\x14\n\x10PG_UPGRADE_CHECK\x10\x02\x12\x17\n\x13PREPARE_FOR_UPGRADE\x10\x05\x12\x1c\n\x18PRIMARY_INSTANCE_UPGRADE\x10\x03\x12\x1f\n\x1bREAD_POOL_INSTANCES_UPGRADE\x10\x04\x12\x0c\n\x08ROLLBACK\x10\x06\x12\x0b\n\x07\x43LEANUP\x10\x07\"\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\"\x85\x01\n\x18SwitchoverClusterRequest\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\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x95\x01\n\x15PromoteClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x80\x03\n\x15RestoreClusterRequest\x12\x42\n\rbackup_source\x18\x04 \x01(\x0b\x32).google.cloud.alloydb.v1beta.BackupSourceH\x00\x12W\n\x18\x63ontinuous_backup_source\x18\x08 \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.ContinuousBackupSourceH\x00\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x07\x63luster\x18\x03 \x01(\x0b\x32$.google.cloud.alloydb.v1beta.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x42\x08\n\x06source\"\xa7\x01\n\x14ListInstancesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x15ListInstancesResponse\x12\x38\n\tinstances\x18\x01 \x03(\x0b\x32%.google.cloud.alloydb.v1beta.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x84\x01\n\x12GetInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x37\n\x04view\x18\x02 \x01(\x0e\x32).google.cloud.alloydb.v1beta.InstanceView\"\xdd\x01\n\x15\x43reateInstanceRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12<\n\x08instance\x18\x03 \x01(\x0b\x32%.google.cloud.alloydb.v1beta.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xe6\x01\n\x1e\x43reateSecondaryInstanceRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12<\n\x08instance\x18\x03 \x01(\x0b\x32%.google.cloud.alloydb.v1beta.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"s\n\x16\x43reateInstanceRequests\x12Y\n\x18\x63reate_instance_requests\x18\x01 \x03(\x0b\x32\x32.google.cloud.alloydb.v1beta.CreateInstanceRequestB\x03\xe0\x41\x02\"\xbb\x01\n\x1b\x42\x61tchCreateInstancesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12J\n\x08requests\x18\x02 \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.CreateInstanceRequestsB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"X\n\x1c\x42\x61tchCreateInstancesResponse\x12\x38\n\tinstances\x18\x01 \x03(\x0b\x32%.google.cloud.alloydb.v1beta.Instance\"\x95\x02\n\x1c\x42\x61tchCreateInstancesMetadata\x12\x18\n\x10instance_targets\x18\x01 \x03(\t\x12j\n\x11instance_statuses\x18\x02 \x03(\x0b\x32O.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.InstanceStatusesEntry\x1ao\n\x15InstanceStatusesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus:\x02\x38\x01\"\xd8\x02\n\x19\x42\x61tchCreateInstanceStatus\x12K\n\x05state\x18\x01 \x01(\x0e\x32<.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State\x12\x11\n\terror_msg\x18\x02 \x01(\t\x12!\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.Status\x12@\n\x04type\x18\x03 \x01(\x0e\x32\x32.google.cloud.alloydb.v1beta.Instance.InstanceType\"v\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x12\n\x0ePENDING_CREATE\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x0f\n\x0bROLLED_BACK\x10\x06\"\xdc\x01\n\x15UpdateInstanceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12<\n\x08instance\x18\x02 \x01(\x0b\x32%.google.cloud.alloydb.v1beta.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x96\x01\n\x15\x44\x65leteInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x85\x01\n\x17\x46\x61iloverInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x8a\x02\n\x12InjectFaultRequest\x12R\n\nfault_type\x18\x01 \x01(\x0e\x32\x39.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultTypeB\x03\xe0\x41\x02\x12\x35\n\x04name\x18\x02 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"4\n\tFaultType\x12\x1a\n\x16\x46\x41ULT_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07STOP_VM\x10\x01\"\x9b\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\x12\x15\n\x08node_ids\x18\x04 \x03(\tB\x03\xe0\x41\x01\"\xc0\x01\n\x11\x45xecuteSqlRequest\x12\x17\n\x08password\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x39\n\x08instance\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x15\n\x08\x64\x61tabase\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04user\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rsql_statement\x18\x04 \x01(\tB\x03\xe0\x41\x02\x42\x11\n\x0fuser_credential\"\x94\x01\n\x12\x45xecuteSqlResponse\x12;\n\x0bsql_results\x18\x01 \x03(\x0b\x32&.google.cloud.alloydb.v1beta.SqlResult\x12\x41\n\x08metadata\x18\x03 \x01(\x0b\x32/.google.cloud.alloydb.v1beta.ExecuteSqlMetadata\"\x8c\x02\n\x12\x45xecuteSqlMetadata\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x16\n\x0epartial_result\x18\x02 \x01(\x08\x12\x43\n sql_statement_execution_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x46\n\x06status\x18\x04 \x01(\x0e\x32\x36.google.cloud.alloydb.v1beta.ExecuteSqlMetadata.Status\"@\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x0b\n\x07PARTIAL\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"\x94\x01\n\x12ListBackupsRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1d\x61lloydb.googleapis.com/Backup\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"y\n\x13ListBackupsResponse\x12\x34\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32#.google.cloud.alloydb.v1beta.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"G\n\x10GetBackupRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\"\xd3\x01\n\x13\x43reateBackupRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1d\x61lloydb.googleapis.com/Backup\x12\x16\n\tbackup_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32#.google.cloud.alloydb.v1beta.BackupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xd6\x01\n\x13UpdateBackupRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x38\n\x06\x62\x61\x63kup\x18\x02 \x01(\x0b\x32#.google.cloud.alloydb.v1beta.BackupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x92\x01\n\x13\x44\x65leteBackupRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x90\x01\n!ListSupportedDatabaseFlagsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,alloydb.googleapis.com/SupportedDatabaseFlag\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x93\x01\n\"ListSupportedDatabaseFlagsResponse\x12T\n\x18supported_database_flags\x18\x01 \x03(\x0b\x32\x32.google.cloud.alloydb.v1beta.SupportedDatabaseFlag\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xff\x01\n GenerateClientCertificateRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\x07pem_csr\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12\x35\n\rcert_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x17\n\npublic_key\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\"\n\x15use_metadata_exchange\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"}\n!GenerateClientCertificateResponse\x12\x1e\n\x0fpem_certificate\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x03\x12\"\n\x15pem_certificate_chain\x18\x02 \x03(\tB\x03\xe0\x41\x03\x12\x14\n\x07\x63\x61_cert\x18\x03 \x01(\tB\x03\xe0\x41\x01\"l\n\x18GetConnectionInfoRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xb3\x04\n\x11OperationMetadata\x12i\n\x1f\x62\x61tch_create_instances_metadata\x18\x08 \x01(\x0b\x32\x39.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataB\x03\xe0\x41\x03H\x00\x12X\n\x16promote_cluster_status\x18\t \x01(\x0b\x32\x31.google.cloud.alloydb.v1beta.PromoteClusterStatusB\x03\xe0\x41\x03H\x00\x12X\n\x16upgrade_cluster_status\x18\n \x01(\x0b\x32\x31.google.cloud.alloydb.v1beta.UpgradeClusterStatusB\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\"\xf4\x01\n\x14PromoteClusterStatus\x12K\n\x05state\x18\x01 \x01(\x0e\x32\x37.google.cloud.alloydb.v1beta.PromoteClusterStatus.StateB\x03\xe0\x41\x03\"\x8e\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12&\n\"PROMOTE_CLUSTER_AVAILABLE_FOR_READ\x10\x01\x12\'\n#PROMOTE_CLUSTER_AVAILABLE_FOR_WRITE\x10\x02\x12\x1d\n\x19PROMOTE_CLUSTER_COMPLETED\x10\x03\"\xf9\x06\n\x14UpgradeClusterStatus\x12I\n\x05state\x18\x01 \x01(\x0e\x32:.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status\x12\x13\n\x0b\x63\x61ncellable\x18\x02 \x01(\x08\x12\x44\n\x0esource_version\x18\x03 \x01(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersion\x12\x44\n\x0etarget_version\x18\x04 \x01(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersion\x12M\n\x06stages\x18\x05 \x03(\x0b\x32=.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus\x1a\xb9\x02\n\x0bStageStatus\x12|\n\x1bread_pool_instances_upgrade\x18\x0b \x01(\x0b\x32U.google.cloud.alloydb.v1beta.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatusH\x00\x12H\n\x05stage\x18\x01 \x01(\x0e\x32\x39.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Stage\x12I\n\x05state\x18\x02 \x01(\x0e\x32:.google.cloud.alloydb.v1beta.UpgradeClusterResponse.StatusB\x17\n\x15stage_specific_status\x1a\xe9\x01\n#ReadPoolInstancesUpgradeStageStatus\x12r\n\rupgrade_stats\x18\x01 \x01(\x0b\x32[.google.cloud.alloydb.v1beta.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats\x1aN\n\x05Stats\x12\x13\n\x0bnot_started\x18\x01 \x01(\x05\x12\x0f\n\x07ongoing\x18\x02 \x01(\x05\x12\x0f\n\x07success\x18\x03 \x01(\x05\x12\x0e\n\x06\x66\x61iled\x18\x04 \x01(\x05\"\xa4\x01\n\x10ListUsersRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x61lloydb.googleapis.com/User\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"s\n\x11ListUsersResponse\x12\x30\n\x05users\x18\x01 \x03(\x0b\x32!.google.cloud.alloydb.v1beta.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"C\n\x0eGetUserRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x61lloydb.googleapis.com/User\"\xc9\x01\n\x11\x43reateUserRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x61lloydb.googleapis.com/User\x12\x14\n\x07user_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x04user\x18\x03 \x01(\x0b\x32!.google.cloud.alloydb.v1beta.UserB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xd0\x01\n\x11UpdateUserRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x34\n\x04user\x18\x02 \x01(\x0b\x32!.google.cloud.alloydb.v1beta.UserB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"{\n\x11\x44\x65leteUserRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x61lloydb.googleapis.com/User\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x95\x01\n\x14ListDatabasesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Database\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"j\n\x15ListDatabasesResponse\x12\x38\n\tdatabases\x18\x01 \x03(\x0b\x32%.google.cloud.alloydb.v1beta.Database\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xaa;\n\x0c\x41lloyDBAdmin\x12\xb6\x01\n\x0cListClusters\x12\x30.google.cloud.alloydb.v1beta.ListClustersRequest\x1a\x31.google.cloud.alloydb.v1beta.ListClustersResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1beta/{parent=projects/*/locations/*}/clusters\x12\xa3\x01\n\nGetCluster\x12..google.cloud.alloydb.v1beta.GetClusterRequest\x1a$.google.cloud.alloydb.v1beta.Cluster\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1beta/{name=projects/*/locations/*/clusters/*}\x12\xdf\x01\n\rCreateCluster\x12\x31.google.cloud.alloydb.v1beta.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"|\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02;\"0/v1beta/{parent=projects/*/locations/*}/clusters:\x07\x63luster\x12\xe1\x01\n\rUpdateCluster\x12\x31.google.cloud.alloydb.v1beta.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"~\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x13\x63luster,update_mask\x82\xd3\xe4\x93\x02\x43\x32\x38/v1beta/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\x12\xe6\x01\n\x0eUpgradeCluster\x12\x32.google.cloud.alloydb.v1beta.UpgradeClusterRequest\x1a\x1d.google.longrunning.Operation\"\x80\x01\xca\x41+\n\x16UpgradeClusterResponse\x12\x11OperationMetadata\xda\x41\x0cname,version\x82\xd3\xe4\x93\x02=28/v1beta/{name=projects/*/locations/*/clusters/*}:upgrade:\x01*\x12\xcf\x01\n\rDeleteCluster\x12\x31.google.cloud.alloydb.v1beta.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1beta/{name=projects/*/locations/*/clusters/*}\x12\xce\x01\n\x0ePromoteCluster\x12\x32.google.cloud.alloydb.v1beta.PromoteClusterRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02=\"8/v1beta/{name=projects/*/locations/*/clusters/*}:promote:\x01*\x12\xd7\x01\n\x11SwitchoverCluster\x12\x35.google.cloud.alloydb.v1beta.SwitchoverClusterRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02@\";/v1beta/{name=projects/*/locations/*/clusters/*}:switchover:\x01*\x12\xc7\x01\n\x0eRestoreCluster\x12\x32.google.cloud.alloydb.v1beta.RestoreClusterRequest\x1a\x1d.google.longrunning.Operation\"b\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02=\"8/v1beta/{parent=projects/*/locations/*}/clusters:restore:\x01*\x12\x82\x02\n\x16\x43reateSecondaryCluster\x12:.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02K\"@/v1beta/{parent=projects/*/locations/*}/clusters:createsecondary:\x07\x63luster\x12\xc5\x01\n\rListInstances\x12\x31.google.cloud.alloydb.v1beta.ListInstancesRequest\x1a\x32.google.cloud.alloydb.v1beta.ListInstancesResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1beta/{parent=projects/*/locations/*/clusters/*}/instances\x12\xb2\x01\n\x0bGetInstance\x12/.google.cloud.alloydb.v1beta.GetInstanceRequest\x1a%.google.cloud.alloydb.v1beta.Instance\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\x12</v1beta/{name=projects/*/locations/*/clusters/*/instances/*}\x12\xf2\x01\n\x0e\x43reateInstance\x12\x32.google.cloud.alloydb.v1beta.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02H\"</v1beta/{parent=projects/*/locations/*/clusters/*}/instances:\x08instance\x12\x94\x02\n\x17\x43reateSecondaryInstance\x12;.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x9c\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02X\"L/v1beta/{parent=projects/*/locations/*/clusters/*}/instances:createsecondary:\x08instance\x12\x80\x02\n\x14\x42\x61tchCreateInstances\x12\x38.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest\x1a\x1d.google.longrunning.Operation\"\x8e\x01\xca\x41\x31\n\x1c\x42\x61tchCreateInstancesResponse\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02T\"H/v1beta/{parent=projects/*/locations/*/clusters/*}/instances:batchCreate:\x08requests\x12\xf4\x01\n\x0eUpdateInstance\x12\x32.google.cloud.alloydb.v1beta.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8e\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x14instance,update_mask\x82\xd3\xe4\x93\x02Q2E/v1beta/{instance.name=projects/*/locations/*/clusters/*/instances/*}:\x08instance\x12\xdd\x01\n\x0e\x44\x65leteInstance\x12\x32.google.cloud.alloydb.v1beta.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02>*</v1beta/{name=projects/*/locations/*/clusters/*/instances/*}\x12\xe0\x01\n\x10\x46\x61iloverInstance\x12\x34.google.cloud.alloydb.v1beta.FailoverInstanceRequest\x1a\x1d.google.longrunning.Operation\"w\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02J\"E/v1beta/{name=projects/*/locations/*/clusters/*/instances/*}:failover:\x01*\x12\xe5\x01\n\x0bInjectFault\x12/.google.cloud.alloydb.v1beta.InjectFaultRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x0f\x66\x61ult_type,name\x82\xd3\xe4\x93\x02M\"H/v1beta/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault:\x01*\x12\xdd\x01\n\x0fRestartInstance\x12\x33.google.cloud.alloydb.v1beta.RestartInstanceRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02I\"D/v1beta/{name=projects/*/locations/*/clusters/*/instances/*}:restart:\x01*\x12\xf6\x01\n\nExecuteSql\x12..google.cloud.alloydb.v1beta.ExecuteSqlRequest\x1a/.google.cloud.alloydb.v1beta.ExecuteSqlResponse\"\x86\x01\xda\x41-instance,database,user,sql_statement,password\x82\xd3\xe4\x93\x02P\"K/v1beta/{instance=projects/*/locations/*/clusters/*/instances/*}:executeSql:\x01*\x12\xb2\x01\n\x0bListBackups\x12/.google.cloud.alloydb.v1beta.ListBackupsRequest\x1a\x30.google.cloud.alloydb.v1beta.ListBackupsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1beta/{parent=projects/*/locations/*}/backups\x12\x9f\x01\n\tGetBackup\x12-.google.cloud.alloydb.v1beta.GetBackupRequest\x1a#.google.cloud.alloydb.v1beta.Backup\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1beta/{name=projects/*/locations/*/backups/*}\x12\xd8\x01\n\x0c\x43reateBackup\x12\x30.google.cloud.alloydb.v1beta.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"w\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x17parent,backup,backup_id\x82\xd3\xe4\x93\x02\x39\"//v1beta/{parent=projects/*/locations/*}/backups:\x06\x62\x61\x63kup\x12\xda\x01\n\x0cUpdateBackup\x12\x30.google.cloud.alloydb.v1beta.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x12\x62\x61\x63kup,update_mask\x82\xd3\xe4\x93\x02@26/v1beta/{backup.name=projects/*/locations/*/backups/*}:\x06\x62\x61\x63kup\x12\xcc\x01\n\x0c\x44\x65leteBackup\x12\x30.google.cloud.alloydb.v1beta.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1beta/{name=projects/*/locations/*/backups/*}\x12\xee\x01\n\x1aListSupportedDatabaseFlags\x12>.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest\x1a?.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1beta/{parent=projects/*/locations/*}/supportedDatabaseFlags\x12\xfc\x01\n\x19GenerateClientCertificate\x12=.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest\x1a>.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse\"`\xda\x41\x06parent\x82\xd3\xe4\x93\x02Q\"L/v1beta/{parent=projects/*/locations/*/clusters/*}:generateClientCertificate:\x01*\x12\xd7\x01\n\x11GetConnectionInfo\x12\x35.google.cloud.alloydb.v1beta.GetConnectionInfoRequest\x1a+.google.cloud.alloydb.v1beta.ConnectionInfo\"^\xda\x41\x06parent\x82\xd3\xe4\x93\x02O\x12M/v1beta/{parent=projects/*/locations/*/clusters/*/instances/*}/connectionInfo\x12\xb5\x01\n\tListUsers\x12-.google.cloud.alloydb.v1beta.ListUsersRequest\x1a..google.cloud.alloydb.v1beta.ListUsersResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v1beta/{parent=projects/*/locations/*/clusters/*}/users\x12\xa2\x01\n\x07GetUser\x12+.google.cloud.alloydb.v1beta.GetUserRequest\x1a!.google.cloud.alloydb.v1beta.User\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\x12\x38/v1beta/{name=projects/*/locations/*/clusters/*/users/*}\x12\xbd\x01\n\nCreateUser\x12..google.cloud.alloydb.v1beta.CreateUserRequest\x1a!.google.cloud.alloydb.v1beta.User\"\\\xda\x41\x13parent,user,user_id\x82\xd3\xe4\x93\x02@\"8/v1beta/{parent=projects/*/locations/*/clusters/*}/users:\x04user\x12\xbf\x01\n\nUpdateUser\x12..google.cloud.alloydb.v1beta.UpdateUserRequest\x1a!.google.cloud.alloydb.v1beta.User\"^\xda\x41\x10user,update_mask\x82\xd3\xe4\x93\x02\x45\x32=/v1beta/{user.name=projects/*/locations/*/clusters/*/users/*}:\x04user\x12\x9d\x01\n\nDeleteUser\x12..google.cloud.alloydb.v1beta.DeleteUserRequest\x1a\x16.google.protobuf.Empty\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:*8/v1beta/{name=projects/*/locations/*/clusters/*/users/*}\x12\xc5\x01\n\rListDatabases\x12\x31.google.cloud.alloydb.v1beta.ListDatabasesRequest\x1a\x32.google.cloud.alloydb.v1beta.ListDatabasesResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1beta/{parent=projects/*/locations/*/clusters/*}/databases\x1aJ\xca\x41\x16\x61lloydb.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc9\x01\n\x1f\x63om.google.cloud.alloydb.v1betaB\x0cServiceProtoP\x01Z9cloud.google.com/go/alloydb/apiv1beta/alloydbpb;alloydbpb\xaa\x02\x1bGoogle.Cloud.AlloyDb.V1Beta\xca\x02\x1bGoogle\\Cloud\\AlloyDb\\V1beta\xea\x02\x1eGoogle::Cloud::AlloyDB::V1betab\x06proto3"
|
22
|
+
descriptor_data = "\n)google/cloud/alloydb/v1beta/service.proto\x12\x1bgoogle.cloud.alloydb.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/alloydb/v1beta/data_model.proto\x1a+google/cloud/alloydb/v1beta/resources.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xa5\x01\n\x13ListClustersRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"|\n\x14ListClustersResponse\x12\x36\n\x08\x63lusters\x18\x01 \x03(\x0b\x32$.google.cloud.alloydb.v1beta.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x86\x01\n\x11GetClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12;\n\x04view\x18\x02 \x01(\x0e\x32(.google.cloud.alloydb.v1beta.ClusterViewB\x03\xe0\x41\x01\"\xe1\x01\n\x1d\x43reateSecondaryClusterRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x07\x63luster\x18\x03 \x01(\x0b\x32$.google.cloud.alloydb.v1beta.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"\xd8\x01\n\x14\x43reateClusterRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x07\x63luster\x18\x03 \x01(\x0b\x32$.google.cloud.alloydb.v1beta.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xd9\x01\n\x14UpdateClusterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12:\n\x07\x63luster\x18\x02 \x01(\x0b\x32$.google.cloud.alloydb.v1beta.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\"\n\x0eGcsDestination\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x81\x06\n\x14\x45xportClusterRequest\x12K\n\x0fgcs_destination\x18\x02 \x01(\x0b\x32+.google.cloud.alloydb.v1beta.GcsDestinationB\x03\xe0\x41\x02H\x00\x12`\n\x12\x63sv_export_options\x18\x04 \x01(\x0b\x32\x42.google.cloud.alloydb.v1beta.ExportClusterRequest.CsvExportOptionsH\x01\x12`\n\x12sql_export_options\x18\x05 \x01(\x0b\x32\x42.google.cloud.alloydb.v1beta.ExportClusterRequest.SqlExportOptionsH\x01\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x15\n\x08\x64\x61tabase\x18\x03 \x01(\tB\x03\xe0\x41\x02\x1a\x88\x01\n\x10\x43svExportOptions\x12\x19\n\x0cselect_query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0f\x66ield_delimiter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fquote_character\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x65scape_character\x18\x04 \x01(\tB\x03\xe0\x41\x01\x1a\xde\x01\n\x10SqlExportOptions\x12\x13\n\x06tables\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1d\n\x0bschema_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12&\n\x14\x63lean_target_objects\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12)\n\x17if_exist_target_objects\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x42\x0e\n\x0c_schema_onlyB\x17\n\x15_clean_target_objectsB\x1a\n\x18_if_exist_target_objectsB\r\n\x0b\x64\x65stinationB\x10\n\x0e\x65xport_options\"s\n\x15\x45xportClusterResponse\x12K\n\x0fgcs_destination\x18\x02 \x01(\x0b\x32+.google.cloud.alloydb.v1beta.GcsDestinationB\x03\xe0\x41\x02H\x00\x42\r\n\x0b\x64\x65stination\"\xe1\x01\n\x15UpgradeClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x42\n\x07version\x18\x02 \x01(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x86\x0b\n\x16UpgradeClusterResponse\x12J\n\x06status\x18\x01 \x01(\x0e\x32:.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status\x12\x0f\n\x07message\x18\x02 \x01(\t\x12j\n\x17\x63luster_upgrade_details\x18\x03 \x03(\x0b\x32I.google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails\x1a\xb3\x01\n\tStageInfo\x12H\n\x05stage\x18\x01 \x01(\x0e\x32\x39.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Stage\x12J\n\x06status\x18\x02 \x01(\x0e\x32:.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status\x12\x10\n\x08logs_url\x18\x03 \x01(\t\x1a\xc5\x01\n\x16InstanceUpgradeDetails\x12\x0c\n\x04name\x18\x01 \x01(\t\x12R\n\x0eupgrade_status\x18\x02 \x01(\x0e\x32:.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status\x12I\n\rinstance_type\x18\x03 \x01(\x0e\x32\x32.google.cloud.alloydb.v1beta.Instance.InstanceType\x1a\xca\x03\n\x15\x43lusterUpgradeDetails\x12\x0c\n\x04name\x18\x01 \x01(\t\x12R\n\x0eupgrade_status\x18\x02 \x01(\x0e\x32:.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status\x12\x46\n\x0c\x63luster_type\x18\x03 \x01(\x0e\x32\x30.google.cloud.alloydb.v1beta.Cluster.ClusterType\x12\x46\n\x10\x64\x61tabase_version\x18\x04 \x01(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersion\x12Q\n\nstage_info\x18\x05 \x03(\x0b\x32=.google.cloud.alloydb.v1beta.UpgradeClusterResponse.StageInfo\x12l\n\x18instance_upgrade_details\x18\x06 \x03(\x0b\x32J.google.cloud.alloydb.v1beta.UpgradeClusterResponse.InstanceUpgradeDetails\"\x97\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNOT_STARTED\x10\x04\x12\x0f\n\x0bIN_PROGRESS\x10\x05\x12\x0b\n\x07SUCCESS\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x13\n\x0fPARTIAL_SUCCESS\x10\x03\x12\x16\n\x12\x43\x41NCEL_IN_PROGRESS\x10\x06\x12\r\n\tCANCELLED\x10\x07\"\xbd\x01\n\x05Stage\x12\x15\n\x11STAGE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41LLOYDB_PRECHECK\x10\x01\x12\x14\n\x10PG_UPGRADE_CHECK\x10\x02\x12\x17\n\x13PREPARE_FOR_UPGRADE\x10\x05\x12\x1c\n\x18PRIMARY_INSTANCE_UPGRADE\x10\x03\x12\x1f\n\x1bREAD_POOL_INSTANCES_UPGRADE\x10\x04\x12\x0c\n\x08ROLLBACK\x10\x06\x12\x0b\n\x07\x43LEANUP\x10\x07\"\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\"\x85\x01\n\x18SwitchoverClusterRequest\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\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x95\x01\n\x15PromoteClusterRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x80\x03\n\x15RestoreClusterRequest\x12\x42\n\rbackup_source\x18\x04 \x01(\x0b\x32).google.cloud.alloydb.v1beta.BackupSourceH\x00\x12W\n\x18\x63ontinuous_backup_source\x18\x08 \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.ContinuousBackupSourceH\x00\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x07\x63luster\x18\x03 \x01(\x0b\x32$.google.cloud.alloydb.v1beta.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x42\x08\n\x06source\"\xa7\x01\n\x14ListInstancesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x15ListInstancesResponse\x12\x38\n\tinstances\x18\x01 \x03(\x0b\x32%.google.cloud.alloydb.v1beta.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x84\x01\n\x12GetInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x37\n\x04view\x18\x02 \x01(\x0e\x32).google.cloud.alloydb.v1beta.InstanceView\"\xdd\x01\n\x15\x43reateInstanceRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12<\n\x08instance\x18\x03 \x01(\x0b\x32%.google.cloud.alloydb.v1beta.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xe6\x01\n\x1e\x43reateSecondaryInstanceRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12<\n\x08instance\x18\x03 \x01(\x0b\x32%.google.cloud.alloydb.v1beta.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"s\n\x16\x43reateInstanceRequests\x12Y\n\x18\x63reate_instance_requests\x18\x01 \x03(\x0b\x32\x32.google.cloud.alloydb.v1beta.CreateInstanceRequestB\x03\xe0\x41\x02\"\xbb\x01\n\x1b\x42\x61tchCreateInstancesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Instance\x12J\n\x08requests\x18\x02 \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.CreateInstanceRequestsB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"X\n\x1c\x42\x61tchCreateInstancesResponse\x12\x38\n\tinstances\x18\x01 \x03(\x0b\x32%.google.cloud.alloydb.v1beta.Instance\"\x95\x02\n\x1c\x42\x61tchCreateInstancesMetadata\x12\x18\n\x10instance_targets\x18\x01 \x03(\t\x12j\n\x11instance_statuses\x18\x02 \x03(\x0b\x32O.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.InstanceStatusesEntry\x1ao\n\x15InstanceStatusesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus:\x02\x38\x01\"\xd8\x02\n\x19\x42\x61tchCreateInstanceStatus\x12K\n\x05state\x18\x01 \x01(\x0e\x32<.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State\x12\x11\n\terror_msg\x18\x02 \x01(\t\x12!\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.Status\x12@\n\x04type\x18\x03 \x01(\x0e\x32\x32.google.cloud.alloydb.v1beta.Instance.InstanceType\"v\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x12\n\x0ePENDING_CREATE\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x0f\n\x0bROLLED_BACK\x10\x06\"\xdc\x01\n\x15UpdateInstanceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12<\n\x08instance\x18\x02 \x01(\x0b\x32%.google.cloud.alloydb.v1beta.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x96\x01\n\x15\x44\x65leteInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x85\x01\n\x17\x46\x61iloverInstanceRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x8a\x02\n\x12InjectFaultRequest\x12R\n\nfault_type\x18\x01 \x01(\x0e\x32\x39.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultTypeB\x03\xe0\x41\x02\x12\x35\n\x04name\x18\x02 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"4\n\tFaultType\x12\x1a\n\x16\x46\x41ULT_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07STOP_VM\x10\x01\"\x9b\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\x12\x15\n\x08node_ids\x18\x04 \x03(\tB\x03\xe0\x41\x01\"\xc0\x01\n\x11\x45xecuteSqlRequest\x12\x17\n\x08password\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x39\n\x08instance\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x15\n\x08\x64\x61tabase\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04user\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rsql_statement\x18\x04 \x01(\tB\x03\xe0\x41\x02\x42\x11\n\x0fuser_credential\"\x94\x01\n\x12\x45xecuteSqlResponse\x12;\n\x0bsql_results\x18\x01 \x03(\x0b\x32&.google.cloud.alloydb.v1beta.SqlResult\x12\x41\n\x08metadata\x18\x03 \x01(\x0b\x32/.google.cloud.alloydb.v1beta.ExecuteSqlMetadata\"\x8c\x02\n\x12\x45xecuteSqlMetadata\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x16\n\x0epartial_result\x18\x02 \x01(\x08\x12\x43\n sql_statement_execution_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x46\n\x06status\x18\x04 \x01(\x0e\x32\x36.google.cloud.alloydb.v1beta.ExecuteSqlMetadata.Status\"@\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x0b\n\x07PARTIAL\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"\x94\x01\n\x12ListBackupsRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1d\x61lloydb.googleapis.com/Backup\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"y\n\x13ListBackupsResponse\x12\x34\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32#.google.cloud.alloydb.v1beta.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"G\n\x10GetBackupRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\"\xd3\x01\n\x13\x43reateBackupRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1d\x61lloydb.googleapis.com/Backup\x12\x16\n\tbackup_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32#.google.cloud.alloydb.v1beta.BackupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xd6\x01\n\x13UpdateBackupRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x38\n\x06\x62\x61\x63kup\x18\x02 \x01(\x0b\x32#.google.cloud.alloydb.v1beta.BackupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x92\x01\n\x13\x44\x65leteBackupRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x90\x01\n!ListSupportedDatabaseFlagsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,alloydb.googleapis.com/SupportedDatabaseFlag\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x93\x01\n\"ListSupportedDatabaseFlagsResponse\x12T\n\x18supported_database_flags\x18\x01 \x03(\x0b\x32\x32.google.cloud.alloydb.v1beta.SupportedDatabaseFlag\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xff\x01\n GenerateClientCertificateRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\x07pem_csr\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12\x35\n\rcert_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x17\n\npublic_key\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\"\n\x15use_metadata_exchange\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"}\n!GenerateClientCertificateResponse\x12\x1e\n\x0fpem_certificate\x18\x01 \x01(\tB\x05\x18\x01\xe0\x41\x03\x12\"\n\x15pem_certificate_chain\x18\x02 \x03(\tB\x03\xe0\x41\x03\x12\x14\n\x07\x63\x61_cert\x18\x03 \x01(\tB\x03\xe0\x41\x01\"l\n\x18GetConnectionInfoRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61lloydb.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xb3\x04\n\x11OperationMetadata\x12i\n\x1f\x62\x61tch_create_instances_metadata\x18\x08 \x01(\x0b\x32\x39.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataB\x03\xe0\x41\x03H\x00\x12X\n\x16promote_cluster_status\x18\t \x01(\x0b\x32\x31.google.cloud.alloydb.v1beta.PromoteClusterStatusB\x03\xe0\x41\x03H\x00\x12X\n\x16upgrade_cluster_status\x18\n \x01(\x0b\x32\x31.google.cloud.alloydb.v1beta.UpgradeClusterStatusB\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\"\xf4\x01\n\x14PromoteClusterStatus\x12K\n\x05state\x18\x01 \x01(\x0e\x32\x37.google.cloud.alloydb.v1beta.PromoteClusterStatus.StateB\x03\xe0\x41\x03\"\x8e\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12&\n\"PROMOTE_CLUSTER_AVAILABLE_FOR_READ\x10\x01\x12\'\n#PROMOTE_CLUSTER_AVAILABLE_FOR_WRITE\x10\x02\x12\x1d\n\x19PROMOTE_CLUSTER_COMPLETED\x10\x03\"\xf9\x06\n\x14UpgradeClusterStatus\x12I\n\x05state\x18\x01 \x01(\x0e\x32:.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status\x12\x13\n\x0b\x63\x61ncellable\x18\x02 \x01(\x08\x12\x44\n\x0esource_version\x18\x03 \x01(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersion\x12\x44\n\x0etarget_version\x18\x04 \x01(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersion\x12M\n\x06stages\x18\x05 \x03(\x0b\x32=.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus\x1a\xb9\x02\n\x0bStageStatus\x12|\n\x1bread_pool_instances_upgrade\x18\x0b \x01(\x0b\x32U.google.cloud.alloydb.v1beta.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatusH\x00\x12H\n\x05stage\x18\x01 \x01(\x0e\x32\x39.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Stage\x12I\n\x05state\x18\x02 \x01(\x0e\x32:.google.cloud.alloydb.v1beta.UpgradeClusterResponse.StatusB\x17\n\x15stage_specific_status\x1a\xe9\x01\n#ReadPoolInstancesUpgradeStageStatus\x12r\n\rupgrade_stats\x18\x01 \x01(\x0b\x32[.google.cloud.alloydb.v1beta.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats\x1aN\n\x05Stats\x12\x13\n\x0bnot_started\x18\x01 \x01(\x05\x12\x0f\n\x07ongoing\x18\x02 \x01(\x05\x12\x0f\n\x07success\x18\x03 \x01(\x05\x12\x0e\n\x06\x66\x61iled\x18\x04 \x01(\x05\"\xa4\x01\n\x10ListUsersRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x61lloydb.googleapis.com/User\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"s\n\x11ListUsersResponse\x12\x30\n\x05users\x18\x01 \x03(\x0b\x32!.google.cloud.alloydb.v1beta.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"C\n\x0eGetUserRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x61lloydb.googleapis.com/User\"\xc9\x01\n\x11\x43reateUserRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x61lloydb.googleapis.com/User\x12\x14\n\x07user_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x04user\x18\x03 \x01(\x0b\x32!.google.cloud.alloydb.v1beta.UserB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xd0\x01\n\x11UpdateUserRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x34\n\x04user\x18\x02 \x01(\x0b\x32!.google.cloud.alloydb.v1beta.UserB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"{\n\x11\x44\x65leteUserRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x61lloydb.googleapis.com/User\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x95\x01\n\x14ListDatabasesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x61lloydb.googleapis.com/Database\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"j\n\x15ListDatabasesResponse\x12\x38\n\tdatabases\x18\x01 \x03(\x0b\x32%.google.cloud.alloydb.v1beta.Database\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xc6=\n\x0c\x41lloyDBAdmin\x12\xb6\x01\n\x0cListClusters\x12\x30.google.cloud.alloydb.v1beta.ListClustersRequest\x1a\x31.google.cloud.alloydb.v1beta.ListClustersResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1beta/{parent=projects/*/locations/*}/clusters\x12\xa3\x01\n\nGetCluster\x12..google.cloud.alloydb.v1beta.GetClusterRequest\x1a$.google.cloud.alloydb.v1beta.Cluster\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1beta/{name=projects/*/locations/*/clusters/*}\x12\xdf\x01\n\rCreateCluster\x12\x31.google.cloud.alloydb.v1beta.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"|\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02;\"0/v1beta/{parent=projects/*/locations/*}/clusters:\x07\x63luster\x12\xe1\x01\n\rUpdateCluster\x12\x31.google.cloud.alloydb.v1beta.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"~\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x13\x63luster,update_mask\x82\xd3\xe4\x93\x02\x43\x32\x38/v1beta/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\x12\x99\x02\n\rExportCluster\x12\x31.google.cloud.alloydb.v1beta.ExportClusterRequest\x1a\x1d.google.longrunning.Operation\"\xb5\x01\xca\x41*\n\x15\x45xportClusterResponse\x12\x11OperationMetadata\xda\x41\x43name,gcs_destination,database,csv_export_options,sql_export_options\x82\xd3\xe4\x93\x02<\"7/v1beta/{name=projects/*/locations/*/clusters/*}:export:\x01*\x12\xe6\x01\n\x0eUpgradeCluster\x12\x32.google.cloud.alloydb.v1beta.UpgradeClusterRequest\x1a\x1d.google.longrunning.Operation\"\x80\x01\xca\x41+\n\x16UpgradeClusterResponse\x12\x11OperationMetadata\xda\x41\x0cname,version\x82\xd3\xe4\x93\x02=28/v1beta/{name=projects/*/locations/*/clusters/*}:upgrade:\x01*\x12\xcf\x01\n\rDeleteCluster\x12\x31.google.cloud.alloydb.v1beta.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1beta/{name=projects/*/locations/*/clusters/*}\x12\xce\x01\n\x0ePromoteCluster\x12\x32.google.cloud.alloydb.v1beta.PromoteClusterRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02=\"8/v1beta/{name=projects/*/locations/*/clusters/*}:promote:\x01*\x12\xd7\x01\n\x11SwitchoverCluster\x12\x35.google.cloud.alloydb.v1beta.SwitchoverClusterRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02@\";/v1beta/{name=projects/*/locations/*/clusters/*}:switchover:\x01*\x12\xc7\x01\n\x0eRestoreCluster\x12\x32.google.cloud.alloydb.v1beta.RestoreClusterRequest\x1a\x1d.google.longrunning.Operation\"b\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02=\"8/v1beta/{parent=projects/*/locations/*}/clusters:restore:\x01*\x12\x82\x02\n\x16\x43reateSecondaryCluster\x12:.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02K\"@/v1beta/{parent=projects/*/locations/*}/clusters:createsecondary:\x07\x63luster\x12\xc5\x01\n\rListInstances\x12\x31.google.cloud.alloydb.v1beta.ListInstancesRequest\x1a\x32.google.cloud.alloydb.v1beta.ListInstancesResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1beta/{parent=projects/*/locations/*/clusters/*}/instances\x12\xb2\x01\n\x0bGetInstance\x12/.google.cloud.alloydb.v1beta.GetInstanceRequest\x1a%.google.cloud.alloydb.v1beta.Instance\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\x12</v1beta/{name=projects/*/locations/*/clusters/*/instances/*}\x12\xf2\x01\n\x0e\x43reateInstance\x12\x32.google.cloud.alloydb.v1beta.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02H\"</v1beta/{parent=projects/*/locations/*/clusters/*}/instances:\x08instance\x12\x94\x02\n\x17\x43reateSecondaryInstance\x12;.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x9c\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02X\"L/v1beta/{parent=projects/*/locations/*/clusters/*}/instances:createsecondary:\x08instance\x12\x80\x02\n\x14\x42\x61tchCreateInstances\x12\x38.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest\x1a\x1d.google.longrunning.Operation\"\x8e\x01\xca\x41\x31\n\x1c\x42\x61tchCreateInstancesResponse\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02T\"H/v1beta/{parent=projects/*/locations/*/clusters/*}/instances:batchCreate:\x08requests\x12\xf4\x01\n\x0eUpdateInstance\x12\x32.google.cloud.alloydb.v1beta.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8e\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x14instance,update_mask\x82\xd3\xe4\x93\x02Q2E/v1beta/{instance.name=projects/*/locations/*/clusters/*/instances/*}:\x08instance\x12\xdd\x01\n\x0e\x44\x65leteInstance\x12\x32.google.cloud.alloydb.v1beta.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02>*</v1beta/{name=projects/*/locations/*/clusters/*/instances/*}\x12\xe0\x01\n\x10\x46\x61iloverInstance\x12\x34.google.cloud.alloydb.v1beta.FailoverInstanceRequest\x1a\x1d.google.longrunning.Operation\"w\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02J\"E/v1beta/{name=projects/*/locations/*/clusters/*/instances/*}:failover:\x01*\x12\xe5\x01\n\x0bInjectFault\x12/.google.cloud.alloydb.v1beta.InjectFaultRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x0f\x66\x61ult_type,name\x82\xd3\xe4\x93\x02M\"H/v1beta/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault:\x01*\x12\xdd\x01\n\x0fRestartInstance\x12\x33.google.cloud.alloydb.v1beta.RestartInstanceRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02I\"D/v1beta/{name=projects/*/locations/*/clusters/*/instances/*}:restart:\x01*\x12\xf6\x01\n\nExecuteSql\x12..google.cloud.alloydb.v1beta.ExecuteSqlRequest\x1a/.google.cloud.alloydb.v1beta.ExecuteSqlResponse\"\x86\x01\xda\x41-instance,database,user,sql_statement,password\x82\xd3\xe4\x93\x02P\"K/v1beta/{instance=projects/*/locations/*/clusters/*/instances/*}:executeSql:\x01*\x12\xb2\x01\n\x0bListBackups\x12/.google.cloud.alloydb.v1beta.ListBackupsRequest\x1a\x30.google.cloud.alloydb.v1beta.ListBackupsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1beta/{parent=projects/*/locations/*}/backups\x12\x9f\x01\n\tGetBackup\x12-.google.cloud.alloydb.v1beta.GetBackupRequest\x1a#.google.cloud.alloydb.v1beta.Backup\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1beta/{name=projects/*/locations/*/backups/*}\x12\xd8\x01\n\x0c\x43reateBackup\x12\x30.google.cloud.alloydb.v1beta.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"w\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x17parent,backup,backup_id\x82\xd3\xe4\x93\x02\x39\"//v1beta/{parent=projects/*/locations/*}/backups:\x06\x62\x61\x63kup\x12\xda\x01\n\x0cUpdateBackup\x12\x30.google.cloud.alloydb.v1beta.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x12\x62\x61\x63kup,update_mask\x82\xd3\xe4\x93\x02@26/v1beta/{backup.name=projects/*/locations/*/backups/*}:\x06\x62\x61\x63kup\x12\xcc\x01\n\x0c\x44\x65leteBackup\x12\x30.google.cloud.alloydb.v1beta.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1beta/{name=projects/*/locations/*/backups/*}\x12\xee\x01\n\x1aListSupportedDatabaseFlags\x12>.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest\x1a?.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1beta/{parent=projects/*/locations/*}/supportedDatabaseFlags\x12\xfc\x01\n\x19GenerateClientCertificate\x12=.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest\x1a>.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse\"`\xda\x41\x06parent\x82\xd3\xe4\x93\x02Q\"L/v1beta/{parent=projects/*/locations/*/clusters/*}:generateClientCertificate:\x01*\x12\xd7\x01\n\x11GetConnectionInfo\x12\x35.google.cloud.alloydb.v1beta.GetConnectionInfoRequest\x1a+.google.cloud.alloydb.v1beta.ConnectionInfo\"^\xda\x41\x06parent\x82\xd3\xe4\x93\x02O\x12M/v1beta/{parent=projects/*/locations/*/clusters/*/instances/*}/connectionInfo\x12\xb5\x01\n\tListUsers\x12-.google.cloud.alloydb.v1beta.ListUsersRequest\x1a..google.cloud.alloydb.v1beta.ListUsersResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v1beta/{parent=projects/*/locations/*/clusters/*}/users\x12\xa2\x01\n\x07GetUser\x12+.google.cloud.alloydb.v1beta.GetUserRequest\x1a!.google.cloud.alloydb.v1beta.User\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\x12\x38/v1beta/{name=projects/*/locations/*/clusters/*/users/*}\x12\xbd\x01\n\nCreateUser\x12..google.cloud.alloydb.v1beta.CreateUserRequest\x1a!.google.cloud.alloydb.v1beta.User\"\\\xda\x41\x13parent,user,user_id\x82\xd3\xe4\x93\x02@\"8/v1beta/{parent=projects/*/locations/*/clusters/*}/users:\x04user\x12\xbf\x01\n\nUpdateUser\x12..google.cloud.alloydb.v1beta.UpdateUserRequest\x1a!.google.cloud.alloydb.v1beta.User\"^\xda\x41\x10user,update_mask\x82\xd3\xe4\x93\x02\x45\x32=/v1beta/{user.name=projects/*/locations/*/clusters/*/users/*}:\x04user\x12\x9d\x01\n\nDeleteUser\x12..google.cloud.alloydb.v1beta.DeleteUserRequest\x1a\x16.google.protobuf.Empty\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:*8/v1beta/{name=projects/*/locations/*/clusters/*/users/*}\x12\xc5\x01\n\rListDatabases\x12\x31.google.cloud.alloydb.v1beta.ListDatabasesRequest\x1a\x32.google.cloud.alloydb.v1beta.ListDatabasesResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1beta/{parent=projects/*/locations/*/clusters/*}/databases\x1aJ\xca\x41\x16\x61lloydb.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc9\x01\n\x1f\x63om.google.cloud.alloydb.v1betaB\x0cServiceProtoP\x01Z9cloud.google.com/go/alloydb/apiv1beta/alloydbpb;alloydbpb\xaa\x02\x1bGoogle.Cloud.AlloyDb.V1Beta\xca\x02\x1bGoogle\\Cloud\\AlloyDb\\V1beta\xea\x02\x1eGoogle::Cloud::AlloyDB::V1betab\x06proto3"
|
23
23
|
|
24
24
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
25
25
|
|
@@ -61,6 +61,11 @@ module Google
|
|
61
61
|
CreateSecondaryClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest").msgclass
|
62
62
|
CreateClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.CreateClusterRequest").msgclass
|
63
63
|
UpdateClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.UpdateClusterRequest").msgclass
|
64
|
+
GcsDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.GcsDestination").msgclass
|
65
|
+
ExportClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ExportClusterRequest").msgclass
|
66
|
+
ExportClusterRequest::CsvExportOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ExportClusterRequest.CsvExportOptions").msgclass
|
67
|
+
ExportClusterRequest::SqlExportOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ExportClusterRequest.SqlExportOptions").msgclass
|
68
|
+
ExportClusterResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ExportClusterResponse").msgclass
|
64
69
|
UpgradeClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.UpgradeClusterRequest").msgclass
|
65
70
|
UpgradeClusterResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.UpgradeClusterResponse").msgclass
|
66
71
|
UpgradeClusterResponse::StageInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.UpgradeClusterResponse.StageInfo").msgclass
|
@@ -41,6 +41,9 @@ module Google
|
|
41
41
|
rpc :CreateCluster, ::Google::Cloud::AlloyDB::V1beta::CreateClusterRequest, ::Google::Longrunning::Operation
|
42
42
|
# Updates the parameters of a single Cluster.
|
43
43
|
rpc :UpdateCluster, ::Google::Cloud::AlloyDB::V1beta::UpdateClusterRequest, ::Google::Longrunning::Operation
|
44
|
+
# Exports data from the cluster.
|
45
|
+
# Imperative only.
|
46
|
+
rpc :ExportCluster, ::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest, ::Google::Longrunning::Operation
|
44
47
|
# Upgrades a single Cluster.
|
45
48
|
# Imperative only.
|
46
49
|
rpc :UpgradeCluster, ::Google::Cloud::AlloyDB::V1beta::UpgradeClusterRequest, ::Google::Longrunning::Operation
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -736,11 +736,13 @@ module Google
|
|
736
736
|
# zone with available capacity.
|
737
737
|
# @!attribute [rw] database_flags
|
738
738
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
739
|
-
# Database flags. Set at instance level.
|
740
|
-
#
|
741
|
-
#
|
742
|
-
#
|
743
|
-
#
|
739
|
+
# Database flags. Set at the instance level.
|
740
|
+
# They are copied from the primary instance on secondary instance creation.
|
741
|
+
# Flags that have restrictions default to the value at primary
|
742
|
+
# instance on read instances during creation. Read instances can set new
|
743
|
+
# flags or override existing flags that are relevant for reads, for example,
|
744
|
+
# for enabling columnar cache on a read instance. Flags set on read instance
|
745
|
+
# might or might not be present on the primary instance.
|
744
746
|
#
|
745
747
|
#
|
746
748
|
# This is a list of "key": "value" pairs.
|
@@ -834,19 +836,20 @@ module Google
|
|
834
836
|
# Details of a single node in the instance.
|
835
837
|
# Nodes in an AlloyDB instance are ephemereal, they can change during
|
836
838
|
# update, failover, autohealing and resize operations.
|
837
|
-
# @!attribute [
|
839
|
+
# @!attribute [r] zone_id
|
838
840
|
# @return [::String]
|
839
|
-
# The Compute Engine zone of the VM e.g. "us-central1-b".
|
840
|
-
# @!attribute [
|
841
|
+
# Output only. The Compute Engine zone of the VM e.g. "us-central1-b".
|
842
|
+
# @!attribute [r] id
|
841
843
|
# @return [::String]
|
842
|
-
# The identifier of the VM e.g.
|
843
|
-
#
|
844
|
+
# Output only. The identifier of the VM e.g.
|
845
|
+
# "test-read-0601-407e52be-ms3l".
|
846
|
+
# @!attribute [r] ip
|
844
847
|
# @return [::String]
|
845
|
-
# The private IP address of the VM e.g. "10.57.0.34".
|
846
|
-
# @!attribute [
|
848
|
+
# Output only. The private IP address of the VM e.g. "10.57.0.34".
|
849
|
+
# @!attribute [r] state
|
847
850
|
# @return [::String]
|
848
|
-
# Determined by state of the compute VM and postgres-service
|
849
|
-
# Compute VM state can have values listed in
|
851
|
+
# Output only. Determined by state of the compute VM and postgres-service
|
852
|
+
# health. Compute VM state can have values listed in
|
850
853
|
# https://cloud.google.com/compute/docs/instances/instance-life-cycle and
|
851
854
|
# postgres-service health can have values: HEALTHY and UNHEALTHY.
|
852
855
|
class Node
|
@@ -186,6 +186,99 @@ module Google
|
|
186
186
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
187
187
|
end
|
188
188
|
|
189
|
+
# Destination for Export. Export will be done to cloud storage.
|
190
|
+
# @!attribute [rw] uri
|
191
|
+
# @return [::String]
|
192
|
+
# Required. The path to the file in Google Cloud Storage where the export
|
193
|
+
# will be stored. The URI is in the form `gs://bucketName/fileName`.
|
194
|
+
class GcsDestination
|
195
|
+
include ::Google::Protobuf::MessageExts
|
196
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
197
|
+
end
|
198
|
+
|
199
|
+
# Export cluster request.
|
200
|
+
# @!attribute [rw] gcs_destination
|
201
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::GcsDestination]
|
202
|
+
# Required. Option to export data to cloud storage.
|
203
|
+
# @!attribute [rw] csv_export_options
|
204
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest::CsvExportOptions]
|
205
|
+
# Options for exporting data in CSV format. Required field to be set for
|
206
|
+
# CSV file type.
|
207
|
+
#
|
208
|
+
# Note: The following fields are mutually exclusive: `csv_export_options`, `sql_export_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
209
|
+
# @!attribute [rw] sql_export_options
|
210
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest::SqlExportOptions]
|
211
|
+
# Options for exporting data in SQL format. Required field to be set for
|
212
|
+
# SQL file type.
|
213
|
+
#
|
214
|
+
# Note: The following fields are mutually exclusive: `sql_export_options`, `csv_export_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
215
|
+
# @!attribute [rw] name
|
216
|
+
# @return [::String]
|
217
|
+
# Required. The resource name of the cluster.
|
218
|
+
# @!attribute [rw] database
|
219
|
+
# @return [::String]
|
220
|
+
# Required. Name of the database where the export command will be executed.
|
221
|
+
# Note - Value provided should be the same as expected from
|
222
|
+
# `SELECT current_database();` and NOT as a resource reference.
|
223
|
+
class ExportClusterRequest
|
224
|
+
include ::Google::Protobuf::MessageExts
|
225
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
226
|
+
|
227
|
+
# Options for exporting data in CSV format.
|
228
|
+
# @!attribute [rw] select_query
|
229
|
+
# @return [::String]
|
230
|
+
# Required. The SELECT query used to extract the data.
|
231
|
+
# @!attribute [rw] field_delimiter
|
232
|
+
# @return [::String]
|
233
|
+
# Optional. Specifies the character that separates columns within each row
|
234
|
+
# (line) of the file. The default is comma. The value of this argument has
|
235
|
+
# to be a character in Hex ASCII Code.
|
236
|
+
# @!attribute [rw] quote_character
|
237
|
+
# @return [::String]
|
238
|
+
# Optional. Specifies the quoting character to be used when a data value is
|
239
|
+
# quoted. The default is double-quote. The value of this argument has to be
|
240
|
+
# a character in Hex ASCII Code.
|
241
|
+
# @!attribute [rw] escape_character
|
242
|
+
# @return [::String]
|
243
|
+
# Optional. Specifies the character that should appear before a data
|
244
|
+
# character that needs to be escaped. The default is the same as quote
|
245
|
+
# character. The value of this argument has to be a character in Hex ASCII
|
246
|
+
# Code.
|
247
|
+
class CsvExportOptions
|
248
|
+
include ::Google::Protobuf::MessageExts
|
249
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
250
|
+
end
|
251
|
+
|
252
|
+
# Options for exporting data in SQL format.
|
253
|
+
# @!attribute [rw] tables
|
254
|
+
# @return [::Array<::String>]
|
255
|
+
# Optional. Tables to export from.
|
256
|
+
# @!attribute [rw] schema_only
|
257
|
+
# @return [::Boolean]
|
258
|
+
# Optional. If true, only export the schema.
|
259
|
+
# @!attribute [rw] clean_target_objects
|
260
|
+
# @return [::Boolean]
|
261
|
+
# Optional. If true, output commands to DROP all the dumped database
|
262
|
+
# objects prior to outputting the commands for creating them.
|
263
|
+
# @!attribute [rw] if_exist_target_objects
|
264
|
+
# @return [::Boolean]
|
265
|
+
# Optional. If true, use DROP ... IF EXISTS commands to check for the
|
266
|
+
# object's existence before dropping it in clean_target_objects mode.
|
267
|
+
class SqlExportOptions
|
268
|
+
include ::Google::Protobuf::MessageExts
|
269
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
270
|
+
end
|
271
|
+
end
|
272
|
+
|
273
|
+
# Response of export cluster rpc.
|
274
|
+
# @!attribute [rw] gcs_destination
|
275
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::GcsDestination]
|
276
|
+
# Required. Option to export data to cloud storage.
|
277
|
+
class ExportClusterResponse
|
278
|
+
include ::Google::Protobuf::MessageExts
|
279
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
280
|
+
end
|
281
|
+
|
189
282
|
# Upgrades a cluster.
|
190
283
|
# @!attribute [rw] name
|
191
284
|
# @return [::String]
|
@@ -1351,9 +1444,10 @@ module Google
|
|
1351
1444
|
# @return [::Boolean]
|
1352
1445
|
# Output only. Identifies whether the user has requested cancellation
|
1353
1446
|
# of the operation. Operations that have successfully been cancelled
|
1354
|
-
# have
|
1355
|
-
# {::Google::
|
1356
|
-
#
|
1447
|
+
# have
|
1448
|
+
# {::Google::Longrunning::Operation#error google.longrunning.Operation.error}
|
1449
|
+
# value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
|
1450
|
+
# corresponding to `Code.CANCELLED`.
|
1357
1451
|
# @!attribute [r] api_version
|
1358
1452
|
# @return [::String]
|
1359
1453
|
# Output only. API version used to start the operation.
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-alloy_db-v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-03-18 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: gapic-common
|
@@ -164,14 +164,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
164
|
- !ruby/object:Gem::Version
|
165
165
|
version: '0'
|
166
166
|
requirements: []
|
167
|
-
rubygems_version: 3.6.
|
167
|
+
rubygems_version: 3.6.5
|
168
168
|
specification_version: 4
|
169
169
|
summary: AlloyDB for PostgreSQL is an open source-compatible database service that
|
170
170
|
provides a powerful option for migrating, modernizing, or building commercial-grade
|
171
171
|
applications. It offers full compatibility with standard PostgreSQL, and is more
|
172
172
|
than 4x faster for transactional workloads and up to 100x faster for analytical
|
173
173
|
queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL
|
174
|
-
offers a 99.99 percent availability SLA inclusive of maintenance.
|
174
|
+
offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized
|
175
175
|
for the most demanding use cases, allowing you to build new applications that require
|
176
176
|
high transaction throughput, large database sizes, or multiple read resources; scale
|
177
177
|
existing PostgreSQL workloads with no application changes; and modernize legacy
|