Class SerialPortOutput (1.2.0)

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

An instance serial console output.

Inheritance

Object > SerialPortOutput

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

SerialPortOutput()

public SerialPortOutput()

SerialPortOutput(SerialPortOutput)

public SerialPortOutput(SerialPortOutput other)
Parameter
NameDescription
otherSerialPortOutput

Properties

Contents

public string Contents { get; set; }

[Output Only] The contents of the console output.

Property Value
TypeDescription
String

HasContents

public bool HasContents { get; }

Gets whether the "contents" field is set

Property Value
TypeDescription
Boolean

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
TypeDescription
Boolean

HasNext

public bool HasNext { get; }

Gets whether the "next" field is set

Property Value
TypeDescription
Boolean
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
TypeDescription
Boolean

HasStart

public bool HasStart { get; }

Gets whether the "start" field is set

Property Value
TypeDescription
Boolean

Kind

public string Kind { get; set; }

[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.

Property Value
TypeDescription
String

Next

public long Next { get; set; }

[Output Only] The position of the next byte of content, regardless of whether the content exists, following the output returned in the contents property. Use this value in the next request as the start parameter.

Property Value
TypeDescription
Int64
public string SelfLink { get; set; }

[Output Only] Server-defined URL for this resource.

Property Value
TypeDescription
String

Start

public long Start { get; set; }

The starting byte position of the output that was returned. This should match the start parameter sent with the request. If the serial console output exceeds the size of the buffer (1 MB), older output is overwritten by newer content. The output start value will indicate the byte position of the output that was returned, which might be different than the start value that was specified in the request.

Property Value
TypeDescription
Int64