Class: Google::Apis::TestingV1::Apk
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::Apk
- 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 Android package file to install.
Instance Attribute Summary collapse
-
#location ⇒ Google::Apis::TestingV1::FileReference
A reference to a file, used for user inputs.
-
#package_name ⇒ String
The java package for the APK to be installed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Apk
constructor
A new instance of Apk.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Apk
Returns a new instance of Apk
632 633 634 |
# File 'generated/google/apis/testing_v1/classes.rb', line 632 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ Google::Apis::TestingV1::FileReference
A reference to a file, used for user inputs.
Corresponds to the JSON property location
624 625 626 |
# File 'generated/google/apis/testing_v1/classes.rb', line 624 def location @location end |
#package_name ⇒ String
The java package for the APK to be installed.
Optional, value is determined by examining the application's manifest.
Corresponds to the JSON property packageName
630 631 632 |
# File 'generated/google/apis/testing_v1/classes.rb', line 630 def package_name @package_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
637 638 639 640 |
# File 'generated/google/apis/testing_v1/classes.rb', line 637 def update!(**args) @location = args[:location] if args.key?(:location) @package_name = args[:package_name] if args.key?(:package_name) end |