Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudAssuredworkloadsV1WorkloadResourceSettings

import type { GoogleCloudAssuredworkloadsV1WorkloadResourceSettings } from "https://googleapis.deno.dev/v1/assuredworkloads:v1.ts";

Represent the custom settings for the resources to be created.

interface GoogleCloudAssuredworkloadsV1WorkloadResourceSettings {
displayName?: string;
resourceId?: string;
resourceType?:
| "RESOURCE_TYPE_UNSPECIFIED"
| "CONSUMER_PROJECT"
| "CONSUMER_FOLDER"
| "ENCRYPTION_KEYS_PROJECT"
| "KEYRING";
}

§Properties

§
displayName?: string
[src]

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

§
resourceId?: string
[src]

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.

§
resourceType?: "RESOURCE_TYPE_UNSPECIFIED" | "CONSUMER_PROJECT" | "CONSUMER_FOLDER" | "ENCRYPTION_KEYS_PROJECT" | "KEYRING"
[src]

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)