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.



692
693
694
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 692

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)


627
628
629
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 627

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)


634
635
636
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 634

def is_cws_hosted
  @is_cws_hosted
end

#is_extension_policy_supportedBoolean Also known as: is_extension_policy_supported?

Output only. Whether an app supports policy for extensions. Corresponds to the JSON property isExtensionPolicySupported

Returns:

  • (Boolean)


640
641
642
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 640

def is_extension_policy_supported
  @is_extension_policy_supported
end

#is_kiosk_onlyBoolean Also known as: is_kiosk_only?

Output only. Whether the app is only for Kiosk mode on ChromeOS devices Corresponds to the JSON property isKioskOnly

Returns:

  • (Boolean)


646
647
648
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 646

def is_kiosk_only
  @is_kiosk_only
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)


652
653
654
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 652

def is_theme
  @is_theme
end

#kiosk_enabledBoolean Also known as: kiosk_enabled?

Output only. Whether this app is enabled for Kiosk mode on ChromeOS devices Corresponds to the JSON property kioskEnabled

Returns:

  • (Boolean)


658
659
660
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 658

def kiosk_enabled
  @kiosk_enabled
end

#min_user_countFixnum

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

Returns:

  • (Fixnum)


664
665
666
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 664

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



670
671
672
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 670

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



678
679
680
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 678

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)


684
685
686
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 684

def support_enabled
  @support_enabled
end

#typeString

Output only. Types of an item in the Chrome Web Store Corresponds to the JSON property type

Returns:

  • (String)


690
691
692
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 690

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



697
698
699
700
701
702
703
704
705
706
707
708
709
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 697

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_extension_policy_supported = args[:is_extension_policy_supported] if args.key?(:is_extension_policy_supported)
  @is_kiosk_only = args[:is_kiosk_only] if args.key?(:is_kiosk_only)
  @is_theme = args[:is_theme] if args.key?(:is_theme)
  @kiosk_enabled = args[:kiosk_enabled] if args.key?(:kiosk_enabled)
  @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)
  @type = args[:type] if args.key?(:type)
end