Class: Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/clouddebugger_v2/classes.rb,
lib/google/apis/clouddebugger_v2/representations.rb,
lib/google/apis/clouddebugger_v2/representations.rb
Overview
Response for listing active breakpoints.
Instance Attribute Summary collapse
-
#breakpoints ⇒ Array<Google::Apis::ClouddebuggerV2::Breakpoint>
List of all active breakpoints.
-
#next_wait_token ⇒ String
A token that can be used in the next method call to block until the list of breakpoints changes.
-
#wait_expired ⇒ Boolean
(also: #wait_expired?)
If set to
true
, indicates that there is no change to the list of active breakpoints and the server-selected timeout has expired.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListActiveBreakpointsResponse
constructor
A new instance of ListActiveBreakpointsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListActiveBreakpointsResponse
Returns a new instance of ListActiveBreakpointsResponse.
594 595 596 |
# File 'lib/google/apis/clouddebugger_v2/classes.rb', line 594 def initialize(**args) update!(**args) end |
Instance Attribute Details
#breakpoints ⇒ Array<Google::Apis::ClouddebuggerV2::Breakpoint>
List of all active breakpoints. The fields id
and location
are guaranteed
to be set on each breakpoint.
Corresponds to the JSON property breakpoints
578 579 580 |
# File 'lib/google/apis/clouddebugger_v2/classes.rb', line 578 def breakpoints @breakpoints end |
#next_wait_token ⇒ String
A token that can be used in the next method call to block until the list of
breakpoints changes.
Corresponds to the JSON property nextWaitToken
584 585 586 |
# File 'lib/google/apis/clouddebugger_v2/classes.rb', line 584 def next_wait_token @next_wait_token end |
#wait_expired ⇒ Boolean Also known as: wait_expired?
If set to true
, indicates that there is no change to the list of active
breakpoints and the server-selected timeout has expired. The breakpoints
field would be empty and should be ignored.
Corresponds to the JSON property waitExpired
591 592 593 |
# File 'lib/google/apis/clouddebugger_v2/classes.rb', line 591 def wait_expired @wait_expired end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
599 600 601 602 603 |
# File 'lib/google/apis/clouddebugger_v2/classes.rb', line 599 def update!(**args) @breakpoints = args[:breakpoints] if args.key?(:breakpoints) @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token) @wait_expired = args[:wait_expired] if args.key?(:wait_expired) end |