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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidpublisher_v3/classes.rb,
generated/google/apis/androidpublisher_v3/representations.rb,
generated/google/apis/androidpublisher_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ExpansionFile

Returns a new instance of ExpansionFile.



549
550
551
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 549

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)


541
542
543
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 541

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)


547
548
549
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 547

def references_version
  @references_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



554
555
556
557
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 554

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