WorkloadResourceSetting class

Constructors

WorkloadResourceSetting({Input<String?>? displayName, Input<String?>? resourceId, Input<String?>? resourceType})
Creates a new WorkloadResourceSetting. displayName User-assigned resource display name. If not empty it will be used to create a resource with the specified name. resourceId 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 folderId is assigned by Google. resourceType 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
const
WorkloadResourceSetting.fromMap(Map<String, dynamic> map)
factory

Properties

displayName → Input<String?>?
User-assigned resource display name. If not empty it will be used to create a resource with the specified name.
final
hashCode → int
The hash code for this object.
no setterinherited
resourceId → Input<String?>?
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 folderId is assigned by Google.
final
resourceType → Input<String?>?
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
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited