Class: Google::Apis::TestingV1::ApkManifest

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

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

Returns a new instance of ApkManifest.



707
708
709
# File 'generated/google/apis/testing_v1/classes.rb', line 707

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

Instance Attribute Details

#application_labelString

User-readable name for the application. Corresponds to the JSON property applicationLabel

Returns:

  • (String)


679
680
681
# File 'generated/google/apis/testing_v1/classes.rb', line 679

def application_label
  @application_label
end

#intent_filtersArray<Google::Apis::TestingV1::IntentFilter>

Corresponds to the JSON property intentFilters



684
685
686
# File 'generated/google/apis/testing_v1/classes.rb', line 684

def intent_filters
  @intent_filters
end

#max_sdk_versionFixnum

Maximum API level on which the application is designed to run. Corresponds to the JSON property maxSdkVersion

Returns:

  • (Fixnum)


689
690
691
# File 'generated/google/apis/testing_v1/classes.rb', line 689

def max_sdk_version
  @max_sdk_version
end

#min_sdk_versionFixnum

Minimum API level required for the application to run. Corresponds to the JSON property minSdkVersion

Returns:

  • (Fixnum)


694
695
696
# File 'generated/google/apis/testing_v1/classes.rb', line 694

def min_sdk_version
  @min_sdk_version
end

#package_nameString

Full Java-style package name for this application, e.g. "com.example.foo". Corresponds to the JSON property packageName

Returns:

  • (String)


700
701
702
# File 'generated/google/apis/testing_v1/classes.rb', line 700

def package_name
  @package_name
end

#target_sdk_versionFixnum

Specifies the API Level on which the application is designed to run. Corresponds to the JSON property targetSdkVersion

Returns:

  • (Fixnum)


705
706
707
# File 'generated/google/apis/testing_v1/classes.rb', line 705

def target_sdk_version
  @target_sdk_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



712
713
714
715
716
717
718
719
# File 'generated/google/apis/testing_v1/classes.rb', line 712

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)
  @min_sdk_version = args[:min_sdk_version] if args.key?(:min_sdk_version)
  @package_name = args[:package_name] if args.key?(:package_name)
  @target_sdk_version = args[:target_sdk_version] if args.key?(:target_sdk_version)
end