Compute Engine v1 API - Class Reference (3.1.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

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

Reference()

public Reference()

Reference(Reference)

public Reference(Reference other)
Parameter
Name Description
other Reference

Properties

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
Type Description
bool

HasReferenceType

public bool HasReferenceType { get; }

Gets whether the "reference_type" field is set

Property Value
Type Description
bool

HasReferrer

public bool HasReferrer { get; }

Gets whether the "referrer" field is set

Property Value
Type Description
bool

HasTarget

public bool HasTarget { get; }

Gets whether the "target" field is set

Property Value
Type Description
bool

Kind

public string Kind { get; set; }

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

Property Value
Type Description
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
Type Description
string

Referrer

public string Referrer { get; set; }

URL of the resource which refers to the target.

Property Value
Type Description
string

Target

public string Target { get; set; }

URL of the resource to which this reference points.

Property Value
Type Description
string