Class: Google::Apis::AndroidenterpriseV1::TrackInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidenterprise_v1/classes.rb,
generated/google/apis/androidenterprise_v1/representations.rb,
generated/google/apis/androidenterprise_v1/representations.rb

Overview

Id to name association of a track.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TrackInfo

Returns a new instance of TrackInfo.



2693
2694
2695
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2693

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

Instance Attribute Details

#track_aliasString

A modifiable name for a track. This is the visible name in the play developer console. Corresponds to the JSON property trackAlias

Returns:

  • (String)


2684
2685
2686
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2684

def track_alias
  @track_alias
end

#track_idString

Unmodifiable, unique track identifier. This identifier is the releaseTrackId in the url of the play developer console page that displays the track information. Corresponds to the JSON property trackId

Returns:

  • (String)


2691
2692
2693
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2691

def track_id
  @track_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2698
2699
2700
2701
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2698

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