Show / Hide Table of Contents

Class ObjectMeta

google.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

Inheritance
object
ObjectMeta
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudRun.v1.Data
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class ObjectMeta : IDirectResponseSchema

Properties

Annotations

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/base-images: Service, Revision. * run.googleapis.com/binary-authorization-breakglass: Service, Job, * run.googleapis.com/binary-authorization: Service, Job, Execution. * run.googleapis.com/build-base-image: Service. * run.googleapis.com/build-enable-automatic-updates: Service. * run.googleapis.com/build-environment-variables: Service. * run.googleapis.com/build-function-target: Service. * run.googleapis.com/build-id: Service. * run.googleapis.com/build-image-uri: Service. * run.googleapis.com/build-name: Service. * run.googleapis.com/build-service-account: Service. * run.googleapis.com/build-source-location: Service. * run.googleapis.com/build-worker-pool: Service. * 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/default-url-disabled: 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/gpu-zonal-redundancy-disabled: Revision. * run.googleapis.com/health-check-disabled: Revision. * run.googleapis.com/ingress: Service. * run.googleapis.com/launch-stage: Service, Job. * run.googleapis.com/minScale: Service * 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.

Declaration
[JsonProperty("annotations")]
public virtual IDictionary<string, string> Annotations { get; set; }
Property Value
Type Description
IDictionary<string, string>

ClusterName

Not supported by Cloud Run

Declaration
[JsonProperty("clusterName")]
public virtual string ClusterName { get; set; }
Property Value
Type Description
string

CreationTimestamp

object representation of CreationTimestampRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreationTimestampDateTimeOffset instead.")]
public virtual object CreationTimestamp { get; set; }
Property Value
Type Description
object

CreationTimestampDateTimeOffset

DateTimeOffset representation of CreationTimestampRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreationTimestampDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreationTimestampRaw

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

Declaration
[JsonProperty("creationTimestamp")]
public virtual string CreationTimestampRaw { get; set; }
Property Value
Type Description
string

DeletionGracePeriodSeconds

Not supported by Cloud Run

Declaration
[JsonProperty("deletionGracePeriodSeconds")]
public virtual int? DeletionGracePeriodSeconds { get; set; }
Property Value
Type Description
int?

DeletionTimestamp

object representation of DeletionTimestampRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DeletionTimestampDateTimeOffset instead.")]
public virtual object DeletionTimestamp { get; set; }
Property Value
Type Description
object

DeletionTimestampDateTimeOffset

DateTimeOffset representation of DeletionTimestampRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? DeletionTimestampDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

DeletionTimestampRaw

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.

Declaration
[JsonProperty("deletionTimestamp")]
public virtual string DeletionTimestampRaw { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Finalizers

Not supported by Cloud Run

Declaration
[JsonProperty("finalizers")]
public virtual IList<string> Finalizers { get; set; }
Property Value
Type Description
IList<string>

GenerateName

Not supported by Cloud Run

Declaration
[JsonProperty("generateName")]
public virtual string GenerateName { get; set; }
Property Value
Type Description
string

Generation

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

Declaration
[JsonProperty("generation")]
public virtual int? Generation { get; set; }
Property Value
Type Description
int?

Labels

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.

Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type Description
IDictionary<string, string>

Name

Required. 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.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Namespace__

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

Declaration
[JsonProperty("namespace")]
public virtual string Namespace__ { get; set; }
Property Value
Type Description
string

OwnerReferences

Not supported by Cloud Run

Declaration
[JsonProperty("ownerReferences")]
public virtual IList<OwnerReference> OwnerReferences { get; set; }
Property Value
Type Description
IList<OwnerReference>

ResourceVersion

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.

Declaration
[JsonProperty("resourceVersion")]
public virtual string ResourceVersion { get; set; }
Property Value
Type Description
string

SelfLink

URL representing this object.

Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type Description
string

Uid

Unique, system-generated identifier for this resource.

Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX