ProjectArgs

data class ProjectArgs(val displayName: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val parent: Output<String>? = null, val projectId: Output<String>? = null) : ConvertibleToJava<ProjectArgs>

Request that a new project be created. The result is an Operation which can be used to track the creation process. This process usually takes a few seconds, but can sometimes take much longer. The tracking Operation is automatically deleted after a few hours, so there is no need to call DeleteOperation. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
constructor(displayName: Output<String>? = null, labels: Output<Map<String, String>>? = null, parent: Output<String>? = null, projectId: Output<String>? = null)

Properties

Link copied to clipboard
val displayName: Output<String>? = null

Optional. A user-assigned display name of the project. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: My Project

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Optional. The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \[a-z\](\[-a-z0-9\]\[a-z0-9\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]\[a-z0-9\])?)?. No more than 64 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "myBusinessDimension" : "businessValue"

Link copied to clipboard
val parent: Output<String>? = null

Optional. A reference to a parent Resource. eg., organizations/123 or folders/876.

Link copied to clipboard
val projectId: Output<String>? = null

Immutable. The unique, user-assigned id of the project. It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: tokyo-rain-123

Functions

Link copied to clipboard
open override fun toJava(): ProjectArgs