Compute Engine v1 API - Class Reference (2.9.0)

public sealed class Reference : IMessage<Reference>, IEquatable<Reference>, IDeepCloneable<Reference>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class Reference.

Represents a reference to a resource.

Inheritance

object > Reference

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

Reference()

public Reference()

Reference(Reference)

public Reference(Reference other)
Parameter
NameDescription
otherReference

Properties

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
TypeDescription
bool

HasReferenceType

public bool HasReferenceType { get; }

Gets whether the "reference_type" field is set

Property Value
TypeDescription
bool

HasReferrer

public bool HasReferrer { get; }

Gets whether the "referrer" field is set

Property Value
TypeDescription
bool

HasTarget

public bool HasTarget { get; }

Gets whether the "target" field is set

Property Value
TypeDescription
bool

Kind

public string Kind { get; set; }

[Output Only] Type of the resource. Always compute#reference for references.

Property Value
TypeDescription
string

ReferenceType

public string ReferenceType { get; set; }

A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF

Property Value
TypeDescription
string

Referrer

public string Referrer { get; set; }

URL of the resource which refers to the target.

Property Value
TypeDescription
string

Target

public string Target { get; set; }

URL of the resource to which this reference points.

Property Value
TypeDescription
string