Class: Google::Apis::AndroidpublisherV3::Variant
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::Variant
- 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
-
#device_spec ⇒ Google::Apis::AndroidpublisherV3::DeviceSpec
Corresponds to the JSON property
deviceSpec
. -
#variant_id ⇒ Fixnum
Corresponds to the JSON property
variantId
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Variant
constructor
A new instance of Variant.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Variant
Returns a new instance of Variant.
2196 2197 2198 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2196 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_spec ⇒ Google::Apis::AndroidpublisherV3::DeviceSpec
Corresponds to the JSON property deviceSpec
2189 2190 2191 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2189 def device_spec @device_spec end |
#variant_id ⇒ Fixnum
Corresponds to the JSON property variantId
2194 2195 2196 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2194 def variant_id @variant_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2201 2202 2203 2204 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2201 def update!(**args) @device_spec = args[:device_spec] if args.key?(:device_spec) @variant_id = args[:variant_id] if args.key?(:variant_id) end |