Reference documentation and code samples for the Google Cloud KMS Inventory V1 Client class ProtectedResourcesSummary.
Aggregate information about the resources protected by a Cloud KMS key in the same Cloud organization as the key.
Generated from protobuf message google.cloud.kms.inventory.v1.ProtectedResourcesSummary
Namespace
Google \ Cloud \ Kms \ Inventory \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The full name of the ProtectedResourcesSummary resource. Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary
↳ resource_count
int|string
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
array| Google\Protobuf\Internal\MapField
The number of resources protected by the key grouped by resource type.
↳ cloud_products
array| Google\Protobuf\Internal\MapField
The number of resources protected by the key grouped by Cloud product.
↳ locations
array| Google\Protobuf\Internal\MapField
The number of resources protected by the key grouped by region.
getName
The full name of the ProtectedResourcesSummary resource.
Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary
string
setName
The full name of the ProtectedResourcesSummary resource.
Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary
var
string
$this
getResourceCount
The total number of protected resources in the same Cloud organization as the key.
int|string
setResourceCount
The total number of protected resources in the same Cloud organization as the key.
var
int|string
$this
getProjectCount
The number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key.
int
setProjectCount
The number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key.
var
int
$this
getResourceTypes
The number of resources protected by the key grouped by resource type.
setResourceTypes
The number of resources protected by the key grouped by resource type.
$this
getCloudProducts
The number of resources protected by the key grouped by Cloud product.
setCloudProducts
The number of resources protected by the key grouped by Cloud product.
$this
getLocations
The number of resources protected by the key grouped by region.
setLocations
The number of resources protected by the key grouped by region.
$this