Class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1Release

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1Release

Returns a new instance of GooglePlayDeveloperReportingV1beta1Release.



2056
2057
2058
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 2056

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

Instance Attribute Details

#display_nameString

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

Returns:

  • (String)


2049
2050
2051
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 2049

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>)


2054
2055
2056
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 2054

def version_codes
  @version_codes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2061
2062
2063
2064
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 2061

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