Class: Google::Apis::TestingV1::ObbFile

Inherits:
Object
  • Object
show all
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

An opaque binary blob file to install on the device before the test starts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ObbFile

Returns a new instance of ObbFile.



1598
1599
1600
# File 'generated/google/apis/testing_v1/classes.rb', line 1598

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

Instance Attribute Details

#obbGoogle::Apis::TestingV1::FileReference

A reference to a file, used for user inputs. Corresponds to the JSON property obb



1586
1587
1588
# File 'generated/google/apis/testing_v1/classes.rb', line 1586

def obb
  @obb
end

#obb_file_nameString

Required. OBB file name which must conform to the format as specified by Android e.g. [main|patch].0300110.com.example.android.obb which will be installed into <shared-storage>/Android/obb/<package-name>/ on the device. Corresponds to the JSON property obbFileName

Returns:

  • (String)


1596
1597
1598
# File 'generated/google/apis/testing_v1/classes.rb', line 1596

def obb_file_name
  @obb_file_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1603
1604
1605
1606
# File 'generated/google/apis/testing_v1/classes.rb', line 1603

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