Close httplib2 connections.
getProtectedResourcesSummary(name, x__xgafv=None)
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.
close()
Close httplib2 connections.
getProtectedResourcesSummary(name, x__xgafv=None)
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. Args: name: string, Required. The resource name of the CryptoKey. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Aggregate information about the resources protected by a Cloud KMS key in the same Cloud organization as the key. "cloudProducts": { # The number of resources protected by the key grouped by Cloud product. "a_key": "A String", }, "locations": { # The number of resources protected by the key grouped by region. "a_key": "A String", }, "name": "A String", # The full name of the ProtectedResourcesSummary resource. Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary "projectCount": 42, # The number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key. "resourceCount": "A String", # The total number of protected resources in the same Cloud organization as the key. "resourceTypes": { # The number of resources protected by the key grouped by resource type. "a_key": "A String", }, }