google-apis-alloydb_v1beta 0.18.0 → 0.20.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.
@@ -142,15 +142,15 @@ module Google
142
142
  # Required. ID of the requesting object.
143
143
  # @param [String] request_id
144
144
  # Optional. An optional request ID to identify requests. Specify a unique
145
- # request ID so that if you must retry your request, the server will know to
146
- # ignore the request if it has already been completed. The server will guarantee
147
- # that for at least 60 minutes since the first request. For example, consider a
148
- # situation where you make an initial request and the request times out. If you
149
- # make the request again with the same request ID, the server can check if
150
- # original operation with the same request ID was received, and if so, will
151
- # ignore the second request. This prevents clients from accidentally creating
152
- # duplicate commitments. The request ID must be a valid UUID with the exception
153
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
145
+ # request ID so that if you must retry your request, the server ignores the
146
+ # request if it has already been completed. The server guarantees that for at
147
+ # least 60 minutes since the first request. For example, consider a situation
148
+ # where you make an initial request and the request times out. If you make the
149
+ # request again with the same request ID, the server can check if the original
150
+ # operation with the same request ID was received, and if so, ignores the second
151
+ # request. This prevents clients from accidentally creating duplicate
152
+ # commitments. The request ID must be a valid UUID with the exception that zero
153
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
154
154
  # @param [Boolean] validate_only
155
155
  # Optional. If set, the backend validates the request, but doesn't actually
156
156
  # execute it.
@@ -196,15 +196,15 @@ module Google
196
196
  # error will be returned.
197
197
  # @param [String] request_id
198
198
  # Optional. An optional request ID to identify requests. Specify a unique
199
- # request ID so that if you must retry your request, the server will know to
200
- # ignore the request if it has already been completed. The server will guarantee
201
- # that for at least 60 minutes after the first request. For example, consider a
202
- # situation where you make an initial request and the request times out. If you
203
- # make the request again with the same request ID, the server can check if
204
- # original operation with the same request ID was received, and if so, will
205
- # ignore the second request. This prevents clients from accidentally creating
206
- # duplicate commitments. The request ID must be a valid UUID with the exception
207
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
199
+ # request ID so that if you must retry your request, the server ignores the
200
+ # request if it has already been completed. The server guarantees that for at
201
+ # least 60 minutes since the first request. For example, consider a situation
202
+ # where you make an initial request and the request times out. If you make the
203
+ # request again with the same request ID, the server can check if the original
204
+ # operation with the same request ID was received, and if so, ignores the second
205
+ # request. This prevents clients from accidentally creating duplicate
206
+ # commitments. The request ID must be a valid UUID with the exception that zero
207
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
208
208
  # @param [Boolean] validate_only
209
209
  # Optional. If set, the backend validates the request, but doesn't actually
210
210
  # execute it.
@@ -326,15 +326,15 @@ module Google
326
326
  # that case, a new backup is created and `update_mask` is ignored.
327
327
  # @param [String] request_id
328
328
  # Optional. An optional request ID to identify requests. Specify a unique
329
- # request ID so that if you must retry your request, the server will know to
330
- # ignore the request if it has already been completed. The server will guarantee
331
- # that for at least 60 minutes since the first request. For example, consider a
332
- # situation where you make an initial request and the request times out. If you
333
- # make the request again with the same request ID, the server can check if
334
- # original operation with the same request ID was received, and if so, will
335
- # ignore the second request. This prevents clients from accidentally creating
336
- # duplicate commitments. The request ID must be a valid UUID with the exception
337
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
329
+ # request ID so that if you must retry your request, the server ignores the
330
+ # request if it has already been completed. The server guarantees that for at
331
+ # least 60 minutes since the first request. For example, consider a situation
332
+ # where you make an initial request and the request times out. If you make the
333
+ # request again with the same request ID, the server can check if the original
334
+ # operation with the same request ID was received, and if so, ignores the second
335
+ # request. This prevents clients from accidentally creating duplicate
336
+ # commitments. The request ID must be a valid UUID with the exception that zero
337
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
338
338
  # @param [String] update_mask
339
339
  # Optional. Field mask is used to specify the fields to be overwritten in the
340
340
  # Backup resource by the update. The fields specified in the update_mask are
@@ -386,18 +386,19 @@ module Google
386
386
  # Required. ID of the requesting object.
387
387
  # @param [String] request_id
388
388
  # Optional. An optional request ID to identify requests. Specify a unique
389
- # request ID so that if you must retry your request, the server will know to
390
- # ignore the request if it has already been completed. The server will guarantee
391
- # that for at least 60 minutes since the first request. For example, consider a
392
- # situation where you make an initial request and the request times out. If you
393
- # make the request again with the same request ID, the server can check if
394
- # original operation with the same request ID was received, and if so, will
395
- # ignore the second request. This prevents clients from accidentally creating
396
- # duplicate commitments. The request ID must be a valid UUID with the exception
397
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
389
+ # request ID so that if you must retry your request, the server ignores the
390
+ # request if it has already been completed. The server guarantees that for at
391
+ # least 60 minutes since the first request. For example, consider a situation
392
+ # where you make an initial request and the request times out. If you make the
393
+ # request again with the same request ID, the server can check if the original
394
+ # operation with the same request ID was received, and if so, ignores the second
395
+ # request. This prevents clients from accidentally creating duplicate
396
+ # commitments. The request ID must be a valid UUID with the exception that zero
397
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
398
398
  # @param [Boolean] validate_only
399
- # Optional. If set, performs request validation (e.g. permission checks and any
400
- # other type of validation), but do not actually execute the create request.
399
+ # Optional. If set, performs request validation, for example, permission checks
400
+ # and any other type of validation, but does not actually execute the create
401
+ # request.
401
402
  # @param [String] fields
402
403
  # Selector specifying which fields to include in a partial response.
403
404
  # @param [String] quota_user
@@ -440,18 +441,19 @@ module Google
440
441
  # Required. ID of the requesting object (the secondary cluster).
441
442
  # @param [String] request_id
442
443
  # Optional. An optional request ID to identify requests. Specify a unique
443
- # request ID so that if you must retry your request, the server will know to
444
- # ignore the request if it has already been completed. The server will guarantee
445
- # that for at least 60 minutes since the first request. For example, consider a
446
- # situation where you make an initial request and the request times out. If you
447
- # make the request again with the same request ID, the server can check if
448
- # original operation with the same request ID was received, and if so, will
449
- # ignore the second request. This prevents clients from accidentally creating
450
- # duplicate commitments. The request ID must be a valid UUID with the exception
451
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
444
+ # request ID so that if you must retry your request, the server ignores the
445
+ # request if it has already been completed. The server guarantees that for at
446
+ # least 60 minutes since the first request. For example, consider a situation
447
+ # where you make an initial request and the request times out. If you make the
448
+ # request again with the same request ID, the server can check if the original
449
+ # operation with the same request ID was received, and if so, ignores the second
450
+ # request. This prevents clients from accidentally creating duplicate
451
+ # commitments. The request ID must be a valid UUID with the exception that zero
452
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
452
453
  # @param [Boolean] validate_only
453
- # Optional. If set, performs request validation (e.g. permission checks and any
454
- # other type of validation), but do not actually execute the create request.
454
+ # Optional. If set, performs request validation, for example, permission checks
455
+ # and any other type of validation, but does not actually execute the create
456
+ # request.
455
457
  # @param [String] fields
456
458
  # Selector specifying which fields to include in a partial response.
457
459
  # @param [String] quota_user
@@ -496,18 +498,19 @@ module Google
496
498
  # Optional. Whether to cascade delete child instances for given cluster.
497
499
  # @param [String] request_id
498
500
  # Optional. An optional request ID to identify requests. Specify a unique
