LocationArgs

data class LocationArgs(val name: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<LocationArgs>

Represents a Location resource.

Import

Location can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{name}}

  • {{project}}/{{name}}

  • {{name}} When using the pulumi import command, Location can be imported using one of the formats above. For example:

$ pulumi import gcp:notebooks/location:Location default projects/{{project}}/locations/{{name}}
$ pulumi import gcp:notebooks/location:Location default {{project}}/{{name}}
$ pulumi import gcp:notebooks/location:Location default {{name}}

Constructors

Link copied to clipboard
constructor(name: Output<String>? = null, project: Output<String>? = null)

Properties

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

Name of the Location resource.

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

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Functions

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