Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppInfo
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppInfo
- 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
-
#google_owned ⇒ Boolean
(also: #google_owned?)
Output only.
-
#is_cws_hosted ⇒ Boolean
(also: #is_cws_hosted?)
Output only.
-
#is_extension_policy_supported ⇒ Boolean
(also: #is_extension_policy_supported?)
Output only.
-
#is_kiosk_only ⇒ Boolean
(also: #is_kiosk_only?)
Output only.
-
#is_theme ⇒ Boolean
(also: #is_theme?)
Output only.
-
#kiosk_enabled ⇒ Boolean
(also: #kiosk_enabled?)
Output only.
-
#min_user_count ⇒ Fixnum
Output only.
-
#permissions ⇒ Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppPermission>
Output only.
-
#site_access ⇒ Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppSiteAccess>
Output only.
-
#support_enabled ⇒ Boolean
(also: #support_enabled?)
Output only.
-
#type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1ChromeAppInfo
constructor
A new instance of GoogleChromeManagementV1ChromeAppInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1ChromeAppInfo
Returns a new instance of GoogleChromeManagementV1ChromeAppInfo.
630 631 632 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 630 def initialize(**args) update!(**args) end |
Instance Attribute Details
#google_owned ⇒ Boolean 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
565 566 567 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 565 def google_owned @google_owned end |
#is_cws_hosted ⇒ Boolean 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
572 573 574 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 572 def is_cws_hosted @is_cws_hosted end |
#is_extension_policy_supported ⇒ Boolean Also known as: is_extension_policy_supported?
Output only. Whether an app supports policy for extensions.
Corresponds to the JSON property isExtensionPolicySupported
578 579 580 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 578 def is_extension_policy_supported @is_extension_policy_supported end |
#is_kiosk_only ⇒ Boolean 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
584 585 586 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 584 def is_kiosk_only @is_kiosk_only end |
#is_theme ⇒ Boolean Also known as: is_theme?
Output only. Whether the app or extension is a theme.
Corresponds to the JSON property isTheme
590 591 592 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 590 def is_theme @is_theme end |
#kiosk_enabled ⇒ Boolean Also known as: kiosk_enabled?
Output only. Whether this app is enabled for Kiosk mode on ChromeOS devices
Corresponds to the JSON property kioskEnabled
596 597 598 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 596 def kiosk_enabled @kiosk_enabled end |
#min_user_count ⇒ Fixnum
Output only. The minimum number of users using this app.
Corresponds to the JSON property minUserCount
602 603 604 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 602 def min_user_count @min_user_count end |
#permissions ⇒ Array<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
608 609 610 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 608 def @permissions end |
#site_access ⇒ Array<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
616 617 618 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 616 def site_access @site_access end |
#support_enabled ⇒ Boolean 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
622 623 624 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 622 def support_enabled @support_enabled end |
#type ⇒ String
Output only. Types of an item in the Chrome Web Store
Corresponds to the JSON property type
628 629 630 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 628 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
635 636 637 638 639 640 641 642 643 644 645 646 647 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 635 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 |