ResourceArgs

data class ResourceArgs(val contentHash: Output<HashArgs>? = null, val name: Output<String>? = null, val uri: Output<String>) : ConvertibleToJava<ResourceArgs>

An entity that can have metadata. For example, a Docker image.

Constructors

Link copied to clipboard
fun ResourceArgs(contentHash: Output<HashArgs>? = null, name: Output<String>? = null, uri: Output<String>)

Functions

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

Properties

Link copied to clipboard
val contentHash: Output<HashArgs>? = null

Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest.

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

Deprecated, do not use. Use uri instead. The name of the resource. For example, the name of a Docker image - "Debian".

Link copied to clipboard
val uri: Output<String>

The unique URI of the resource. For example, https://gcr.io/project/image@sha256:foo for a Docker image.