Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppDetails

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb

Overview

Resource representing app details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1AppDetails

Returns a new instance of GoogleChromeManagementV1AppDetails.



176
177
178
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 176

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

Instance Attribute Details

#android_app_infoGoogle::Apis::ChromemanagementV1::GoogleChromeManagementV1AndroidAppInfo

Android app information. Corresponds to the JSON property androidAppInfo



70
71
72
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 70

def android_app_info
  @android_app_info
end

#app_idString

Output only. Unique store identifier for the item. Examples: " gmbmikajjgmnabiglmofipeabaddhgne" for the Save to Google Drive Chrome extension, "com.google.android.apps.docs" for the Google Drive Android app. Corresponds to the JSON property appId

Returns:

  • (String)


77
78
79
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 77

def app_id
  @app_id
end

#chrome_app_infoGoogle::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppInfo

Chrome Web Store app information. Corresponds to the JSON property chromeAppInfo



82
83
84
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 82

def chrome_app_info
  @chrome_app_info
end

#descriptionString

Output only. App's description. Corresponds to the JSON property description

Returns:

  • (String)


87
88
89
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 87

def description
  @description
end

#detail_uriString

Output only. The uri for the detail page of the item. Corresponds to the JSON property detailUri

Returns:

  • (String)


92
93
94
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 92

def detail_uri
  @detail_uri
end

#display_nameString

Output only. App's display name. Corresponds to the JSON property displayName

Returns:

  • (String)


97
98
99
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 97

def display_name
  @display_name
end

#first_publish_timeString

Output only. First published time. Corresponds to the JSON property firstPublishTime

Returns:

  • (String)


102
103
104
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 102

def first_publish_time
  @first_publish_time
end

#homepage_uriString

Output only. Home page or Website uri. Corresponds to the JSON property homepageUri

Returns:

  • (String)


107
108
109
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 107

def homepage_uri
  @homepage_uri
end

#icon_uriString

Output only. A link to an image that can be used as an icon for the product. Corresponds to the JSON property iconUri

Returns:

  • (String)


112
113
114
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 112

def icon_uri
  @icon_uri
end

#is_paid_appBoolean Also known as: is_paid_app?

Output only. Indicates if the app has to be paid for OR has paid content. Corresponds to the JSON property isPaidApp

Returns:

  • (Boolean)


117
118
119
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 117

def is_paid_app
  @is_paid_app
end

#latest_publish_timeString

Output only. Latest published time. Corresponds to the JSON property latestPublishTime

Returns:

  • (String)


123
124
125
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 123

def latest_publish_time
  @latest_publish_time
end

#nameString

Output only. Format: name=customers/customer_id/apps/chrome|android|web/ app_id@version Corresponds to the JSON property name

Returns:

  • (String)


129
130
131
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 129

def name
  @name
end

#privacy_policy_uriString

Output only. The URI pointing to the privacy policy of the app, if it was provided by the developer. Version-specific field that will only be set when the requested app version is found. Corresponds to the JSON property privacyPolicyUri

Returns:

  • (String)


136
137
138
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 136

def privacy_policy_uri
  @privacy_policy_uri
end

#publisherString

Output only. The publisher of the item. Corresponds to the JSON property publisher

Returns:

  • (String)


141
142
143
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 141

def publisher
  @publisher
end

#review_numberFixnum

Output only. Number of reviews received. Chrome Web Store review information will always be for the latest version of an app. Corresponds to the JSON property reviewNumber

Returns:

  • (Fixnum)


147
148
149
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 147

def review_number
  @review_number
end

#review_ratingFloat

Output only. The rating of the app (on 5 stars). Chrome Web Store review information will always be for the latest version of an app. Corresponds to the JSON property reviewRating

Returns:

  • (Float)


153
154
155
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 153

def review_rating
  @review_rating
end

#revision_idString

Output only. App version. A new revision is committed whenever a new version of the app is published. Corresponds to the JSON property revisionId

Returns:

  • (String)


159
160
161
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 159

def revision_id
  @revision_id
end

#service_errorGoogle::Apis::ChromemanagementV1::GoogleRpcStatus

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Corresponds to the JSON property serviceError



169
170
171
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 169

def service_error
  @service_error
end

#typeString

Output only. App type. Corresponds to the JSON property type

Returns:

  • (String)


174
175
176
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 174

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 181

def update!(**args)
  @android_app_info = args[:android_app_info] if args.key?(:android_app_info)
  @app_id = args[:app_id] if args.key?(:app_id)
  @chrome_app_info = args[:chrome_app_info] if args.key?(:chrome_app_info)
  @description = args[:description] if args.key?(:description)
  @detail_uri = args[:detail_uri] if args.key?(:detail_uri)
  @display_name = args[:display_name] if args.key?(:display_name)
  @first_publish_time = args[:first_publish_time] if args.key?(:first_publish_time)
  @homepage_uri = args[:homepage_uri] if args.key?(:homepage_uri)
  @icon_uri = args[:icon_uri] if args.key?(:icon_uri)
  @is_paid_app = args[:is_paid_app] if args.key?(:is_paid_app)
  @latest_publish_time = args[:latest_publish_time] if args.key?(:latest_publish_time)
  @name = args[:name] if args.key?(:name)
  @privacy_policy_uri = args[:privacy_policy_uri] if args.key?(:privacy_policy_uri)
  @publisher = args[:publisher] if args.key?(:publisher)
  @review_number = args[:review_number] if args.key?(:review_number)
  @review_rating = args[:review_rating] if args.key?(:review_rating)
  @revision_id = args[:revision_id] if args.key?(:revision_id)
  @service_error = args[:service_error] if args.key?(:service_error)
  @type = args[:type] if args.key?(:type)
end