The "transferOperations" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| cancel ($name, $optParams=array()) |
| Cancels a transfer.
|
|
| delete ($name, $optParams=array()) |
| This method is not supported and the server returns UNIMPLEMENTED .
|
|
| get ($name, $optParams=array()) |
| Gets the latest state of a long-running operation.
|
|
| listTransferOperations ($name, $optParams=array()) |
| Lists operations that match the specified filter in the request.
|
|
| pause ($name, Google_Service_Storagetransfer_PauseTransferOperationRequest $postBody, $optParams=array()) |
| Pauses a transfer operation.
|
|
| resume ($name, Google_Service_Storagetransfer_ResumeTransferOperationRequest $postBody, $optParams=array()) |
| Resumes a transfer operation that is paused.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "transferOperations" collection of methods.
Typical usage is: $storagetransferService = new Google_Service_Storagetransfer(...); $transferOperations = $storagetransferService->transferOperations;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ cancel()
Google_Service_Storagetransfer_TransferOperations_Resource::cancel |
( |
| $name, |
|
|
| $optParams = array() ) |
Cancels a transfer.
Use the get method to check whether the cancellation succeeded or whether the operation completed despite cancellation. (transferOperations.cancel)
- Parameters
-
string | $name | The name of the operation resource to be cancelled. |
array | $optParams | Optional parameters. |
- Return values
-
◆ delete()
Google_Service_Storagetransfer_TransferOperations_Resource::delete |
( |
| $name, |
|
|
| $optParams = array() ) |
This method is not supported and the server returns UNIMPLEMENTED
.
(transferOperations.delete)
- Parameters
-
string | $name | The name of the operation resource to be deleted. |
array | $optParams | Optional parameters. |
- Return values
-
◆ get()
Google_Service_Storagetransfer_TransferOperations_Resource::get |
( |
| $name, |
|
|
| $optParams = array() ) |
Gets the latest state of a long-running operation.
Clients can use this method to poll the operation result at intervals as recommended by the API service. (transferOperations.get)
- Parameters
-
string | $name | The name of the operation resource. |
array | $optParams | Optional parameters. |
- Return values
-
◆ listTransferOperations()
Google_Service_Storagetransfer_TransferOperations_Resource::listTransferOperations |
( |
| $name, |
|
|
| $optParams = array() ) |
Lists operations that match the specified filter in the request.
If the server doesn't support this method, it returns UNIMPLEMENTED
. NOTE: the name
binding below allows API services to override the binding to use different resource name schemes, such as users/operations
. (transferOperations.listTransferOperations)
- Parameters
-
string | $name | The value transferOperations . |
array | $optParams | Optional parameters. |
@opt_param string filter The standard list filter. @opt_param string pageToken The standard list page token. @opt_param int pageSize The standard list page size.
- Return values
-
◆ pause()
Pauses a transfer operation.
(transferOperations.pause)
- Parameters
-
string | $name | The name of the transfer operation. Required. |
Google_PauseTransferOperationRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ resume()
Resumes a transfer operation that is paused.
(transferOperations.resume)
- Parameters
-
string | $name | The name of the transfer operation. Required. |
Google_ResumeTransferOperationRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Storagetransfer.php