google-cloud-alloy_db-v1 1.1.0 → 1.2.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.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/alloy_db/v1/alloy_db_admin/client.rb +375 -4
  4. data/lib/google/cloud/alloy_db/v1/alloy_db_admin/rest/client.rb +354 -4
  5. data/lib/google/cloud/alloy_db/v1/alloy_db_admin/rest/service_stub.rb +186 -0
  6. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/client.rb +519 -0
  7. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/credentials.rb +47 -0
  8. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/operations.rb +813 -0
  9. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/paths.rb +128 -0
  10. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/rest/client.rb +494 -0
  11. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/rest/operations.rb +914 -0
  12. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/rest/service_stub.rb +143 -0
  13. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin/rest.rb +54 -0
  14. data/lib/google/cloud/alloy_db/v1/alloy_db_cloud_sql_admin.rb +56 -0
  15. data/lib/google/cloud/alloy_db/v1/rest.rb +1 -0
  16. data/lib/google/cloud/alloy_db/v1/version.rb +1 -1
  17. data/lib/google/cloud/alloy_db/v1.rb +1 -0
  18. data/lib/google/cloud/alloydb/v1/csql_resources_pb.rb +44 -0
  19. data/lib/google/cloud/alloydb/v1/csql_service_pb.rb +53 -0
  20. data/lib/google/cloud/alloydb/v1/csql_service_services_pb.rb +45 -0
  21. data/lib/google/cloud/alloydb/v1/resources_pb.rb +7 -1
  22. data/lib/google/cloud/alloydb/v1/service_pb.rb +21 -1
  23. data/lib/google/cloud/alloydb/v1/service_services_pb.rb +9 -0
  24. data/proto_docs/google/cloud/alloydb/v1/csql_resources.rb +42 -0
  25. data/proto_docs/google/cloud/alloydb/v1/csql_service.rb +45 -0
  26. data/proto_docs/google/cloud/alloydb/v1/resources.rb +153 -21
  27. data/proto_docs/google/cloud/alloydb/v1/service.rb +420 -6
  28. metadata +16 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3a39856e69a6f5db297ee6d22cb036301aff82e6eda24e811bdbfe06587921b
4
- data.tar.gz: c759eacfd184c0e4a210514d79af8b7780de34302b0732ec4802b71d22bf6c87
3
+ metadata.gz: d7c6a18ec347a85af5b63a2163c7243624167d75f450453c1975bb0345742304
4
+ data.tar.gz: f42c73df071937d5061b7bfda28e64e13ec0e22ed4d9b378818b27ebcadafca7
5
5
  SHA512:
6
- metadata.gz: ed32413a0724375ed67dca70b264eb742bfa34876c4a80a739269264db4948b9c85c8753d5671efb4cd28eabdf592d5556575a214576baf2ce859553cf3146f8
7
- data.tar.gz: 39e054f379cc3d7b44b280f743186140172a758911c87cc1e2a20e69a4a5b5be1e20ef2033673d7580ef54a84d20973701cf36d8cbdc249b72e373b5c8f506f4
6
+ metadata.gz: fd4b8dd71d123a16e280042ec401628b93a3be72ba0cbdf6c20acdfae6e68b7f408cdac6a48990863729f50386e08f8fb22731202cd014a2458bd269ae1cec94
7
+ data.tar.gz: 75fb8431c846f936dbc37b8a123661a71eb6dea9df34ecf5b8111e4bd2e04052f0ead8819919125af85eeedb05fdfb67b1e150e5cd8a19439336fcd7cf3d9fa8
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the AlloyDB V1 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. 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.
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
 
@@ -706,6 +706,353 @@ module Google
706
706
  raise ::Google::Cloud::Error.from_error(e)
707
707
  end
708
708
 
