google-apis-compute_beta 0.63.0 → 0.65.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -607,6 +607,59 @@ module Google
607
607
  execute_or_queue_command(command, &block)
608
608
  end
609
609
 
610
+ # Moves the specified address resource.
611
+ # @param [String] project
612
+ # Source project ID which the Address is moved from.
613
+ # @param [String] region
614
+ # Name of the region for this request.
615
+ # @param [String] address
616
+ # Name of the address resource to move.
617
+ # @param [Google::Apis::ComputeBeta::RegionAddressesMoveRequest] region_addresses_move_request_object
618
+ # @param [String] request_id
619
+ # An optional request ID to identify requests. Specify a unique request ID so
620
+ # that if you must retry your request, the server will know to ignore the
621
+ # request if it has already been completed. For example, consider a situation
622
+ # where you make an initial request and the request times out. If you make the
623
+ # request again with the same request ID, the server can check if original
624
+ # operation with the same request ID was received, and if so, will ignore the
625
+ # second request. This prevents clients from accidentally creating duplicate
626
+ # commitments. The request ID must be a valid UUID with the exception that zero
627
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
628
+ # @param [String] fields
629
+ # Selector specifying which fields to include in a partial response.
630
+ # @param [String] quota_user
631
+ # Available to use for quota purposes for server-side applications. Can be any
632
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
633
+ # @param [String] user_ip
634
+ # Legacy name for parameter that has been superseded by `quotaUser`.
635
+ # @param [Google::Apis::RequestOptions] options
636
+ # Request-specific options
637
+ #
638
+ # @yield [result, err] Result & error if block supplied
639
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
640
+ # @yieldparam err [StandardError] error object if request failed
641
+ #
642
+ # @return [Google::Apis::ComputeBeta::Operation]
643
+ #
644
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
645
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
646
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
647
+ def move_address(project, region, address, region_addresses_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
648
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/addresses/{address}/move', options)
649
+ command.request_representation = Google::Apis::ComputeBeta::RegionAddressesMoveRequest::Representation
650
+ command.request_object = region_addresses_move_request_object
651
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
652
+ command.response_class = Google::Apis::ComputeBeta::Operation
653
+ command.params['project'] = project unless project.nil?
654
+ command.params['region'] = region unless region.nil?
655
+ command.params['address'] = address unless address.nil?
656
+ command.query['requestId'] = request_id unless request_id.nil?
657
+ command.query['fields'] = fields unless fields.nil?
658
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
659
+ command.query['userIp'] = user_ip unless user_ip.nil?
660
+ execute_or_queue_command(command, &block)
661
+ end
662
+
610
663
  # Sets the labels on an Address. To learn more about labels, read the Labeling
611
664
  # Resources documentation.
612
665
  # @param [String] project
@@ -2938,6 +2991,56 @@ module Google
2938
2991
  execute_or_queue_command(command, &block)
2939
2992
  end
2940
2993
 
2994
+ # Bulk create a set of disks.
2995
+ # @param [String] project
2996
+ # Project ID for this request.
2997
+ # @param [String] zone
2998
+ # The name of the zone for this request.
2999
+ # @param [Google::Apis::ComputeBeta::BulkInsertDiskResource] bulk_insert_disk_resource_object
3000
+ # @param [String] request_id
3001
+ # An optional request ID to identify requests. Specify a unique request ID so
3002
+ # that if you must retry your request, the server will know to ignore the
3003
+ # request if it has already been completed. For example, consider a situation
3004
+ # where you make an initial request and the request times out. If you make the
3005
+ # request again with the same request ID, the server can check if original
3006
+ # operation with the same request ID was received, and if so, will ignore the
3007
+ # second request. This prevents clients from accidentally creating duplicate
3008
+ # commitments. The request ID must be a valid UUID with the exception that zero
3009
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
3010
+ # @param [String] fields
3011
+ # Selector specifying which fields to include in a partial response.
3012
+ # @param [String] quota_user
3013
+ # Available to use for quota purposes for server-side applications. Can be any
3014
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3015
+ # @param [String] user_ip
3016
+ # Legacy name for parameter that has been superseded by `quotaUser`.
3017
+ # @param [Google::Apis::RequestOptions] options
3018
+ # Request-specific options
3019
+ #
3020
+ # @yield [result, err] Result & error if block supplied
3021
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
3022
+ # @yieldparam err [StandardError] error object if request failed
3023
+ #
3024
+ # @return [Google::Apis::ComputeBeta::Operation]
3025
+ #
3026
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3027
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3028
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3029
+ def bulk_disk_insert(project, zone, bulk_insert_disk_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3030
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/bulkInsert', options)
3031
+ command.request_representation = Google::Apis::ComputeBeta::BulkInsertDiskResource::Representation
3032
+ command.request_object = bulk_insert_disk_resource_object
3033
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
3034
+ command.response_class = Google::Apis::ComputeBeta::Operation
3035
+ command.params['project'] = project unless project.nil?
3036
+ command.params['zone'] = zone unless zone.nil?
3037
+ command.query['requestId'] = request_id unless request_id.nil?
3038
+ command.query['fields'] = fields unless fields.nil?
3039
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3040
+ command.query['userIp'] = user_ip unless user_ip.nil?
3041
+ execute_or_queue_command(command, &block)
3042
+ end
3043
+
2941
3044
  # Creates a snapshot of a specified persistent disk. For regular snapshot
2942
3045
  # creation, consider using snapshots.insert instead, as that method supports
2943
3046
  # more features, such as creating snapshots in a project different from the
@@ -3484,6 +3587,162 @@ module Google
3484
3587
  execute_or_queue_command(command, &block)
3485
3588
  end
3486
3589
 
3590
+ # Starts asynchronous replication. Must be invoked on the primary disk.
3591
+ # @param [String] project
3592
+ # Project ID for this request.
3593
+ # @param [String] zone
3594
+ # The name of the zone for this request.
3595
+ # @param [String] disk
3596
+ # The name of the persistent disk.
3597
+ # @param [Google::Apis::ComputeBeta::DisksStartAsyncReplicationRequest] disks_start_async_replication_request_object
3598
+ # @param [String] request_id
3599
+ # An optional request ID to identify requests. Specify a unique request ID so
3600
+ # that if you must retry your request, the server will know to ignore the
3601
+ # request if it has already been completed. For example, consider a situation
3602
+ # where you make an initial request and the request times out. If you make the
3603
+ # request again with the same request ID, the server can check if original
3604
+ # operation with the same request ID was received, and if so, will ignore the
3605
+ # second request. This prevents clients from accidentally creating duplicate
3606
+ # commitments. The request ID must be a valid UUID with the exception that zero
3607
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
3608
+ # @param [String] fields
3609
+ # Selector specifying which fields to include in a partial response.
3610
+ # @param [String] quota_user
3611
+ # Available to use for quota purposes for server-side applications. Can be any
3612
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3613
+ # @param [String] user_ip
3614
+ # Legacy name for parameter that has been superseded by `quotaUser`.
3615
+ # @param [Google::Apis::RequestOptions] options
3616
+ # Request-specific options
3617
+ #
3618
+ # @yield [result, err] Result & error if block supplied
3619
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
3620
+ # @yieldparam err [StandardError] error object if request failed
3621
+ #
3622
+ # @return [Google::Apis::ComputeBeta::Operation]
3623
+ #
3624
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3625
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3626
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3627
+ def start_disk_async_replication(project, zone, disk, disks_start_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3628
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/startAsyncReplication', options)
3629
+ command.request_representation = Google::Apis::ComputeBeta::DisksStartAsyncReplicationRequest::Representation
3630
+ command.request_object = disks_start_async_replication_request_object
3631
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
3632
+ command.response_class = Google::Apis::ComputeBeta::Operation
3633
+ command.params['project'] = project unless project.nil?
3634
+ command.params['zone'] = zone unless zone.nil?
3635
+ command.params['disk'] = disk unless disk.nil?
3636
+ command.query['requestId'] = request_id unless request_id.nil?
3637
+ command.query['fields'] = fields unless fields.nil?
3638
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3639
+ command.query['userIp'] = user_ip unless user_ip.nil?
3640
+ execute_or_queue_command(command, &block)
3641
+ end
3642
+
3643
+ # Stops asynchronous replication. Can be invoked either on the primary or on the
3644
+ # secondary disk.
3645
+ # @param [String] project
3646
+ # Project ID for this request.
3647
+ # @param [String] zone
3648
+ # The name of the zone for this request.
3649
+ # @param [String] disk
3650
+ # The name of the persistent disk.
3651
+ # @param [String] request_id
3652
+ # An optional request ID to identify requests. Specify a unique request ID so
3653
+ # that if you must retry your request, the server will know to ignore the
3654
+ # request if it has already been completed. For example, consider a situation
3655
+ # where you make an initial request and the request times out. If you make the
3656
+ # request again with the same request ID, the server can check if original
3657
+ # operation with the same request ID was received, and if so, will ignore the
3658
+ # second request. This prevents clients from accidentally creating duplicate
3659
+ # commitments. The request ID must be a valid UUID with the exception that zero
3660
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
3661
+ # @param [String] fields
3662
+ # Selector specifying which fields to include in a partial response.
3663
+ # @param [String] quota_user
3664
+ # Available to use for quota purposes for server-side applications. Can be any
3665
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3666
+ # @param [String] user_ip
3667
+ # Legacy name for parameter that has been superseded by `quotaUser`.
3668
+ # @param [Google::Apis::RequestOptions] options
3669
+ # Request-specific options
3670
+ #
3671
+ # @yield [result, err] Result & error if block supplied
3672
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
3673
+ # @yieldparam err [StandardError] error object if request failed
3674
+ #
3675
+ # @return [Google::Apis::ComputeBeta::Operation]
3676
+ #
3677
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3678
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3679
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3680
+ def stop_disk_async_replication(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3681
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/stopAsyncReplication', options)
3682
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
3683
+ command.response_class = Google::Apis::ComputeBeta::Operation
3684
+ command.params['project'] = project unless project.nil?
3685
+ command.params['zone'] = zone unless zone.nil?
3686
+ command.params['disk'] = disk unless disk.nil?
3687
+ command.query['requestId'] = request_id unless request_id.nil?
3688
+ command.query['fields'] = fields unless fields.nil?
3689
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3690
+ command.query['userIp'] = user_ip unless user_ip.nil?
3691
+ execute_or_queue_command(command, &block)
3692
+ end
3693
+
3694
+ # Stops asynchronous replication for a consistency group of disks. Can be
3695
+ # invoked either in the primary or secondary scope.
3696
+ # @param [String] project
3697
+ # Project ID for this request.
3698
+ # @param [String] zone
3699
+ # The name of the zone for this request. This must be the zone of the primary or
3700
+ # secondary disks in the consistency group.
3701
+ # @param [Google::Apis::ComputeBeta::DisksStopGroupAsyncReplicationResource] disks_stop_group_async_replication_resource_object
3702
+ # @param [String] request_id
3703
+ # An optional request ID to identify requests. Specify a unique request ID so
3704
+ # that if you must retry your request, the server will know to ignore the
3705
+ # request if it has already been completed. For example, consider a situation
3706
+ # where you make an initial request and the request times out. If you make the
3707
+ # request again with the same request ID, the server can check if original
3708
+ # operation with the same request ID was received, and if so, will ignore the
3709
+ # second request. This prevents clients from accidentally creating duplicate
3710
+ # commitments. The request ID must be a valid UUID with the exception that zero
3711
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
3712
+ # @param [String] fields
3713
+ # Selector specifying which fields to include in a partial response.
3714
+ # @param [String] quota_user
3715
+ # Available to use for quota purposes for server-side applications. Can be any
3716
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3717
+ # @param [String] user_ip
3718
+ # Legacy name for parameter that has been superseded by `quotaUser`.
3719
+ # @param [Google::Apis::RequestOptions] options
3720
+ # Request-specific options
3721
+ #
3722
+ # @yield [result, err] Result & error if block supplied
3723
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
3724
+ # @yieldparam err [StandardError] error object if request failed
3725
+ #
3726
+ # @return [Google::Apis::ComputeBeta::Operation]
3727
+ #
3728
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3729
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3730
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3731
+ def stop_disk_group_async_replication(project, zone, disks_stop_group_async_replication_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3732
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/stopGroupAsyncReplication', options)
3733
+ command.request_representation = Google::Apis::ComputeBeta::DisksStopGroupAsyncReplicationResource::Representation
3734
+ command.request_object = disks_stop_group_async_replication_resource_object
3735
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
3736
+ command.response_class = Google::Apis::ComputeBeta::Operation
3737
+ command.params['project'] = project unless project.nil?
3738
+ command.params['zone'] = zone unless zone.nil?
3739
+ command.query['requestId'] = request_id unless request_id.nil?
3740
+ command.query['fields'] = fields unless fields.nil?
3741
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3742
+ command.query['userIp'] = user_ip unless user_ip.nil?
3743
+ execute_or_queue_command(command, &block)
3744
+ end
3745
+
3487
3746
  # Returns permissions that a caller has on the specified resource.
3488
3747
  # @param [String] project
3489
3748
  # Project ID for this request.
@@ -5818,6 +6077,56 @@ module Google
5818
6077
  execute_or_queue_command(command, &block)
5819
6078
  end
5820
6079
 
6080
+ # Moves the specified address resource from one project to another project.
6081
+ # @param [String] project
6082
+ # Source project ID which the Address is moved from.
6083
+ # @param [String] address
6084
+ # Name of the address resource to move.
6085
+ # @param [Google::Apis::ComputeBeta::GlobalAddressesMoveRequest] global_addresses_move_request_object
6086
+ # @param [String] request_id
6087
+ # An optional request ID to identify requests. Specify a unique request ID so
6088
+ # that if you must retry your request, the server will know to ignore the
6089
+ # request if it has already been completed. For example, consider a situation
6090
+ # where you make an initial request and the request times out. If you make the
6091
+ # request again with the same request ID, the server can check if original
6092
+ # operation with the same request ID was received, and if so, will ignore the
6093
+ # second request. This prevents clients from accidentally creating duplicate
6094
+ # commitments. The request ID must be a valid UUID with the exception that zero
6095
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
6096
+ # @param [String] fields
6097
+ # Selector specifying which fields to include in a partial response.
6098
+ # @param [String] quota_user
6099
+ # Available to use for quota purposes for server-side applications. Can be any
6100
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6101
+ # @param [String] user_ip
6102
+ # Legacy name for parameter that has been superseded by `quotaUser`.
6103
+ # @param [Google::Apis::RequestOptions] options
6104
+ # Request-specific options
6105
+ #
6106
+ # @yield [result, err] Result & error if block supplied
6107
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
6108
+ # @yieldparam err [StandardError] error object if request failed
6109
+ #
6110
+ # @return [Google::Apis::ComputeBeta::Operation]
6111
+ #
6112
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6113
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6114
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6115
+ def move_global_address(project, address, global_addresses_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
6116
+ command = make_simple_command(:post, 'projects/{project}/global/addresses/{address}/move', options)
6117
+ command.request_representation = Google::Apis::ComputeBeta::GlobalAddressesMoveRequest::Representation
6118
+ command.request_object = global_addresses_move_request_object
6119
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
6120
+ command.response_class = Google::Apis::ComputeBeta::Operation
6121
+ command.params['project'] = project unless project.nil?
6122
+ command.params['address'] = address unless address.nil?
6123
+ command.query['requestId'] = request_id unless request_id.nil?
6124
+ command.query['fields'] = fields unless fields.nil?
6125
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6126
+ command.query['userIp'] = user_ip unless user_ip.nil?
6127
+ execute_or_queue_command(command, &block)
6128
+ end
6129
+
5821
6130
  # Sets the labels on a GlobalAddress. To learn more about labels, read the
5822
6131
  # Labeling Resources documentation.
5823
6132
  # @param [String] project
@@ -24739,6 +25048,56 @@ module Google
24739
25048
  execute_or_queue_command(command, &block)
24740
25049
  end
24741
25050
 
25051
+ # Bulk create a set of disks.
25052
+ # @param [String] project
25053
+ # Project ID for this request.
25054
+ # @param [String] region
25055
+ # The name of the region for this request.
25056
+ # @param [Google::Apis::ComputeBeta::BulkInsertDiskResource] bulk_insert_disk_resource_object
25057
+ # @param [String] request_id
25058
+ # An optional request ID to identify requests. Specify a unique request ID so
25059
+ # that if you must retry your request, the server will know to ignore the
25060
+ # request if it has already been completed. For example, consider a situation
25061
+ # where you make an initial request and the request times out. If you make the
25062
+ # request again with the same request ID, the server can check if original
25063
+ # operation with the same request ID was received, and if so, will ignore the
25064
+ # second request. This prevents clients from accidentally creating duplicate
25065
+ # commitments. The request ID must be a valid UUID with the exception that zero
25066
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
25067
+ # @param [String] fields
25068
+ # Selector specifying which fields to include in a partial response.
25069
+ # @param [String] quota_user
25070
+ # Available to use for quota purposes for server-side applications. Can be any
25071
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
25072
+ # @param [String] user_ip
25073
+ # Legacy name for parameter that has been superseded by `quotaUser`.
25074
+ # @param [Google::Apis::RequestOptions] options
25075
+ # Request-specific options
25076
+ #
25077
+ # @yield [result, err] Result & error if block supplied
25078
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
25079
+ # @yieldparam err [StandardError] error object if request failed
25080
+ #
25081
+ # @return [Google::Apis::ComputeBeta::Operation]
25082
+ #
25083
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
25084
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
25085
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
25086
+ def bulk_region_disk_insert(project, region, bulk_insert_disk_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
25087
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/bulkInsert', options)
25088
+ command.request_representation = Google::Apis::ComputeBeta::BulkInsertDiskResource::Representation
25089
+ command.request_object = bulk_insert_disk_resource_object
25090
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
25091
+ command.response_class = Google::Apis::ComputeBeta::Operation
25092
+ command.params['project'] = project unless project.nil?
25093
+ command.params['region'] = region unless region.nil?
25094
+ command.query['requestId'] = request_id unless request_id.nil?
25095
+ command.query['fields'] = fields unless fields.nil?
25096
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
25097
+ command.query['userIp'] = user_ip unless user_ip.nil?
25098
+ execute_or_queue_command(command, &block)
25099
+ end
25100
+
24742
25101
  # Creates a snapshot of a specified persistent disk. For regular snapshot
24743
25102
  # creation, consider using snapshots.insert instead, as that method supports
24744
25103
  # more features, such as creating snapshots in a project different from the
@@ -25277,6 +25636,162 @@ module Google
25277
25636
  execute_or_queue_command(command, &block)
25278
25637
  end
25279
25638
 
25639
+ # Starts asynchronous replication. Must be invoked on the primary disk.
25640
+ # @param [String] project
25641
+ # Project ID for this request.
25642
+ # @param [String] region
25643
+ # The name of the region for this request.
25644
+ # @param [String] disk
25645
+ # The name of the persistent disk.
25646
+ # @param [Google::Apis::ComputeBeta::RegionDisksStartAsyncReplicationRequest] region_disks_start_async_replication_request_object
25647
+ # @param [String] request_id
25648
+ # An optional request ID to identify requests. Specify a unique request ID so
25649
+ # that if you must retry your request, the server will know to ignore the
25650
+ # request if it has already been completed. For example, consider a situation
25651
+ # where you make an initial request and the request times out. If you make the
25652
+ # request again with the same request ID, the server can check if original
25653
+ # operation with the same request ID was received, and if so, will ignore the
25654
+ # second request. This prevents clients from accidentally creating duplicate
25655
+ # commitments. The request ID must be a valid UUID with the exception that zero
25656
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
25657
+ # @param [String] fields
25658
+ # Selector specifying which fields to include in a partial response.
25659
+ # @param [String] quota_user
25660
+ # Available to use for quota purposes for server-side applications. Can be any
25661
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
25662
+ # @param [String] user_ip
25663
+ # Legacy name for parameter that has been superseded by `quotaUser`.
25664
+ # @param [Google::Apis::RequestOptions] options
25665
+ # Request-specific options
25666
+ #
25667
+ # @yield [result, err] Result & error if block supplied
25668
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
25669
+ # @yieldparam err [StandardError] error object if request failed
25670
+ #
25671
+ # @return [Google::Apis::ComputeBeta::Operation]
25672
+ #
25673
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
25674
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
25675
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
25676
+ def start_region_disk_async_replication(project, region, disk, region_disks_start_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
25677
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/startAsyncReplication', options)
25678
+ command.request_representation = Google::Apis::ComputeBeta::RegionDisksStartAsyncReplicationRequest::Representation
25679
+ command.request_object = region_disks_start_async_replication_request_object
25680
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
25681
+ command.response_class = Google::Apis::ComputeBeta::Operation
25682
+ command.params['project'] = project unless project.nil?
25683
+ command.params['region'] = region unless region.nil?
25684
+ command.params['disk'] = disk unless disk.nil?
25685
+ command.query['requestId'] = request_id unless request_id.nil?
25686
+ command.query['fields'] = fields unless fields.nil?
25687
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
25688
+ command.query['userIp'] = user_ip unless user_ip.nil?
25689
+ execute_or_queue_command(command, &block)
25690
+ end
25691
+
25692
+ # Stops asynchronous replication. Can be invoked either on the primary or on the
25693
+ # secondary disk.
25694
+ # @param [String] project
25695
+ # Project ID for this request.
25696
+ # @param [String] region
25697
+ # The name of the region for this request.
25698
+ # @param [String] disk
25699
+ # The name of the persistent disk.
25700
+ # @param [String] request_id
25701
+ # An optional request ID to identify requests. Specify a unique request ID so
25702
+ # that if you must retry your request, the server will know to ignore the
25703
+ # request if it has already been completed. For example, consider a situation
25704
+ # where you make an initial request and the request times out. If you make the
25705
+ # request again with the same request ID, the server can check if original
25706
+ # operation with the same request ID was received, and if so, will ignore the
25707
+ # second request. This prevents clients from accidentally creating duplicate
25708
+ # commitments. The request ID must be a valid UUID with the exception that zero
25709
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
25710
+ # @param [String] fields
25711
+ # Selector specifying which fields to include in a partial response.
25712
+ # @param [String] quota_user
25713
+ # Available to use for quota purposes for server-side applications. Can be any
25714
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
25715
+ # @param [String] user_ip
25716
+ # Legacy name for parameter that has been superseded by `quotaUser`.
25717
+ # @param [Google::Apis::RequestOptions] options
25718
+ # Request-specific options
25719
+ #
25720
+ # @yield [result, err] Result & error if block supplied
25721
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
25722
+ # @yieldparam err [StandardError] error object if request failed
25723
+ #
25724
+ # @return [Google::Apis::ComputeBeta::Operation]
25725
+ #
25726
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
25727
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
25728
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
25729
+ def stop_region_disk_async_replication(project, region, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
25730
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/stopAsyncReplication', options)
25731
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
25732
+ command.response_class = Google::Apis::ComputeBeta::Operation
25733
+ command.params['project'] = project unless project.nil?
25734
+ command.params['region'] = region unless region.nil?
25735
+ command.params['disk'] = disk unless disk.nil?
25736
+ command.query['requestId'] = request_id unless request_id.nil?
25737
+ command.query['fields'] = fields unless fields.nil?
25738
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
25739
+ command.query['userIp'] = user_ip unless user_ip.nil?
25740
+ execute_or_queue_command(command, &block)
25741
+ end
25742
+
25743
+ # Stops asynchronous replication for a consistency group of disks. Can be
25744
+ # invoked either in the primary or secondary scope.
25745
+ # @param [String] project
25746
+ # Project ID for this request.
25747
+ # @param [String] region
25748
+ # The name of the region for this request. This must be the region of the
25749
+ # primary or secondary disks in the consistency group.
25750
+ # @param [Google::Apis::ComputeBeta::DisksStopGroupAsyncReplicationResource] disks_stop_group_async_replication_resource_object
25751
+ # @param [String] request_id
25752
+ # An optional request ID to identify requests. Specify a unique request ID so
25753
+ # that if you must retry your request, the server will know to ignore the
25754
+ # request if it has already been completed. For example, consider a situation
25755
+ # where you make an initial request and the request times out. If you make the
25756
+ # request again with the same request ID, the server can check if original
25757
+ # operation with the same request ID was received, and if so, will ignore the
25758
+ # second request. This prevents clients from accidentally creating duplicate
25759
+ # commitments. The request ID must be a valid UUID with the exception that zero
25760
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
25761
+ # @param [String] fields
25762
+ # Selector specifying which fields to include in a partial response.
25763
+ # @param [String] quota_user
25764
+ # Available to use for quota purposes for server-side applications. Can be any
25765
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
25766
+ # @param [String] user_ip
25767
+ # Legacy name for parameter that has been superseded by `quotaUser`.
25768
+ # @param [Google::Apis::RequestOptions] options
25769
+ # Request-specific options
25770
+ #
25771
+ # @yield [result, err] Result & error if block supplied
25772
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
25773
+ # @yieldparam err [StandardError] error object if request failed
25774
+ #
25775
+ # @return [Google::Apis::ComputeBeta::Operation]
25776
+ #
25777
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
25778
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
25779
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
25780
+ def stop_region_disk_group_async_replication(project, region, disks_stop_group_async_replication_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
25781
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/stopGroupAsyncReplication', options)
25782
+ command.request_representation = Google::Apis::ComputeBeta::DisksStopGroupAsyncReplicationResource::Representation
25783
+ command.request_object = disks_stop_group_async_replication_resource_object
25784
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
25785
+ command.response_class = Google::Apis::ComputeBeta::Operation
25786
+ command.params['project'] = project unless project.nil?
25787
+ command.params['region'] = region unless region.nil?
25788
+ command.query['requestId'] = request_id unless request_id.nil?
25789
+ command.query['fields'] = fields unless fields.nil?
25790
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
25791
+ command.query['userIp'] = user_ip unless user_ip.nil?
25792
+ execute_or_queue_command(command, &block)
25793
+ end
25794
+
25280
25795
  # Returns permissions that a caller has on the specified resource.
25281
25796
  # @param [String] project
25282
25797
  # Project ID for this request.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.63.0
4
+ version: 0.65.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: 2023-03-19 00:00:00.000000000 Z
11
+ date: 2023-04-23 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-compute_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.63.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.65.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
63
63
  post_install_message:
64
64
  rdoc_options: []