ObjectMetaArgs

data class ObjectMetaArgs(val annotations: Output<Map<String, String>>? = null, val clusterName: Output<String>? = null, val creationTimestamp: Output<String>? = null, val deletionGracePeriodSeconds: Output<Int>? = null, val deletionTimestamp: Output<String>? = null, val finalizers: Output<List<String>>? = null, val generateName: Output<String>? = null, val generation: Output<Int>? = null, val labels: Output<Map<String, String>>? = null, val name: Output<String>, val namespace: Output<String>, val ownerReferences: Output<List<OwnerReferenceArgs>>? = null, val resourceVersion: Output<String>? = null, val selfLink: Output<String>? = null, val uid: Output<String>? = null) : ConvertibleToJava<ObjectMetaArgs>

k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

Constructors

Link copied to clipboard
fun ObjectMetaArgs(annotations: Output<Map<String, String>>? = null, clusterName: Output<String>? = null, creationTimestamp: Output<String>? = null, deletionGracePeriodSeconds: Output<Int>? = null, deletionTimestamp: Output<String>? = null, finalizers: Output<List<String>>? = null, generateName: Output<String>? = null, generation: Output<Int>? = null, labels: Output<Map<String, String>>? = null, name: Output<String>, namespace: Output<String>, ownerReferences: Output<List<OwnerReferenceArgs>>? = null, resourceVersion: Output<String>? = null, selfLink: Output<String>? = null, uid: Output<String>? = null)

Functions

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

Properties

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

Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * autoscaling.knative.dev/maxScale: Revision. * autoscaling.knative.dev/minScale: Revision. * run.googleapis.com/binary-authorization-breakglass: Service, Job, * run.googleapis.com/binary-authorization: Service, Job, Execution. * run.googleapis.com/client-name: All resources. * run.googleapis.com/cloudsql-instances: Revision, Execution. * run.googleapis.com/container-dependencies: Revision. * run.googleapis.com/cpu-throttling: Revision. * run.googleapis.com/custom-audiences: Service. * run.googleapis.com/description: Service. * run.googleapis.com/encryption-key-shutdown-hours: Revision * run.googleapis.com/encryption-key: Revision, Execution. * run.googleapis.com/execution-environment: Revision, Execution. * run.googleapis.com/gc-traffic-tags: Service. * run.googleapis.com/ingress: Service. * run.googleapis.com/launch-stage: Service, Job. * run.googleapis.com/network-interfaces: Revision, Execution. * run.googleapis.com/post-key-revocation-action-type: Revision. * run.googleapis.com/secrets: Revision, Execution. * run.googleapis.com/secure-session-agent: Revision. * run.googleapis.com/sessionAffinity: Revision. * run.googleapis.com/startup-cpu-boost: Revision. * run.googleapis.com/vpc-access-connector: Revision, Execution. * run.googleapis.com/vpc-access-egress: Revision, Execution.

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

Not supported by Cloud Run

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

UTC timestamp representing the server time when this object was created.

Link copied to clipboard
val deletionGracePeriodSeconds: Output<Int>? = null

Not supported by Cloud Run

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

The read-only soft deletion timestamp for this resource. In Cloud Run, users are not able to set this field. Instead, they must call the corresponding Delete API.

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

Not supported by Cloud Run

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

Not supported by Cloud Run

Link copied to clipboard
val generation: Output<Int>? = null

A system-provided sequence number representing a specific generation of the desired state.

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

Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.

Link copied to clipboard
val name: Output<String>

The name of the resource. Name is required when creating top-level resources (Service, Job), must be unique within a Cloud Run project/region, and cannot be changed once created.

Link copied to clipboard
val namespace: Output<String>

Defines the space within each name must be unique within a Cloud Run region. In Cloud Run, it must be project ID or number.

Link copied to clipboard

Not supported by Cloud Run

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

Opaque, system-generated value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit the value to disable conflict-detection.

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

URL representing this object.

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

Unique, system-generated identifier for this resource.