709
+ ##
710
+ # Exports data from the cluster.
711
+ # Imperative only.
712
+ #
713
+ # @overload export_cluster(request, options = nil)
714
+ # Pass arguments to `export_cluster` via a request object, either of type
715
+ # {::Google::Cloud::AlloyDB::V1::ExportClusterRequest} or an equivalent Hash.
716
+ #
717
+ # @param request [::Google::Cloud::AlloyDB::V1::ExportClusterRequest, ::Hash]
718
+ # A request object representing the call parameters. Required. To specify no
719
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
720
+ # @param options [::Gapic::CallOptions, ::Hash]
721
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
722
+ #
723
+ # @overload export_cluster(gcs_destination: nil, csv_export_options: nil, sql_export_options: nil, name: nil, database: nil)
724
+ # Pass arguments to `export_cluster` via keyword arguments. Note that at
725
+ # least one keyword argument is required. To specify no parameters, or to keep all
726
+ # the default parameter values, pass an empty Hash as a request object (see above).
727
+ #
728
+ # @param gcs_destination [::Google::Cloud::AlloyDB::V1::GcsDestination, ::Hash]
729
+ # Required. Option to export data to cloud storage.
730
+ # @param csv_export_options [::Google::Cloud::AlloyDB::V1::ExportClusterRequest::CsvExportOptions, ::Hash]
731
+ # Options for exporting data in CSV format. Required field to be set for
732
+ # CSV file type.
733
+ #
734
+ # 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.
735
+ # @param sql_export_options [::Google::Cloud::AlloyDB::V1::ExportClusterRequest::SqlExportOptions, ::Hash]
736
+ # Options for exporting data in SQL format. Required field to be set for
737
+ # SQL file type.
738
+ #
739
+ # 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.
740
+ # @param name [::String]
741
+ # Required. The resource name of the cluster.
742
+ # @param database [::String]
743
+ # Required. Name of the database where the export command will be executed.
744
+ # Note - Value provided should be the same as expected from
745
+ # `SELECT current_database();` and NOT as a resource reference.
746
+ #
747
+ # @yield [response, operation] Access the result along with the RPC operation
748
+ # @yieldparam response [::Gapic::Operation]
749
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
750
+ #
751
+ # @return [::Gapic::Operation]
752
+ #
753
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
754
+ #
755
+ # @example Basic example
756
+ # require "google/cloud/alloy_db/v1"
757
+ #
758
+ # # Create a client object. The client can be reused for multiple calls.
759
+ # client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Client.new
760
+ #
761
+ # # Create a request. To set request fields, pass in keyword arguments.
762
+ # request = Google::Cloud::AlloyDB::V1::ExportClusterRequest.new
763
+ #
764
+ # # Call the export_cluster method.
765
+ # result = client.export_cluster request
766
+ #
767
+ # # The returned object is of type Gapic::Operation. You can use it to
768
+ # # check the status of an operation, cancel it, or wait for results.
769
+ # # Here is how to wait for a response.
770
+ # result.wait_until_done! timeout: 60
771
+ # if result.response?
772
+ # p result.response
773
+ # else
774
+ # puts "No response received."
775
+ # end
776
+ #
777
+ def export_cluster request, options = nil
778
+ raise ::ArgumentError, "request must be provided" if request.nil?
779
+
780
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1::ExportClusterRequest
781
+
782
+ # Converts hash and nil to an options object
783
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
784
+
785
+ # Customize the options with defaults
786
+ metadata = @config.rpcs.export_cluster.metadata.to_h
787
+
788
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
789
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
790
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
791
+ gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
792
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
793
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
794
+
795
+ header_params = {}
796
+ if request.name
797
+ header_params["name"] = request.name
798
+ end
799
+
800
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
801
+ metadata[:"x-goog-request-params"] ||= request_params_header
802
+
803
+ options.apply_defaults timeout: @config.rpcs.export_cluster.timeout,
804
+ metadata: metadata,
805
+ retry_policy: @config.rpcs.export_cluster.retry_policy
806
+
807
+ options.apply_defaults timeout: @config.timeout,
808
+ metadata: @config.metadata,
809
+ retry_policy: @config.retry_policy
810
+
811
+ @alloy_db_admin_stub.call_rpc :export_cluster, request, options: options do |response, operation|
812
+ response = ::Gapic::Operation.new response, @operations_client, options: options
813
+ yield response, operation if block_given?
814
+ throw :response, response
815
+ end
816
+ rescue ::GRPC::BadStatus => e
817
+ raise ::Google::Cloud::Error.from_error(e)
818
+ end
819
+
820
+ ##
821
+ # Imports data to the cluster.
822
+ # Imperative only.
823
+ #
824
+ # @overload import_cluster(request, options = nil)
825
+ # Pass arguments to `import_cluster` via a request object, either of type
826
+ # {::Google::Cloud::AlloyDB::V1::ImportClusterRequest} or an equivalent Hash.
827
+ #
828
+ # @param request [::Google::Cloud::AlloyDB::V1::ImportClusterRequest, ::Hash]
829
+ # A request object representing the call parameters. Required. To specify no
830
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
831
+ # @param options [::Gapic::CallOptions, ::Hash]
832
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
833
+ #
834
+ # @overload import_cluster(sql_import_options: nil, csv_import_options: nil, name: nil, gcs_uri: nil, database: nil, user: nil)
835
+ # Pass arguments to `import_cluster` via keyword arguments. Note that at
836
+ # least one keyword argument is required. To specify no parameters, or to keep all
837
+ # the default parameter values, pass an empty Hash as a request object (see above).
838
+ #
839
+ # @param sql_import_options [::Google::Cloud::AlloyDB::V1::ImportClusterRequest::SqlImportOptions, ::Hash]
840
+ # Options for importing data in SQL format.
841
+ #
842
+ # Note: The following fields are mutually exclusive: `sql_import_options`, `csv_import_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
843
+ # @param csv_import_options [::Google::Cloud::AlloyDB::V1::ImportClusterRequest::CsvImportOptions, ::Hash]
844
+ # Options for importing data in CSV format.
845
+ #
846
+ # Note: The following fields are mutually exclusive: `csv_import_options`, `sql_import_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
847
+ # @param name [::String]
848
+ # Required. The resource name of the cluster.
849
+ # @param gcs_uri [::String]
850
+ # Required. The path to the file in Google Cloud Storage where the source
851
+ # file for import will be stored. The URI is in the form
852
+ # `gs://bucketName/fileName`.
853
+ # @param database [::String]
854
+ # Optional. Name of the database to which the import will be done.
855
+ # For import from SQL file, this is required only if the file does not
856
+ # specify a database.
857
+ # Note - Value provided should be the same as expected from `SELECT
858
+ # current_database();` and NOT as a resource reference.
859
+ # @param user [::String]
860
+ # Optional. Database user to be used for importing the data.
861
+ # Note - Value provided should be the same as expected from
862
+ # `SELECT current_user;` and NOT as a resource reference.
863
+ #
864
+ # @yield [response, operation] Access the result along with the RPC operation
865
+ # @yieldparam response [::Gapic::Operation]
866
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
867
+ #
868
+ # @return [::Gapic::Operation]
869
+ #
870
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
871
+ #
872
+ # @example Basic example
873
+ # require "google/cloud/alloy_db/v1"
874
+ #
875
+ # # Create a client object. The client can be reused for multiple calls.
876
+ # client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Client.new
877
+ #
878
+ # # Create a request. To set request fields, pass in keyword arguments.
879
+ # request = Google::Cloud::AlloyDB::V1::ImportClusterRequest.new
880
+ #
881
+ # # Call the import_cluster method.
882
+ # result = client.import_cluster request
883
+ #
884
+ # # The returned object is of type Gapic::Operation. You can use it to
885
+ # # check the status of an operation, cancel it, or wait for results.
886
+ # # Here is how to wait for a response.
887
+ # result.wait_until_done! timeout: 60
888
+ # if result.response?
889
+ # p result.response
890
+ # else
891
+ # puts "No response received."
892
+ # end
893
+ #
894
+ def import_cluster request, options = nil
895
+ raise ::ArgumentError, "request must be provided" if request.nil?
896
+
897
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1::ImportClusterRequest
898
+
899
+ # Converts hash and nil to an options object
900
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
901
+
902
+ # Customize the options with defaults
903
+ metadata = @config.rpcs.import_cluster.metadata.to_h
904
+
905
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
906
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
907
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
908
+ gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
909
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
910
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
911
+
912
+ header_params = {}
913
+ if request.name
914
+ header_params["name"] = request.name
915
+ end
916
+
917
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
918
+ metadata[:"x-goog-request-params"] ||= request_params_header
919
+
920
+ options.apply_defaults timeout: @config.rpcs.import_cluster.timeout,
921
+ metadata: metadata,
922
+ retry_policy: @config.rpcs.import_cluster.retry_policy
923
+
924
+ options.apply_defaults timeout: @config.timeout,
925
+ metadata: @config.metadata,
926
+ retry_policy: @config.retry_policy
927
+
928
+ @alloy_db_admin_stub.call_rpc :import_cluster, request, options: options do |response, operation|
929
+ response = ::Gapic::Operation.new response, @operations_client, options: options
930
+ yield response, operation if block_given?
931
+ throw :response, response
932
+ end
933
+ rescue ::GRPC::BadStatus => e
934
+ raise ::Google::Cloud::Error.from_error(e)
935
+ end
936
+
937
+ ##
938
+ # Upgrades a single Cluster.
939
+ # Imperative only.
940
+ #
941
+ # @overload upgrade_cluster(request, options = nil)
942
+ # Pass arguments to `upgrade_cluster` via a request object, either of type
943
+ # {::Google::Cloud::AlloyDB::V1::UpgradeClusterRequest} or an equivalent Hash.
944
+ #
945
+ # @param request [::Google::Cloud::AlloyDB::V1::UpgradeClusterRequest, ::Hash]
946
+ # A request object representing the call parameters. Required. To specify no
947
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
948
+ # @param options [::Gapic::CallOptions, ::Hash]
949
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
950
+ #
951
+ # @overload upgrade_cluster(name: nil, version: nil, request_id: nil, validate_only: nil, etag: nil)
952
+ # Pass arguments to `upgrade_cluster` via keyword arguments. Note that at
953
+ # least one keyword argument is required. To specify no parameters, or to keep all
954
+ # the default parameter values, pass an empty Hash as a request object (see above).
955
+ #
956
+ # @param name [::String]
957
+ # Required. The resource name of the cluster.
958
+ # @param version [::Google::Cloud::AlloyDB::V1::DatabaseVersion]
959
+ # Required. The version the cluster is going to be upgraded to.
960
+ # @param request_id [::String]
961
+ # Optional. An optional request ID to identify requests. Specify a unique
962
+ # request ID so that if you must retry your request, the server ignores the
963
+ # request if it has already been completed. The server guarantees that for at
964
+ # least 60 minutes since the first request.
965
+ #
966
+ # For example, consider a situation where you make an initial request and
967
+ # the request times out. If you make the request again with the same request
968
+ # ID, the server can check if the original operation with the same request ID
969
+ # was received, and if so, ignores the second request. This prevents
970
+ # clients from accidentally creating duplicate commitments.
971
+ #
972
+ # The request ID must be a valid UUID with the exception that zero UUID is
973
+ # not supported (00000000-0000-0000-0000-000000000000).
974
+ # @param validate_only [::Boolean]
975
+ # Optional. If set, performs request validation, for example, permission
976
+ # checks and any other type of validation, but does not actually execute the
977
+ # create request.
978
+ # @param etag [::String]
979
+ # Optional. The current etag of the Cluster.
980
+ # If an etag is provided and does not match the current etag of the Cluster,
981
+ # upgrade will be blocked and an ABORTED error will be returned.
982
+ #
983
+ # @yield [response, operation] Access the result along with the RPC operation
984
+ # @yieldparam response [::Gapic::Operation]
985
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
986
+ #
987
+ # @return [::Gapic::Operation]
988
+ #
989
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
990
+ #
991
+ # @example Basic example
992
+ # require "google/cloud/alloy_db/v1"
993
+ #
994
+ # # Create a client object. The client can be reused for multiple calls.
995
+ # client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Client.new
996
+ #
997
+ # # Create a request. To set request fields, pass in keyword arguments.
998
+ # request = Google::Cloud::AlloyDB::V1::UpgradeClusterRequest.new
999
+ #
1000
+ # # Call the upgrade_cluster method.
1001
+ # result = client.upgrade_cluster request
1002
+ #
1003
+ # # The returned object is of type Gapic::Operation. You can use it to
1004
+ # # check the status of an operation, cancel it, or wait for results.
1005
+ # # Here is how to wait for a response.
1006
+ # result.wait_until_done! timeout: 60
1007
+ # if result.response?
1008
+ # p result.response
1009
+ # else
1010
+ # puts "No response received."
1011
+ # end
1012
+ #
1013
+ def upgrade_cluster request, options = nil
1014
+ raise ::ArgumentError, "request must be provided" if request.nil?
1015
+
1016
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AlloyDB::V1::UpgradeClusterRequest
1017
+
1018
+ # Converts hash and nil to an options object
1019
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1020
+
1021
+ # Customize the options with defaults
1022
+ metadata = @config.rpcs.upgrade_cluster.metadata.to_h
1023
+
1024
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1025
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1026
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1027
+ gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION
1028
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1029
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1030
+
1031
+ header_params = {}
1032
+ if request.name
1033
+ header_params["name"] = request.name
1034
+ end
1035
+
1036
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1037
+ metadata[:"x-goog-request-params"] ||= request_params_header
1038
+
1039
+ options.apply_defaults timeout: @config.rpcs.upgrade_cluster.timeout,
1040
+ metadata: metadata,
1041
+ retry_policy: @config.rpcs.upgrade_cluster.retry_policy
1042
+
1043
+ options.apply_defaults timeout: @config.timeout,
1044
+ metadata: @config.metadata,
1045
+ retry_policy: @config.retry_policy
1046
+
1047
+ @alloy_db_admin_stub.call_rpc :upgrade_cluster, request, options: options do |response, operation|
1048
+ response = ::Gapic::Operation.new response, @operations_client, options: options
1049
+ yield response, operation if block_given?
1050
+ throw :response, response
1051
+ end
1052
+ rescue ::GRPC::BadStatus => e
1053
+ raise ::Google::Cloud::Error.from_error(e)
1054
+ end
1055
+
709
1056
  ##
