Class: Google::Apis::AndroidpublisherV3::SplitApkMetadata

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

Holds data specific to Split APKs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SplitApkMetadata

Returns a new instance of SplitApkMetadata.



5232
5233
5234
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5232

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

Instance Attribute Details

#is_master_splitBoolean Also known as: is_master_split?

Indicates whether this APK is the main split of the module. Corresponds to the JSON property isMasterSplit

Returns:

  • (Boolean)


5224
5225
5226
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5224

def is_master_split
  @is_master_split
end

#split_idString

Id of the split. Corresponds to the JSON property splitId

Returns:

  • (String)


5230
5231
5232
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5230

def split_id
  @split_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5237
5238
5239
5240
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5237

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