Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppPermission

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

Permission requested by a Chrome app or extension.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_dataBoolean 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

Returns:

  • (Boolean)


720
721
722
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 720

def access_user_data
  @access_user_data
end

#documentation_uriString

Output only. If available, a URI to a page that has documentation for the current permission. Corresponds to the JSON property documentationUri

Returns:

  • (String)


727
728
729
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 727

def documentation_uri
  @documentation_uri
end

#typeString

Output only. The type of the permission. Corresponds to the JSON property type

Returns:

  • (String)


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