Class: Google::Apis::AndroidpublisherV2::Track
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV2::Track
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidpublisher_v2/classes.rb,
generated/google/apis/androidpublisher_v2/representations.rb,
generated/google/apis/androidpublisher_v2/representations.rb
Instance Attribute Summary collapse
-
#track ⇒ String
Corresponds to the JSON property
track
. -
#user_fraction ⇒ Float
Corresponds to the JSON property
userFraction
. -
#version_codes ⇒ Array<Fixnum>
Corresponds to the JSON property
versionCodes
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Track
constructor
A new instance of Track.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Track
Returns a new instance of Track
1578 1579 1580 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1578 def initialize(**args) update!(**args) end |
Instance Attribute Details
#track ⇒ String
Corresponds to the JSON property track
1566 1567 1568 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1566 def track @track end |
#user_fraction ⇒ Float
Corresponds to the JSON property userFraction
1571 1572 1573 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1571 def user_fraction @user_fraction end |
#version_codes ⇒ Array<Fixnum>
Corresponds to the JSON property versionCodes
1576 1577 1578 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1576 def version_codes @version_codes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1583 1584 1585 1586 1587 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1583 def update!(**args) @track = args[:track] if args.key?(:track) @user_fraction = args[:user_fraction] if args.key?(:user_fraction) @version_codes = args[:version_codes] if args.key?(:version_codes) end |