Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::SerialPortOutput (v2.13.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::SerialPortOutput.

An instance serial console output.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#contents

def contents() -> ::String
Returns
  • (::String) — [Output Only] The contents of the console output.

#contents=

def contents=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The contents of the console output.
Returns
  • (::String) — [Output Only] The contents of the console output.

#kind

def kind() -> ::String
Returns
  • (::String) — [Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.

#kind=

def kind=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.
Returns
  • (::String) — [Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.

#next

def next() -> ::Integer
Returns
  • (::Integer) — [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.

#next=

def next=(value) -> ::Integer
Parameter
  • value (::Integer) — [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.
Returns
  • (::Integer) — [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.
def self_link() -> ::String
Returns
  • (::String) — [Output Only] Server-defined URL for this resource.
def self_link=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Server-defined URL for this resource.
Returns
  • (::String) — [Output Only] Server-defined URL for this resource.

#start

def start() -> ::Integer
Returns
  • (::Integer) — 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.

#start=

def start=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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.