class ProjectsLocationsKeyRingsCryptoKeys extends Resource (View source)

The "cryptoKeys" collection of methods.

Typical usage is:

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

Methods

getProtectedResourcesSummary(string $name, array $optParams = [])

Returns aggregate information about the resources protected by the given Cloud KMS CryptoKey. Only resources within the same Cloud organization as the key will be returned. The project that holds the key must be part of an organization in order for this call to succeed.

Details

GoogleCloudKmsInventoryV1ProtectedResourcesSummary getProtectedResourcesSummary(string $name, array $optParams = [])

Returns aggregate information about the resources protected by the given Cloud KMS CryptoKey. Only resources within the same Cloud organization as the key will be returned. The project that holds the key must be part of an organization in order for this call to succeed.

(cryptoKeys.getProtectedResourcesSummary)

Parameters

string $name

Required. The resource name of the CryptoKey.

array $optParams

Optional parameters.

Return Value

GoogleCloudKmsInventoryV1ProtectedResourcesSummary

Exceptions

Exception