ResourceIdArgs

data class ResourceIdArgs(val id: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<ResourceIdArgs>

A container to reference an id for any resource type. A resource in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an App Engine app, a Compute Engine instance, a Cloud SQL database, and so on.

Constructors

Link copied to clipboard
fun ResourceIdArgs(id: Output<String>? = null, type: Output<String>? = null)

Functions

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

Properties

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

Required field for the type-specific id. This should correspond to the id used in the type-specific API's.

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

Required field representing the resource type this id is for. At present, the valid types are "project", "folder", and "organization".