Serviceaccountkeys
class Serviceaccountkeys extends Resource (View source)
The "serviceaccountkeys" collection of methods.
Typical usage is:
$androidenterpriseService = new Google\Service\AndroidEnterprise(...);
$serviceaccountkeys = $androidenterpriseService->serviceaccountkeys;
Methods
Removes and invalidates the specified credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount.
Generates new credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. Only the type of the key should be populated in the resource to be inserted.
Lists all active credentials for the service account associated with this enterprise. Only the ID and key type are returned. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. (serviceaccountkeys.listServiceaccountkeys)
Details
delete(string $enterpriseId, string $keyId, array $optParams = [])
Removes and invalidates the specified credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount.
(serviceaccountkeys.delete)
ServiceAccountKey
insert(string $enterpriseId, ServiceAccountKey $postBody, array $optParams = [])
Generates new credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. Only the type of the key should be populated in the resource to be inserted.
(serviceaccountkeys.insert)
ServiceAccountKeysListResponse
listServiceaccountkeys(string $enterpriseId, array $optParams = [])
Lists all active credentials for the service account associated with this enterprise. Only the ID and key type are returned. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. (serviceaccountkeys.listServiceaccountkeys)