Show / Hide Table of Contents

Class ObjectReference

ObjectReference contains enough information to let you inspect or modify the referred object.

Inheritance
System.Object
ObjectReference
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudRun.v1alpha1.Data
Assembly: Google.Apis.CloudRun.v1alpha1.dll
Syntax
public class ObjectReference : IDirectResponseSchema

Properties

ApiVersion

API version of the referent. +optional

Declaration
[JsonProperty("apiVersion")]
public virtual string ApiVersion { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

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

FieldPath

If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.

Declaration
[JsonProperty("fieldPath")]
public virtual string FieldPath { get; set; }
Property Value
Type Description
System.String

Kind

Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md

types-kinds +optional

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
System.String

Name

Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with- objects/names/#names +optional

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

Namespace__

Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with- objects/namespaces/ +optional

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

ResourceVersion

Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency +optional

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

Uid

UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with- objects/names/#uids +optional

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

Implements

IDirectResponseSchema
Back to top