ProtectedResourcesSummary

Aggregate information about the resources protected by a Cloud KMS key in the same Cloud organization or project as the key.

JSON representation
{
  "name": string,
  "resourceCount": string,
  "projectCount": integer,
  "resourceTypes": {
    string: string,
    ...
  },
  "cloudProducts": {
    string: string,
    ...
  },
  "locations": {
    string: string,
    ...
  },
  "warnings": [
    {
      object (Warning)
    }
  ]
}
Fields
name

string

The full name of the ProtectedResourcesSummary resource. Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary

resourceCount

string (int64 format)

The total number of protected resources in the same Cloud organization as the key.

projectCount

integer

The number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key.

resourceTypes

map (key: string, value: string (int64 format))

The number of resources protected by the key grouped by resource type.

cloudProducts

map (key: string, value: string (int64 format))

The number of resources protected by the key grouped by Cloud product.

locations

map (key: string, value: string (int64 format))

The number of resources protected by the key grouped by region.

warnings[]

object (Warning)

Warning messages for the state of response ProtectedResourcesSummary For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.

Warning

A warning message that indicates potential problems with the response data.

JSON representation
{
  "warningCode": enum (WarningCode),
  "displayMessage": string
}
Fields
warningCode

enum (WarningCode)

The specific warning code for the displayed message.

displayMessage

string

The literal message providing context and details about the warnings.