Class: Google::Apis::DatastreamV1::DebugInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datastream_v1/classes.rb,
lib/google/apis/datastream_v1/representations.rb,
lib/google/apis/datastream_v1/representations.rb

Overview

Describes additional debugging info.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DebugInfo

Returns a new instance of DebugInfo.



662
663
664
# File 'lib/google/apis/datastream_v1/classes.rb', line 662

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

Instance Attribute Details

#detailString

Additional debugging information provided by the server. Corresponds to the JSON property detail

Returns:

  • (String)


655
656
657
# File 'lib/google/apis/datastream_v1/classes.rb', line 655

def detail
  @detail
end

#stack_entriesArray<String>

The stack trace entries indicating where the error occurred. Corresponds to the JSON property stackEntries

Returns:

  • (Array<String>)


660
661
662
# File 'lib/google/apis/datastream_v1/classes.rb', line 660

def stack_entries
  @stack_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



667
668
669
670
# File 'lib/google/apis/datastream_v1/classes.rb', line 667

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