public sealed class ValuedResource : IMessage<ValuedResource>, IEquatable<ValuedResource>, IDeepCloneable<ValuedResource>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class ValuedResource.
A resource that is determined to have value to a user's system
Implements
IMessageValuedResource, IEquatableValuedResource, IDeepCloneableValuedResource, IBufferMessage, IMessageNamespace
Google.Cloud.SecurityCenter.V2Assembly
Google.Cloud.SecurityCenter.V2.dll
Constructors
ValuedResource()
public ValuedResource()
ValuedResource(ValuedResource)
public ValuedResource(ValuedResource other)
Parameter | |
---|---|
Name | Description |
other |
ValuedResource |
Properties
DisplayName
public string DisplayName { get; set; }
Human-readable name of the valued resource.
Property Value | |
---|---|
Type | Description |
string |
ExposedScore
public double ExposedScore { get; set; }
Exposed score for this valued resource. A value of 0 means no exposure was detected exposure.
Property Value | |
---|---|
Type | Description |
double |
Name
public string Name { get; set; }
Valued resource name, for example,
e.g.:
organizations/123/simulations/456/valuedResources/789
Property Value | |
---|---|
Type | Description |
string |
Resource
public string Resource { get; set; }
The full resource name of the valued resource.
Property Value | |
---|---|
Type | Description |
string |
ResourceType
public string ResourceType { get; set; }
The resource type of the valued resource.
Property Value | |
---|---|
Type | Description |
string |
ResourceValue
public ValuedResource.Types.ResourceValue ResourceValue { get; set; }
How valuable this resource is.
Property Value | |
---|---|
Type | Description |
ValuedResourceTypesResourceValue |
ResourceValueConfigsUsed
public RepeatedField<ResourceValueConfigMetadata> ResourceValueConfigsUsed { get; }
List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100.
Property Value | |
---|---|
Type | Description |
RepeatedFieldResourceValueConfigMetadata |
ValuedResourceName
public ValuedResourceName ValuedResourceName { get; set; }
ValuedResourceName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ValuedResourceName |