Class: Google::Apis::TestingV1::UsesPermissionTag
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::UsesPermissionTag
- 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
The tag within a manifest. https://developer.android.com/guide/topics/manifest/ uses-permission-element.html
Instance Attribute Summary collapse
-
#max_sdk_version ⇒ Fixnum
The android:name value Corresponds to the JSON property
maxSdkVersion. -
#name ⇒ String
The android:name value Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UsesPermissionTag
constructor
A new instance of UsesPermissionTag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UsesPermissionTag
Returns a new instance of UsesPermissionTag.
3251 3252 3253 |
# File 'lib/google/apis/testing_v1/classes.rb', line 3251 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_sdk_version ⇒ Fixnum
The android:name value
Corresponds to the JSON property maxSdkVersion
3244 3245 3246 |
# File 'lib/google/apis/testing_v1/classes.rb', line 3244 def max_sdk_version @max_sdk_version end |
#name ⇒ String
The android:name value
Corresponds to the JSON property name
3249 3250 3251 |
# File 'lib/google/apis/testing_v1/classes.rb', line 3249 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3256 3257 3258 3259 |
# File 'lib/google/apis/testing_v1/classes.rb', line 3256 def update!(**args) @max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version) @name = args[:name] if args.key?(:name) end |