Class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1Track

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

Overview

A representation of a Play release track.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1Track

Returns a new instance of GooglePlayDeveloperReportingV1beta1Track.



2485
2486
2487
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 2485

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

Instance Attribute Details

#display_nameString

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

Returns:

  • (String)


2473
2474
2475
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 2473

def display_name
  @display_name
end

#serving_releasesArray<Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1Release>

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



2478
2479
2480
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 2478

def serving_releases
  @serving_releases
end

#typeString

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

Returns:

  • (String)


2483
2484
2485
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 2483

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2490
2491
2492
2493
2494
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 2490

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