Reference documentation and code samples for the Cloud Debugger V2 API class Google::Cloud::Debugger::V2::Controller::Rest::ServiceStub.
REST service stub for the Controller service.
Service stub contains baseline method implementations
including transcoding, making the REST call, and deserialing the response.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Debugger V2 API - Class Google::Cloud::Debugger::V2::Controller::Rest::ServiceStub (v0.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.0 (latest)](/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Cloud-Debugger-V2-Controller-Rest-ServiceStub)\n- [0.5.0](/ruby/docs/reference/google-cloud-debugger-v2/0.5.0/Google-Cloud-Debugger-V2-Controller-Rest-ServiceStub)\n- [0.4.0](/ruby/docs/reference/google-cloud-debugger-v2/0.4.0/Google-Cloud-Debugger-V2-Controller-Rest-ServiceStub)\n- [0.3.5](/ruby/docs/reference/google-cloud-debugger-v2/0.3.5/Google-Cloud-Debugger-V2-Controller-Rest-ServiceStub) \nReference documentation and code samples for the Cloud Debugger V2 API class Google::Cloud::Debugger::V2::Controller::Rest::ServiceStub.\n\nREST service stub for the Controller service.\nService stub contains baseline method implementations\nincluding transcoding, making the REST call, and deserialing the response. \n\nInherits\n--------\n\n- Object\n\nMethods\n-------\n\n### #initialize\n\n def initialize(endpoint:, credentials:) -\u003e ServiceStub\n\n**Returns**\n\n- ([ServiceStub](./Google-Cloud-Debugger-V2-Controller-Rest-ServiceStub)) --- a new instance of ServiceStub\n\n### #list_active_breakpoints\n\n def list_active_breakpoints(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Cloud::Debugger::V2::ListActiveBreakpointsResponse\n\nBaseline implementation for the list_active_breakpoints REST call \n**Parameters**\n\n- **request_pb** ([::Google::Cloud::Debugger::V2::ListActiveBreakpointsRequest](./Google-Cloud-Debugger-V2-ListActiveBreakpointsRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Cloud::Debugger::V2::ListActiveBreakpointsResponse](./Google-Cloud-Debugger-V2-ListActiveBreakpointsResponse))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Cloud::Debugger::V2::ListActiveBreakpointsResponse](./Google-Cloud-Debugger-V2-ListActiveBreakpointsResponse)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)\n\n### #register_debuggee\n\n def register_debuggee(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Cloud::Debugger::V2::RegisterDebuggeeResponse\n\nBaseline implementation for the register_debuggee REST call \n**Parameters**\n\n- **request_pb** ([::Google::Cloud::Debugger::V2::RegisterDebuggeeRequest](./Google-Cloud-Debugger-V2-RegisterDebuggeeRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Cloud::Debugger::V2::RegisterDebuggeeResponse](./Google-Cloud-Debugger-V2-RegisterDebuggeeResponse))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Cloud::Debugger::V2::RegisterDebuggeeResponse](./Google-Cloud-Debugger-V2-RegisterDebuggeeResponse)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)\n\n### #update_active_breakpoint\n\n def update_active_breakpoint(request_pb, options = nil) { |result, operation| ... } -\u003e ::Google::Cloud::Debugger::V2::UpdateActiveBreakpointResponse\n\nBaseline implementation for the update_active_breakpoint REST call \n**Parameters**\n\n- **request_pb** ([::Google::Cloud::Debugger::V2::UpdateActiveBreakpointRequest](./Google-Cloud-Debugger-V2-UpdateActiveBreakpointRequest)) --- A request object representing the call parameters. Required.\n- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** ([::Google::Cloud::Debugger::V2::UpdateActiveBreakpointResponse](./Google-Cloud-Debugger-V2-UpdateActiveBreakpointResponse))\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- ([::Google::Cloud::Debugger::V2::UpdateActiveBreakpointResponse](./Google-Cloud-Debugger-V2-UpdateActiveBreakpointResponse)) --- A result object deserialized from the server's reply \n**Raises**\n\n- (::ArgumentError)"]]