Class InstancesResource.GetSerialPortOutputRequest
Returns the last 1 MB of serial port output from the specified instance.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<SerialPortOutput>
InstancesResource.GetSerialPortOutputRequest
Implements
Google.Apis.Requests.IClientServiceRequest<SerialPortOutput>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class 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 |
|---|---|---|
| Google.Apis.Services.IClientService | service | |
| System.String | project | |
| System.String | zone | |
| System.String | instance |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.HttpMethod
Instance
Name of the instance scoping this request.
Declaration
[RequestParameter("instance", RequestParameterType.Path)]
public virtual string Instance { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.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 |
|---|---|
| System.Nullable<System.Int32> |
Project
Project ID for this request.
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.RestPath
Start
Returns output starting from a specific byte position. Use this to page through output when the output is too large to return in a single request. For the initial request, leave this field unspecified. For subsequent calls, this field should be set to the next value returned in the previous call.
Declaration
[RequestParameter("start", RequestParameterType.Query)]
public virtual long? Start { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
Zone
The name of the zone for this request.
Declaration
[RequestParameter("zone", RequestParameterType.Path)]
public virtual string Zone { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
InitParameters()
Initializes GetSerialPortOutput parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Compute.v1.ComputeBaseServiceRequest<Google.Apis.Compute.v1.Data.SerialPortOutput>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest