Class: Google::Apis::AndroidpublisherV3::ExpansionFile
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::ExpansionFile
- 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
-
#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.
Constructor Details
#initialize(**args) ⇒ ExpansionFile
Returns a new instance of ExpansionFile.
1155 1156 1157 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1155 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
1147 1148 1149 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1147 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
1153 1154 1155 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1153 def references_version @references_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1160 1161 1162 1163 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1160 def update!(**args) @file_size = args[:file_size] if args.key?(:file_size) @references_version = args[:references_version] if args.key?(:references_version) end |