Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1InstalledApp
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1InstalledApp
- 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
-
#app_id ⇒ String
Output only.
-
#app_install_type ⇒ String
Output only.
-
#app_source ⇒ String
Output only.
-
#app_type ⇒ String
Output only.
-
#browser_device_count ⇒ Fixnum
Output only.
-
#description ⇒ String
Output only.
-
#disabled ⇒ Boolean
(also: #disabled?)
Output only.
-
#display_name ⇒ String
Output only.
-
#homepage_uri ⇒ String
Output only.
-
#os_user_count ⇒ Fixnum
Output only.
-
#permissions ⇒ Array<String>
Output only.
-
#risk_assessment ⇒ Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RiskAssessmentData
Risk assessment data about an extension/app.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1InstalledApp
constructor
A new instance of GoogleChromeManagementV1InstalledApp.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1InstalledApp
Returns a new instance of GoogleChromeManagementV1InstalledApp.
2222 2223 2224 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2222 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_id ⇒ String
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
2164 2165 2166 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2164 def app_id @app_id end |
#app_install_type ⇒ String
Output only. How the app was installed.
Corresponds to the JSON property appInstallType
2169 2170 2171 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2169 def app_install_type @app_install_type end |
#app_source ⇒ String
Output only. Source of the installed app.
Corresponds to the JSON property appSource
2174 2175 2176 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2174 def app_source @app_source end |
#app_type ⇒ String
Output only. Type of the app.
Corresponds to the JSON property appType
2179 2180 2181 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2179 def app_type @app_type end |
#browser_device_count ⇒ Fixnum
Output only. Count of browser devices with this app installed.
Corresponds to the JSON property browserDeviceCount
2184 2185 2186 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2184 def browser_device_count @browser_device_count end |
#description ⇒ String
Output only. Description of the installed app.
Corresponds to the JSON property description
2189 2190 2191 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2189 def description @description end |
#disabled ⇒ Boolean Also known as: disabled?
Output only. Whether the app is disabled.
Corresponds to the JSON property disabled
2194 2195 2196 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2194 def disabled @disabled end |
#display_name ⇒ String
Output only. Name of the installed app.
Corresponds to the JSON property displayName
2200 2201 2202 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2200 def display_name @display_name end |
#homepage_uri ⇒ String
Output only. Homepage uri of the installed app.
Corresponds to the JSON property homepageUri
2205 2206 2207 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2205 def homepage_uri @homepage_uri end |
#os_user_count ⇒ Fixnum
Output only. Count of ChromeOS users with this app installed.
Corresponds to the JSON property osUserCount
2210 2211 2212 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2210 def os_user_count @os_user_count end |
#permissions ⇒ Array<String>
Output only. Permissions of the installed app.
Corresponds to the JSON property permissions
2215 2216 2217 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2215 def @permissions end |
#risk_assessment ⇒ Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RiskAssessmentData
Risk assessment data about an extension/app.
Corresponds to the JSON property riskAssessment
2220 2221 2222 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2220 def risk_assessment @risk_assessment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2227 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) @risk_assessment = args[:risk_assessment] if args.key?(:risk_assessment) end |