WorkloadResourceSetting

data class WorkloadResourceSetting(val displayName: String? = null, val resourceId: String? = null, val resourceType: String? = null)

Constructors

Link copied to clipboard
constructor(displayName: String? = null, resourceId: String? = null, resourceType: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val displayName: String? = null

User-assigned resource display name. If not empty it will be used to create a resource with the specified name.

Link copied to clipboard
val resourceId: String? = null

Resource identifier. For a project this represents projectId. If the project is already taken, the workload creation will fail. For KeyRing, this represents the keyring_id. For a folder, don't set this value as folder_id is assigned by Google.

Link copied to clipboard
val resourceType: String? = null

Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT) Possible values: RESOURCE_TYPE_UNSPECIFIED, CONSUMER_PROJECT, ENCRYPTION_KEYS_PROJECT, KEYRING, CONSUMER_FOLDER