Class: Google::Apis::AndroidpublisherV3::TrackConfig
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::TrackConfig
- 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
Configurations of the new track.
Instance Attribute Summary collapse
-
#form_factor ⇒ String
Required.
-
#track ⇒ String
Required.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TrackConfig
constructor
A new instance of TrackConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TrackConfig
Returns a new instance of TrackConfig.
6664 6665 6666 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6664 def initialize(**args) update!(**args) end |
Instance Attribute Details
#form_factor ⇒ String
Required. Form factor of the new track. Defaults to the default track.
Corresponds to the JSON property formFactor
6646 6647 6648 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6646 def form_factor @form_factor end |
#track ⇒ String
Required. Identifier of the new track. For default tracks, this field consists
of the track alias only. Form factor tracks have a special prefix as an
identifier, for example wear:production, automotive:production. This
prefix must match the value of the form_factor field, if it is not a default
track. More on track name
Corresponds to the JSON property track
6656 6657 6658 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6656 def track @track end |
#type ⇒ String
Required. Type of the new track. Currently, the only supported value is
closedTesting.
Corresponds to the JSON property type
6662 6663 6664 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6662 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6669 6670 6671 6672 6673 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6669 def update!(**args) @form_factor = args[:form_factor] if args.key?(:form_factor) @track = args[:track] if args.key?(:track) @type = args[:type] if args.key?(:type) end |