Class: MicrosoftGraph::Models::AndroidGeneralDeviceConfiguration

Inherits:
DeviceConfiguration show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/android_general_device_configuration.rb

Overview

This topic provides descriptions of the declared methods, properties and relationships exposed by the androidGeneralDeviceConfiguration resource.

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from DeviceConfiguration

#assignments, #assignments=, #created_date_time, #created_date_time=, #description, #description=, #device_setting_state_summaries, #device_setting_state_summaries=, #device_status_overview, #device_status_overview=, #device_statuses, #device_statuses=, #display_name, #display_name=, #last_modified_date_time, #last_modified_date_time=, #user_status_overview, #user_status_overview=, #user_statuses, #user_statuses=, #version, #version=

Methods inherited from Entity

#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=

Constructor Details

#initializeObject

Instantiates a new androidGeneralDeviceConfiguration and sets the default values.



369
370
371
372
# File 'lib/models/android_general_device_configuration.rb', line 369

def initialize()
    super
    @odata_type = "#microsoft.graph.androidGeneralDeviceConfiguration"
end

Class Method Details

.create_from_discriminator_value(parse_node) ⇒ Object

Creates a new instance of the appropriate class based on discriminator value

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a android_general_device_configuration

Raises:

  • (StandardError)


378
379
380
381
# File 'lib/models/android_general_device_configuration.rb', line 378

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    return AndroidGeneralDeviceConfiguration.new
end

Instance Method Details

#apps_block_clipboard_sharingObject

Gets the appsBlockClipboardSharing property value. Indicates whether or not to block clipboard sharing to copy and paste between applications.

Returns:

  • a boolean



159
160
161
# File 'lib/models/android_general_device_configuration.rb', line 159

def apps_block_clipboard_sharing
    return @apps_block_clipboard_sharing
end

#apps_block_clipboard_sharing=(value) ⇒ Object

Sets the appsBlockClipboardSharing property value. Indicates whether or not to block clipboard sharing to copy and paste between applications.

Parameters:

  • value

    Value to set for the appsBlockClipboardSharing property.

Returns:

  • a void



167
168
169
# File 'lib/models/android_general_device_configuration.rb', line 167

def apps_block_clipboard_sharing=(value)
    @apps_block_clipboard_sharing = value
end

#apps_block_copy_pasteObject

Gets the appsBlockCopyPaste property value. Indicates whether or not to block copy and paste within applications.

Returns:

  • a boolean



174
175
176
# File 'lib/models/android_general_device_configuration.rb', line 174

def apps_block_copy_paste
    return @apps_block_copy_paste
end

#apps_block_copy_paste=(value) ⇒ Object

Sets the appsBlockCopyPaste property value. Indicates whether or not to block copy and paste within applications.

Parameters:

  • value

    Value to set for the appsBlockCopyPaste property.

Returns:

  • a void



182
183
184
# File 'lib/models/android_general_device_configuration.rb', line 182

def apps_block_copy_paste=(value)
    @apps_block_copy_paste = value
end

#apps_block_you_tubeObject

Gets the appsBlockYouTube property value. Indicates whether or not to block the YouTube app.

Returns:

  • a boolean



189
190
191
# File 'lib/models/android_general_device_configuration.rb', line 189

def apps_block_you_tube
    return @apps_block_you_tube
end

#apps_block_you_tube=(value) ⇒ Object

Sets the appsBlockYouTube property value. Indicates whether or not to block the YouTube app.

Parameters:

  • value

    Value to set for the appsBlockYouTube property.

Returns:

  • a void



197
198
199
# File 'lib/models/android_general_device_configuration.rb', line 197

def apps_block_you_tube=(value)
    @apps_block_you_tube = value
end

#apps_hide_listObject

Gets the appsHideList property value. List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements.

Returns:

  • a app_list_item



204
205
206
# File 'lib/models/android_general_device_configuration.rb', line 204

def apps_hide_list
    return @apps_hide_list
end

#apps_hide_list=(value) ⇒ Object

Sets the appsHideList property value. List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements.

Parameters:

  • value

    Value to set for the appsHideList property.

Returns:

  • a void



212
213
214
# File 'lib/models/android_general_device_configuration.rb', line 212

def apps_hide_list=(value)
    @apps_hide_list = value
end

#apps_install_allow_listObject

Gets the appsInstallAllowList property value. List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements.

Returns:

  • a app_list_item



219
220
221
# File 'lib/models/android_general_device_configuration.rb', line 219

def apps_install_allow_list
    return @apps_install_allow_list
end

#apps_install_allow_list=(value) ⇒ Object

Sets the appsInstallAllowList property value. List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements.

Parameters:

  • value

    Value to set for the appsInstallAllowList property.

Returns:

  • a void



227
228
229
# File 'lib/models/android_general_device_configuration.rb', line 227

def apps_install_allow_list=(value)
    @apps_install_allow_list = value
end

#apps_launch_block_listObject

Gets the appsLaunchBlockList property value. List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements.

Returns:

  • a app_list_item



234
235
236
# File 'lib/models/android_general_device_configuration.rb', line 234

def apps_launch_block_list
    return @apps_launch_block_list
end

#apps_launch_block_list=(value) ⇒ Object

Sets the appsLaunchBlockList property value. List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements.

Parameters:

  • value

    Value to set for the appsLaunchBlockList property.

Returns:

  • a void



242
243
244
# File 'lib/models/android_general_device_configuration.rb', line 242

def apps_launch_block_list=(value)
    @apps_launch_block_list = value
end

#bluetooth_blockedObject

Gets the bluetoothBlocked property value. Indicates whether or not to block Bluetooth.

Returns:

  • a boolean



249
250
251
# File 'lib/models/android_general_device_configuration.rb', line 249

