Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_Storagetransfer_GoogleServiceAccounts_Resource Class Reference

The "googleServiceAccounts" collection of methods. More...

Inheritance diagram for Google_Service_Storagetransfer_GoogleServiceAccounts_Resource:
Google_Service_Resource

Public Member Functions

 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.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "googleServiceAccounts" collection of methods.

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

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

◆ 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$projectIdThe ID of the Google Developers Console project that the Google service account is associated with. Required.
array$optParamsOptional parameters.
Return values
Google_Service_Storagetransfer_GoogleServiceAccount

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