Class ResourceInfo (1.12.3)

ResourceInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represent the resources that are children of this Workload.

Attributes

NameDescription
resource_id int
Resource identifier. For a project this represents project_number.
resource_type google.cloud.assuredworkloads_v1.types.Workload.ResourceInfo.ResourceType
Indicates the type of resource.

Classes

ResourceType

ResourceType(value)

The type of resource.

Values: RESOURCE_TYPE_UNSPECIFIED (0): Unknown resource type. CONSUMER_PROJECT (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. CONSUMER_FOLDER (4): Consumer Folder. ENCRYPTION_KEYS_PROJECT (2): Consumer project containing encryption keys. KEYRING (3): Keyring resource that hosts encryption keys.