ResourceInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Represent the resources that are children of this Workload.
Attributes | |
---|---|
Name | Description |
resource_id |
int
Resource identifier. For a project this represents project_number. |
resource_type |
google.cloud.assuredworkloads_v1beta1.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): Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value. CONSUMER_FOLDER (4): Consumer Folder. ENCRYPTION_KEYS_PROJECT (2): Consumer project containing encryption keys. KEYRING (3): Keyring resource that hosts encryption keys.