Class: Google::Apis::TestingV1::ApkManifest
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::ApkManifest
- 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
An Android app manifest. See http://developer.android.com/guide/topics/ manifest/manifest-intro.html
Instance Attribute Summary collapse
-
#application_label ⇒ String
User-readable name for the application.
-
#intent_filters ⇒ Array<Google::Apis::TestingV1::IntentFilter>
Corresponds to the JSON property
intentFilters
. -
#max_sdk_version ⇒ Fixnum
Maximum API level on which the application is designed to run.
-
#metadata ⇒ Array<Google::Apis::TestingV1::Metadata>
Meta-data tags defined in the manifest.
-
#min_sdk_version ⇒ Fixnum
Minimum API level required for the application to run.
-
#package_name ⇒ String
Full Java-style package name for this application, e.g.
-
#services ⇒ Array<Google::Apis::TestingV1::Service>
Services contained in the tag.
-
#target_sdk_version ⇒ Fixnum
Specifies the API Level on which the application is designed to run.
-
#uses_feature ⇒ Array<Google::Apis::TestingV1::UsesFeature>
Feature usage tags defined in the manifest.
-
#uses_permission ⇒ Array<String>
Permissions declared to be used by the application Corresponds to the JSON property
usesPermission
. -
#version_code ⇒ Fixnum
Version number used internally by the app.
-
#version_name ⇒ String
Version number shown to users.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApkManifest
constructor
A new instance of ApkManifest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApkManifest
Returns a new instance of ApkManifest.
732 733 734 |
# File 'lib/google/apis/testing_v1/classes.rb', line 732 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_label ⇒ String
User-readable name for the application.
Corresponds to the JSON property applicationLabel
675 676 677 |
# File 'lib/google/apis/testing_v1/classes.rb', line 675 def application_label @application_label end |
#intent_filters ⇒ Array<Google::Apis::TestingV1::IntentFilter>
Corresponds to the JSON property intentFilters
680 681 682 |
# File 'lib/google/apis/testing_v1/classes.rb', line 680 def intent_filters @intent_filters end |
#max_sdk_version ⇒ Fixnum
Maximum API level on which the application is designed to run.
Corresponds to the JSON property maxSdkVersion
685 686 687 |
# File 'lib/google/apis/testing_v1/classes.rb', line 685 def max_sdk_version @max_sdk_version end |
#metadata ⇒ Array<Google::Apis::TestingV1::Metadata>
Meta-data tags defined in the manifest.
Corresponds to the JSON property metadata
690 691 692 |
# File 'lib/google/apis/testing_v1/classes.rb', line 690 def @metadata end |
#min_sdk_version ⇒ Fixnum
Minimum API level required for the application to run.
Corresponds to the JSON property minSdkVersion
695 696 697 |
# File 'lib/google/apis/testing_v1/classes.rb', line 695 def min_sdk_version @min_sdk_version end |
#package_name ⇒ String
Full Java-style package name for this application, e.g. "com.example.foo".
Corresponds to the JSON property packageName
700 701 702 |
# File 'lib/google/apis/testing_v1/classes.rb', line 700 def package_name @package_name end |
#services ⇒ Array<Google::Apis::TestingV1::Service>
Services contained in the tag.
Corresponds to the JSON property services
705 706 707 |
# File 'lib/google/apis/testing_v1/classes.rb', line 705 def services @services end |
#target_sdk_version ⇒ Fixnum
Specifies the API Level on which the application is designed to run.
Corresponds to the JSON property targetSdkVersion
710 711 712 |
# File 'lib/google/apis/testing_v1/classes.rb', line 710 def target_sdk_version @target_sdk_version end |
#uses_feature ⇒ Array<Google::Apis::TestingV1::UsesFeature>
Feature usage tags defined in the manifest.
Corresponds to the JSON property usesFeature
715 716 717 |
# File 'lib/google/apis/testing_v1/classes.rb', line 715 def uses_feature @uses_feature end |
#uses_permission ⇒ Array<String>
Permissions declared to be used by the application
Corresponds to the JSON property usesPermission
720 721 722 |
# File 'lib/google/apis/testing_v1/classes.rb', line 720 def @uses_permission end |
#version_code ⇒ Fixnum
Version number used internally by the app.
Corresponds to the JSON property versionCode
725 726 727 |
# File 'lib/google/apis/testing_v1/classes.rb', line 725 def version_code @version_code end |
#version_name ⇒ String
Version number shown to users.
Corresponds to the JSON property versionName
730 731 732 |
# File 'lib/google/apis/testing_v1/classes.rb', line 730 def version_name @version_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
737 738 739 740 741 742 743 744 745 746 747 748 749 750 |
# File 'lib/google/apis/testing_v1/classes.rb', line 737 def update!(**args) @application_label = args[:application_label] if args.key?(:application_label) @intent_filters = args[:intent_filters] if args.key?(:intent_filters) @max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version) @metadata = args[:metadata] if args.key?(:metadata) @min_sdk_version = args[:min_sdk_version] if args.key?(:min_sdk_version) @package_name = args[:package_name] if args.key?(:package_name) @services = args[:services] if args.key?(:services) @target_sdk_version = args[:target_sdk_version] if args.key?(:target_sdk_version) @uses_feature = args[:uses_feature] if args.key?(:uses_feature) @uses_permission = args[:uses_permission] if args.key?(:uses_permission) @version_code = args[:version_code] if args.key?(:version_code) @version_name = args[:version_name] if args.key?(:version_name) end |