Class ResourceSettings (1.4.0)

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

Represent the custom settings for the resources to be created.

Attributes

NameDescription
resource_id str
Resource identifier. For a project this represents project_id. 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.
resource_type google.cloud.assuredworkloads_v1beta1.types.Workload.ResourceInfo.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)
display_name str
User-assigned resource display name. If not empty it will be used to create a resource with the specified name.

Inheritance

builtins.object > proto.message.Message > ResourceSettings