Class: Google::Apis::TestingV1::IosDeviceFile
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::IosDeviceFile
- 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 file or directory to install on the device before the test starts.
Instance Attribute Summary collapse
-
#bundle_id ⇒ String
The bundle id of the app where this file lives.
-
#content ⇒ Google::Apis::TestingV1::FileReference
A reference to a file, used for user inputs.
-
#device_path ⇒ String
Location of the file on the device, inside the app's sandboxed filesystem Corresponds to the JSON property
devicePath
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IosDeviceFile
constructor
A new instance of IosDeviceFile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IosDeviceFile
Returns a new instance of IosDeviceFile.
1238 1239 1240 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1238 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bundle_id ⇒ String
The bundle id of the app where this file lives. iOS apps sandbox their own
filesystem, so app files must specify which app installed on the device.
Corresponds to the JSON property bundleId
1226 1227 1228 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1226 def bundle_id @bundle_id end |
#content ⇒ Google::Apis::TestingV1::FileReference
A reference to a file, used for user inputs.
Corresponds to the JSON property content
1231 1232 1233 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1231 def content @content end |
#device_path ⇒ String
Location of the file on the device, inside the app's sandboxed filesystem
Corresponds to the JSON property devicePath
1236 1237 1238 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1236 def device_path @device_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1243 1244 1245 1246 1247 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1243 def update!(**args) @bundle_id = args[:bundle_id] if args.key?(:bundle_id) @content = args[:content] if args.key?(:content) @device_path = args[:device_path] if args.key?(:device_path) end |