Class: Google::Apis::TestingV1::RoboStartingIntent

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

Overview

Message for specifying the start activities to crawl.

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

Returns a new instance of RoboStartingIntent.



1800
1801
1802
# File 'generated/google/apis/testing_v1/classes.rb', line 1800

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

Instance Attribute Details

#launcher_activityGoogle::Apis::TestingV1::LauncherActivityIntent

Specifies an intent that starts the main launcher activity. Corresponds to the JSON property launcherActivity



1788
1789
1790
# File 'generated/google/apis/testing_v1/classes.rb', line 1788

def launcher_activity
  @launcher_activity
end

#start_activityGoogle::Apis::TestingV1::StartActivityIntent

A starting intent specified by an action, uri, and categories. Corresponds to the JSON property startActivity



1793
1794
1795
# File 'generated/google/apis/testing_v1/classes.rb', line 1793

def start_activity
  @start_activity
end

#timeoutString

Timeout in seconds for each intent. Corresponds to the JSON property timeout

Returns:

  • (String)


1798
1799
1800
# File 'generated/google/apis/testing_v1/classes.rb', line 1798

def timeout
  @timeout
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1805
1806
1807
1808
1809
# File 'generated/google/apis/testing_v1/classes.rb', line 1805

def update!(**args)
  @launcher_activity = args[:launcher_activity] if args.key?(:launcher_activity)
  @start_activity = args[:start_activity] if args.key?(:start_activity)
  @timeout = args[:timeout] if args.key?(:timeout)
end