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.



503
504
505
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 503

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)


489
490
491
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 489

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)


496
497
498
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 496

def documentation_uri
  @documentation_uri
end

#typeString

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

Returns:

  • (String)


501
502
503
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 501

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



508
509
510
511
512
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 508

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