KMS Inventory v1 API - Class ProtectedResourcesSummary (1.1.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
NameDescription
otherProtectedResourcesSummary

Properties

CloudProducts

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

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

Property Value
TypeDescription
MapFieldstringlong

Locations

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

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

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
int

ProtectedResourcesSummaryName

public ProtectedResourcesSummaryName ProtectedResourcesSummaryName { get; set; }

ProtectedResourcesSummaryName-typed view over the Name resource name property.

Property Value
TypeDescription
ProtectedResourcesSummaryName

ResourceCount

public long ResourceCount { get; set; }

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

Property Value
TypeDescription
long

ResourceTypes

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

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

Property Value
TypeDescription
MapFieldstringlong