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

The "v1" collection of methods. More...

Inheritance diagram for Google_Service_Storagetransfer_V1_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 getGoogleServiceAccount ($optParams=array())
 Returns the Google service account that is used by Storage Transfer Service to access buckets in the project where transfers run or in other projects.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "v1" collection of methods.

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

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

◆ getGoogleServiceAccount()

Google_Service_Storagetransfer_V1_Resource::getGoogleServiceAccount ( $optParams = array())

Returns the Google service account that is used by Storage Transfer Service to access buckets in the project where transfers run or in other projects.

Each Google service account is associated with one Google Developers Console project. Users should add this service account to the Google Cloud Storage bucket ACLs to grant access to Storage Transfer Service. This service account is created and owned by Storage Transfer Service and can only be used by Storage Transfer Service. (v1.getGoogleServiceAccount)

Parameters
array$optParamsOptional parameters.

@opt_param string projectId The ID of the Google Developers Console project that the Google service account is associated with. Required.

Return values
Google_Service_Storagetransfer_GoogleServiceAccount

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