Compute Engine v1 API - Class Wire (3.22.0)

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

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

A pseudowire that connects two Interconnect connections.

Inheritance

object > Wire

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

Wire()

public Wire()

Wire(Wire)

public Wire(Wire other)
Parameter
Name Description
other Wire

Properties

AdminEnabled

public bool AdminEnabled { get; set; }

Output only. [Output Only] Indicates whether the wire is enabled. When false, the wire is disabled. When true and when the wire group of the wire is also enabled, the wire is enabled. Defaults to true.

Property Value
Type Description
bool

Endpoints

public RepeatedField<WireEndpoint> Endpoints { get; }

Output only. Wire endpoints are specific Interconnect connections.

Property Value
Type Description
RepeatedFieldWireEndpoint

HasAdminEnabled

public bool HasAdminEnabled { get; }

Gets whether the "admin_enabled" field is set

Property Value
Type Description
bool

HasLabel

public bool HasLabel { get; }

Gets whether the "label" field is set

Property Value
Type Description
bool

Label

public string Label { get; set; }

Output only. [Output Only] A label that identifies the wire. The format of this label combines the existing labels of the wire group endpoints and Interconnect connections used by this wire in alphabetical order as follows: ENDPOINT_A+CONNECTION_A1,ENDPOINT_B+CONNECTION_B1, where:

  • ENDPOINT_A and ENDPOINT_B: are the labels that you entered as map keys when you specified the wire group endpoint objects.
  • CONNECTION_A1 and CONNECTION_B1: are the labels that you entered as map keys when you specified the wire group Interconnect objects.
Property Value
Type Description
string

WireProperties

public WireProperties WireProperties { get; set; }

Output only. [Output Only] Properties of the wire.

Property Value
Type Description
WireProperties