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.



672
673
674
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 672

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)


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

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)


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

def documentation_uri
  @documentation_uri
end

#typeString

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

Returns:

  • (String)


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

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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