Class: Google::Apis::TestingV1::IosTestSetup
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::IosTestSetup
- 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
A description of how to set up an iOS device prior to running the test.
Instance Attribute Summary collapse
-
#additional_ipas ⇒ Array<Google::Apis::TestingV1::FileReference>
iOS apps to install in addition to those being directly tested.
-
#network_profile ⇒ String
The network traffic profile used for running the test.
-
#pull_directories ⇒ Array<Google::Apis::TestingV1::IosDeviceFile>
List of directories on the device to upload to Cloud Storage at the end of the test.
-
#push_files ⇒ Array<Google::Apis::TestingV1::IosDeviceFile>
List of files to push to the device before starting the test.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IosTestSetup
constructor
A new instance of IosTestSetup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IosTestSetup
Returns a new instance of IosTestSetup.
1476 1477 1478 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1476 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_ipas ⇒ Array<Google::Apis::TestingV1::FileReference>
iOS apps to install in addition to those being directly tested.
Corresponds to the JSON property additionalIpas
1454 1455 1456 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1454 def additional_ipas @additional_ipas end |
#network_profile ⇒ String
The network traffic profile used for running the test. Available network
profiles can be queried by using the NETWORK_CONFIGURATION environment type
when calling TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.
Corresponds to the JSON property networkProfile
1461 1462 1463 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1461 def network_profile @network_profile end |
#pull_directories ⇒ Array<Google::Apis::TestingV1::IosDeviceFile>
List of directories on the device to upload to Cloud Storage at the end of the
test. Directories should either be in a shared directory (such as /private/var/
mobile/Media) or within an accessible directory inside the app's filesystem (
such as /Documents) by specifying the bundle ID.
Corresponds to the JSON property pullDirectories
1469 1470 1471 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1469 def pull_directories @pull_directories end |
#push_files ⇒ Array<Google::Apis::TestingV1::IosDeviceFile>
List of files to push to the device before starting the test.
Corresponds to the JSON property pushFiles
1474 1475 1476 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1474 def push_files @push_files end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1481 1482 1483 1484 1485 1486 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1481 def update!(**args) @additional_ipas = args[:additional_ipas] if args.key?(:additional_ipas) @network_profile = args[:network_profile] if args.key?(:network_profile) @pull_directories = args[:pull_directories] if args.key?(:pull_directories) @push_files = args[:push_files] if args.key?(:push_files) end |