Class: Google::Apis::TestingV1::IosTestSetup
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::IosTestSetup
- 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
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.
1428 1429 1430 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1428 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
1406 1407 1408 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1406 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
1413 1414 1415 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1413 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 (e.g. /private/var/
mobile/Media) or within an accessible directory inside the app's filesystem (e.
g. /Documents) by specifying the bundle id.
Corresponds to the JSON property pullDirectories
1421 1422 1423 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1421 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
1426 1427 1428 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1426 def push_files @push_files end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1433 1434 1435 1436 1437 1438 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1433 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 |