Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppPermission
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppPermission
- 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
Permission requested by a Chrome app or extension.
Instance Attribute Summary collapse
-
#access_user_data ⇒ Boolean
(also: #access_user_data?)
Output only.
-
#documentation_uri ⇒ String
Output only.
-
#type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1ChromeAppPermission
constructor
A new instance of GoogleChromeManagementV1ChromeAppPermission.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1ChromeAppPermission
Returns a new instance of GoogleChromeManagementV1ChromeAppPermission.
734 735 736 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 734 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_user_data ⇒ Boolean Also known as: access_user_data?
Output only. If available, whether this permissions grants the app/extension
access to user data.
Corresponds to the JSON property accessUserData
720 721 722 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 720 def access_user_data @access_user_data end |
#documentation_uri ⇒ String
Output only. If available, a URI to a page that has documentation for the
current permission.
Corresponds to the JSON property documentationUri
727 728 729 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 727 def documentation_uri @documentation_uri end |
#type ⇒ String
Output only. The type of the permission.
Corresponds to the JSON property type
732 733 734 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 732 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
739 740 741 742 743 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 739 def update!(**args) @access_user_data = args[:access_user_data] if args.key?(:access_user_data) @documentation_uri = args[:documentation_uri] if args.key?(:documentation_uri) @type = args[:type] if args.key?(:type) end |