Class: Google::Apis::AndroidpublisherV3::UsesPermission
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidpublisherV3::UsesPermission
 
 
- 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 used by this APK.
Instance Attribute Summary collapse
- 
  
    
      #max_sdk_version  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optionally, the maximum SDK version for which the permission is required.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the permission requested.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UsesPermission 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of UsesPermission.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ UsesPermission
Returns a new instance of UsesPermission.
      7308 7309 7310  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7308 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#max_sdk_version ⇒ Fixnum
Optionally, the maximum SDK version for which the permission is required.
Corresponds to the JSON property maxSdkVersion
      7301 7302 7303  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7301 def max_sdk_version @max_sdk_version end  | 
  
#name ⇒ String
The name of the permission requested.
Corresponds to the JSON property name
      7306 7307 7308  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7306 def name @name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      7313 7314 7315 7316  | 
    
      # File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7313 def update!(**args) @max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version) @name = args[:name] if args.key?(:name) end  |