class ProjectsCryptoKeys extends Resource (View source)

The "cryptoKeys" collection of methods.

Typical usage is:

 $kmsinventoryService = new Google\Service\Kmsinventory(...);
 $cryptoKeys = $kmsinventoryService->projects_cryptoKeys;

Methods

listProjectsCryptoKeys(string $parent, array $optParams = [])

Returns cryptographic keys managed by Cloud KMS in a given Cloud project.

Details

GoogleCloudKmsInventoryV1ListCryptoKeysResponse listProjectsCryptoKeys(string $parent, array $optParams = [])

Returns cryptographic keys managed by Cloud KMS in a given Cloud project.

Note that this data is sourced from snapshots, meaning it may not completely reflect the actual state of key metadata at call time. (cryptoKeys.listProjectsCryptoKeys)

Parameters

string $parent

Required. The Google Cloud project for which to retrieve key metadata, in the format projects

array $optParams

Optional parameters.

Return Value

GoogleCloudKmsInventoryV1ListCryptoKeysResponse

Exceptions

Exception