Class: Google::Apis::ToolresultsV1beta3::UiElementTooDeep

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

Overview

A warning that the screen hierarchy is deeper than the recommended threshold.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UiElementTooDeep

Returns a new instance of UiElementTooDeep.



3684
3685
3686
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3684

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

Instance Attribute Details

#depthFixnum

The depth of the screen element Corresponds to the JSON property depth

Returns:

  • (Fixnum)


3672
3673
3674
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3672

def depth
  @depth
end

#screen_idString

The screen id of the element Corresponds to the JSON property screenId

Returns:

  • (String)


3677
3678
3679
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3677

def screen_id
  @screen_id
end

#screen_state_idString

The screen state id of the element Corresponds to the JSON property screenStateId

Returns:

  • (String)


3682
3683
3684
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3682

def screen_state_id
  @screen_state_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3689
3690
3691
3692
3693
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3689

def update!(**args)
  @depth = args[:depth] if args.key?(:depth)
  @screen_id = args[:screen_id] if args.key?(:screen_id)
  @screen_state_id = args[:screen_state_id] if args.key?(:screen_state_id)
end