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.
1659 1660 1661 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1659 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
1637 1638 1639 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1637 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
1644 1645 1646 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1644 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
1652 1653 1654 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1652 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
1657 1658 1659 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1657 def push_files @push_files end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1664 1665 1666 1667 1668 1669 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1664 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 |