Class: MicrosoftGraph::Models::DefaultManagedAppProtection
- Inherits:
-
ManagedAppProtection
- Object
- Entity
- ManagedAppPolicy
- ManagedAppProtection
- MicrosoftGraph::Models::DefaultManagedAppProtection
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/default_managed_app_protection.rb
Overview
Policy used to configure detailed management settings for a specified set of apps for all users not targeted by a TargetedManagedAppProtection Policy
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
-
#app_data_encryption_type ⇒ Object
Gets the appDataEncryptionType property value.
-
#app_data_encryption_type=(value) ⇒ Object
Sets the appDataEncryptionType property value.
-
#apps ⇒ Object
Gets the apps property value.
-
#apps=(value) ⇒ Object
Sets the apps property value.
-
#custom_settings ⇒ Object
Gets the customSettings property value.
-
#custom_settings=(value) ⇒ Object
Sets the customSettings property value.
-
#deployed_app_count ⇒ Object
Gets the deployedAppCount property value.
-
#deployed_app_count=(value) ⇒ Object
Sets the deployedAppCount property value.
-
#deployment_summary ⇒ Object
Gets the deploymentSummary property value.
-
#deployment_summary=(value) ⇒ Object
Sets the deploymentSummary property value.
-
#disable_app_encryption_if_device_encryption_is_enabled ⇒ Object
Gets the disableAppEncryptionIfDeviceEncryptionIsEnabled property value.
-
#disable_app_encryption_if_device_encryption_is_enabled=(value) ⇒ Object
Sets the disableAppEncryptionIfDeviceEncryptionIsEnabled property value.
-
#encrypt_app_data ⇒ Object
Gets the encryptAppData property value.
-
#encrypt_app_data=(value) ⇒ Object
Sets the encryptAppData property value.
-
#face_id_blocked ⇒ Object
Gets the faceIdBlocked property value.
-
#face_id_blocked=(value) ⇒ Object
Sets the faceIdBlocked property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new defaultManagedAppProtection and sets the default values.
-
#minimum_required_patch_version ⇒ Object
Gets the minimumRequiredPatchVersion property value.
-
#minimum_required_patch_version=(value) ⇒ Object
Sets the minimumRequiredPatchVersion property value.
-
#minimum_required_sdk_version ⇒ Object
Gets the minimumRequiredSdkVersion property value.
-
#minimum_required_sdk_version=(value) ⇒ Object
Sets the minimumRequiredSdkVersion property value.
-
#minimum_warning_patch_version ⇒ Object
Gets the minimumWarningPatchVersion property value.
-
#minimum_warning_patch_version=(value) ⇒ Object
Sets the minimumWarningPatchVersion property value.
-
#screen_capture_blocked ⇒ Object
Gets the screenCaptureBlocked property value.
-
#screen_capture_blocked=(value) ⇒ Object
Sets the screenCaptureBlocked property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from ManagedAppProtection
#allowed_data_storage_locations, #allowed_data_storage_locations=, #allowed_inbound_data_transfer_sources, #allowed_inbound_data_transfer_sources=, #allowed_outbound_clipboard_sharing_level, #allowed_outbound_clipboard_sharing_level=, #allowed_outbound_data_transfer_destinations, #allowed_outbound_data_transfer_destinations=, #contact_sync_blocked, #contact_sync_blocked=, #data_backup_blocked, #data_backup_blocked=, #device_compliance_required, #device_compliance_required=, #disable_app_pin_if_device_pin_is_set, #disable_app_pin_if_device_pin_is_set=, #fingerprint_blocked, #fingerprint_blocked=, #managed_browser, #managed_browser=, #managed_browser_to_open_links_required, #managed_browser_to_open_links_required=, #maximum_pin_retries, #maximum_pin_retries=, #minimum_pin_length, #minimum_pin_length=, #minimum_required_app_version, #minimum_required_app_version=, #minimum_required_os_version, #minimum_required_os_version=, #minimum_warning_app_version, #minimum_warning_app_version=, #minimum_warning_os_version, #minimum_warning_os_version=, #organizational_credentials_required, #organizational_credentials_required=, #period_before_pin_reset, #period_before_pin_reset=, #period_offline_before_access_check, #period_offline_before_access_check=, #period_offline_before_wipe_is_enforced, #period_offline_before_wipe_is_enforced=, #period_online_before_access_check, #period_online_before_access_check=, #pin_character_set, #pin_character_set=, #pin_required, #pin_required=, #print_blocked, #print_blocked=, #save_as_blocked, #save_as_blocked=, #simple_pin_blocked, #simple_pin_blocked=
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 defaultManagedAppProtection and sets the default values.
81 82 83 84 |
# File 'lib/models/default_managed_app_protection.rb', line 81 def initialize() super @odata_type = "#microsoft.graph.defaultManagedAppProtection" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
90 91 92 93 |
# File 'lib/models/default_managed_app_protection.rb', line 90 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return DefaultManagedAppProtection.new end |
Instance Method Details
#app_data_encryption_type ⇒ Object
Gets the appDataEncryptionType property value. Represents the level to which app data is encrypted for managed apps
51 52 53 |
# File 'lib/models/default_managed_app_protection.rb', line 51 def app_data_encryption_type return @app_data_encryption_type end |
#app_data_encryption_type=(value) ⇒ Object
Sets the appDataEncryptionType property value. Represents the level to which app data is encrypted for managed apps
59 60 61 |
# File 'lib/models/default_managed_app_protection.rb', line 59 def app_data_encryption_type=(value) @app_data_encryption_type = value end |
#apps ⇒ Object
Gets the apps property value. List of apps to which the policy is deployed.
66 67 68 |
# File 'lib/models/default_managed_app_protection.rb', line 66 def apps return @apps end |
#apps=(value) ⇒ Object
Sets the apps property value. List of apps to which the policy is deployed.
74 75 76 |
# File 'lib/models/default_managed_app_protection.rb', line 74 def apps=(value) @apps = value end |
#custom_settings ⇒ Object
Gets the customSettings property value. A set of string key and string value pairs to be sent to the affected users, unalterned by this service
98 99 100 |
# File 'lib/models/default_managed_app_protection.rb', line 98 def custom_settings return @custom_settings end |
#custom_settings=(value) ⇒ Object
Sets the customSettings property value. A set of string key and string value pairs to be sent to the affected users, unalterned by this service
106 107 108 |
# File 'lib/models/default_managed_app_protection.rb', line 106 def custom_settings=(value) @custom_settings = value end |
#deployed_app_count ⇒ Object
Gets the deployedAppCount property value. Count of apps to which the current policy is deployed.
113 114 115 |
# File 'lib/models/default_managed_app_protection.rb', line 113 def deployed_app_count return @deployed_app_count end |
#deployed_app_count=(value) ⇒ Object
Sets the deployedAppCount property value. Count of apps to which the current policy is deployed.
121 122 123 |
# File 'lib/models/default_managed_app_protection.rb', line 121 def deployed_app_count=(value) @deployed_app_count = value end |
#deployment_summary ⇒ Object
Gets the deploymentSummary property value. Navigation property to deployment summary of the configuration.
128 129 130 |
# File 'lib/models/default_managed_app_protection.rb', line 128 def deployment_summary return @deployment_summary end |
#deployment_summary=(value) ⇒ Object
Sets the deploymentSummary property value. Navigation property to deployment summary of the configuration.
136 137 138 |
# File 'lib/models/default_managed_app_protection.rb', line 136 def deployment_summary=(value) @deployment_summary = value end |
#disable_app_encryption_if_device_encryption_is_enabled ⇒ Object
Gets the disableAppEncryptionIfDeviceEncryptionIsEnabled property value. When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only)
143 144 145 |
# File 'lib/models/default_managed_app_protection.rb', line 143 def disable_app_encryption_if_device_encryption_is_enabled return @disable_app_encryption_if_device_encryption_is_enabled end |
#disable_app_encryption_if_device_encryption_is_enabled=(value) ⇒ Object
Sets the disableAppEncryptionIfDeviceEncryptionIsEnabled property value. When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only)
151 152 153 |
# File 'lib/models/default_managed_app_protection.rb', line 151 def disable_app_encryption_if_device_encryption_is_enabled=(value) @disable_app_encryption_if_device_encryption_is_enabled = value end |
#encrypt_app_data ⇒ Object
Gets the encryptAppData property value. Indicates whether managed-app data should be encrypted. (Android only)
158 159 160 |
# File 'lib/models/default_managed_app_protection.rb', line 158 def encrypt_app_data return @encrypt_app_data end |
#encrypt_app_data=(value) ⇒ Object
Sets the encryptAppData property value. Indicates whether managed-app data should be encrypted. (Android only)
166 167 168 |
# File 'lib/models/default_managed_app_protection.rb', line 166 def encrypt_app_data=(value) @encrypt_app_data = value end |
#face_id_blocked ⇒ Object
Gets the faceIdBlocked property value. Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only)
173 174 175 |
# File 'lib/models/default_managed_app_protection.rb', line 173 def face_id_blocked return @face_id_blocked end |
#face_id_blocked=(value) ⇒ Object
Sets the faceIdBlocked property value. Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only)
181 182 183 |
# File 'lib/models/default_managed_app_protection.rb', line 181 def face_id_blocked=(value) @face_id_blocked = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'lib/models/default_managed_app_protection.rb', line 188 def get_field_deserializers() return super.merge({ "appDataEncryptionType" => lambda {|n| @app_data_encryption_type = n.get_enum_value(MicrosoftGraph::Models::ManagedAppDataEncryptionType) }, "apps" => lambda {|n| @apps = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ManagedMobileApp.create_from_discriminator_value(pn) }) }, "customSettings" => lambda {|n| @custom_settings = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::KeyValuePair.create_from_discriminator_value(pn) }) }, "deployedAppCount" => lambda {|n| @deployed_app_count = n.get_number_value() }, "deploymentSummary" => lambda {|n| @deployment_summary = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ManagedAppPolicyDeploymentSummary.create_from_discriminator_value(pn) }) }, "disableAppEncryptionIfDeviceEncryptionIsEnabled" => lambda {|n| @disable_app_encryption_if_device_encryption_is_enabled = n.get_boolean_value() }, "encryptAppData" => lambda {|n| @encrypt_app_data = n.get_boolean_value() }, "faceIdBlocked" => lambda {|n| @face_id_blocked = n.get_boolean_value() }, "minimumRequiredPatchVersion" => lambda {|n| @minimum_required_patch_version = n.get_string_value() }, "minimumRequiredSdkVersion" => lambda {|n| @minimum_required_sdk_version = n.get_string_value() }, "minimumWarningPatchVersion" => lambda {|n| @minimum_warning_patch_version = n.get_string_value() }, "screenCaptureBlocked" => lambda {|n| @screen_capture_blocked = n.get_boolean_value() }, }) end |
#minimum_required_patch_version ⇒ Object
Gets the minimumRequiredPatchVersion property value. Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only)
208 209 210 |
# File 'lib/models/default_managed_app_protection.rb', line 208 def minimum_required_patch_version return @minimum_required_patch_version end |
#minimum_required_patch_version=(value) ⇒ Object
Sets the minimumRequiredPatchVersion property value. Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only)
216 217 218 |
# File 'lib/models/default_managed_app_protection.rb', line 216 def minimum_required_patch_version=(value) @minimum_required_patch_version = value end |
#minimum_required_sdk_version ⇒ Object
Gets the minimumRequiredSdkVersion property value. Versions less than the specified version will block the managed app from accessing company data. (iOS Only)
223 224 225 |
# File 'lib/models/default_managed_app_protection.rb', line 223 def minimum_required_sdk_version return @minimum_required_sdk_version end |
#minimum_required_sdk_version=(value) ⇒ Object
Sets the minimumRequiredSdkVersion property value. Versions less than the specified version will block the managed app from accessing company data. (iOS Only)
231 232 233 |
# File 'lib/models/default_managed_app_protection.rb', line 231 def minimum_required_sdk_version=(value) @minimum_required_sdk_version = value end |
#minimum_warning_patch_version ⇒ Object
Gets the minimumWarningPatchVersion property value. Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only)
238 239 240 |
# File 'lib/models/default_managed_app_protection.rb', line 238 def minimum_warning_patch_version return @minimum_warning_patch_version end |
#minimum_warning_patch_version=(value) ⇒ Object
Sets the minimumWarningPatchVersion property value. Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only)
246 247 248 |
# File 'lib/models/default_managed_app_protection.rb', line 246 def minimum_warning_patch_version=(value) @minimum_warning_patch_version = value end |
#screen_capture_blocked ⇒ Object
Gets the screenCaptureBlocked property value. Indicates whether screen capture is blocked. (Android only)
253 254 255 |
# File 'lib/models/default_managed_app_protection.rb', line 253 def screen_capture_blocked return @screen_capture_blocked end |
#screen_capture_blocked=(value) ⇒ Object
Sets the screenCaptureBlocked property value. Indicates whether screen capture is blocked. (Android only)
261 262 263 |
# File 'lib/models/default_managed_app_protection.rb', line 261 def screen_capture_blocked=(value) @screen_capture_blocked = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 |
# File 'lib/models/default_managed_app_protection.rb', line 269 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_enum_value("appDataEncryptionType", @app_data_encryption_type) writer.write_collection_of_object_values("apps", @apps) writer.write_collection_of_object_values("customSettings", @custom_settings) writer.write_number_value("deployedAppCount", @deployed_app_count) writer.write_object_value("deploymentSummary", @deployment_summary) writer.write_boolean_value("disableAppEncryptionIfDeviceEncryptionIsEnabled", @disable_app_encryption_if_device_encryption_is_enabled) writer.write_boolean_value("encryptAppData", @encrypt_app_data) writer.write_boolean_value("faceIdBlocked", @face_id_blocked) writer.write_string_value("minimumRequiredPatchVersion", @minimum_required_patch_version) writer.write_string_value("minimumRequiredSdkVersion", @minimum_required_sdk_version) writer.write_string_value("minimumWarningPatchVersion", @minimum_warning_patch_version) writer.write_boolean_value("screenCaptureBlocked", @screen_capture_blocked) end |