Class: Google::Apis::AndroidpublisherV3::ExpansionFile

Inherits:
Object
  • Object
show all
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

An expansion file. The resource for ExpansionFilesService.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExpansionFile

Returns a new instance of ExpansionFile.



3995
3996
3997
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3995

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#file_sizeFixnum

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

Returns:

  • (Fixnum)


3987
3988
3989
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3987

def file_size
  @file_size
end

#references_versionFixnum

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

Returns:

  • (Fixnum)


3993
3994
3995
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3993

def references_version
  @references_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4000
4001
4002
4003
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4000

def update!(**args)
  @file_size = args[:file_size] if args.key?(:file_size)
  @references_version = args[:references_version] if args.key?(:references_version)
end