Class: Google::Apis::ToolresultsV1::UiElementTooDeep

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ UiElementTooDeep

Returns a new instance of UiElementTooDeep.



585
586
587
# File 'generated/google/apis/toolresults_v1/classes.rb', line 585

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

Instance Attribute Details

#depthFixnum

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

Returns:

  • (Fixnum)


573
574
575
# File 'generated/google/apis/toolresults_v1/classes.rb', line 573

def depth
  @depth
end

#screen_idString

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

Returns:

  • (String)


578
579
580
# File 'generated/google/apis/toolresults_v1/classes.rb', line 578

def screen_id
  @screen_id
end

#screen_state_idString

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

Returns:

  • (String)


583
584
585
# File 'generated/google/apis/toolresults_v1/classes.rb', line 583

def screen_state_id
  @screen_state_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



590
591
592
593
594
# File 'generated/google/apis/toolresults_v1/classes.rb', line 590

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