Class: Google::Apis::AndroidpublisherV2::ExternallyHostedApkUsesPermission
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidpublisherV2::ExternallyHostedApkUsesPermission
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidpublisher_v2/classes.rb,
 generated/google/apis/androidpublisher_v2/representations.rb,
 generated/google/apis/androidpublisher_v2/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)  ⇒ ExternallyHostedApkUsesPermission 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ExternallyHostedApkUsesPermission. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ExternallyHostedApkUsesPermission
Returns a new instance of ExternallyHostedApkUsesPermission
| 657 658 659 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 657 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
| 650 651 652 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 650 def max_sdk_version @max_sdk_version end | 
#name ⇒ String
The name of the permission requested.
Corresponds to the JSON property name
| 655 656 657 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 655 def name @name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 662 663 664 665 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 662 def update!(**args) @max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version) @name = args[:name] if args.key?(:name) end |