def bluetooth_blocked
    return @bluetooth_blocked
end

#bluetooth_blocked=(value) ⇒ Object

Sets the bluetoothBlocked property value. Indicates whether or not to block Bluetooth.

Parameters:

  • value

    Value to set for the bluetoothBlocked property.

Returns:

  • a void



257
258
259
# File 'lib/models/android_general_device_configuration.rb', line 257

def bluetooth_blocked=(value)
    @bluetooth_blocked = value
end

#camera_blockedObject

Gets the cameraBlocked property value. Indicates whether or not to block the use of the camera.

Returns:

  • a boolean



264
265
266
# File 'lib/models/android_general_device_configuration.rb', line 264

def camera_blocked
    return @camera_blocked
end

#camera_blocked=(value) ⇒ Object

Sets the cameraBlocked property value. Indicates whether or not to block the use of the camera.

Parameters:

  • value

    Value to set for the cameraBlocked property.

Returns:

  • a void



272
273
274
# File 'lib/models/android_general_device_configuration.rb', line 272

def camera_blocked=(value)
    @camera_blocked = value
end

#cellular_block_data_roamingObject

Gets the cellularBlockDataRoaming property value. Indicates whether or not to block data roaming.

Returns:

  • a boolean



279
280
281
# File 'lib/models/android_general_device_configuration.rb', line 279

def cellular_block_data_roaming
    return @cellular_block_data_roaming
end

#cellular_block_data_roaming=(value) ⇒ Object

Sets the cellularBlockDataRoaming property value. Indicates whether or not to block data roaming.

Parameters:

  • value

    Value to set for the cellularBlockDataRoaming property.

Returns:

  • a void



287
288
289
# File 'lib/models/android_general_device_configuration.rb', line 287

def cellular_block_data_roaming=(value)
    @cellular_block_data_roaming = value
end

#cellular_block_messagingObject

Gets the cellularBlockMessaging property value. Indicates whether or not to block SMS/MMS messaging.

Returns:

  • a boolean



294
295
296
# File 'lib/models/android_general_device_configuration.rb', line 294

def cellular_block_messaging
    return @cellular_block_messaging
end

#cellular_block_messaging=(value) ⇒ Object

Sets the cellularBlockMessaging property value. Indicates whether or not to block SMS/MMS messaging.

Parameters:

  • value

    Value to set for the cellularBlockMessaging property.

Returns:

  • a void



302
303
304
# File 'lib/models/android_general_device_configuration.rb', line 302

def cellular_block_messaging=(value)
    @cellular_block_messaging = value
end

#cellular_block_voice_roamingObject

Gets the cellularBlockVoiceRoaming property value. Indicates whether or not to block voice roaming.

Returns:

  • a boolean



309
310
311
# File 'lib/models/android_general_device_configuration.rb', line 309

def cellular_block_voice_roaming
    return @cellular_block_voice_roaming
end

#cellular_block_voice_roaming=(value) ⇒ Object

Sets the cellularBlockVoiceRoaming property value. Indicates whether or not to block voice roaming.

Parameters:

  • value

    Value to set for the cellularBlockVoiceRoaming property.

Returns:

  • a void



317
318
319
# File 'lib/models/android_general_device_configuration.rb', line 317

def cellular_block_voice_roaming=(value)
    @cellular_block_voice_roaming = value
end

#cellular_block_wi_fi_tetheringObject

Gets the cellularBlockWiFiTethering property value. Indicates whether or not to block syncing Wi-Fi tethering.

Returns:

  • a boolean



324
325
326
# File 'lib/models/android_general_device_configuration.rb', line 324

def cellular_block_wi_fi_tethering
    return @cellular_block_wi_fi_tethering
end

#cellular_block_wi_fi_tethering=(value) ⇒ Object

Sets the cellularBlockWiFiTethering property value. Indicates whether or not to block syncing Wi-Fi tethering.

Parameters:

  • value

    Value to set for the cellularBlockWiFiTethering property.

Returns:

  • a void



332
333
334
# File 'lib/models/android_general_device_configuration.rb', line 332

def cellular_block_wi_fi_tethering=(value)
    @cellular_block_wi_fi_tethering = value
end

#compliant_app_list_typeObject

Gets the compliantAppListType property value. Possible values of the compliance app list.

Returns:

  • a app_list_type



339
340
341
# File 'lib/models/android_general_device_configuration.rb', line 339

def compliant_app_list_type
    return @compliant_app_list_type
end

#compliant_app_list_type=(value) ⇒ Object

Sets the compliantAppListType property value. Possible values of the compliance app list.

Parameters:

  • value

    Value to set for the compliantAppListType property.

Returns:

  • a void



347
348
349
# File 'lib/models/android_general_device_configuration.rb', line 347

def compliant_app_list_type=(value)
    @compliant_app_list_type = value
end

#compliant_apps_listObject

Gets the compliantAppsList property value. List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.

Returns:

  • a app_list_item



354
355
356
# File 'lib/models/android_general_device_configuration.rb', line 354

def compliant_apps_list
    return @compliant_apps_list
end

#compliant_apps_list=(value) ⇒ Object

Sets the compliantAppsList property value. List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.

Parameters:

  • value

    Value to set for the compliantAppsList property.

Returns:

  • a void



362
363
364
# File 'lib/models/android_general_device_configuration.rb', line 362

def compliant_apps_list=(value)
    @compliant_apps_list = value
end

#device_sharing_allowedObject

Gets the deviceSharingAllowed property value. Indicates whether or not to allow device sharing mode.

Returns:

  • a boolean



386
387
388
# File 'lib/models/android_general_device_configuration.rb', line 386

def device_sharing_allowed
    return @device_sharing_allowed
end

#device_sharing_allowed=(value) ⇒ Object

Sets the deviceSharingAllowed property value. Indicates whether or not to allow device sharing mode.

Parameters:

  • value

    Value to set for the deviceSharingAllowed property.

Returns:

  • a void



394
395
396
# File 'lib/models/android_general_device_configuration.rb', line 394

def device_sharing_allowed=(value)
    @device_sharing_allowed = value
end

#diagnostic_data_block_submissionObject

Gets the diagnosticDataBlockSubmission property value. Indicates whether or not to block diagnostic data submission.

Returns:

  • a boolean



401
402
403
# File 'lib/models/android_general_device_configuration.rb', line 401

def diagnostic_data_block_submission
    return @diagnostic_data_block_submission
end

#diagnostic_data_block_submission=(value) ⇒ Object

Sets the diagnosticDataBlockSubmission property value. Indicates whether or not to block diagnostic data submission.

Parameters:

  • value

    Value to set for the diagnosticDataBlockSubmission property.

Returns:

  • a void



409
410
411
# File 'lib/models/android_general_device_configuration.rb', line 409

def diagnostic_data_block_submission=(value)
    @diagnostic_data_block_submission = value
end

#factory_reset_blockedObject

Gets the factoryResetBlocked property value. Indicates whether or not to block user performing a factory reset.

Returns:

  • a boolean



416
417
418
# File 'lib/models/android_general_device_configuration.rb', line 416

def factory_reset_blocked
    return @factory_reset_blocked
end

#factory_reset_blocked=(value) ⇒ Object

Sets the factoryResetBlocked property value. Indicates whether or not to block user performing a factory reset.

Parameters:

  • value

    Value to set for the factoryResetBlocked property.

Returns:

  • a void



424
425
426
# File 'lib/models/android_general_device_configuration.rb', line 424

def factory_reset_blocked=(value)
    @factory_reset_blocked = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
# File 'lib/models/android_general_device_configuration.rb', line 431

def get_field_deserializers()
    return super.merge({
        "appsBlockClipboardSharing" => lambda {|n| @apps_block_clipboard_sharing = n.get_boolean_value() },
        "appsBlockCopyPaste" => lambda {|n| @apps_block_copy_paste = n.get_boolean_value() },
        "appsBlockYouTube" => lambda {|n| @apps_block_you_tube = n.get_boolean_value() },
        "appsHideList" => lambda {|n| @apps_hide_list = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AppListItem.create_from_discriminator_value(pn) }) },
        "appsInstallAllowList" => lambda {|n| @apps_install_allow_list = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AppListItem.create_from_discriminator_value(pn) }) },
        "appsLaunchBlockList" => lambda {|n| @apps_launch_block_list = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AppListItem.create_from_discriminator_value(pn) }) },
        "bluetoothBlocked" => lambda {|n| @bluetooth_blocked = n.get_boolean_value() },
        "cameraBlocked" => lambda {|n| @camera_blocked = n.get_boolean_value() },
        "cellularBlockDataRoaming" => lambda {|n| @cellular_block_data_roaming = n.get_boolean_value() },
        "cellularBlockMessaging" => lambda {|n| @cellular_block_messaging = n.get_boolean_value() },
        "cellularBlockVoiceRoaming" => lambda {|n| @cellular_block_voice_roaming = n.get_boolean_value() },
        "cellularBlockWiFiTethering" => lambda {|n| @cellular_block_wi_fi_tethering = n.get_boolean_value() },
        "compliantAppListType" => lambda {|n| @compliant_app_list_type = n.get_enum_value(MicrosoftGraph::Models::AppListType) },
        "compliantAppsList" => lambda {|n| @compliant_apps_list = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AppListItem.create_from_discriminator_value(pn) }) },
        "deviceSharingAllowed" => lambda {|n| @device_sharing_allowed = n.get_boolean_value() },
        "diagnosticDataBlockSubmission" => lambda {|n| @diagnostic_data_block_submission = n.get_boolean_value() },
        "factoryResetBlocked" => lambda {|n| @factory_reset_blocked = n.get_boolean_value() },
        "googleAccountBlockAutoSync" => lambda {|n| @google_account_block_auto_sync = n.get_boolean_value() },
        "googlePlayStoreBlocked" => lambda {|n| @google_play_store_blocked = n.get_boolean_value() },
        "kioskModeApps" => lambda {|n| @kiosk_mode_apps = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AppListItem.create_from_discriminator_value(pn) }) },
        "kioskModeBlockSleepButton" => lambda {|n| @kiosk_mode_block_sleep_button = n.get_boolean_value() },
        "kioskModeBlockVolumeButtons" => lambda {|n| @kiosk_mode_block_volume_buttons = n.get_boolean_value() },
        "locationServicesBlocked" => lambda {|n| @location_services_blocked = n.get_boolean_value() },
        "nfcBlocked" => lambda {|n| @nfc_blocked = n.get_boolean_value() },
        "passwordBlockFingerprintUnlock" => lambda {|n| @password_block_fingerprint_unlock = n.get_boolean_value() },
        "passwordBlockTrustAgents" => lambda {|n| @password_block_trust_agents = n.get_boolean_value() },
        "passwordExpirationDays" => lambda {|n| @password_expiration_days = n.get_number_value() },
        "passwordMinimumLength" => lambda {|n| @password_minimum_length = n.get_number_value() },
        "passwordMinutesOfInactivityBeforeScreenTimeout" => lambda {|n| @password_minutes_of_inactivity_before_screen_timeout = n.get_number_value() },
        "passwordPreviousPasswordBlockCount" => lambda {|n| @password_previous_password_block_count = n.get_number_value() },
        "passwordRequired" => lambda {|n| @password_required = n.get_boolean_value() },
        "passwordRequiredType" => lambda {|n| @password_required_type = n.get_enum_value(MicrosoftGraph::Models::AndroidRequiredPasswordType) },
        "passwordSignInFailureCountBeforeFactoryReset" => lambda {|n| @password_sign_in_failure_count_before_factory_reset = n.get_number_value() },
        "powerOffBlocked" => lambda {|n| @power_off_blocked = n.get_boolean_value() },
        "screenCaptureBlocked" => lambda {|n| @screen_capture_blocked = n.get_boolean_value() },
        "securityRequireVerifyApps" => lambda {|n| @security_require_verify_apps = n.get_boolean_value() },
        "storageBlockGoogleBackup" => lambda {|n| @storage_block_google_backup = n.get_boolean_value() },
        "storageBlockRemovableStorage" => lambda {|n| @storage_block_removable_storage = n.get_boolean_value() },
        "storageRequireDeviceEncryption" => lambda {|n| @storage_require_device_encryption = n.get_boolean_value() },
        "storageRequireRemovableStorageEncryption" => lambda {|n| @storage_require_removable_storage_encryption = n.get_boolean_value() },
        "voiceAssistantBlocked" => lambda {|n| @voice_assistant_blocked = n.get_boolean_value() },
        "voiceDialingBlocked" => lambda {|n| @voice_dialing_blocked = n.get_boolean_value() },
        "webBrowserBlockAutofill" => lambda {|n| @web_browser_block_autofill = n.get_boolean_value() },
        "webBrowserBlockJavaScript" => lambda {|n| @web_browser_block_java_script = n.get_boolean_value() },
        "webBrowserBlockPopups" => lambda {|n| @web_browser_block_popups = n.get_boolean_value() },
        "webBrowserBlocked" => lambda {|n| @web_browser_blocked = n.get_boolean_value() },
        "webBrowserCookieSettings" => lambda {|n| @web_browser_cookie_settings = n.get_enum_value(MicrosoftGraph::Models::WebBrowserCookieSettings) },
        "wiFiBlocked" => lambda {|n| @wi_fi_blocked = n.get_boolean_value() },
    })
end

#google_account_block_auto_syncObject

Gets the googleAccountBlockAutoSync property value. Indicates whether or not to block Google account auto sync.

Returns:

  • a boolean



487
488
489
# File 'lib/models/android_general_device_configuration.rb', line 487

def 
    return @google_account_block_auto_sync
end

#google_account_block_auto_sync=(value) ⇒ Object

Sets the googleAccountBlockAutoSync property value. Indicates whether or not to block Google account auto sync.

Parameters:

  • value

    Value to set for the googleAccountBlockAutoSync property.

Returns:

  • a void



495
496
497
# File 'lib/models/android_general_device_configuration.rb', line 495

def (value)
    @google_account_block_auto_sync = value
end

#google_play_store_blockedObject

Gets the googlePlayStoreBlocked property value. Indicates whether or not to block the Google Play store.

Returns:

  • a boolean



502
503
504
# File 'lib/models/android_general_device_configuration.rb', line 502

def google_play_store_blocked
    return @google_play_store_blocked
end

#google_play_store_blocked=(value) ⇒ Object

Sets the googlePlayStoreBlocked property value. Indicates whether or not to block the Google Play store.

Parameters:

  • value

    Value to set for the googlePlayStoreBlocked property.

Returns:

  • a void



510
511
512
# File 'lib/models/android_general_device_configuration.rb', line 510

def google_play_store_blocked=(value)
    @google_play_store_blocked = value
end

#kiosk_mode_appsObject

Gets the kioskModeApps property value. A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements.

Returns:

  • a app_list_item



517
518
519
# File 'lib/models/android_general_device_configuration.rb', line 517

def kiosk_mode_apps
    return @kiosk_mode_apps
end

#kiosk_mode_apps=(value) ⇒ Object

Sets the kioskModeApps property value. A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements.

Parameters:

  • value

    Value to set for the kioskModeApps property.

Returns:

  • a void



525
526
527
# File 'lib/models/android_general_device_configuration.rb', line 525

def kiosk_mode_apps=(value)
    @kiosk_mode_apps = value
end

#kiosk_mode_block_sleep_buttonObject

Gets the kioskModeBlockSleepButton property value. Indicates whether or not to block the screen sleep button while in Kiosk Mode.

Returns:

  • a boolean



532
533
534
# File 'lib/models/android_general_device_configuration.rb', line 532

def kiosk_mode_block_sleep_button
    return @kiosk_mode_block_sleep_button
end

#kiosk_mode_block_sleep_button=(value) ⇒ Object

Sets the kioskModeBlockSleepButton property value. Indicates whether or not to block the screen sleep button while in Kiosk Mode.

Parameters:

  • value

    Value to set for the kioskModeBlockSleepButton property.

Returns:

  • a void



540
541
542
# File 'lib/models/android_general_device_configuration.rb', line 540

def kiosk_mode_block_sleep_button=(value)
    @kiosk_mode_block_sleep_button = value
end

#kiosk_mode_block_volume_buttonsObject

Gets the kioskModeBlockVolumeButtons property value. Indicates whether or not to block the volume buttons while in Kiosk Mode.

Returns:

  • a boolean



547
548
549
# File 'lib/models/android_general_device_configuration.rb', line 547

def kiosk_mode_block_volume_buttons
    return @kiosk_mode_block_volume_buttons
end

#kiosk_mode_block_volume_buttons=(value) ⇒ Object

Sets the kioskModeBlockVolumeButtons property value. Indicates whether or not to block the volume buttons while in Kiosk Mode.

Parameters:

  • value

    Value to set for the kioskModeBlockVolumeButtons property.

Returns:

  • a void



555
556
557
# File 'lib/models/android_general_device_configuration.rb', line 555

def kiosk_mode_block_volume_buttons=(value)
    @kiosk_mode_block_volume_buttons = value
end

#location_services_blockedObject

Gets the locationServicesBlocked property value. Indicates whether or not to block location services.

Returns:

  • a boolean



562
563
564
# File 'lib/models/android_general_device_configuration.rb', line 562

def location_services_blocked
    return @location_services_blocked
end

#location_services_blocked=(value) ⇒ Object

Sets the locationServicesBlocked property value. Indicates whether or not to block location services.

Parameters:

  • value

    Value to set for the locationServicesBlocked property.

Returns:

  • a void



570
571
572
# File 'lib/models/android_general_device_configuration.rb', line 570

def location_services_blocked=(value)
    @location_services_blocked = value
end

#nfc_blockedObject

Gets the nfcBlocked property value. Indicates whether or not to block Near-Field Communication.

Returns:

  • a boolean



577
578
579
# File 'lib/models/android_general_device_configuration.rb', line 577

def nfc_blocked
    return @nfc_blocked
end

#nfc_blocked=(value) ⇒ Object

Sets the nfcBlocked property value. Indicates whether or not to block Near-Field Communication.

Parameters:

  • value

    Value to set for the nfcBlocked property.

Returns:

  • a void



585
586
587
# File 'lib/models/android_general_device_configuration.rb', line 585

def nfc_blocked=(value)
    @nfc_blocked = value
end

#password_block_fingerprint_unlockObject

Gets the passwordBlockFingerprintUnlock property value. Indicates whether or not to block fingerprint unlock.

Returns:

  • a boolean



592
593
594
# File 'lib/models/android_general_device_configuration.rb', line 592

def password_block_fingerprint_unlock
    return @password_block_fingerprint_unlock
end

#password_block_fingerprint_unlock=(value) ⇒ Object

Sets the passwordBlockFingerprintUnlock property value. Indicates whether or not to block fingerprint unlock.

Parameters:

  • value

    Value to set for the passwordBlockFingerprintUnlock property.

Returns:

  • a void



600
601
602
# File 'lib/models/android_general_device_configuration.rb', line 600

def password_block_fingerprint_unlock=(value)
    @password_block_fingerprint_unlock = value
end

#password_block_trust_agentsObject

Gets the passwordBlockTrustAgents property value. Indicates whether or not to block Smart Lock and other trust agents.

Returns:

  • a boolean



607
608
609
# File 'lib/models/android_general_device_configuration.rb', line 607

def password_block_trust_agents
    return @password_block_trust_agents
end

#password_block_trust_agents=(value) ⇒ Object

Sets the passwordBlockTrustAgents property value. Indicates whether or not to block Smart Lock and other trust agents.

Parameters:

  • value

    Value to set for the passwordBlockTrustAgents property.

Returns:

  • a void



615
616
617
# File 'lib/models/android_general_device_configuration.rb', line 615

def password_block_trust_agents=(value)
    @password_block_trust_agents = value
end

#password_expiration_daysObject

Gets the passwordExpirationDays property value. Number of days before the password expires. Valid values 1 to 365

Returns:

  • a integer



622
623
624
# File 'lib/models/android_general_device_configuration.rb', line 622

def password_expiration_days
    return @password_expiration_days
end

#password_expiration_days=(value) ⇒ Object

Sets the passwordExpirationDays property value. Number of days before the password expires. Valid values 1 to 365

Parameters:

  • value

    Value to set for the passwordExpirationDays property.

Returns:

  • a void



630
631
632
# File 'lib/models/android_general_device_configuration.rb', line 630

def password_expiration_days=(value)
    @password_expiration_days = value
end

#password_minimum_lengthObject

Gets the passwordMinimumLength property value. Minimum length of passwords. Valid values 4 to 16

Returns:

  • a integer



637
638
639
# File 'lib/models/android_general_device_configuration.rb', line 637

def password_minimum_length
    return @password_minimum_length
end

#password_minimum_length=(value) ⇒ Object

Sets the passwordMinimumLength property value. Minimum length of passwords. Valid values 4 to 16

Parameters:

  • value

    Value to set for the passwordMinimumLength property.

Returns:

  • a void



645
646
647
# File 'lib/models/android_general_device_configuration.rb', line 645

def password_minimum_length=(value)
    @password_minimum_length = value
end

#password_minutes_of_inactivity_before_screen_timeoutObject

Gets the passwordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before the screen times out.

Returns:

  • a integer



652
653
654
# File 'lib/models/android_general_device_configuration.rb', line 652

def password_minutes_of_inactivity_before_screen_timeout
    return @password_minutes_of_inactivity_before_screen_timeout
end

#password_minutes_of_inactivity_before_screen_timeout=(value) ⇒ Object

Sets the passwordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before the screen times out.

Parameters:

  • value

    Value to set for the passwordMinutesOfInactivityBeforeScreenTimeout property.

Returns:

  • a void



660
661
662
# File 'lib/models/android_general_device_configuration.rb', line 660

def password_minutes_of_inactivity_before_screen_timeout=(value)
    @password_minutes_of_inactivity_before_screen_timeout = value
end

#password_previous_password_block_countObject

Gets the passwordPreviousPasswordBlockCount property value. Number of previous passwords to block. Valid values 0 to 24

Returns:

  • a integer



667
668
669
# File 'lib/models/android_general_device_configuration.rb', line 667

def password_previous_password_block_count
    return @password_previous_password_block_count
end

#password_previous_password_block_count=(value) ⇒ Object

Sets the passwordPreviousPasswordBlockCount property value. Number of previous passwords to block. Valid values 0 to 24

Parameters:

  • value

    Value to set for the passwordPreviousPasswordBlockCount property.

Returns:

  • a void



675
676
677
# File 'lib/models/android_general_device_configuration.rb', line 675

def password_previous_password_block_count=(value)
    @password_previous_password_block_count = value
end

#password_requiredObject

Gets the passwordRequired property value. Indicates whether or not to require a password.

Returns:

  • a boolean



682
683
684
# File 'lib/models/android_general_device_configuration.rb', line 682

def password_required
    return @password_required
end

#password_required=(value) ⇒ Object

Sets the passwordRequired property value. Indicates whether or not to require a password.

Parameters:

  • value

    Value to set for the passwordRequired property.

Returns:

  • a void



690
691
692
# File 'lib/models/android_general_device_configuration.rb', line 690

def password_required=(value)
    @password_required = value
end

#password_required_typeObject

Gets the passwordRequiredType property value. Android required password type.

Returns:

  • a android_required_password_type



697
698
699
# File 'lib/models/android_general_device_configuration.rb', line 697

def password_required_type
    return @password_required_type
end

#password_required_type=(value) ⇒ Object

Sets the passwordRequiredType property value. Android required password type.

Parameters:

  • value

    Value to set for the passwordRequiredType property.

Returns:

  • a void



705
706
707
# File 'lib/models/android_general_device_configuration.rb', line 705

def password_required_type=(value)
    @password_required_type = value
end

#password_sign_in_failure_count_before_factory_resetObject

Gets the passwordSignInFailureCountBeforeFactoryReset property value. Number of sign in failures allowed before factory reset. Valid values 1 to 16

Returns:

  • a integer



712
713
714
# File 'lib/models/android_general_device_configuration.rb', line 712

def 
    return @password_sign_in_failure_count_before_factory_reset
end

#password_sign_in_failure_count_before_factory_reset=(value) ⇒ Object

Sets the passwordSignInFailureCountBeforeFactoryReset property value. Number of sign in failures allowed before factory reset. Valid values 1 to 16

Parameters:

  • value

    Value to set for the passwordSignInFailureCountBeforeFactoryReset property.

Returns:

  • a void



720
721
722
# File 'lib/models/android_general_device_configuration.rb', line 720

def (value)
    @password_sign_in_failure_count_before_factory_reset = value
end

#power_off_blockedObject

Gets the powerOffBlocked property value. Indicates whether or not to block powering off the device.

Returns:

  • a boolean



727
728
729
# File 'lib/models/android_general_device_configuration.rb', line 727

def power_off_blocked
    return @power_off_blocked
end

#power_off_blocked=(value) ⇒ Object

Sets the powerOffBlocked property value. Indicates whether or not to block powering off the device.

Parameters:

  • value

    Value to set for the powerOffBlocked property.

Returns:

  • a void



735
736
737
# File 'lib/models/android_general_device_configuration.rb', line 735

def power_off_blocked=(value)
    @power_off_blocked = value
end

#screen_capture_blockedObject

Gets the screenCaptureBlocked property value. Indicates whether or not to block screenshots.

Returns:

  • a boolean



742
743
744
# File 'lib/models/android_general_device_configuration.rb', line 742

def screen_capture_blocked
    return @screen_capture_blocked
end

#screen_capture_blocked=(value) ⇒ Object

Sets the screenCaptureBlocked property value. Indicates whether or not to block screenshots.

Parameters:

  • value

    Value to set for the screenCaptureBlocked property.

Returns:

  • a void



750
751
752
# File 'lib/models/android_general_device_configuration.rb', line 750

def screen_capture_blocked=(value)
    @screen_capture_blocked = value
end

#security_require_verify_appsObject

Gets the securityRequireVerifyApps property value. Require the Android Verify apps feature is turned on.

Returns:

  • a boolean



757
758
759
# File 'lib/models/android_general_device_configuration.rb', line 757

def security_require_verify_apps
    return @security_require_verify_apps
end

#security_require_verify_apps=(value) ⇒ Object

Sets the securityRequireVerifyApps property value. Require the Android Verify apps feature is turned on.

Parameters:

  • value

    Value to set for the securityRequireVerifyApps property.

Returns:

  • a void



765
766
767
# File 'lib/models/android_general_device_configuration.rb', line 765

def security_require_verify_apps=(value)
    @security_require_verify_apps = value
end

#serialize(writer) ⇒ Object

Serializes information the current object

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
# File 'lib/models/android_general_device_configuration.rb', line 773

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    writer.write_boolean_value("appsBlockClipboardSharing", @apps_block_clipboard_sharing)
    writer.write_boolean_value("appsBlockCopyPaste", @apps_block_copy_paste)
    writer.write_boolean_value("appsBlockYouTube", @apps_block_you_tube)
    writer.write_collection_of_object_values("appsHideList", @apps_hide_list)
    writer.write_collection_of_object_values("appsInstallAllowList", @apps_install_allow_list)
    writer.write_collection_of_object_values("appsLaunchBlockList", @apps_launch_block_list)
    writer.write_boolean_value("bluetoothBlocked", @bluetooth_blocked)
    writer.write_boolean_value("cameraBlocked", @camera_blocked)
    writer.write_boolean_value("cellularBlockDataRoaming", @cellular_block_data_roaming)
    writer.write_boolean_value("cellularBlockMessaging", @cellular_block_messaging)
    writer.write_boolean_value("cellularBlockVoiceRoaming", @cellular_block_voice_roaming)
    writer.write_boolean_value("cellularBlockWiFiTethering", @cellular_block_wi_fi_tethering)
    writer.write_enum_value("compliantAppListType", @compliant_app_list_type)
    writer.write_collection_of_object_values("compliantAppsList", @compliant_apps_list)
    writer.write_boolean_value("deviceSharingAllowed", @device_sharing_allowed)
    writer.write_boolean_value("diagnosticDataBlockSubmission", @diagnostic_data_block_submission)
    writer.write_boolean_value("factoryResetBlocked", @factory_reset_blocked)
    writer.write_boolean_value("googleAccountBlockAutoSync", @google_account_block_auto_sync)
    writer.write_boolean_value("googlePlayStoreBlocked", @google_play_store_blocked)
    writer.write_collection_of_object_values("kioskModeApps", @kiosk_mode_apps)
    writer.write_boolean_value("kioskModeBlockSleepButton", @kiosk_mode_block_sleep_button)
    writer.write_boolean_value("kioskModeBlockVolumeButtons", @kiosk_mode_block_volume_buttons)
    writer.write_boolean_value("locationServicesBlocked", @location_services_blocked)
    writer.write_boolean_value("nfcBlocked", @nfc_blocked)
    writer.write_boolean_value("passwordBlockFingerprintUnlock", @password_block_fingerprint_unlock)
    writer.write_boolean_value("passwordBlockTrustAgents", @password_block_trust_agents)
    writer.write_number_value("passwordExpirationDays", @password_expiration_days)
    writer.write_number_value("passwordMinimumLength", @password_minimum_length)
    writer.write_number_value("passwordMinutesOfInactivityBeforeScreenTimeout", @password_minutes_of_inactivity_before_screen_timeout)
    writer.write_number_value("passwordPreviousPasswordBlockCount", @password_previous_password_block_count)
    writer.write_boolean_value("passwordRequired", @password_required)
    writer.write_enum_value("passwordRequiredType", @password_required_type)
    writer.write_number_value("passwordSignInFailureCountBeforeFactoryReset", @password_sign_in_failure_count_before_factory_reset)
    writer.write_boolean_value("powerOffBlocked", @power_off_blocked)
    writer.write_boolean_value("screenCaptureBlocked", @screen_capture_blocked)
    writer.write_boolean_value("securityRequireVerifyApps", @security_require_verify_apps)
    writer.write_boolean_value("storageBlockGoogleBackup", @storage_block_google_backup)
    writer.write_boolean_value("storageBlockRemovableStorage", @storage_block_removable_storage)
    writer.write_boolean_value("storageRequireDeviceEncryption", @storage_require_device_encryption)
    writer.write_boolean_value("storageRequireRemovableStorageEncryption", @storage_require_removable_storage_encryption)
    writer.write_boolean_value("voiceAssistantBlocked", @voice_assistant_blocked)
    writer.write_boolean_value("voiceDialingBlocked", @voice_dialing_blocked)
    writer.write_boolean_value("webBrowserBlockAutofill", @web_browser_block_autofill)
    writer.write_boolean_value("webBrowserBlockJavaScript", @web_browser_block_java_script)
    writer.write_boolean_value("webBrowserBlockPopups", @web_browser_block_popups)
    writer.write_boolean_value("webBrowserBlocked", @web_browser_blocked)
    writer.write_enum_value("webBrowserCookieSettings", @web_browser_cookie_settings)
    writer.write_boolean_value("wiFiBlocked", @wi_fi_blocked)
end

#storage_block_google_backupObject

Gets the storageBlockGoogleBackup property value. Indicates whether or not to block Google Backup.

Returns:

  • a boolean



829
830
831
# File 'lib/models/android_general_device_configuration.rb', line 829

def storage_block_google_backup
    return @storage_block_google_backup
end

#storage_block_google_backup=(value) ⇒ Object

Sets the storageBlockGoogleBackup property value. Indicates whether or not to block Google Backup.

Parameters:

  • value

    Value to set for the storageBlockGoogleBackup property.

Returns:

  • a void



837
838
839
# File 'lib/models/android_general_device_configuration.rb', line 837

def storage_block_google_backup=(value)
    @storage_block_google_backup = value
end

#storage_block_removable_storageObject

Gets the storageBlockRemovableStorage property value. Indicates whether or not to block removable storage usage.

Returns:

  • a boolean



844
845
846
# File 'lib/models/android_general_device_configuration.rb', line 844

def storage_block_removable_storage
    return @storage_block_removable_storage
end

#storage_block_removable_storage=(value) ⇒ Object

Sets the storageBlockRemovableStorage property value. Indicates whether or not to block removable storage usage.

Parameters:

  • value

    Value to set for the storageBlockRemovableStorage property.

Returns:

  • a void



852
853
854
# File 'lib/models/android_general_device_configuration.rb', line 852

def storage_block_removable_storage=(value)
    @storage_block_removable_storage = value
end

#storage_require_device_encryptionObject

Gets the storageRequireDeviceEncryption property value. Indicates whether or not to require device encryption.

Returns:

  • a boolean



859
860
861
# File 'lib/models/android_general_device_configuration.rb', line 859

def storage_require_device_encryption
    return @storage_require_device_encryption
end

#storage_require_device_encryption=(value) ⇒ Object

Sets the storageRequireDeviceEncryption property value. Indicates whether or not to require device encryption.

Parameters:

  • value

    Value to set for the storageRequireDeviceEncryption property.

Returns:

  • a void



867
868
869
# File 'lib/models/android_general_device_configuration.rb', line 867

def storage_require_device_encryption=(value)
    @storage_require_device_encryption = value
end

#storage_require_removable_storage_encryptionObject

Gets the storageRequireRemovableStorageEncryption property value. Indicates whether or not to require removable storage encryption.

Returns:

  • a boolean



874
875
876
# File 'lib/models/android_general_device_configuration.rb', line 874

def storage_require_removable_storage_encryption
    return @storage_require_removable_storage_encryption
end

#storage_require_removable_storage_encryption=(value) ⇒ Object

Sets the storageRequireRemovableStorageEncryption property value. Indicates whether or not to require removable storage encryption.

Parameters:

  • value

    Value to set for the storageRequireRemovableStorageEncryption property.

Returns:

  • a void



882
883
884
# File 'lib/models/android_general_device_configuration.rb', line 882

def storage_require_removable_storage_encryption=(value)
    @storage_require_removable_storage_encryption = value
end

#voice_assistant_blockedObject

Gets the voiceAssistantBlocked property value. Indicates whether or not to block the use of the Voice Assistant.

Returns:

  • a boolean



889
890
891
# File 'lib/models/android_general_device_configuration.rb', line 889

def voice_assistant_blocked
    return @voice_assistant_blocked
end

#voice_assistant_blocked=(value) ⇒ Object

Sets the voiceAssistantBlocked property value. Indicates whether or not to block the use of the Voice Assistant.

Parameters:

  • value

    Value to set for the voiceAssistantBlocked property.

Returns:

  • a void



897
898
899
# File 'lib/models/android_general_device_configuration.rb', line 897

def voice_assistant_blocked=(value)
    @voice_assistant_blocked = value
end

#voice_dialing_blockedObject

Gets the voiceDialingBlocked property value. Indicates whether or not to block voice dialing.

Returns:

  • a boolean



904
905
906
# File 'lib/models/android_general_device_configuration.rb', line 904

def voice_dialing_blocked
    return @voice_dialing_blocked
end

#voice_dialing_blocked=(value) ⇒ Object

Sets the voiceDialingBlocked property value. Indicates whether or not to block voice dialing.

Parameters:

  • value

    Value to set for the voiceDialingBlocked property.

Returns:

  • a void



912
913
914
# File 'lib/models/android_general_device_configuration.rb', line 912

def voice_dialing_blocked=(value)
    @voice_dialing_blocked = value
end

#web_browser_block_autofillObject

Gets the webBrowserBlockAutofill property value. Indicates whether or not to block the web browser’s auto fill feature.

Returns:

  • a boolean



919
920
921
# File 'lib/models/android_general_device_configuration.rb', line 919

def web_browser_block_autofill
    return @web_browser_block_autofill
end

#web_browser_block_autofill=(value) ⇒ Object

Sets the webBrowserBlockAutofill property value. Indicates whether or not to block the web browser’s auto fill feature.

Parameters:

  • value

    Value to set for the webBrowserBlockAutofill property.

Returns:

  • a void



927
928
929
# File 'lib/models/android_general_device_configuration.rb', line 927

def web_browser_block_autofill=(value)
    @web_browser_block_autofill = value
end

#web_browser_block_java_scriptObject

Gets the webBrowserBlockJavaScript property value. Indicates whether or not to block JavaScript within the web browser.

Returns:

  • a boolean



934
935
936
# File 'lib/models/android_general_device_configuration.rb', line 934

def web_browser_block_java_script
    return @web_browser_block_java_script
end

#web_browser_block_java_script=(value) ⇒ Object

Sets the webBrowserBlockJavaScript property value. Indicates whether or not to block JavaScript within the web browser.

Parameters:

  • value

    Value to set for the webBrowserBlockJavaScript property.

Returns:

  • a void



942
943
944
# File 'lib/models/android_general_device_configuration.rb', line 942

def web_browser_block_java_script=(value)
    @web_browser_block_java_script = value
end

#web_browser_block_popupsObject

Gets the webBrowserBlockPopups property value. Indicates whether or not to block popups within the web browser.

Returns:

  • a boolean



949
950
951
# File 'lib/models/android_general_device_configuration.rb', line 949

def web_browser_block_popups
    return @web_browser_block_popups
end

#web_browser_block_popups=(value) ⇒ Object

Sets the webBrowserBlockPopups property value. Indicates whether or not to block popups within the web browser.

Parameters:

  • value

    Value to set for the webBrowserBlockPopups property.

Returns:

  • a void



957
958
959
# File 'lib/models/android_general_device_configuration.rb', line 957

def web_browser_block_popups=(value)
    @web_browser_block_popups = value
end

#web_browser_blockedObject

Gets the webBrowserBlocked property value. Indicates whether or not to block the web browser.

Returns:

  • a boolean



964
965
966
# File 'lib/models/android_general_device_configuration.rb', line 964

def web_browser_blocked
    return @web_browser_blocked
end

#web_browser_blocked=(value) ⇒ Object

Sets the webBrowserBlocked property value. Indicates whether or not to block the web browser.

Parameters:

  • value

    Value to set for the webBrowserBlocked property.

Returns:

  • a void



972
973
974
# File 'lib/models/android_general_device_configuration.rb', line 972

def web_browser_blocked=(value)
    @web_browser_blocked = value
end

Gets the webBrowserCookieSettings property value. Web Browser Cookie Settings.

Returns:

  • a web_browser_cookie_settings



979
980
981
# File 'lib/models/android_general_device_configuration.rb', line 979

def web_browser_cookie_settings
    return @web_browser_cookie_settings
end

Sets the webBrowserCookieSettings property value. Web Browser Cookie Settings.

Parameters:

  • value

    Value to set for the webBrowserCookieSettings property.

Returns:

  • a void



987
988
989
# File 'lib/models/android_general_device_configuration.rb', line 987

def web_browser_cookie_settings=(value)
    @web_browser_cookie_settings = value
end

#wi_fi_blockedObject

Gets the wiFiBlocked property value. Indicates whether or not to block syncing Wi-Fi.

Returns:

  • a boolean



994
995
996
# File 'lib/models/android_general_device_configuration.rb', line 994

def wi_fi_blocked
    return @wi_fi_blocked
end

#wi_fi_blocked=(value) ⇒ Object

Sets the wiFiBlocked property value. Indicates whether or not to block syncing Wi-Fi.

Parameters:

  • value

    Value to set for the wiFiBlocked property.

Returns:

  • a void



1002
1003
1004
# File 'lib/models/android_general_device_configuration.rb', line 1002

def wi_fi_blocked=(value)
    @wi_fi_blocked = value
end