| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.CloudDebugger.Controller.Debuggees.Register
Description
Registers the debuggee with the controller service. All agents attached to the same application should call this method with 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 allows the controller service to disable the agent or recover from any data loss. If the debuggee is disabled by the server, the response will have `is_disabled` set to `true`.
See: Google Cloud Debugger API Reference for clouddebugger.controller.debuggees.register.
- type ControllerDebuggeesRegisterResource = "v2" :> ("controller" :> ("debuggees" :> ("register" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RegisterDebuggeeRequest :> Post '[JSON] RegisterDebuggeeResponse))))))))))))
- controllerDebuggeesRegister :: RegisterDebuggeeRequest -> ControllerDebuggeesRegister
- data ControllerDebuggeesRegister
- cdrXgafv :: Lens' ControllerDebuggeesRegister (Maybe Text)
- cdrUploadProtocol :: Lens' ControllerDebuggeesRegister (Maybe Text)
- cdrPp :: Lens' ControllerDebuggeesRegister Bool
- cdrAccessToken :: Lens' ControllerDebuggeesRegister (Maybe Text)
- cdrUploadType :: Lens' ControllerDebuggeesRegister (Maybe Text)
- cdrPayload :: Lens' ControllerDebuggeesRegister RegisterDebuggeeRequest
- cdrBearerToken :: Lens' ControllerDebuggeesRegister (Maybe Text)
- cdrCallback :: Lens' ControllerDebuggeesRegister (Maybe Text)
REST Resource
type ControllerDebuggeesRegisterResource = "v2" :> ("controller" :> ("debuggees" :> ("register" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RegisterDebuggeeRequest :> Post '[JSON] RegisterDebuggeeResponse)))))))))))) Source #
A resource alias for clouddebugger.controller.debuggees.register method which the
ControllerDebuggeesRegister request conforms to.
Creating a Request
controllerDebuggeesRegister Source #
Arguments
| :: RegisterDebuggeeRequest | |
| -> ControllerDebuggeesRegister |
Creates a value of ControllerDebuggeesRegister with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ControllerDebuggeesRegister Source #
Registers the debuggee with the controller service. All agents attached to the same application should call this method with 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 allows the controller service to disable the agent or recover from any data loss. If the debuggee is disabled by the server, the response will have `is_disabled` set to `true`.
See: controllerDebuggeesRegister smart constructor.
Instances
Request Lenses
cdrUploadProtocol :: Lens' ControllerDebuggeesRegister (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cdrAccessToken :: Lens' ControllerDebuggeesRegister (Maybe Text) Source #
OAuth access token.
cdrUploadType :: Lens' ControllerDebuggeesRegister (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cdrPayload :: Lens' ControllerDebuggeesRegister RegisterDebuggeeRequest Source #
Multipart request metadata.
cdrBearerToken :: Lens' ControllerDebuggeesRegister (Maybe Text) Source #
OAuth bearer token.
cdrCallback :: Lens' ControllerDebuggeesRegister (Maybe Text) Source #
JSONP