Struct google_clouddebugger2::ControllerMethods [−][src]
pub struct ControllerMethods<'a, C, A> where
C: 'a,
A: 'a, { /* fields omitted */ }
A builder providing access to all methods supported on controller resources.
It is not used directly, but through the CloudDebugger
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_clouddebugger2 as clouddebugger2; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use clouddebugger2::CloudDebugger; let secret: ApplicationSecret = Default::default(); let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), <MemoryStorage as Default>::default(), None); let mut hub = CloudDebugger::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* // like `debuggees_breakpoints_list(...)`, `debuggees_breakpoints_update(...)` and `debuggees_register(...)` // to build up your call. let rb = hub.controller();
Methods
impl<'a, C, A> ControllerMethods<'a, C, A>
[src]
impl<'a, C, A> ControllerMethods<'a, C, A>
pub fn debuggees_breakpoints_update(
&self,
request: UpdateActiveBreakpointRequest,
debuggee_id: &str,
id: &str
) -> ControllerDebuggeeBreakpointUpdateCall<'a, C, A>
[src]
pub fn debuggees_breakpoints_update(
&self,
request: UpdateActiveBreakpointRequest,
debuggee_id: &str,
id: &str
) -> ControllerDebuggeeBreakpointUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Updates the breakpoint state or mutable fields. The entire Breakpoint message must be sent back to the controller service.
Updates to active breakpoint fields are only allowed if the new value
does not change the breakpoint specification. Updates to the location
,
condition
and expressions
fields should not alter the breakpoint
semantics. These may only make changes such as canonicalizing a value
or snapping the location to the correct line of code.
Arguments
request
- No description provided.debuggeeId
- Identifies the debuggee being debugged.id
- Breakpoint identifier, unique in the scope of the debuggee.
pub fn debuggees_register(
&self,
request: RegisterDebuggeeRequest
) -> ControllerDebuggeeRegisterCall<'a, C, A>
[src]
pub fn debuggees_register(
&self,
request: RegisterDebuggeeRequest
) -> ControllerDebuggeeRegisterCall<'a, C, A>
Create a builder to help you perform the following task:
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.
Arguments
request
- No description provided.
pub fn debuggees_breakpoints_list(
&self,
debuggee_id: &str
) -> ControllerDebuggeeBreakpointListCall<'a, C, A>
[src]
pub fn debuggees_breakpoints_list(
&self,
debuggee_id: &str
) -> ControllerDebuggeeBreakpointListCall<'a, C, A>
Create a builder to help you perform the following task:
Returns the list of all active breakpoints for the debuggee.
The breakpoint specification (location
, condition
, and expressions
fields) is semantically immutable, although the field values may
change. For example, an agent may update the location line number
to reflect the actual line where the breakpoint was set, but this
doesn't change the breakpoint semantics.
This means that an agent does not need to check if a breakpoint has changed when it encounters the same breakpoint on a successive call. Moreover, an agent should remember the breakpoints that are completed until the controller removes them from the active list to avoid setting those breakpoints again.
Arguments
debuggeeId
- Identifies the debuggee.
Trait Implementations
impl<'a, C, A> MethodsBuilder for ControllerMethods<'a, C, A>
[src]
impl<'a, C, A> MethodsBuilder for ControllerMethods<'a, C, A>
Auto Trait Implementations
impl<'a, C, A> !Send for ControllerMethods<'a, C, A>
impl<'a, C, A> !Send for ControllerMethods<'a, C, A>
impl<'a, C, A> !Sync for ControllerMethods<'a, C, A>
impl<'a, C, A> !Sync for ControllerMethods<'a, C, A>