Class: Google::Apis::VerifiedaccessV2::DeviceSignals

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/verifiedaccess_v2/classes.rb,
lib/google/apis/verifiedaccess_v2/representations.rb,
lib/google/apis/verifiedaccess_v2/representations.rb

Overview

The device signals as reported by Chrome. Unless otherwise specified, signals are available on all platforms.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeviceSignals

Returns a new instance of DeviceSignals.



274
275
276
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 274

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

Instance Attribute Details

#allow_screen_lockBoolean Also known as: allow_screen_lock?

Value of the AllowScreenLock policy on the device. See https:// chromeenterprise.google/policies/?policy=AllowScreenLock for more details. Available on ChromeOS only. Corresponds to the JSON property allowScreenLock

Returns:

  • (Boolean)


80
81
82
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 80

def allow_screen_lock
  @allow_screen_lock
end

#browser_versionString

Current version of the Chrome browser which generated this set of signals. Example value: "107.0.5286.0". Corresponds to the JSON property browserVersion

Returns:

  • (String)


87
88
89
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 87

def browser_version
  @browser_version
end

#built_in_dns_client_enabledBoolean Also known as: built_in_dns_client_enabled?

Whether Chrome's built-in DNS client is used. The OS DNS client is otherwise used. This value may be controlled by an enterprise policy: https:// chromeenterprise.google/policies/#BuiltInDnsClientEnabled. Corresponds to the JSON property builtInDnsClientEnabled

Returns:

  • (Boolean)


94
95
96
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 94

def built_in_dns_client_enabled
  @built_in_dns_client_enabled
end

#chrome_remote_desktop_app_blockedBoolean Also known as: chrome_remote_desktop_app_blocked?

Whether access to the Chrome Remote Desktop application is blocked via a policy. Corresponds to the JSON property chromeRemoteDesktopAppBlocked

Returns:

  • (Boolean)


101
102
103
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 101

def chrome_remote_desktop_app_blocked
  @chrome_remote_desktop_app_blocked
end

#crowd_strike_agentGoogle::Apis::VerifiedaccessV2::CrowdStrikeAgent

Properties of the CrowdStrike agent installed on a device. Corresponds to the JSON property crowdStrikeAgent



107
108
109
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 107

def crowd_strike_agent
  @crowd_strike_agent
end

#device_affiliation_idsArray<String>

Affiliation IDs of the organizations that are affiliated with the organization that is currently managing the device. When the sets of device and profile affiliation IDs overlap, it means that the organizations managing the device and user are affiliated. To learn more about user affiliation, visit https:// support.google.com/chrome/a/answer/12801245?ref_topic=9027936. Corresponds to the JSON property deviceAffiliationIds

Returns:

  • (Array<String>)


116
117
118
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 116

def device_affiliation_ids
  @device_affiliation_ids
end

#device_enrollment_domainString

Enrollment domain of the customer which is currently managing the device. Corresponds to the JSON property deviceEnrollmentDomain

Returns:

  • (String)


121
122
123
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 121

def device_enrollment_domain
  @device_enrollment_domain
end

#device_manufacturerString

The name of the device's manufacturer. Corresponds to the JSON property deviceManufacturer

Returns:

  • (String)


126
127
128
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 126

def device_manufacturer
  @device_manufacturer
end

#device_modelString

The name of the device's model. Corresponds to the JSON property deviceModel

Returns:

  • (String)


131
132
133
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 131

def device_model
  @device_model
end

#disk_encryptionString

The encryption state of the disk. On ChromeOS, the main disk is always ENCRYPTED. Corresponds to the JSON property diskEncryption

Returns:

  • (String)


137
138
139
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 137

def disk_encryption
  @disk_encryption
end

#display_nameString

The display name of the device, as defined by the user. Corresponds to the JSON property displayName

Returns:

  • (String)


142
143
144
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 142

def display_name
  @display_name
end

#hostnameString

Hostname of the device. Corresponds to the JSON property hostname

Returns:

  • (String)


147
148
149
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 147

def hostname
  @hostname
end

#imeiArray<String>

International Mobile Equipment Identity (IMEI) of the device. Available on ChromeOS only. Corresponds to the JSON property imei

Returns:

  • (Array<String>)


153
154
155
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 153

def imei
  @imei
end

#mac_addressesArray<String>

MAC addresses of the device. Corresponds to the JSON property macAddresses

Returns:

  • (Array<String>)


158
159
160
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 158

def mac_addresses
  @mac_addresses
end

#meidArray<String>

Mobile Equipment Identifier (MEID) of the device. Available on ChromeOS only. Corresponds to the JSON property meid

Returns:

  • (Array<String>)


163
164
165
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 163

def meid
  @meid
end

#operating_systemString

The type of the Operating System currently running on the device. Corresponds to the JSON property operatingSystem

Returns:

  • (String)


168
169
170
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 168

def operating_system
  @operating_system
end

#os_firewallString

The state of the OS level firewall. On ChromeOS, the value will always be ENABLED on regular devices and UNKNOWN on devices in developer mode. The signal is currently not available on MacOS 15 (Sequoia) and later. Corresponds to the JSON property osFirewall

Returns:

  • (String)


175
176
177
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 175

def os_firewall
  @os_firewall
end

#os_versionString

The current version of the Operating System. On Windows and linux, the value will also include the security patch information. Corresponds to the JSON property osVersion

Returns:

  • (String)


181
182
183
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 181

def os_version
  @os_version
end

#password_protection_warning_triggerString

Whether the Password Protection Warning feature is enabled or not. Password protection alerts users when they reuse their protected password on potentially suspicious sites. This setting is controlled by an enterprise policy: https://chromeenterprise.google/policies/# PasswordProtectionWarningTrigger. Note that the policy unset does not have the same effects as having the policy explicitly set to PASSWORD_PROTECTION_OFF. Corresponds to the JSON property passwordProtectionWarningTrigger

Returns:

  • (String)


191
192
193
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 191

def password_protection_warning_trigger
  @password_protection_warning_trigger
end

#profile_affiliation_idsArray<String>

Affiliation IDs of the organizations that are affiliated with the organization that is currently managing the Chrome Profile’s user or ChromeOS user. Corresponds to the JSON property profileAffiliationIds

Returns:

  • (Array<String>)


197
198
199
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 197

def profile_affiliation_ids
  @profile_affiliation_ids
end

#profile_enrollment_domainString

Enrollment domain of the customer which is currently managing the profile. Corresponds to the JSON property profileEnrollmentDomain

Returns:

  • (String)


202
203
204
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 202

def profile_enrollment_domain
  @profile_enrollment_domain
end

#realtime_url_check_modeString

Whether Enterprise-grade (i.e. custom) unsafe URL scanning is enabled or not. This setting may be controlled by an enterprise policy: https:// chromeenterprise.google/policies/#EnterpriseRealTimeUrlCheckMode Corresponds to the JSON property realtimeUrlCheckMode

Returns:

  • (String)


209
210
211
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 209

def realtime_url_check_mode
  @realtime_url_check_mode
end

#safe_browsing_protection_levelString

Safe Browsing Protection Level. That setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/# SafeBrowsingProtectionLevel. Corresponds to the JSON property safeBrowsingProtectionLevel

Returns:

  • (String)


216
217
218
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 216

def safe_browsing_protection_level
  @safe_browsing_protection_level
end

#screen_lock_securedString

The state of the Screen Lock password protection. On ChromeOS, this value will always be ENABLED as there is not way to disable requiring a password or pin when unlocking the device. Corresponds to the JSON property screenLockSecured

Returns:

  • (String)


223
224
225
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 223

def screen_lock_secured
  @screen_lock_secured
end

#secure_boot_modeString

Whether the device's startup software has its Secure Boot feature enabled. Available on Windows only. Corresponds to the JSON property secureBootMode

Returns:

  • (String)


229
230
231
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 229

def secure_boot_mode
  @secure_boot_mode
end

#serial_numberString

The serial number of the device. On Windows, this represents the BIOS's serial number. Not available on most Linux distributions. Corresponds to the JSON property serialNumber

Returns:

  • (String)


235
236
237
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 235

def serial_number
  @serial_number
end

#site_isolation_enabledBoolean Also known as: site_isolation_enabled?

Whether the Site Isolation (a.k.a Site Per Process) setting is enabled. That setting may be controlled by an enterprise policy: https://chromeenterprise. google/policies/#SitePerProcess Corresponds to the JSON property siteIsolationEnabled

Returns:

  • (Boolean)


242
243
244
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 242

def site_isolation_enabled
  @site_isolation_enabled
end

#system_dns_serversArray<String>

List of the addesses of all OS level DNS servers configured in the device's network settings. Corresponds to the JSON property systemDnsServers

Returns:

  • (Array<String>)


249
250
251
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 249

def system_dns_servers
  @system_dns_servers
end

#third_party_blocking_enabledBoolean Also known as: third_party_blocking_enabled?

Whether Chrome is blocking third-party software injection or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/ policies/?policy=ThirdPartyBlockingEnabled. Available on Windows only. Corresponds to the JSON property thirdPartyBlockingEnabled

Returns:

  • (Boolean)


256
257
258
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 256

def third_party_blocking_enabled
  @third_party_blocking_enabled
end

#triggerString

The trigger which generated this set of signals. Corresponds to the JSON property trigger

Returns:

  • (String)


262
263
264
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 262

def trigger
  @trigger
end

#windows_machine_domainString

Windows domain that the current machine has joined. Available on Windows only. Corresponds to the JSON property windowsMachineDomain

Returns:

  • (String)


267
268
269
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 267

def windows_machine_domain
  @windows_machine_domain
end

#windows_user_domainString

Windows domain for the current OS user. Available on Windows only. Corresponds to the JSON property windowsUserDomain

Returns:

  • (String)


272
273
274
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 272

def windows_user_domain
  @windows_user_domain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 279

def update!(**args)
  @allow_screen_lock = args[:allow_screen_lock] if args.key?(:allow_screen_lock)
  @browser_version = args[:browser_version] if args.key?(:browser_version)
  @built_in_dns_client_enabled = args[:built_in_dns_client_enabled] if args.key?(:built_in_dns_client_enabled)
  @chrome_remote_desktop_app_blocked = args[:chrome_remote_desktop_app_blocked] if args.key?(:chrome_remote_desktop_app_blocked)
  @crowd_strike_agent = args[:crowd_strike_agent] if args.key?(:crowd_strike_agent)
  @device_affiliation_ids = args[:device_affiliation_ids] if args.key?(:device_affiliation_ids)
  @device_enrollment_domain = args[:device_enrollment_domain] if args.key?(:device_enrollment_domain)
  @device_manufacturer = args[:device_manufacturer] if args.key?(:device_manufacturer)
  @device_model = args[:device_model] if args.key?(:device_model)
  @disk_encryption = args[:disk_encryption] if args.key?(:disk_encryption)
  @display_name = args[:display_name] if args.key?(:display_name)
  @hostname = args[:hostname] if args.key?(:hostname)
  @imei = args[:imei] if args.key?(:imei)
  @mac_addresses = args[:mac_addresses] if args.key?(:mac_addresses)
  @meid = args[:meid] if args.key?(:meid)
  @operating_system = args[:operating_system] if args.key?(:operating_system)
  @os_firewall = args[:os_firewall] if args.key?(:os_firewall)
  @os_version = args[:os_version] if args.key?(:os_version)
  @password_protection_warning_trigger = args[:password_protection_warning_trigger] if args.key?(:password_protection_warning_trigger)
  @profile_affiliation_ids = args[:profile_affiliation_ids] if args.key?(:profile_affiliation_ids)
  @profile_enrollment_domain = args[:profile_enrollment_domain] if args.key?(:profile_enrollment_domain)
  @realtime_url_check_mode = args[:realtime_url_check_mode] if args.key?(:realtime_url_check_mode)
  @safe_browsing_protection_level = args[:safe_browsing_protection_level] if args.key?(:safe_browsing_protection_level)
  @screen_lock_secured = args[:screen_lock_secured] if args.key?(:screen_lock_secured)
  @secure_boot_mode = args[:secure_boot_mode] if args.key?(:secure_boot_mode)
  @serial_number = args[:serial_number] if args.key?(:serial_number)
  @site_isolation_enabled = args[:site_isolation_enabled] if args.key?(:site_isolation_enabled)
  @system_dns_servers = args[:system_dns_servers] if args.key?(:system_dns_servers)
  @third_party_blocking_enabled = args[:third_party_blocking_enabled] if args.key?(:third_party_blocking_enabled)
  @trigger = args[:trigger] if args.key?(:trigger)
  @windows_machine_domain = args[:windows_machine_domain] if args.key?(:windows_machine_domain)
  @windows_user_domain = args[:windows_user_domain] if args.key?(:windows_user_domain)
end