Class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1Track

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

Overview

A representation of a Play release track.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePlayDeveloperReportingV1alpha1Track

Returns a new instance of GooglePlayDeveloperReportingV1alpha1Track.



2450
2451
2452
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 2450

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

Instance Attribute Details

#display_nameString

Readable identifier of the track. Corresponds to the JSON property displayName

Returns:

  • (String)


2438
2439
2440
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 2438

def display_name
  @display_name
end

#serving_releasesArray<Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1Release>

Represents all active releases in the track. Corresponds to the JSON property servingReleases



2443
2444
2445
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 2443

def serving_releases
  @serving_releases
end

#typeString

The type of the track. Corresponds to the JSON property type

Returns:

  • (String)


2448
2449
2450
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 2448

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2455
2456
2457
2458
2459
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 2455

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @serving_releases = args[:serving_releases] if args.key?(:serving_releases)
  @type = args[:type] if args.key?(:type)
end