Folders
class Folders extends Resource (View source)
The "folders" collection of methods.
Typical usage is:
$cloudkmsService = new Google\Service\CloudKMS(...);
$folders = $cloudkmsService->folders;
Methods
Returns the AutokeyConfig for a folder. (folders.getAutokeyConfig)
Updates the AutokeyConfig for a folder. The caller must have both
cloudkms.autokeyConfigs.update
permission on the parent folder and
cloudkms.cryptoKeys.setIamPolicy
permission on the provided key project. A
KeyHandle creation in the folder's descendant projects will use this
configuration to determine where to create the resulting CryptoKey.
Details
AutokeyConfig
getAutokeyConfig(string $name, array $optParams = [])
Returns the AutokeyConfig for a folder. (folders.getAutokeyConfig)
AutokeyConfig
updateAutokeyConfig(string $name, AutokeyConfig $postBody, array $optParams = [])
Updates the AutokeyConfig for a folder. The caller must have both
cloudkms.autokeyConfigs.update
permission on the parent folder and
cloudkms.cryptoKeys.setIamPolicy
permission on the provided key project. A
KeyHandle creation in the folder's descendant projects will use this
configuration to determine where to create the resulting CryptoKey.
(folders.updateAutokeyConfig)