Class: Google::Apis::AndroidpublisherV3::AppDetails

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

Overview

The app details. The resource for DetailsService.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AppDetails

Returns a new instance of AppDetails.


170
171
172
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 170

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

Instance Attribute Details

#contact_emailString

The user-visible support email for this app. Corresponds to the JSON property contactEmail

Returns:

  • (String)

153
154
155
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 153

def contact_email
  @contact_email
end

#contact_phoneString

The user-visible support telephone number for this app. Corresponds to the JSON property contactPhone

Returns:

  • (String)

158
159
160
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 158

def contact_phone
  @contact_phone
end

#contact_websiteString

The user-visible website for this app. Corresponds to the JSON property contactWebsite

Returns:

  • (String)

163
164
165
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 163

def contact_website
  @contact_website
end

#default_languageString

Default language code, in BCP 47 format (eg "en-US"). Corresponds to the JSON property defaultLanguage

Returns:

  • (String)

168
169
170
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 168

def default_language
  @default_language
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


175
176
177
178
179
180
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 175

def update!(**args)
  @contact_email = args[:contact_email] if args.key?(:contact_email)
  @contact_phone = args[:contact_phone] if args.key?(:contact_phone)
  @contact_website = args[:contact_website] if args.key?(:contact_website)
  @default_language = args[:default_language] if args.key?(:default_language)
end