Class: Google::Apis::TestingV1::RoboStartingIntent
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::RoboStartingIntent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/testing_v1/classes.rb,
lib/google/apis/testing_v1/representations.rb,
lib/google/apis/testing_v1/representations.rb
Overview
Message for specifying the start activities to crawl.
Instance Attribute Summary collapse
-
#launcher_activity ⇒ Google::Apis::TestingV1::LauncherActivityIntent
Specifies an intent that starts the main launcher activity.
-
#no_activity ⇒ Google::Apis::TestingV1::NoActivityIntent
Skips the starting activity Corresponds to the JSON property
noActivity
. -
#start_activity ⇒ Google::Apis::TestingV1::StartActivityIntent
A starting intent specified by an action, uri, and categories.
-
#timeout ⇒ String
Timeout in seconds for each intent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RoboStartingIntent
constructor
A new instance of RoboStartingIntent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RoboStartingIntent
Returns a new instance of RoboStartingIntent.
2061 2062 2063 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2061 def initialize(**args) update!(**args) end |
Instance Attribute Details
#launcher_activity ⇒ Google::Apis::TestingV1::LauncherActivityIntent
Specifies an intent that starts the main launcher activity.
Corresponds to the JSON property launcherActivity
2044 2045 2046 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2044 def launcher_activity @launcher_activity end |
#no_activity ⇒ Google::Apis::TestingV1::NoActivityIntent
Skips the starting activity
Corresponds to the JSON property noActivity
2049 2050 2051 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2049 def no_activity @no_activity end |
#start_activity ⇒ Google::Apis::TestingV1::StartActivityIntent
A starting intent specified by an action, uri, and categories.
Corresponds to the JSON property startActivity
2054 2055 2056 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2054 def start_activity @start_activity end |
#timeout ⇒ String
Timeout in seconds for each intent.
Corresponds to the JSON property timeout
2059 2060 2061 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2059 def timeout @timeout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2066 2067 2068 2069 2070 2071 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2066 def update!(**args) @launcher_activity = args[:launcher_activity] if args.key?(:launcher_activity) @no_activity = args[:no_activity] if args.key?(:no_activity) @start_activity = args[:start_activity] if args.key?(:start_activity) @timeout = args[:timeout] if args.key?(:timeout) end |