Class: Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/clouddebugger_v2/classes.rb,
generated/google/apis/clouddebugger_v2/representations.rb,
generated/google/apis/clouddebugger_v2/representations.rb

Overview

Response for listing active breakpoints.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListActiveBreakpointsResponse

Returns a new instance of ListActiveBreakpointsResponse.


568
569
570
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 568

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#breakpointsArray<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


553
554
555
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 553

def breakpoints
  @breakpoints
end

#next_wait_tokenString

A wait token that can be used in the next method call to block until the list of breakpoints changes. Corresponds to the JSON property nextWaitToken

Returns:

  • (String)

559
560
561
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 559

def next_wait_token
  @next_wait_token
end

#wait_expiredBoolean Also known as: wait_expired?

The wait_expired field is set to true by the server when the request times out and the field success_on_timeout is set to true. Corresponds to the JSON property waitExpired

Returns:

  • (Boolean)

565
566
567
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 565

def wait_expired
  @wait_expired
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


573
574
575
576
577
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 573

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