Class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1App

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 in the Play Store.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1App

Returns a new instance of GooglePlayDeveloperReportingV1beta1App.



199
200
201
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 199

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

Instance Attribute Details

#display_nameString

Title of the app. This is the latest title as set in the Play Console and may not yet have been reviewed, so might not match the Play Store. Example: Google Maps. Corresponds to the JSON property displayName

Returns:

  • (String)


187
188
189
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 187

def display_name
  @display_name
end

#nameString

Identifier. The resource name. Format: apps/app Corresponds to the JSON property name

Returns:

  • (String)


192
193
194
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 192

def name
  @name
end

#package_nameString

Package name of the app. Example: com.example.app123. Corresponds to the JSON property packageName

Returns:

  • (String)


197
198
199
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 197

def package_name
  @package_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



204
205
206
207
208
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 204

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