Class: Google::Apis::AndroidmanagementV1::AppTrackInfo

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

Overview

Id to name association of a app 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) ⇒ AppTrackInfo

Returns a new instance of AppTrackInfo.


112
113
114
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 112

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

Instance Attribute Details

#track_aliasString

The track name associated with the trackId, set in the Play Console. The name is modifiable from Play Console. Corresponds to the JSON property trackAlias

Returns:

  • (String)

104
105
106
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 104

def track_alias
  @track_alias
end

#track_idString

The unmodifiable unique track identifier, taken from the releaseTrackId in the URL of the Play Console page that displays the app’s track information. Corresponds to the JSON property trackId

Returns:

  • (String)

110
111
112
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 110

def track_id
  @track_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


117
118
119
120
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 117

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