Class: Google::Apis::AndroidpublisherV2::ExpansionFile
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidpublisherV2::ExpansionFile
 
- 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
Instance Attribute Summary collapse
- 
  
    
      #file_size  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    If set this field indicates that this APK has an Expansion File uploaded to it: this APK does not reference another APK's Expansion File. 
- 
  
    
      #references_version  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    If set this APK's Expansion File references another APK's Expansion File. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ExpansionFile 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ExpansionFile. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ExpansionFile
Returns a new instance of ExpansionFile
| 506 507 508 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 506 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#file_size ⇒ Fixnum
If set this field indicates that this APK has an Expansion File uploaded to it:
this APK does not reference another APK's Expansion File. The field's value
is the size of the uploaded Expansion File in bytes.
Corresponds to the JSON property fileSize
| 498 499 500 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 498 def file_size @file_size end | 
#references_version ⇒ Fixnum
If set this APK's Expansion File references another APK's Expansion File. The
file_size field will not be set.
Corresponds to the JSON property referencesVersion
| 504 505 506 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 504 def references_version @references_version end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 511 512 513 514 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 511 def update!(**args) @file_size = args[:file_size] if args.key?(:file_size) @references_version = args[:references_version] if args.key?(:references_version) end |