Class AppsResource.ServicesResource.VersionsResource.InstancesResource.DebugRequest
Enables debugging on a VM instance. This allows you to use the SSH command to connect to the virtual machine where the instance lives. While in "debug mode", the instance continues to serve live traffic. You should delete the instance when you are done debugging and then allow the system to take over and determine if another instance should be started.Only applicable for instances in App Engine flexible environment.
Inheritance
Inherited Members
Namespace: Google.Apis.Appengine.v1
Assembly: Google.Apis.Appengine.v1.dll
Syntax
public class AppsResource.ServicesResource.VersionsResource.InstancesResource.DebugRequest : AppengineBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
DebugRequest(IClientService, DebugInstanceRequest, string, string, string, string)
Constructs a new Debug request.
Declaration
public DebugRequest(IClientService service, DebugInstanceRequest body, string appsId, string servicesId, string versionsId, string instancesId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DebugInstanceRequest | body | |
string | appsId | |
string | servicesId | |
string | versionsId | |
string | instancesId |
Properties
AppsId
Part of name
. Name of the resource requested. Example:
apps/myapp/services/default/versions/v1/instances/instance-1.
Declaration
[RequestParameter("appsId", RequestParameterType.Path)]
public virtual string AppsId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
InstancesId
Part of name
. See documentation of appsId
.
Declaration
[RequestParameter("instancesId", RequestParameterType.Path)]
public virtual string InstancesId { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ServicesId
Part of name
. See documentation of appsId
.
Declaration
[RequestParameter("servicesId", RequestParameterType.Path)]
public virtual string ServicesId { get; }
Property Value
Type | Description |
---|---|
string |
VersionsId
Part of name
. See documentation of appsId
.
Declaration
[RequestParameter("versionsId", RequestParameterType.Path)]
public virtual string VersionsId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Debug parameter list.
Declaration
protected override void InitParameters()