Class ControllerResource.DebuggeesResource.RegisterRequest
Registers the debuggee with the controller service. All agents attached to the same application must
call this method with exactly the same request content to get back the same stable debuggee_id
. Agents
should call this method again whenever google.rpc.Code.NOT_FOUND
is returned from any controller
method. This protocol allows the controller service to disable debuggees, recover from data loss, or
change the debuggee_id
format. Agents must handle debuggee_id
value changing upon re-registration.
Inheritance
ControllerResource.DebuggeesResource.RegisterRequest
Inherited Members
Namespace: Google.Apis.CloudDebugger.v2
Assembly: Google.Apis.CloudDebugger.v2.dll
Syntax
public class ControllerResource.DebuggeesResource.RegisterRequest : CloudDebuggerBaseServiceRequest<RegisterDebuggeeResponse>, IClientServiceRequest<RegisterDebuggeeResponse>, IClientServiceRequest
Constructors
RegisterRequest(IClientService, RegisterDebuggeeRequest)
Constructs a new Register request.
Declaration
public RegisterRequest(IClientService service, RegisterDebuggeeRequest body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RegisterDebuggeeRequest | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudDebugger.v2.Data.RegisterDebuggeeResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudDebugger.v2.Data.RegisterDebuggeeResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudDebugger.v2.Data.RegisterDebuggeeResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudDebugger.v2.Data.RegisterDebuggeeResponse>.GetBody()
InitParameters()
Initializes Register parameter list.
Declaration
protected override void InitParameters()