499
- # request ID so that if you must retry your request, the server will know to
500
- # ignore the request if it has already been completed. The server will guarantee
501
- # that for at least 60 minutes after the first request. For example, consider a
502
- # situation where you make an initial request and the request times out. If you
503
- # make the request again with the same request ID, the server can check if
504
- # original operation with the same request ID was received, and if so, will
505
- # ignore the second request. This prevents clients from accidentally creating
506
- # duplicate commitments. The request ID must be a valid UUID with the exception
507
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
501
+ # request ID so that if you must retry your request, the server ignores the
502
+ # request if it has already been completed. The server guarantees that for at
503
+ # least 60 minutes since the first request. For example, consider a situation
504
+ # where you make an initial request and the request times out. If you make the
505
+ # request again with the same request ID, the server can check if the original
506
+ # operation with the same request ID was received, and if so, ignores the second
507
+ # request. This prevents clients from accidentally creating duplicate
508
+ # commitments. The request ID must be a valid UUID with the exception that zero
509
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
508
510
  # @param [Boolean] validate_only
509
- # Optional. If set, performs request validation (e.g. permission checks and any
510
- # other type of validation), but do not actually execute the delete.
511
+ # Optional. If set, performs request validation, for example, permission checks
512
+ # and any other type of validation, but does not actually execute the create
513
+ # request.
511
514
  # @param [String] fields
512
515
  # Selector specifying which fields to include in a partial response.
513
516
  # @param [String] quota_user
@@ -539,6 +542,39 @@ module Google
539
542
  execute_or_queue_command(command, &block)
540
543
  end
541
544
 
545
+ # Exports data from the cluster. Imperative only.
546
+ # @param [String] name
547
+ # Required. The resource name of the cluster.
548
+ # @param [Google::Apis::AlloydbV1beta::ExportClusterRequest] export_cluster_request_object
549
+ # @param [String] fields
550
+ # Selector specifying which fields to include in a partial response.
551
+ # @param [String] quota_user
552
+ # Available to use for quota purposes for server-side applications. Can be any
553
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
554
+ # @param [Google::Apis::RequestOptions] options
555
+ # Request-specific options
556
+ #
557
+ # @yield [result, err] Result & error if block supplied
558
+ # @yieldparam result [Google::Apis::AlloydbV1beta::Operation] parsed result object
559
+ # @yieldparam err [StandardError] error object if request failed
560
+ #
561
+ # @return [Google::Apis::AlloydbV1beta::Operation]
562
+ #
563
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
564
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
565
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
566
+ def export_cluster(name, export_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
567
+ command = make_simple_command(:post, 'v1beta/{+name}:export', options)
568
+ command.request_representation = Google::Apis::AlloydbV1beta::ExportClusterRequest::Representation
569
+ command.request_object = export_cluster_request_object
570
+ command.response_representation = Google::Apis::AlloydbV1beta::Operation::Representation
571
+ command.response_class = Google::Apis::AlloydbV1beta::Operation
572
+ command.params['name'] = name unless name.nil?
573
+ command.query['fields'] = fields unless fields.nil?
574
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
575
+ execute_or_queue_command(command, &block)
576
+ end
577
+
542
578
  # Gets details of a single Cluster.
543
579
  # @param [String] name
544
580
  # Required. The name of the resource. For the required format, see the comment
@@ -633,15 +669,15 @@ module Google
633
669
  # that case, a new cluster is created and `update_mask` is ignored.
634
670
  # @param [String] request_id
635
671
  # Optional. An optional request ID to identify requests. Specify a unique
636
- # request ID so that if you must retry your request, the server will know to
637
- # ignore the request if it has already been completed. The server will guarantee
638
- # that for at least 60 minutes since the first request. For example, consider a
639
- # situation where you make an initial request and the request times out. If you
640
- # make the request again with the same request ID, the server can check if
641
- # original operation with the same request ID was received, and if so, will
642
- # ignore the second request. This prevents clients from accidentally creating
643
- # duplicate commitments. The request ID must be a valid UUID with the exception
644
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
672
+ # request ID so that if you must retry your request, the server ignores the
673
+ # request if it has already been completed. The server guarantees that for at
674
+ # least 60 minutes since the first request. For example, consider a situation
675
+ # where you make an initial request and the request times out. If you make the
676
+ # request again with the same request ID, the server can check if the original
677
+ # operation with the same request ID was received, and if so, ignores the second
678
+ # request. This prevents clients from accidentally creating duplicate
679
+ # commitments. The request ID must be a valid UUID with the exception that zero
680
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
645
681
  # @param [String] update_mask
646
682
  # Optional. Field mask is used to specify the fields to be overwritten in the
647
683
  # Cluster resource by the update. The fields specified in the update_mask are
@@ -649,8 +685,9 @@ module Google
649
685
  # it is in the mask. If the user does not provide a mask then all fields will be
650
686
  # overwritten.
651
687
  # @param [Boolean] validate_only
652
- # Optional. If set, performs request validation (e.g. permission checks and any
653
- # other type of validation), but do not actually execute the update request.
688
+ # Optional. If set, performs request validation, for example, permission checks
689
+ # and any other type of validation, but does not actually execute the create
690
+ # request.
654
691
  # @param [String] fields
655
692
  # Selector specifying which fields to include in a partial response.
656
693
  # @param [String] quota_user
@@ -756,9 +793,43 @@ module Google
756
793
  execute_or_queue_command(command, &block)
757
794
  end
758
795
 
759
- # Switches the role of PRIMARY and SECONDARY cluster without any data loss. This
760
- # promotes the SECONDARY cluster to PRIMARY and sets up original PRIMARY cluster
761
- # to replicate from this newly promoted cluster.
796
+ # Restores an AlloyDB cluster from a CloudSQL resource.
797
+ # @param [String] parent
798
+ # Required. The location of the new cluster. For the required format, see the
799
+ # comment on Cluster.name field.
800
+ # @param [Google::Apis::AlloydbV1beta::RestoreFromCloudSqlRequest] restore_from_cloud_sql_request_object
801
+ # @param [String] fields
802
+ # Selector specifying which fields to include in a partial response.
803
+ # @param [String] quota_user
804
+ # Available to use for quota purposes for server-side applications. Can be any
805
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
806
+ # @param [Google::Apis::RequestOptions] options
807
+ # Request-specific options
808
+ #
809
+ # @yield [result, err] Result & error if block supplied
810
+ # @yieldparam result [Google::Apis::AlloydbV1beta::Operation] parsed result object
811
+ # @yieldparam err [StandardError] error object if request failed
812
+ #
813
+ # @return [Google::Apis::AlloydbV1beta::Operation]
814
+ #
815
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
816
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
817
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
818
+ def restore_cluster_from_cloud_sql(parent, restore_from_cloud_sql_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
819
+ command = make_simple_command(:post, 'v1beta/{+parent}/clusters:restoreFromCloudSQL', options)
820
+ command.request_representation = Google::Apis::AlloydbV1beta::RestoreFromCloudSqlRequest::Representation
821
+ command.request_object = restore_from_cloud_sql_request_object
822
+ command.response_representation = Google::Apis::AlloydbV1beta::Operation::Representation
823
+ command.response_class = Google::Apis::AlloydbV1beta::Operation
824
+ command.params['parent'] = parent unless parent.nil?
825
+ command.query['fields'] = fields unless fields.nil?
826
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
827
+ execute_or_queue_command(command, &block)
828
+ end
829
+
830
+ # Switches the roles of PRIMARY and SECONDARY clusters without any data loss.
831
+ # This promotes the SECONDARY cluster to PRIMARY and sets up the original
832
+ # PRIMARY cluster to replicate from this newly promoted cluster.
762
833
  # @param [String] name
763
834
  # Required. The name of the resource. For the required format, see the comment
764
835
  # on the Cluster.name field
@@ -792,6 +863,39 @@ module Google
792
863
  execute_or_queue_command(command, &block)
793
864
  end
794
865
 
866
+ # Upgrades a single Cluster. Imperative only.
867
+ # @param [String] name
868
+ # Required. The resource name of the cluster.
869
+ # @param [Google::Apis::AlloydbV1beta::UpgradeClusterRequest] upgrade_cluster_request_object
870
+ # @param [String] fields
871
+ # Selector specifying which fields to include in a partial response.
872
+ # @param [String] quota_user
873
+ # Available to use for quota purposes for server-side applications. Can be any
874
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
875
+ # @param [Google::Apis::RequestOptions] options
876
+ # Request-specific options
877
+ #
878
+ # @yield [result, err] Result & error if block supplied
879
+ # @yieldparam result [Google::Apis::AlloydbV1beta::Operation] parsed result object
880
+ # @yieldparam err [StandardError] error object if request failed
881
+ #
882
+ # @return [Google::Apis::AlloydbV1beta::Operation]
883
+ #
884
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
885
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
886
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
887
+ def upgrade_cluster(name, upgrade_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
888
+ command = make_simple_command(:patch, 'v1beta/{+name}:upgrade', options)
889
+ command.request_representation = Google::Apis::AlloydbV1beta::UpgradeClusterRequest::Representation
890
+ command.request_object = upgrade_cluster_request_object
891
+ command.response_representation = Google::Apis::AlloydbV1beta::Operation::Representation
892
+ command.response_class = Google::Apis::AlloydbV1beta::Operation
893
+ command.params['name'] = name unless name.nil?
894
+ command.query['fields'] = fields unless fields.nil?
895
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
896
+ execute_or_queue_command(command, &block)
897
+ end
898
+
795
899
  # Creates a new Instance in a given project and location.
796
900
  # @param [String] parent
797
901
  # Required. The name of the parent resource. For the required format, see the
@@ -801,18 +905,19 @@ module Google
801
905
  # Required. ID of the requesting object.
802
906
  # @param [String] request_id
803
907
  # Optional. An optional request ID to identify requests. Specify a unique
804
- # request ID so that if you must retry your request, the server will know to
805
- # ignore the request if it has already been completed. The server will guarantee
806
- # that for at least 60 minutes since the first request. For example, consider a
807
- # situation where you make an initial request and the request times out. If you
808
- # make the request again with the same request ID, the server can check if
809
- # original operation with the same request ID was received, and if so, will
810
- # ignore the second request. This prevents clients from accidentally creating
811
- # duplicate commitments. The request ID must be a valid UUID with the exception
812
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
908
+ # request ID so that if you must retry your request, the server ignores the
909
+ # request if it has already been completed. The server guarantees that for at
910
+ # least 60 minutes since the first request. For example, consider a situation
911
+ # where you make an initial request and the request times out. If you make the
912
+ # request again with the same request ID, the server can check if the original
913
+ # operation with the same request ID was received, and if so, ignores the second
914
+ # request. This prevents clients from accidentally creating duplicate
915
+ # commitments. The request ID must be a valid UUID with the exception that zero
916
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
813
917
  # @param [Boolean] validate_only
814
- # Optional. If set, performs request validation (e.g. permission checks and any
815
- # other type of validation), but do not actually execute the create request.
918
+ # Optional. If set, performs request validation, for example, permission checks
919
+ # and any other type of validation, but does not actually execute the create
920
+ # request.
816
921
  # @param [String] fields
817
922
  # Selector specifying which fields to include in a partial response.
818
923
  # @param [String] quota_user
@@ -854,18 +959,19 @@ module Google
854
959
  # Required. ID of the requesting object.
855
960
  # @param [String] request_id
856
961
  # Optional. An optional request ID to identify requests. Specify a unique
857
- # request ID so that if you must retry your request, the server will know to
858
- # ignore the request if it has already been completed. The server will guarantee
859
- # that for at least 60 minutes since the first request. For example, consider a
860
- # situation where you make an initial request and the request times out. If you
861
- # make the request again with the same request ID, the server can check if
862
- # original operation with the same request ID was received, and if so, will
863
- # ignore the second request. This prevents clients from accidentally creating
864
- # duplicate commitments. The request ID must be a valid UUID with the exception
865
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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. For example, consider a situation
965
+ # where you make an initial request and the request times out. If you make the
966
+ # request again with the same request ID, the server can check if the original
967
+ # operation with the same request ID was received, and if so, ignores the second
968
+ # request. This prevents clients from accidentally creating duplicate
969
+ # commitments. The request ID must be a valid UUID with the exception that zero
970
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
866
971
  # @param [Boolean] validate_only
867
- # Optional. If set, performs request validation (e.g. permission checks and any
868
- # other type of validation), but do not actually execute the create request.
972
+ # Optional. If set, performs request validation, for example, permission checks
973
+ # and any other type of validation, but does not actually execute the create
974
+ # request.
869
975
  # @param [String] fields
870
976
  # Selector specifying which fields to include in a partial response.
871
977
  # @param [String] quota_user
@@ -908,18 +1014,19 @@ module Google
908
1014
  # ABORTED error will be returned.
909
1015
  # @param [String] request_id
910
1016
  # Optional. An optional request ID to identify requests. Specify a unique
911
- # request ID so that if you must retry your request, the server will know to
912
- # ignore the request if it has already been completed. The server will guarantee
913
- # that for at least 60 minutes after the first request. For example, consider a
914
- # situation where you make an initial request and the request times out. If you
915
- # make the request again with the same request ID, the server can check if
916
- # original operation with the same request ID was received, and if so, will
917
- # ignore the second request. This prevents clients from accidentally creating
918
- # duplicate commitments. The request ID must be a valid UUID with the exception
919
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1017
+ # request ID so that if you must retry your request, the server ignores the
1018
+ # request if it has already been completed. The server guarantees that for at
1019
+ # least 60 minutes since the first request. For example, consider a situation
1020
+ # where you make an initial request and the request times out. If you make the
1021
+ # request again with the same request ID, the server can check if the original
1022
+ # operation with the same request ID was received, and if so, ignores the second
1023
+ # request. This prevents clients from accidentally creating duplicate
1024
+ # commitments. The request ID must be a valid UUID with the exception that zero
1025
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
920
1026
  # @param [Boolean] validate_only
921
- # Optional. If set, performs request validation (e.g. permission checks and any
922
- # other type of validation), but do not actually execute the delete.
1027
+ # Optional. If set, performs request validation, for example, permission checks
1028
+ # and any other type of validation, but does not actually execute the create
1029
+ # request.
923
1030
  # @param [String] fields
924
1031
  # Selector specifying which fields to include in a partial response.
925
1032
  # @param [String] quota_user
@@ -1025,15 +1132,15 @@ module Google
1025
1132
  # project`/locations/`location`/clusters/`cluster`/instances/`instance`
1026
1133
  # @param [String] request_id
1027
1134
  # Optional. An optional request ID to identify requests. Specify a unique
1028
- # request ID so that if you must retry your request, the server will know to
1029
- # ignore the request if it has already been completed. The server will guarantee
1030
- # that for at least 60 minutes after the first request. For example, consider a
1031
- # situation where you make an initial request and the request times out. If you
1032
- # make the request again with the same request ID, the server can check if
1033
- # original operation with the same request ID was received, and if so, will
1034
- # ignore the second request. This prevents clients from accidentally creating
1035
- # duplicate commitments. The request ID must be a valid UUID with the exception
1036
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1135
+ # request ID so that if you must retry your request, the server ignores the
1136
+ # request if it has already been completed. The server guarantees that for at
1137
+ # least 60 minutes since the first request. For example, consider a situation
1138
+ # where you make an initial request and the request times out. If you make the
1139
+ # request again with the same request ID, the server can check if the original
1140
+ # operation with the same request ID was received, and if so, ignores the second
1141
+ # request. This prevents clients from accidentally creating duplicate
1142
+ # commitments. The request ID must be a valid UUID with the exception that zero
1143
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1037
1144
  # @param [String] fields
1038
1145
  # Selector specifying which fields to include in a partial response.
1039
1146
  # @param [String] quota_user
@@ -1159,15 +1266,15 @@ module Google
1159
1266
  # that case, a new instance is created and `update_mask` is ignored.
1160
1267
  # @param [String] request_id
1161
1268
  # Optional. An optional request ID to identify requests. Specify a unique
1162
- # request ID so that if you must retry your request, the server will know to
1163
- # ignore the request if it has already been completed. The server will guarantee
1164
- # that for at least 60 minutes since the first request. For example, consider a
1165
- # situation where you make an initial request and the request times out. If you
1166
- # make the request again with the same request ID, the server can check if
1167
- # original operation with the same request ID was received, and if so, will
1168
- # ignore the second request. This prevents clients from accidentally creating
1169
- # duplicate commitments. The request ID must be a valid UUID with the exception
1170
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1269
+ # request ID so that if you must retry your request, the server ignores the
1270
+ # request if it has already been completed. The server guarantees that for at
1271
+ # least 60 minutes since the first request. For example, consider a situation
1272
+ # where you make an initial request and the request times out. If you make the
1273
+ # request again with the same request ID, the server can check if the original
1274
+ # operation with the same request ID was received, and if so, ignores the second
1275
+ # request. This prevents clients from accidentally creating duplicate
1276
+ # commitments. The request ID must be a valid UUID with the exception that zero
1277
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1171
1278
  # @param [String] update_mask
1172
1279
  # Optional. Field mask is used to specify the fields to be overwritten in the
1173
1280
  # Instance resource by the update. The fields specified in the update_mask are
@@ -1175,8 +1282,9 @@ module Google
1175
1282
  # it is in the mask. If the user does not provide a mask then all fields will be
1176
1283
  # overwritten.
1177
1284
  # @param [Boolean] validate_only
1178
- # Optional. If set, performs request validation (e.g. permission checks and any
1179
- # other type of validation), but do not actually execute the update request.
1285
+ # Optional. If set, performs request validation, for example, permission checks
1286
+ # and any other type of validation, but does not actually execute the create
1287
+ # request.
1180
1288
  # @param [String] fields
1181
1289
  # Selector specifying which fields to include in a partial response.
1182
1290
  # @param [String] quota_user
@@ -1250,15 +1358,15 @@ module Google
1250
1358
  # @param [Google::Apis::AlloydbV1beta::User] user_object
1251
1359
  # @param [String] request_id
1252
1360
  # Optional. An optional request ID to identify requests. Specify a unique
1253
- # request ID so that if you must retry your request, the server will know to
1254
- # ignore the request if it has already been completed. The server will guarantee
1255
- # that for at least 60 minutes since the first request. For example, consider a
1256
- # situation where you make an initial request and the request times out. If you
1257
- # make the request again with the same request ID, the server can check if
1258
- # original operation with the same request ID was received, and if so, will
1259
- # ignore the second request. This prevents clients from accidentally creating
1260
- # duplicate commitments. The request ID must be a valid UUID with the exception
1261
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1361
+ # request ID so that if you must retry your request, the server ignores the
1362
+ # request if it has already been completed. The server guarantees that for at
1363
+ # least 60 minutes since the first request. For example, consider a situation
1364
+ # where you make an initial request and the request times out. If you make the
1365
+ # request again with the same request ID, the server can check if the original
1366
+ # operation with the same request ID was received, and if so, ignores the second
1367
+ # request. This prevents clients from accidentally creating duplicate
1368
+ # commitments. The request ID must be a valid UUID with the exception that zero
1369
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1262
1370
  # @param [String] user_id
1263
1371
  # Required. ID of the requesting object.
1264
1372
  # @param [Boolean] validate_only
@@ -1302,15 +1410,15 @@ module Google
1302
1410
  # on the User.name field.
1303
1411
  # @param [String] request_id
1304
1412
  # Optional. An optional request ID to identify requests. Specify a unique
1305
- # request ID so that if you must retry your request, the server will know to
1306
- # ignore the request if it has already been completed. The server will guarantee
1307
- # that for at least 60 minutes after the first request. For example, consider a
1308
- # situation where you make an initial request and the request times out. If you
1309
- # make the request again with the same request ID, the server can check if
1310
- # original operation with the same request ID was received, and if so, will
1311
- # ignore the second request. This prevents clients from accidentally creating
1312
- # duplicate commitments. The request ID must be a valid UUID with the exception
1313
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1413
+ # request ID so that if you must retry your request, the server ignores the
1414
+ # request if it has already been completed. The server guarantees that for at
1415
+ # least 60 minutes since the first request. For example, consider a situation
1416
+ # where you make an initial request and the request times out. If you make the
1417
+ # request again with the same request ID, the server can check if the original
1418
+ # operation with the same request ID was received, and if so, ignores the second
1419
+ # request. This prevents clients from accidentally creating duplicate
1420
+ # commitments. The request ID must be a valid UUID with the exception that zero
1421
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1314
1422
  # @param [Boolean] validate_only
1315
1423
  # Optional. If set, the backend validates the request, but doesn't actually
1316
1424
  # execute it.
@@ -1426,15 +1534,15 @@ module Google
1426
1534
  # Optional. Allow missing fields in the update mask.
1427
1535
  # @param [String] request_id
1428
1536
  # Optional. An optional request ID to identify requests. Specify a unique
1429
- # request ID so that if you must retry your request, the server will know to
1430
- # ignore the request if it has already been completed. The server will guarantee
1431
- # that for at least 60 minutes since the first request. For example, consider a
1432
- # situation where you make an initial request and the request times out. If you
1433
- # make the request again with the same request ID, the server can check if
1434
- # original operation with the same request ID was received, and if so, will
1435
- # ignore the second request. This prevents clients from accidentally creating
1436
- # duplicate commitments. The request ID must be a valid UUID with the exception
1437
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1537
+ # request ID so that if you must retry your request, the server ignores the
1538
+ # request if it has already been completed. The server guarantees that for at
1539
+ # least 60 minutes since the first request. For example, consider a situation
1540
+ # where you make an initial request and the request times out. If you make the
1541
+ # request again with the same request ID, the server can check if the original
1542
+ # operation with the same request ID was received, and if so, ignores the second
1543
+ # request. This prevents clients from accidentally creating duplicate
1544
+ # commitments. The request ID must be a valid UUID with the exception that zero
1545
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1438
1546
  # @param [String] update_mask
1439
1547
  # Optional. Field mask is used to specify the fields to be overwritten in the
1440
1548
  # User resource by the update. The fields specified in the update_mask are
@@ -1483,8 +1591,8 @@ module Google
1483
1591
  # Clients can use Operations.GetOperation or other methods to check whether the
1484
1592
  # cancellation succeeded or whether the operation completed despite cancellation.
1485
1593
  # On successful cancellation, the operation is not deleted; instead, it becomes
1486
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
1487
- # corresponding to `Code.CANCELLED`.
1594
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
1595
+ # , corresponding to `Code.CANCELLED`.
1488
1596
  # @param [String] name
1489
1597
  # The name of the operation resource to be cancelled.
1490
1598
  # @param [String] fields
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for AlloyDB API V1beta