Class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1Release

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 an app release.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePlayDeveloperReportingV1alpha1Release

Returns a new instance of GooglePlayDeveloperReportingV1alpha1Release.



2021
2022
2023
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 2021

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

Instance Attribute Details

#display_nameString

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

Returns:

  • (String)


2014
2015
2016
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 2014

def display_name
  @display_name
end

#version_codesArray<Fixnum>

The version codes contained in this release. Corresponds to the JSON property versionCodes

Returns:

  • (Array<Fixnum>)


2019
2020
2021
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 2019

def version_codes
  @version_codes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2026
2027
2028
2029
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 2026

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