Show / Hide Table of Contents

Class InstancesResource.GetSerialPortOutputRequest

Returns the last 1 MB of serial port output from the specified instance.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<SerialPortOutput>
ComputeBaseServiceRequest<SerialPortOutput>
InstancesResource.GetSerialPortOutputRequest
Implements
IClientServiceRequest<SerialPortOutput>
IClientServiceRequest
Inherited Members
ComputeBaseServiceRequest<SerialPortOutput>.Xgafv
ComputeBaseServiceRequest<SerialPortOutput>.AccessToken
ComputeBaseServiceRequest<SerialPortOutput>.Alt
ComputeBaseServiceRequest<SerialPortOutput>.Callback
ComputeBaseServiceRequest<SerialPortOutput>.Fields
ComputeBaseServiceRequest<SerialPortOutput>.Key
ComputeBaseServiceRequest<SerialPortOutput>.OauthToken
ComputeBaseServiceRequest<SerialPortOutput>.PrettyPrint
ComputeBaseServiceRequest<SerialPortOutput>.QuotaUser
ComputeBaseServiceRequest<SerialPortOutput>.UploadType
ComputeBaseServiceRequest<SerialPortOutput>.UploadProtocol
ComputeBaseServiceRequest<SerialPortOutput>.UserIp
ClientServiceRequest<SerialPortOutput>.Execute()
ClientServiceRequest<SerialPortOutput>.ExecuteAsStream()
ClientServiceRequest<SerialPortOutput>.ExecuteAsync()
ClientServiceRequest<SerialPortOutput>.ExecuteAsync(CancellationToken)
ClientServiceRequest<SerialPortOutput>.ExecuteAsStreamAsync()
ClientServiceRequest<SerialPortOutput>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<SerialPortOutput>.CreateRequest(bool?)
ClientServiceRequest<SerialPortOutput>.GenerateRequestUri()
ClientServiceRequest<SerialPortOutput>.GetBody()
ClientServiceRequest<SerialPortOutput>.GetDefaultETagAction(string)
ClientServiceRequest<SerialPortOutput>.ETagAction
ClientServiceRequest<SerialPortOutput>.ModifyRequest
ClientServiceRequest<SerialPortOutput>.ValidateParameters
ClientServiceRequest<SerialPortOutput>.RequestParameters
ClientServiceRequest<SerialPortOutput>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class InstancesResource.GetSerialPortOutputRequest : ComputeBaseServiceRequest<SerialPortOutput>, IClientServiceRequest<SerialPortOutput>, IClientServiceRequest

Constructors

GetSerialPortOutputRequest(IClientService, string, string, string)

Constructs a new GetSerialPortOutput request.

Declaration
public GetSerialPortOutputRequest(IClientService service, string project, string zone, string instance)
Parameters
Type Name Description
IClientService service
string project
string zone
string instance

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.beta.Data.SerialPortOutput>.HttpMethod

Instance

Name of the instance for this request.

Declaration
[RequestParameter("instance", RequestParameterType.Path)]
public virtual string Instance { get; }
Property Value
Type Description
string

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.beta.Data.SerialPortOutput>.MethodName

Port

Specifies which COM or serial port to retrieve data from.

Declaration
[RequestParameter("port", RequestParameterType.Query)]
public virtual int? Port { get; set; }
Property Value
Type Description
int?

Project

Project ID for this request.

Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.beta.Data.SerialPortOutput>.RestPath

Start

Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to 0. If the output for that byte position is available, this field matches the start parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the start property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console.

Declaration
[RequestParameter("start", RequestParameterType.Query)]
public virtual long? Start { get; set; }
Property Value
Type Description
long?

Zone

The name of the zone for this request.

Declaration
[RequestParameter("zone", RequestParameterType.Path)]
public virtual string Zone { get; }
Property Value
Type Description
string

Methods

InitParameters()

Initializes GetSerialPortOutput parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Compute.beta.ComputeBaseServiceRequest<Google.Apis.Compute.beta.Data.SerialPortOutput>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX