ProtectedResourcesSummary(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Aggregate information about the resources protected by a Cloud KMS key in the same Cloud organization as the key.
Attributes | |
---|---|
Name | Description |
name |
str
The full name of the ProtectedResourcesSummary resource. Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary |
resource_count |
int
The total number of protected resources in the same Cloud organization as the key. |
project_count |
int
The number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key. |
resource_types |
MutableMapping[str, int]
The number of resources protected by the key grouped by resource type. |
cloud_products |
MutableMapping[str, int]
The number of resources protected by the key grouped by Cloud product. |
locations |
MutableMapping[str, int]
The number of resources protected by the key grouped by region. |
Classes
CloudProductsEntry
CloudProductsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
LocationsEntry
LocationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
ResourceTypesEntry
ResourceTypesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |