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.



4684
4685
4686
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4684

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

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


4630
4631
4632
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4630

def description
  @description
end

#extension_idString

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

Returns:

  • (String)


4635
4636
4637
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4635

def extension_id
  @extension_id
end

#extension_typeString

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

Returns:

  • (String)


4640
4641
4642
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4640

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)


4645
4646
4647
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4645

def homepage_uri
  @homepage_uri
end

#installation_typeString

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

Returns:

  • (String)


4650
4651
4652
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4650

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)


4655
4656
4657
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4655

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)


4661
4662
4663
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4661

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)


4667
4668
4669
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4667

def manifest_version
  @manifest_version
end

#nameString

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

Returns:

  • (String)


4672
4673
4674
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4672

def name
  @name
end

#permissionsArray<String>

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

Returns:

  • (Array<String>)


4677
4678
4679
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4677

def permissions
  @permissions
end

#versionString

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

Returns:

  • (String)


4682
4683
4684
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4682

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4689

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