Class: Google::Apis::AndroidpublisherV3::Variant

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

Overview

Represents the variant of a generated system APK from an uploaded App Bundle.

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) ⇒ Variant

Returns a new instance of Variant.



2390
2391
2392
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2390

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

Instance Attribute Details

#device_specGoogle::Apis::AndroidpublisherV3::DeviceSpec

Corresponds to the JSON property deviceSpec



2383
2384
2385
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2383

def device_spec
  @device_spec
end

#variant_idFixnum

Corresponds to the JSON property variantId

Returns:

  • (Fixnum)


2388
2389
2390
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2388

def variant_id
  @variant_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2395
2396
2397
2398
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2395

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