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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TrackInfo

Returns a new instance of TrackInfo



2708
2709
2710
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2708

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

Instance Attribute Details

#track_aliasString

A changeable, user-friendly name for a track. Corresponds to the JSON property trackAlias

Returns:

  • (String)


2701
2702
2703
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2701

def track_alias
  @track_alias
end

#track_idString

A unique an unchangeable identifier of a test track. Corresponds to the JSON property trackId

Returns:

  • (String)


2706
2707
2708
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2706

def track_id
  @track_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2713
2714
2715
2716
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2713

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