Class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1App
- Inherits:
-
Object
- Object
- Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1App
- 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
-
#display_name ⇒ String
Title of the app.
-
#name ⇒ String
Identifier.
-
#package_name ⇒ String
Package name of the app.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1App
constructor
A new instance of GooglePlayDeveloperReportingV1beta1App.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_name ⇒ String
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
187 188 189 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 187 def display_name @display_name end |
#name ⇒ String
Identifier. The resource name. Format: apps/app
Corresponds to the JSON property name
192 193 194 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 192 def name @name end |
#package_name ⇒ String
Package name of the app. Example: com.example.app123
.
Corresponds to the JSON property packageName
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 |