1.6.0 (latest) 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ValuedResource

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ValuedResource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.ValuedResource.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ValuedResource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.ValuedResource.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ValuedResource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.ValuedResource.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.SecurityCenter.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.md.txt)

## Assembly

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](https://cloud.google.com/apis/design/resource_names#full_resource_name)
of the valued resource.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ResourceType

    public string ResourceType { get; set; }

The [resource
type](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
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](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.ValuedResourceName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.ValuedResource.md.txt#Google_Cloud_SecurityCenter_V2_ValuedResource_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ValuedResourceName` |   |