Class: Google::Apis::ClouddebuggerV2::ListBreakpointsResponse

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 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) ⇒ ListBreakpointsResponse

Returns a new instance of ListBreakpointsResponse



71
72
73
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 71

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

Instance Attribute Details

#breakpointsArray<Google::Apis::ClouddebuggerV2::Breakpoint>

List of breakpoints matching the request. The fields id and location are guaranteed to be set on each breakpoint. The fields: stack_frames, evaluated_expressions and variable_table are cleared on each breakpoint regardless of it's status. Corresponds to the JSON property breakpoints



69
70
71
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 69

def breakpoints
  @breakpoints
end

#next_wait_tokenString

A wait token that can be used in the next call to list (REST) or ListBreakpoints (RPC) to block until the list of breakpoints has changes. Corresponds to the JSON property nextWaitToken

Returns:

  • (String)


61
62
63
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 61

def next_wait_token
  @next_wait_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



76
77
78
79
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 76

def update!(**args)
  @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
  @breakpoints = args[:breakpoints] if args.key?(:breakpoints)
end