KMS Inventory v1 API - Class ProtectedResourcesSummary (1.3.0)

public sealed class ProtectedResourcesSummary : IMessage<ProtectedResourcesSummary>, IEquatable<ProtectedResourcesSummary>, IDeepCloneable<ProtectedResourcesSummary>, IBufferMessage, IMessage

Reference documentation and code samples for the KMS Inventory v1 API class ProtectedResourcesSummary.

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

Inheritance

object > ProtectedResourcesSummary

Namespace

Google.Cloud.Kms.Inventory.V1

Assembly

Google.Cloud.Kms.Inventory.V1.dll

Constructors

ProtectedResourcesSummary()

public ProtectedResourcesSummary()

ProtectedResourcesSummary(ProtectedResourcesSummary)

public ProtectedResourcesSummary(ProtectedResourcesSummary other)
Parameter
Name Description
other ProtectedResourcesSummary

Properties

CloudProducts

public MapField<string, long> CloudProducts { get; }

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

Property Value
Type Description
MapFieldstringlong

Locations

public MapField<string, long> Locations { get; }

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

Property Value
Type Description
MapFieldstringlong

Name

public string Name { get; set; }

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

Property Value
Type Description
string

ProjectCount

public int ProjectCount { get; set; }

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

Property Value
Type Description
int

ProtectedResourcesSummaryName

public ProtectedResourcesSummaryName ProtectedResourcesSummaryName { get; set; }

ProtectedResourcesSummaryName-typed view over the Name resource name property.

Property Value
Type Description
ProtectedResourcesSummaryName

ResourceCount

public long ResourceCount { get; set; }

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

Property Value
Type Description
long

ResourceTypes

public MapField<string, long> ResourceTypes { get; }

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

Property Value
Type Description
MapFieldstringlong