Class: Google::Apis::TestingV1::DeviceFile
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::DeviceFile
- 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 single device file description.
Instance Attribute Summary collapse
-
#obb_file ⇒ Google::Apis::TestingV1::ObbFile
An opaque binary blob file to install on the device before the test starts.
-
#regular_file ⇒ Google::Apis::TestingV1::RegularFile
A file or directory to install on the device before the test starts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceFile
constructor
A new instance of DeviceFile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeviceFile
Returns a new instance of DeviceFile
860 861 862 |
# File 'generated/google/apis/testing_v1/classes.rb', line 860 def initialize(**args) update!(**args) end |
Instance Attribute Details
#obb_file ⇒ Google::Apis::TestingV1::ObbFile
An opaque binary blob file to install on the device before the test starts.
Corresponds to the JSON property obbFile
853 854 855 |
# File 'generated/google/apis/testing_v1/classes.rb', line 853 def obb_file @obb_file end |
#regular_file ⇒ Google::Apis::TestingV1::RegularFile
A file or directory to install on the device before the test starts.
Corresponds to the JSON property regularFile
858 859 860 |
# File 'generated/google/apis/testing_v1/classes.rb', line 858 def regular_file @regular_file end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
865 866 867 868 |
# File 'generated/google/apis/testing_v1/classes.rb', line 865 def update!(**args) @obb_file = args[:obb_file] if args.key?(:obb_file) @regular_file = args[:regular_file] if args.key?(:regular_file) end |