Google Cloud Assured Workloads V1beta1 Client - Class ResourceType (1.0.0-RC1)

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;