710
1057
  # Deletes a single Cluster.
711
1058
  #
@@ -3086,7 +3433,7 @@ module Google
3086
3433
  # @param options [::Gapic::CallOptions, ::Hash]
3087
3434
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3088
3435
  #
3089
- # @overload list_supported_database_flags(parent: nil, page_size: nil, page_token: nil)
3436
+ # @overload list_supported_database_flags(parent: nil, page_size: nil, page_token: nil, scope: nil)
3090
3437
  # Pass arguments to `list_supported_database_flags` via keyword arguments. Note that at
3091
3438
  # least one keyword argument is required. To specify no parameters, or to keep all
3092
3439
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -3104,6 +3451,9 @@ module Google
3104
3451
  # If unspecified, server will pick an appropriate default.
3105
3452
  # @param page_token [::String]
3106
3453
  # A token identifying a page of results the server should return.
3454
+ # @param scope [::Google::Cloud::AlloyDB::V1::SupportedDatabaseFlag::Scope]
3455
+ # Optional. The scope for which supported flags are requested. If not
3456
+ # specified, default is DATABASE.
3107
3457
  #
3108
3458
  # @yield [response, operation] Access the result along with the RPC operation
3109
3459
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::AlloyDB::V1::SupportedDatabaseFlag>]
@@ -3223,9 +3573,9 @@ module Google
3223
3573
  # @param public_key [::String]
