# Google Cloud Assured Workloads V1beta1 Client - Class ResourceType (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.11.5 0.10.2 0.9.1 0.8.3 0.7.3

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Assured Workloads V1beta1 Client class ResourceType.

The type of resource.

Protobuf type `google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo.ResourceType`

## Namespace

Google \\ Cloud \\ AssuredWorkloads \\ V1beta1 \\ Workload \\ ResourceInfo

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### RESOURCE_TYPE_UNSPECIFIED

    Value: 0

Unknown resource type.

Generated from protobuf enum `RESOURCE_TYPE_UNSPECIFIED = 0;`

### CONSUMER_PROJECT

    Value: 1

Deprecated. Existing workloads will continue to support this, but new
CreateWorkloadRequests should not specify this as an input value.

Generated from protobuf enum `CONSUMER_PROJECT = 1 [deprecated = true];`

### CONSUMER_FOLDER

    Value: 4

Consumer Folder.

Generated from protobuf enum `CONSUMER_FOLDER = 4;`

### ENCRYPTION_KEYS_PROJECT

    Value: 2

Consumer project containing encryption keys.

Generated from protobuf enum `ENCRYPTION_KEYS_PROJECT = 2;`

### KEYRING

    Value: 3

Keyring resource that hosts encryption keys.

Generated from protobuf enum `KEYRING = 3;`