Class: Google::Apis::AndroidpublisherV3::CatalogPermission
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::CatalogPermission
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb
Overview
A permission declared by an app.
Instance Attribute Summary collapse
-
#max_sdk_version ⇒ Fixnum
The
maxSdkVersionattribute indicating up to which Android SDK version the permission is requested. -
#name ⇒ String
The
nameattribute indicating the permission name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CatalogPermission
constructor
A new instance of CatalogPermission.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CatalogPermission
Returns a new instance of CatalogPermission.
2306 2307 2308 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2306 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_sdk_version ⇒ Fixnum
The maxSdkVersion attribute indicating up to which Android SDK version the
permission is requested.
Corresponds to the JSON property maxSdkVersion
2299 2300 2301 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2299 def max_sdk_version @max_sdk_version end |
#name ⇒ String
The name attribute indicating the permission name.
Corresponds to the JSON property name
2304 2305 2306 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2304 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2311 2312 2313 2314 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2311 def update!(**args) @max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version) @name = args[:name] if args.key?(:name) end |