Class Reference (1.3.0)

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

Represents a reference to a resource.

Inheritance

Object > Reference

Namespace

Google.Cloud.Compute.V1

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
Boolean

HasReferenceType

public bool HasReferenceType { get; }

Gets whether the "reference_type" field is set

Property Value
TypeDescription
Boolean

HasReferrer

public bool HasReferrer { get; }

Gets whether the "referrer" field is set

Property Value
TypeDescription
Boolean

HasTarget

public bool HasTarget { get; }

Gets whether the "target" field is set

Property Value
TypeDescription
Boolean

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