Google Cloud Assured Workloads V1 Client - Class ResourceType (0.10.2)

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

The type of resource.

Protobuf type google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType

Namespace

Google \ Cloud \ AssuredWorkloads \ V1 \ Workload \ ResourceInfo

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

RESOURCE_TYPE_UNSPECIFIED

Value: 0

Unknown resource type.

Generated from protobuf enum RESOURCE_TYPE_UNSPECIFIED = 0;

CONSUMER_PROJECT

Value: 1

Consumer project.

AssuredWorkloads Projects are no longer supported. This field will be ignored only in CreateWorkload requests. ListWorkloads and GetWorkload will continue to provide projects information. Use CONSUMER_FOLDER instead.

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;