The "v1" collection of methods.
More...
|
| 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.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "v1" collection of methods.
Typical usage is: $storagetransferService = new Google_Service_Storagetransfer(...); $v1 = $storagetransferService->v1;
◆ 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
-
◆ 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 | $optParams | Optional parameters. |
@opt_param string projectId The ID of the Google Developers Console project that the Google service account is associated with. Required.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Storagetransfer.php