Class: Google::Apis::TestingV1::DeviceFile

Inherits:
Object
  • Object
show all
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 single device file description.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeviceFile

Returns a new instance of DeviceFile.



914
915
916
# File 'lib/google/apis/testing_v1/classes.rb', line 914

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#obb_fileGoogle::Apis::TestingV1::ObbFile

An opaque binary blob file to install on the device before the test starts. Corresponds to the JSON property obbFile



907
908
909
# File 'lib/google/apis/testing_v1/classes.rb', line 907

def obb_file
  @obb_file
end

#regular_fileGoogle::Apis::TestingV1::RegularFile

A file or directory to install on the device before the test starts. Corresponds to the JSON property regularFile



912
913
914
# File 'lib/google/apis/testing_v1/classes.rb', line 912

def regular_file
  @regular_file
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



919
920
921
922
# File 'lib/google/apis/testing_v1/classes.rb', line 919

def update!(**args)
  @obb_file = args[:obb_file] if args.key?(:obb_file)
  @regular_file = args[:regular_file] if args.key?(:regular_file)
end