Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppInfo

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

Chrome Web Store app information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1ChromeAppInfo

Returns a new instance of GoogleChromeManagementV1ChromeAppInfo.



298
299
300
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 298

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

Instance Attribute Details

#google_ownedBoolean Also known as: google_owned?

Output only. Whether the app or extension is built and maintained by Google. Version-specific field that will only be set when the requested app version is found. Corresponds to the JSON property googleOwned

Returns:

  • (Boolean)


256
257
258
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 256

def google_owned
  @google_owned
end

#is_cws_hostedBoolean Also known as: is_cws_hosted?

Output only. Whether the app or extension is in a published state in the Chrome Web Store. Corresponds to the JSON property isCwsHosted

Returns:

  • (Boolean)


263
264
265
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 263

def is_cws_hosted
  @is_cws_hosted
end

#is_themeBoolean Also known as: is_theme?

Output only. Whether the app or extension is a theme. Corresponds to the JSON property isTheme

Returns:

  • (Boolean)


269
270
271
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 269

def is_theme
  @is_theme
end

#min_user_countFixnum

Output only. The minimum number of users using this app. Corresponds to the JSON property minUserCount

Returns:

  • (Fixnum)


275
276
277
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 275

def min_user_count
  @min_user_count
end

#permissionsArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppPermission>

Output only. Every custom permission requested by the app. Version-specific field that will only be set when the requested app version is found. Corresponds to the JSON property permissions



281
282
283
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 281

def permissions
  @permissions
end

#site_accessArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppSiteAccess>

Output only. Every permission giving access to domains or broad host patterns. ( e.g. www.google.com). This includes the matches from content scripts as well as hosts in the permissions node of the manifest. Version-specific field that will only be set when the requested app version is found. Corresponds to the JSON property siteAccess



289
290
291
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 289

def site_access
  @site_access
end

#support_enabledBoolean Also known as: support_enabled?

Output only. The app developer has enabled support for their app. Version- specific field that will only be set when the requested app version is found. Corresponds to the JSON property supportEnabled

Returns:

  • (Boolean)


295
296
297
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 295

def support_enabled
  @support_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



303
304
305
306
307
308
309
310
311
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 303

def update!(**args)
  @google_owned = args[:google_owned] if args.key?(:google_owned)
  @is_cws_hosted = args[:is_cws_hosted] if args.key?(:is_cws_hosted)
  @is_theme = args[:is_theme] if args.key?(:is_theme)
  @min_user_count = args[:min_user_count] if args.key?(:min_user_count)
  @permissions = args[:permissions] if args.key?(:permissions)
  @site_access = args[:site_access] if args.key?(:site_access)
  @support_enabled = args[:support_enabled] if args.key?(:support_enabled)
end