3224
3574
  # Optional. The public key from the client.
3225
3575
  # @param use_metadata_exchange [::Boolean]
3226
- # Optional. An optional hint to the endpoint to generate a client
3227
- # ceritificate that can be used by AlloyDB connectors to exchange additional
3228
- # metadata with the server after TLS handshake.
3576
+ # Optional. An optional hint to the endpoint to generate a client certificate
3577
+ # that can be used by AlloyDB connectors to exchange additional metadata with
3578
+ # the server after TLS handshake.
3229
3579
  #
3230
3580
  # @yield [response, operation] Access the result along with the RPC operation
3231
3581
  # @yieldparam response [::Google::Cloud::AlloyDB::V1::GenerateClientCertificateResponse]
@@ -4186,6 +4536,21 @@ module Google
4186
4536
  #
4187
4537
  attr_reader :update_cluster
4188
4538
  ##
4539
+ # RPC-specific configuration for `export_cluster`
4540
+ # @return [::Gapic::Config::Method]
4541
+ #
4542
+ attr_reader :export_cluster
4543
+ ##
4544
+ # RPC-specific configuration for `import_cluster`
4545
+ # @return [::Gapic::Config::Method]
4546
+ #
4547
+ attr_reader :import_cluster
4548
+ ##
4549
+ # RPC-specific configuration for `upgrade_cluster`
4550
+ # @return [::Gapic::Config::Method]
4551
+ #
4552
+ attr_reader :upgrade_cluster
4553
+ ##
4189
4554
  # RPC-specific configuration for `delete_cluster`
