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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RoboStartingIntent

Returns a new instance of RoboStartingIntent.



2243
2244
2245
# File 'lib/google/apis/testing_v1/classes.rb', line 2243

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



2226
2227
2228
# File 'lib/google/apis/testing_v1/classes.rb', line 2226

def launcher_activity
  @launcher_activity
end

#no_activityGoogle::Apis::TestingV1::NoActivityIntent

Skips the starting activity Corresponds to the JSON property noActivity



2231
2232
2233
# File 'lib/google/apis/testing_v1/classes.rb', line 2231

def no_activity
  @no_activity
end

#start_activityGoogle::Apis::TestingV1::StartActivityIntent

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



2236
2237
2238
# File 'lib/google/apis/testing_v1/classes.rb', line 2236

def start_activity
  @start_activity
end

#timeoutString

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

Returns:

  • (String)


2241
2242
2243
# File 'lib/google/apis/testing_v1/classes.rb', line 2241

def timeout
  @timeout
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2248
2249
2250
2251
2252
2253
# File 'lib/google/apis/testing_v1/classes.rb', line 2248

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