Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataExtensionData

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

Information of an extension installed on a Chrome browser profile.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementVersionsV1ReportingDataExtensionData

Returns a new instance of GoogleChromeManagementVersionsV1ReportingDataExtensionData.



5221
5222
5223
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5221

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionString

Output only. Description of the extension. Corresponds to the JSON property description

Returns:

  • (String)


5167
5168
5169
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5167

def description
  @description
end

#extension_idString

Output only. ID of the extension. Corresponds to the JSON property extensionId

Returns:

  • (String)


5172
5173
5174
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5172

def extension_id
  @extension_id
end

#extension_typeString

Output only. Type of the extension. Corresponds to the JSON property extensionType

Returns:

  • (String)


5177
5178
5179
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5177

def extension_type
  @extension_type
end

#homepage_uriString

Output only. The URL of the homepage of the extension. Corresponds to the JSON property homepageUri

Returns:

  • (String)


5182
5183
5184
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5182

def homepage_uri
  @homepage_uri
end

#installation_typeString

Output only. Installation type of the extension. Corresponds to the JSON property installationType

Returns:

  • (String)


5187
5188
5189
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5187

def installation_type
  @installation_type
end

#is_disabledBoolean Also known as: is_disabled?

Output only. Represents whether the user disabled the extension. Corresponds to the JSON property isDisabled

Returns:

  • (Boolean)


5192
5193
5194
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5192

def is_disabled
  @is_disabled
end

#is_webstore_extensionBoolean Also known as: is_webstore_extension?

Output only. Represents whether the extension is from the webstore. Corresponds to the JSON property isWebstoreExtension

Returns:

  • (Boolean)


5198
5199
5200
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5198

def is_webstore_extension
  @is_webstore_extension
end

#manifest_versionFixnum

Output only. Manifest version of the extension. Corresponds to the JSON property manifestVersion

Returns:

  • (Fixnum)


5204
5205
5206
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5204

def manifest_version
  @manifest_version
end

#nameString

Output only. Name of the extension. Corresponds to the JSON property name

Returns:

  • (String)


5209
5210
5211
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5209

def name
  @name
end

#permissionsArray<String>

Output only. Permissions requested by the extension. Corresponds to the JSON property permissions

Returns:

  • (Array<String>)


5214
5215
5216
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5214

def permissions
  @permissions
end

#versionString

Output only. Version of the extension. Corresponds to the JSON property version

Returns:

  • (String)


5219
5220
5221
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5219

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5226

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @extension_id = args[:extension_id] if args.key?(:extension_id)
  @extension_type = args[:extension_type] if args.key?(:extension_type)
  @homepage_uri = args[:homepage_uri] if args.key?(:homepage_uri)
  @installation_type = args[:installation_type] if args.key?(:installation_type)
  @is_disabled = args[:is_disabled] if args.key?(:is_disabled)
  @is_webstore_extension = args[:is_webstore_extension] if args.key?(:is_webstore_extension)
  @manifest_version = args[:manifest_version] if args.key?(:manifest_version)
  @name = args[:name] if args.key?(:name)
  @permissions = args[:permissions] if args.key?(:permissions)
  @version = args[:version] if args.key?(:version)
end