The "googleServiceAccounts" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| get ($projectId, $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 "googleServiceAccounts" collection of methods.
Typical usage is: $storagetransferService = new Google_Service_Storagetransfer(...); $googleServiceAccounts = $storagetransferService->googleServiceAccounts;
◆ 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
-
◆ get()
Google_Service_Storagetransfer_GoogleServiceAccounts_Resource::get |
( |
| $projectId, |
|
|
| $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. (googleServiceAccounts.get)
- Parameters
-
string | $projectId | The ID of the Google Developers Console project that the Google service account is associated with. Required. |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Storagetransfer.php