Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1InstalledApp

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

Describes an installed app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1InstalledApp

Returns a new instance of GoogleChromeManagementV1InstalledApp.



1661
1662
1663
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1661

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

Instance Attribute Details

#app_idString

Output only. Unique identifier of the app. For Chrome apps and extensions, the 32-character id (e.g. ehoadneljpdggcbbknedodolkkjodefl). For Android apps, the package name (e.g. com.evernote). Corresponds to the JSON property appId

Returns:

  • (String)


1608
1609
1610
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1608

def app_id
  @app_id
end

#app_install_typeString

Output only. How the app was installed. Corresponds to the JSON property appInstallType

Returns:

  • (String)


1613
1614
1615
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1613

def app_install_type
  @app_install_type
end

#app_sourceString

Output only. Source of the installed app. Corresponds to the JSON property appSource

Returns:

  • (String)


1618
1619
1620
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1618

def app_source
  @app_source
end

#app_typeString

Output only. Type of the app. Corresponds to the JSON property appType

Returns:

  • (String)


1623
1624
1625
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1623

def app_type
  @app_type
end

#browser_device_countFixnum

Output only. Count of browser devices with this app installed. Corresponds to the JSON property browserDeviceCount

Returns:

  • (Fixnum)


1628
1629
1630
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1628

def browser_device_count
  @browser_device_count
end

#descriptionString

Output only. Description of the installed app. Corresponds to the JSON property description

Returns:

  • (String)


1633
1634
1635
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1633

def description
  @description
end

#disabledBoolean Also known as: disabled?

Output only. Whether the app is disabled. Corresponds to the JSON property disabled

Returns:

  • (Boolean)


1638
1639
1640
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1638

def disabled
  @disabled
end

#display_nameString

Output only. Name of the installed app. Corresponds to the JSON property displayName

Returns:

  • (String)


1644
1645
1646
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1644

def display_name
  @display_name
end

#homepage_uriString

Output only. Homepage uri of the installed app. Corresponds to the JSON property homepageUri

Returns:

  • (String)


1649
1650
1651
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1649

def homepage_uri
  @homepage_uri
end

#os_user_countFixnum

Output only. Count of ChromeOS users with this app installed. Corresponds to the JSON property osUserCount

Returns:

  • (Fixnum)


1654
1655
1656
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1654

def os_user_count
  @os_user_count
end

#permissionsArray<String>

Output only. Permissions of the installed app. Corresponds to the JSON property permissions

Returns:

  • (Array<String>)


1659
1660
1661
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1659

def permissions
  @permissions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1666

def update!(**args)
  @app_id = args[:app_id] if args.key?(:app_id)
  @app_install_type = args[:app_install_type] if args.key?(:app_install_type)
  @app_source = args[:app_source] if args.key?(:app_source)
  @app_type = args[:app_type] if args.key?(:app_type)
  @browser_device_count = args[:browser_device_count] if args.key?(:browser_device_count)
  @description = args[:description] if args.key?(:description)
  @disabled = args[:disabled] if args.key?(:disabled)
  @display_name = args[:display_name] if args.key?(:display_name)
  @homepage_uri = args[:homepage_uri] if args.key?(:homepage_uri)
  @os_user_count = args[:os_user_count] if args.key?(:os_user_count)
  @permissions = args[:permissions] if args.key?(:permissions)
end