4190
4555
  # @return [::Gapic::Config::Method]
4191
4556
  #
@@ -4346,6 +4711,12 @@ module Google
4346
4711
  @create_cluster = ::Gapic::Config::Method.new create_cluster_config
4347
4712
  update_cluster_config = parent_rpcs.update_cluster if parent_rpcs.respond_to? :update_cluster
4348
4713
  @update_cluster = ::Gapic::Config::Method.new update_cluster_config
4714
+ export_cluster_config = parent_rpcs.export_cluster if parent_rpcs.respond_to? :export_cluster
4715
+ @export_cluster = ::Gapic::Config::Method.new export_cluster_config
4716
+ import_cluster_config = parent_rpcs.import_cluster if parent_rpcs.respond_to? :import_cluster
4717
+ @import_cluster = ::Gapic::Config::Method.new import_cluster_config
4718
+ upgrade_cluster_config = parent_rpcs.upgrade_cluster if parent_rpcs.respond_to? :upgrade_cluster
4719
+ @upgrade_cluster = ::Gapic::Config::Method.new upgrade_cluster_config
4349
4720
  delete_cluster_config = parent_rpcs.delete_cluster if parent_rpcs.respond_to? :delete_cluster
4350
4721
  @delete_cluster = ::Gapic::Config::Method.new delete_cluster_config
4351
4722
  promote_cluster_config = parent_rpcs.promote_cluster if parent_rpcs.respond_to? :promote_cluster