NamespaceArgs

data class NamespaceArgs(val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val namespaceId: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<NamespaceArgs>

Creates a namespace, and returns the new namespace.

Constructors

Link copied to clipboard
fun NamespaceArgs(labels: Output<Map<String, String>>? = null, location: Output<String>? = null, name: Output<String>? = null, namespaceId: Output<String>? = null, project: Output<String>? = null)

Functions

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

Properties

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

Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.

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

Immutable. The resource name for the namespace in the format projects/*/locations/*/namespaces/*.

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

Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z](?:[-a-z0-9]{0,61}[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

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

//*/