google_api_cloud_debugger v0.13.1 GoogleApi.CloudDebugger.V2.Api.Controller View Source
API calls for all endpoints tagged Controller
.
Link to this section Summary
Functions
Returns the list of all active breakpoints for the debuggee.
Updates the breakpoint state or mutable fields. The entire Breakpoint message must be sent back to the controller service.
Registers the debuggee with the controller service.
Link to this section Functions
clouddebugger_controller_debuggees_breakpoints_list(connection, debuggee_id, optional_params \\ [], opts \\ [])
View Sourceclouddebugger_controller_debuggees_breakpoints_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudDebugger.V2.Model.ListActiveBreakpointsResponse.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
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.
Parameters
connection
(type:GoogleApi.CloudDebugger.V2.Connection.t
) - Connection to serverdebuggee_id
(type:String.t
) - Required. Identifies the debuggee.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:successOnTimeout
(type:boolean()
) - If set totrue
(recommended), returnsgoogle.rpc.Code.OK
status and sets thewait_expired
response field totrue
when the server-selected timeout has expired.If set to
false
(deprecated), returnsgoogle.rpc.Code.ABORTED
status when the server-selected timeout has expired.:waitToken
(type:String.t
) - A token that, if specified, blocks the method call until the list of active breakpoints has changed, or a server-selected timeout has expired. The value should be set from thenext_wait_token
field in the last response. The initial value should be set to"init"
.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.CloudDebugger.V2.Model.ListActiveBreakpointsResponse{}}
on success{:error, info}
on failure
clouddebugger_controller_debuggees_breakpoints_update(connection, debuggee_id, id, optional_params \\ [], opts \\ [])
View Sourceclouddebugger_controller_debuggees_breakpoints_update( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudDebugger.V2.Model.UpdateActiveBreakpointResponse.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
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.
Parameters
connection
(type:GoogleApi.CloudDebugger.V2.Connection.t
) - Connection to serverdebuggee_id
(type:String.t
) - Required. Identifies the debuggee being debugged.id
(type:String.t
) - Breakpoint identifier, unique in the scope of the debuggee.optional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:body
(type:GoogleApi.CloudDebugger.V2.Model.UpdateActiveBreakpointRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.CloudDebugger.V2.Model.UpdateActiveBreakpointResponse{}}
on success{:error, info}
on failure
clouddebugger_controller_debuggees_register(connection, optional_params \\ [], opts \\ [])
View Sourceclouddebugger_controller_debuggees_register( Tesla.Env.client(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudDebugger.V2.Model.RegisterDebuggeeResponse.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
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.
Parameters
connection
(type:GoogleApi.CloudDebugger.V2.Connection.t
) - Connection to serveroptional_params
(type:keyword()
) - Optional parameters:"$.xgafv"
(type:String.t
) - V1 error format.:access_token
(type:String.t
) - OAuth access token.:alt
(type:String.t
) - Data format for response.:callback
(type:String.t
) - JSONP:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").:body
(type:GoogleApi.CloudDebugger.V2.Model.RegisterDebuggeeRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.CloudDebugger.V2.Model.RegisterDebuggeeResponse{}}
on success{:error, info}
on failure