Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_Storagetransfer_TransferOperations_Resource Class Reference

The "transferOperations" collection of methods. More...

Inheritance diagram for Google_Service_Storagetransfer_TransferOperations_Resource:
Google_Service_Resource

Public Member Functions

 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.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "transferOperations" collection of methods.

Typical usage is: $storagetransferService = new Google_Service_Storagetransfer(...); $transferOperations = $storagetransferService->transferOperations;

Member Function Documentation

◆ 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
Google_Exception

◆ 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$nameThe name of the operation resource to be cancelled.
array$optParamsOptional parameters.
Return values
Google_Service_Storagetransfer_Empty

◆ delete()

Google_Service_Storagetransfer_TransferOperations_Resource::delete ( $name,
$optParams = array() )

This method is not supported and the server returns UNIMPLEMENTED.

(transferOperations.delete)

Parameters
string$nameThe name of the operation resource to be deleted.
array$optParamsOptional parameters.
Return values
Google_Service_Storagetransfer_Empty

◆ 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$nameThe name of the operation resource.
array$optParamsOptional parameters.
Return values
Google_Service_Storagetransfer_Operation

◆ 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$nameThe value transferOperations.
array$optParamsOptional 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
Google_Service_Storagetransfer_ListOperationsResponse

◆ pause()

Google_Service_Storagetransfer_TransferOperations_Resource::pause ( $name,
Google_Service_Storagetransfer_PauseTransferOperationRequest $postBody,
$optParams = array() )

Pauses a transfer operation.

(transferOperations.pause)

Parameters
string$nameThe name of the transfer operation. Required.
Google_PauseTransferOperationRequest$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Storagetransfer_Empty

◆ resume()

Google_Service_Storagetransfer_TransferOperations_Resource::resume ( $name,
Google_Service_Storagetransfer_ResumeTransferOperationRequest $postBody,
$optParams = array() )

Resumes a transfer operation that is paused.

(transferOperations.resume)

Parameters
string$nameThe name of the transfer operation. Required.
Google_ResumeTransferOperationRequest$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Storagetransfer_Empty

The documentation for this class was generated from the following file: