Class: MicrosoftGraph::Models::ManagedAppProtection
- Inherits:
-
ManagedAppPolicy
- Object
- Entity
- ManagedAppPolicy
- MicrosoftGraph::Models::ManagedAppProtection
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/managed_app_protection.rb
Overview
Policy used to configure detailed management settings for a specified set of apps
Direct Known Subclasses
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#allowed_data_storage_locations ⇒ Object
Gets the allowedDataStorageLocations property value.
-
#allowed_data_storage_locations=(value) ⇒ Object
Sets the allowedDataStorageLocations property value.
-
#allowed_inbound_data_transfer_sources ⇒ Object
Gets the allowedInboundDataTransferSources property value.
-
#allowed_inbound_data_transfer_sources=(value) ⇒ Object
Sets the allowedInboundDataTransferSources property value.
-
#allowed_outbound_clipboard_sharing_level ⇒ Object
Gets the allowedOutboundClipboardSharingLevel property value.
-
#allowed_outbound_clipboard_sharing_level=(value) ⇒ Object
Sets the allowedOutboundClipboardSharingLevel property value.
-
#allowed_outbound_data_transfer_destinations ⇒ Object
Gets the allowedOutboundDataTransferDestinations property value.
-
#allowed_outbound_data_transfer_destinations=(value) ⇒ Object
Sets the allowedOutboundDataTransferDestinations property value.
-
#contact_sync_blocked ⇒ Object
Gets the contactSyncBlocked property value.
-
#contact_sync_blocked=(value) ⇒ Object
Sets the contactSyncBlocked property value.
-
#data_backup_blocked ⇒ Object
Gets the dataBackupBlocked property value.
-
#data_backup_blocked=(value) ⇒ Object
Sets the dataBackupBlocked property value.
-
#device_compliance_required ⇒ Object
Gets the deviceComplianceRequired property value.
-
#device_compliance_required=(value) ⇒ Object
Sets the deviceComplianceRequired property value.
-
#disable_app_pin_if_device_pin_is_set ⇒ Object
Gets the disableAppPinIfDevicePinIsSet property value.
-
#disable_app_pin_if_device_pin_is_set=(value) ⇒ Object
Sets the disableAppPinIfDevicePinIsSet property value.
-
#fingerprint_blocked ⇒ Object
Gets the fingerprintBlocked property value.
-
#fingerprint_blocked=(value) ⇒ Object
Sets the fingerprintBlocked property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new managedAppProtection and sets the default values.
-
#managed_browser ⇒ Object
Gets the managedBrowser property value.
-
#managed_browser=(value) ⇒ Object
Sets the managedBrowser property value.
-
#managed_browser_to_open_links_required ⇒ Object
Gets the managedBrowserToOpenLinksRequired property value.
-
#managed_browser_to_open_links_required=(value) ⇒ Object
Sets the managedBrowserToOpenLinksRequired property value.
-
#maximum_pin_retries ⇒ Object
Gets the maximumPinRetries property value.
-
#maximum_pin_retries=(value) ⇒ Object
Sets the maximumPinRetries property value.
-
#minimum_pin_length ⇒ Object
Gets the minimumPinLength property value.
-
#minimum_pin_length=(value) ⇒ Object
Sets the minimumPinLength property value.
-
#minimum_required_app_version ⇒ Object
Gets the minimumRequiredAppVersion property value.
-
#minimum_required_app_version=(value) ⇒ Object
Sets the minimumRequiredAppVersion property value.
-
#minimum_required_os_version ⇒ Object
Gets the minimumRequiredOsVersion property value.
-
#minimum_required_os_version=(value) ⇒ Object
Sets the minimumRequiredOsVersion property value.
-
#minimum_warning_app_version ⇒ Object
Gets the minimumWarningAppVersion property value.
-
#minimum_warning_app_version=(value) ⇒ Object
Sets the minimumWarningAppVersion property value.
-
#minimum_warning_os_version ⇒ Object
Gets the minimumWarningOsVersion property value.
-
#minimum_warning_os_version=(value) ⇒ Object
Sets the minimumWarningOsVersion property value.
-
#organizational_credentials_required ⇒ Object
Gets the organizationalCredentialsRequired property value.
-
#organizational_credentials_required=(value) ⇒ Object
Sets the organizationalCredentialsRequired property value.
-
#period_before_pin_reset ⇒ Object
Gets the periodBeforePinReset property value.
-
#period_before_pin_reset=(value) ⇒ Object
Sets the periodBeforePinReset property value.
-
#period_offline_before_access_check ⇒ Object
Gets the periodOfflineBeforeAccessCheck property value.
-
#period_offline_before_access_check=(value) ⇒ Object
Sets the periodOfflineBeforeAccessCheck property value.
-
#period_offline_before_wipe_is_enforced ⇒ Object
Gets the periodOfflineBeforeWipeIsEnforced property value.
-
#period_offline_before_wipe_is_enforced=(value) ⇒ Object
Sets the periodOfflineBeforeWipeIsEnforced property value.
-
#period_online_before_access_check ⇒ Object
Gets the periodOnlineBeforeAccessCheck property value.
-
#period_online_before_access_check=(value) ⇒ Object
Sets the periodOnlineBeforeAccessCheck property value.
-
#pin_character_set ⇒ Object
Gets the pinCharacterSet property value.
-
#pin_character_set=(value) ⇒ Object
Sets the pinCharacterSet property value.
-
#pin_required ⇒ Object
Gets the pinRequired property value.
-
#pin_required=(value) ⇒ Object
Sets the pinRequired property value.
-
#print_blocked ⇒ Object
Gets the printBlocked property value.
-
#print_blocked=(value) ⇒ Object
Sets the printBlocked property value.
-
#save_as_blocked ⇒ Object
Gets the saveAsBlocked property value.
-
#save_as_blocked=(value) ⇒ Object
Sets the saveAsBlocked property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#simple_pin_blocked ⇒ Object
Gets the simplePinBlocked property value.
-
#simple_pin_blocked=(value) ⇒ Object
Sets the simplePinBlocked property value.
Methods inherited from ManagedAppPolicy
#created_date_time, #created_date_time=, #description, #description=, #display_name, #display_name=, #last_modified_date_time, #last_modified_date_time=, #version, #version=
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new managedAppProtection and sets the default values.
156 157 158 159 |
# File 'lib/models/managed_app_protection.rb', line 156 def initialize() super @odata_type = "#microsoft.graph.managedAppProtection" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 |
# File 'lib/models/managed_app_protection.rb', line 180 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? mapping_value_node = parse_node.get_child_node("@odata.type") unless mapping_value_node.nil? then mapping_value = mapping_value_node.get_string_value case mapping_value when "#microsoft.graph.androidManagedAppProtection" return AndroidManagedAppProtection.new when "#microsoft.graph.defaultManagedAppProtection" return DefaultManagedAppProtection.new when "#microsoft.graph.iosManagedAppProtection" return IosManagedAppProtection.new when "#microsoft.graph.targetedManagedAppProtection" return TargetedManagedAppProtection.new end end return ManagedAppProtection.new end |
Instance Method Details
#allowed_data_storage_locations ⇒ Object
Gets the allowedDataStorageLocations property value. Data storage locations where a user may store managed data.
96 97 98 |
# File 'lib/models/managed_app_protection.rb', line 96 def allowed_data_storage_locations return @allowed_data_storage_locations end |
#allowed_data_storage_locations=(value) ⇒ Object
Sets the allowedDataStorageLocations property value. Data storage locations where a user may store managed data.
104 105 106 |
# File 'lib/models/managed_app_protection.rb', line 104 def allowed_data_storage_locations=(value) @allowed_data_storage_locations = value end |
#allowed_inbound_data_transfer_sources ⇒ Object
Gets the allowedInboundDataTransferSources property value. Data can be transferred from/to these classes of apps
111 112 113 |
# File 'lib/models/managed_app_protection.rb', line 111 def allowed_inbound_data_transfer_sources return @allowed_inbound_data_transfer_sources end |
#allowed_inbound_data_transfer_sources=(value) ⇒ Object
Sets the allowedInboundDataTransferSources property value. Data can be transferred from/to these classes of apps
119 120 121 |
# File 'lib/models/managed_app_protection.rb', line 119 def allowed_inbound_data_transfer_sources=(value) @allowed_inbound_data_transfer_sources = value end |
#allowed_outbound_clipboard_sharing_level ⇒ Object
Gets the allowedOutboundClipboardSharingLevel property value. Represents the level to which the device’s clipboard may be shared between apps
126 127 128 |
# File 'lib/models/managed_app_protection.rb', line 126 def allowed_outbound_clipboard_sharing_level return @allowed_outbound_clipboard_sharing_level end |
#allowed_outbound_clipboard_sharing_level=(value) ⇒ Object
Sets the allowedOutboundClipboardSharingLevel property value. Represents the level to which the device’s clipboard may be shared between apps
134 135 136 |
# File 'lib/models/managed_app_protection.rb', line 134 def allowed_outbound_clipboard_sharing_level=(value) @allowed_outbound_clipboard_sharing_level = value end |
#allowed_outbound_data_transfer_destinations ⇒ Object
Gets the allowedOutboundDataTransferDestinations property value. Data can be transferred from/to these classes of apps
141 142 143 |
# File 'lib/models/managed_app_protection.rb', line 141 def allowed_outbound_data_transfer_destinations return @allowed_outbound_data_transfer_destinations end |
#allowed_outbound_data_transfer_destinations=(value) ⇒ Object
Sets the allowedOutboundDataTransferDestinations property value. Data can be transferred from/to these classes of apps
149 150 151 |
# File 'lib/models/managed_app_protection.rb', line 149 def allowed_outbound_data_transfer_destinations=(value) @allowed_outbound_data_transfer_destinations = value end |
#contact_sync_blocked ⇒ Object
Gets the contactSyncBlocked property value. Indicates whether contacts can be synced to the user’s device.
164 165 166 |
# File 'lib/models/managed_app_protection.rb', line 164 def contact_sync_blocked return @contact_sync_blocked end |
#contact_sync_blocked=(value) ⇒ Object
Sets the contactSyncBlocked property value. Indicates whether contacts can be synced to the user’s device.
172 173 174 |
# File 'lib/models/managed_app_protection.rb', line 172 def contact_sync_blocked=(value) @contact_sync_blocked = value end |
#data_backup_blocked ⇒ Object
Gets the dataBackupBlocked property value. Indicates whether the backup of a managed app’s data is blocked.
202 203 204 |
# File 'lib/models/managed_app_protection.rb', line 202 def data_backup_blocked return @data_backup_blocked end |
#data_backup_blocked=(value) ⇒ Object
Sets the dataBackupBlocked property value. Indicates whether the backup of a managed app’s data is blocked.
210 211 212 |
# File 'lib/models/managed_app_protection.rb', line 210 def data_backup_blocked=(value) @data_backup_blocked = value end |
#device_compliance_required ⇒ Object
Gets the deviceComplianceRequired property value. Indicates whether device compliance is required.
217 218 219 |
# File 'lib/models/managed_app_protection.rb', line 217 def device_compliance_required return @device_compliance_required end |
#device_compliance_required=(value) ⇒ Object
Sets the deviceComplianceRequired property value. Indicates whether device compliance is required.
225 226 227 |
# File 'lib/models/managed_app_protection.rb', line 225 def device_compliance_required=(value) @device_compliance_required = value end |
#disable_app_pin_if_device_pin_is_set ⇒ Object
Gets the disableAppPinIfDevicePinIsSet property value. Indicates whether use of the app pin is required if the device pin is set.
232 233 234 |
# File 'lib/models/managed_app_protection.rb', line 232 def disable_app_pin_if_device_pin_is_set return @disable_app_pin_if_device_pin_is_set end |
#disable_app_pin_if_device_pin_is_set=(value) ⇒ Object
Sets the disableAppPinIfDevicePinIsSet property value. Indicates whether use of the app pin is required if the device pin is set.
240 241 242 |
# File 'lib/models/managed_app_protection.rb', line 240 def disable_app_pin_if_device_pin_is_set=(value) @disable_app_pin_if_device_pin_is_set = value end |
#fingerprint_blocked ⇒ Object
Gets the fingerprintBlocked property value. Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True.
247 248 249 |
# File 'lib/models/managed_app_protection.rb', line 247 def fingerprint_blocked return @fingerprint_blocked end |
#fingerprint_blocked=(value) ⇒ Object
Sets the fingerprintBlocked property value. Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True.
255 256 257 |
# File 'lib/models/managed_app_protection.rb', line 255 def fingerprint_blocked=(value) @fingerprint_blocked = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 |
# File 'lib/models/managed_app_protection.rb', line 262 def get_field_deserializers() return super.merge({ "allowedDataStorageLocations" => lambda {|n| @allowed_data_storage_locations = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ManagedAppDataStorageLocation.create_from_discriminator_value(pn) }) }, "allowedInboundDataTransferSources" => lambda {|n| @allowed_inbound_data_transfer_sources = n.get_enum_value(MicrosoftGraph::Models::ManagedAppDataTransferLevel) }, "allowedOutboundClipboardSharingLevel" => lambda {|n| @allowed_outbound_clipboard_sharing_level = n.get_enum_value(MicrosoftGraph::Models::ManagedAppClipboardSharingLevel) }, "allowedOutboundDataTransferDestinations" => lambda {|n| @allowed_outbound_data_transfer_destinations = n.get_enum_value(MicrosoftGraph::Models::ManagedAppDataTransferLevel) }, "contactSyncBlocked" => lambda {|n| @contact_sync_blocked = n.get_boolean_value() }, "dataBackupBlocked" => lambda {|n| @data_backup_blocked = n.get_boolean_value() }, "deviceComplianceRequired" => lambda {|n| @device_compliance_required = n.get_boolean_value() }, "disableAppPinIfDevicePinIsSet" => lambda {|n| @disable_app_pin_if_device_pin_is_set = n.get_boolean_value() }, "fingerprintBlocked" => lambda {|n| @fingerprint_blocked = n.get_boolean_value() }, "managedBrowser" => lambda {|n| @managed_browser = n.get_enum_value(MicrosoftGraph::Models::ManagedBrowserType) }, "managedBrowserToOpenLinksRequired" => lambda {|n| @managed_browser_to_open_links_required = n.get_boolean_value() }, "maximumPinRetries" => lambda {|n| @maximum_pin_retries = n.get_number_value() }, "minimumPinLength" => lambda {|n| @minimum_pin_length = n.get_number_value() }, "minimumRequiredAppVersion" => lambda {|n| @minimum_required_app_version = n.get_string_value() }, "minimumRequiredOsVersion" => lambda {|n| @minimum_required_os_version = n.get_string_value() }, "minimumWarningAppVersion" => lambda {|n| @minimum_warning_app_version = n.get_string_value() }, "minimumWarningOsVersion" => lambda {|n| @minimum_warning_os_version = n.get_string_value() }, "organizationalCredentialsRequired" => lambda {|n| @organizational_credentials_required = n.get_boolean_value() }, "periodBeforePinReset" => lambda {|n| @period_before_pin_reset = n.get_duration_value() }, "periodOfflineBeforeAccessCheck" => lambda {|n| @period_offline_before_access_check = n.get_duration_value() }, "periodOfflineBeforeWipeIsEnforced" => lambda {|n| @period_offline_before_wipe_is_enforced = n.get_duration_value() }, "periodOnlineBeforeAccessCheck" => lambda {|n| @period_online_before_access_check = n.get_duration_value() }, "pinCharacterSet" => lambda {|n| @pin_character_set = n.get_enum_value(MicrosoftGraph::Models::ManagedAppPinCharacterSet) }, "pinRequired" => lambda {|n| @pin_required = n.get_boolean_value() }, "printBlocked" => lambda {|n| @print_blocked = n.get_boolean_value() }, "saveAsBlocked" => lambda {|n| @save_as_blocked = n.get_boolean_value() }, "simplePinBlocked" => lambda {|n| @simple_pin_blocked = n.get_boolean_value() }, }) end |
#managed_browser ⇒ Object
Gets the managedBrowser property value. Type of managed browser
297 298 299 |
# File 'lib/models/managed_app_protection.rb', line 297 def managed_browser return @managed_browser end |
#managed_browser=(value) ⇒ Object
Sets the managedBrowser property value. Type of managed browser
305 306 307 |
# File 'lib/models/managed_app_protection.rb', line 305 def managed_browser=(value) @managed_browser = value end |
#managed_browser_to_open_links_required ⇒ Object
Gets the managedBrowserToOpenLinksRequired property value. Indicates whether internet links should be opened in the managed browser app, or any custom browser specified by CustomBrowserProtocol (for iOS) or CustomBrowserPackageId/CustomBrowserDisplayName (for Android)
312 313 314 |
# File 'lib/models/managed_app_protection.rb', line 312 def managed_browser_to_open_links_required return @managed_browser_to_open_links_required end |
#managed_browser_to_open_links_required=(value) ⇒ Object
Sets the managedBrowserToOpenLinksRequired property value. Indicates whether internet links should be opened in the managed browser app, or any custom browser specified by CustomBrowserProtocol (for iOS) or CustomBrowserPackageId/CustomBrowserDisplayName (for Android)
320 321 322 |
# File 'lib/models/managed_app_protection.rb', line 320 def managed_browser_to_open_links_required=(value) @managed_browser_to_open_links_required = value end |
#maximum_pin_retries ⇒ Object
Gets the maximumPinRetries property value. Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped.
327 328 329 |
# File 'lib/models/managed_app_protection.rb', line 327 def maximum_pin_retries return @maximum_pin_retries end |
#maximum_pin_retries=(value) ⇒ Object
Sets the maximumPinRetries property value. Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped.
335 336 337 |
# File 'lib/models/managed_app_protection.rb', line 335 def maximum_pin_retries=(value) @maximum_pin_retries = value end |
#minimum_pin_length ⇒ Object
Gets the minimumPinLength property value. Minimum pin length required for an app-level pin if PinRequired is set to True
342 343 344 |
# File 'lib/models/managed_app_protection.rb', line 342 def minimum_pin_length return @minimum_pin_length end |
#minimum_pin_length=(value) ⇒ Object
Sets the minimumPinLength property value. Minimum pin length required for an app-level pin if PinRequired is set to True
350 351 352 |
# File 'lib/models/managed_app_protection.rb', line 350 def minimum_pin_length=(value) @minimum_pin_length = value end |
#minimum_required_app_version ⇒ Object
Gets the minimumRequiredAppVersion property value. Versions less than the specified version will block the managed app from accessing company data.
357 358 359 |
# File 'lib/models/managed_app_protection.rb', line 357 def minimum_required_app_version return @minimum_required_app_version end |
#minimum_required_app_version=(value) ⇒ Object
Sets the minimumRequiredAppVersion property value. Versions less than the specified version will block the managed app from accessing company data.
365 366 367 |
# File 'lib/models/managed_app_protection.rb', line 365 def minimum_required_app_version=(value) @minimum_required_app_version = value end |
#minimum_required_os_version ⇒ Object
Gets the minimumRequiredOsVersion property value. Versions less than the specified version will block the managed app from accessing company data.
372 373 374 |
# File 'lib/models/managed_app_protection.rb', line 372 def minimum_required_os_version return @minimum_required_os_version end |
#minimum_required_os_version=(value) ⇒ Object
Sets the minimumRequiredOsVersion property value. Versions less than the specified version will block the managed app from accessing company data.
380 381 382 |
# File 'lib/models/managed_app_protection.rb', line 380 def minimum_required_os_version=(value) @minimum_required_os_version = value end |
#minimum_warning_app_version ⇒ Object
Gets the minimumWarningAppVersion property value. Versions less than the specified version will result in warning message on the managed app.
387 388 389 |
# File 'lib/models/managed_app_protection.rb', line 387 def minimum_warning_app_version return @minimum_warning_app_version end |
#minimum_warning_app_version=(value) ⇒ Object
Sets the minimumWarningAppVersion property value. Versions less than the specified version will result in warning message on the managed app.
395 396 397 |
# File 'lib/models/managed_app_protection.rb', line 395 def minimum_warning_app_version=(value) @minimum_warning_app_version = value end |
#minimum_warning_os_version ⇒ Object
Gets the minimumWarningOsVersion property value. Versions less than the specified version will result in warning message on the managed app from accessing company data.
402 403 404 |
# File 'lib/models/managed_app_protection.rb', line 402 def minimum_warning_os_version return @minimum_warning_os_version end |
#minimum_warning_os_version=(value) ⇒ Object
Sets the minimumWarningOsVersion property value. Versions less than the specified version will result in warning message on the managed app from accessing company data.
410 411 412 |
# File 'lib/models/managed_app_protection.rb', line 410 def minimum_warning_os_version=(value) @minimum_warning_os_version = value end |
#organizational_credentials_required ⇒ Object
Gets the organizationalCredentialsRequired property value. Indicates whether organizational credentials are required for app use.
417 418 419 |
# File 'lib/models/managed_app_protection.rb', line 417 def organizational_credentials_required return @organizational_credentials_required end |
#organizational_credentials_required=(value) ⇒ Object
Sets the organizationalCredentialsRequired property value. Indicates whether organizational credentials are required for app use.
425 426 427 |
# File 'lib/models/managed_app_protection.rb', line 425 def organizational_credentials_required=(value) @organizational_credentials_required = value end |
#period_before_pin_reset ⇒ Object
Gets the periodBeforePinReset property value. TimePeriod before the all-level pin must be reset if PinRequired is set to True.
432 433 434 |
# File 'lib/models/managed_app_protection.rb', line 432 def period_before_pin_reset return @period_before_pin_reset end |
#period_before_pin_reset=(value) ⇒ Object
Sets the periodBeforePinReset property value. TimePeriod before the all-level pin must be reset if PinRequired is set to True.
440 441 442 |
# File 'lib/models/managed_app_protection.rb', line 440 def period_before_pin_reset=(value) @period_before_pin_reset = value end |
#period_offline_before_access_check ⇒ Object
Gets the periodOfflineBeforeAccessCheck property value. The period after which access is checked when the device is not connected to the internet.
447 448 449 |
# File 'lib/models/managed_app_protection.rb', line 447 def period_offline_before_access_check return @period_offline_before_access_check end |
#period_offline_before_access_check=(value) ⇒ Object
Sets the periodOfflineBeforeAccessCheck property value. The period after which access is checked when the device is not connected to the internet.
455 456 457 |
# File 'lib/models/managed_app_protection.rb', line 455 def period_offline_before_access_check=(value) @period_offline_before_access_check = value end |
#period_offline_before_wipe_is_enforced ⇒ Object
Gets the periodOfflineBeforeWipeIsEnforced property value. The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped.
462 463 464 |
# File 'lib/models/managed_app_protection.rb', line 462 def period_offline_before_wipe_is_enforced return @period_offline_before_wipe_is_enforced end |
#period_offline_before_wipe_is_enforced=(value) ⇒ Object
Sets the periodOfflineBeforeWipeIsEnforced property value. The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped.
470 471 472 |
# File 'lib/models/managed_app_protection.rb', line 470 def period_offline_before_wipe_is_enforced=(value) @period_offline_before_wipe_is_enforced = value end |
#period_online_before_access_check ⇒ Object
Gets the periodOnlineBeforeAccessCheck property value. The period after which access is checked when the device is connected to the internet.
477 478 479 |
# File 'lib/models/managed_app_protection.rb', line 477 def period_online_before_access_check return @period_online_before_access_check end |
#period_online_before_access_check=(value) ⇒ Object
Sets the periodOnlineBeforeAccessCheck property value. The period after which access is checked when the device is connected to the internet.
485 486 487 |
# File 'lib/models/managed_app_protection.rb', line 485 def period_online_before_access_check=(value) @period_online_before_access_check = value end |
#pin_character_set ⇒ Object
Gets the pinCharacterSet property value. Character set which is to be used for a user’s app PIN
492 493 494 |
# File 'lib/models/managed_app_protection.rb', line 492 def pin_character_set return @pin_character_set end |
#pin_character_set=(value) ⇒ Object
Sets the pinCharacterSet property value. Character set which is to be used for a user’s app PIN
500 501 502 |
# File 'lib/models/managed_app_protection.rb', line 500 def pin_character_set=(value) @pin_character_set = value end |
#pin_required ⇒ Object
Gets the pinRequired property value. Indicates whether an app-level pin is required.
507 508 509 |
# File 'lib/models/managed_app_protection.rb', line 507 def pin_required return @pin_required end |
#pin_required=(value) ⇒ Object
Sets the pinRequired property value. Indicates whether an app-level pin is required.
515 516 517 |
# File 'lib/models/managed_app_protection.rb', line 515 def pin_required=(value) @pin_required = value end |
#print_blocked ⇒ Object
Gets the printBlocked property value. Indicates whether printing is allowed from managed apps.
522 523 524 |
# File 'lib/models/managed_app_protection.rb', line 522 def print_blocked return @print_blocked end |
#print_blocked=(value) ⇒ Object
Sets the printBlocked property value. Indicates whether printing is allowed from managed apps.
530 531 532 |
# File 'lib/models/managed_app_protection.rb', line 530 def print_blocked=(value) @print_blocked = value end |
#save_as_blocked ⇒ Object
Gets the saveAsBlocked property value. Indicates whether users may use the ‘Save As’ menu item to save a copy of protected files.
537 538 539 |
# File 'lib/models/managed_app_protection.rb', line 537 def save_as_blocked return @save_as_blocked end |
#save_as_blocked=(value) ⇒ Object
Sets the saveAsBlocked property value. Indicates whether users may use the ‘Save As’ menu item to save a copy of protected files.
545 546 547 |
# File 'lib/models/managed_app_protection.rb', line 545 def save_as_blocked=(value) @save_as_blocked = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 |
# File 'lib/models/managed_app_protection.rb', line 553 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_collection_of_object_values("allowedDataStorageLocations", @allowed_data_storage_locations) writer.write_enum_value("allowedInboundDataTransferSources", @allowed_inbound_data_transfer_sources) writer.write_enum_value("allowedOutboundClipboardSharingLevel", @allowed_outbound_clipboard_sharing_level) writer.write_enum_value("allowedOutboundDataTransferDestinations", @allowed_outbound_data_transfer_destinations) writer.write_boolean_value("contactSyncBlocked", @contact_sync_blocked) writer.write_boolean_value("dataBackupBlocked", @data_backup_blocked) writer.write_boolean_value("deviceComplianceRequired", @device_compliance_required) writer.write_boolean_value("disableAppPinIfDevicePinIsSet", @disable_app_pin_if_device_pin_is_set) writer.write_boolean_value("fingerprintBlocked", @fingerprint_blocked) writer.write_enum_value("managedBrowser", @managed_browser) writer.write_boolean_value("managedBrowserToOpenLinksRequired", @managed_browser_to_open_links_required) writer.write_number_value("maximumPinRetries", @maximum_pin_retries) writer.write_number_value("minimumPinLength", @minimum_pin_length) writer.write_string_value("minimumRequiredAppVersion", @minimum_required_app_version) writer.write_string_value("minimumRequiredOsVersion", @minimum_required_os_version) writer.write_string_value("minimumWarningAppVersion", @minimum_warning_app_version) writer.write_string_value("minimumWarningOsVersion", @minimum_warning_os_version) writer.write_boolean_value("organizationalCredentialsRequired", @organizational_credentials_required) writer.write_duration_value("periodBeforePinReset", @period_before_pin_reset) writer.write_duration_value("periodOfflineBeforeAccessCheck", @period_offline_before_access_check) writer.write_duration_value("periodOfflineBeforeWipeIsEnforced", @period_offline_before_wipe_is_enforced) writer.write_duration_value("periodOnlineBeforeAccessCheck", @period_online_before_access_check) writer.write_enum_value("pinCharacterSet", @pin_character_set) writer.write_boolean_value("pinRequired", @pin_required) writer.write_boolean_value("printBlocked", @print_blocked) writer.write_boolean_value("saveAsBlocked", @save_as_blocked) writer.write_boolean_value("simplePinBlocked", @simple_pin_blocked) end |
#simple_pin_blocked ⇒ Object
Gets the simplePinBlocked property value. Indicates whether simplePin is blocked.
588 589 590 |
# File 'lib/models/managed_app_protection.rb', line 588 def simple_pin_blocked return @simple_pin_blocked end |
#simple_pin_blocked=(value) ⇒ Object
Sets the simplePinBlocked property value. Indicates whether simplePin is blocked.
596 597 598 |
# File 'lib/models/managed_app_protection.rb', line 596 def simple_pin_blocked=(value) @simple_pin_blocked = value end |