Class: Google::Apis::TestingV1::Apk

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 Android package file to install.

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) ⇒ Apk

Returns a new instance of Apk.


618
619
620
# File 'generated/google/apis/testing_v1/classes.rb', line 618

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

Instance Attribute Details

#locationGoogle::Apis::TestingV1::FileReference

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


610
611
612
# File 'generated/google/apis/testing_v1/classes.rb', line 610

def location
  @location
end

#package_nameString

The java package for the APK to be installed. Value is determined by examining the application's manifest. Corresponds to the JSON property packageName

Returns:

  • (String)

616
617
618
# File 'generated/google/apis/testing_v1/classes.rb', line 616

def package_name
  @package_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


623
624
625
626
# File 'generated/google/apis/testing_v1/classes.rb', line 623

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