Class: MicrosoftGraph::Models::IosManagedAppProtection
- Inherits:
-
TargetedManagedAppProtection
- Object
- Entity
- ManagedAppPolicy
- ManagedAppProtection
- TargetedManagedAppProtection
- MicrosoftGraph::Models::IosManagedAppProtection
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/ios_managed_app_protection.rb
Overview
Policy used to configure detailed management settings targeted to specific security groups and for a specified set of apps on an iOS device
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_browser_protocol ⇒ Object
Gets the customBrowserProtocol property value.
-
#custom_browser_protocol=(value) ⇒ Object
Sets the customBrowserProtocol 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.
-
#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 iosManagedAppProtection and sets the default values.
-
#minimum_required_sdk_version ⇒ Object
Gets the minimumRequiredSdkVersion property value.
-
#minimum_required_sdk_version=(value) ⇒ Object
Sets the minimumRequiredSdkVersion property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from TargetedManagedAppProtection
#assignments, #assignments=, #is_assigned, #is_assigned=
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 iosManagedAppProtection and sets the default values.
66 67 68 69 |
# File 'lib/models/ios_managed_app_protection.rb', line 66 def initialize() super @odata_type = "#microsoft.graph.iosManagedAppProtection" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
75 76 77 78 |
# File 'lib/models/ios_managed_app_protection.rb', line 75 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IosManagedAppProtection.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
36 37 38 |
# File 'lib/models/ios_managed_app_protection.rb', line 36 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
44 45 46 |
# File 'lib/models/ios_managed_app_protection.rb', line 44 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.
51 52 53 |
# File 'lib/models/ios_managed_app_protection.rb', line 51 def apps return @apps end |
#apps=(value) ⇒ Object
Sets the apps property value. List of apps to which the policy is deployed.
59 60 61 |
# File 'lib/models/ios_managed_app_protection.rb', line 59 def apps=(value) @apps = value end |
#custom_browser_protocol ⇒ Object
Gets the customBrowserProtocol property value. A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.
83 84 85 |
# File 'lib/models/ios_managed_app_protection.rb', line 83 def custom_browser_protocol return @custom_browser_protocol end |
#custom_browser_protocol=(value) ⇒ Object
Sets the customBrowserProtocol property value. A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.
91 92 93 |
# File 'lib/models/ios_managed_app_protection.rb', line 91 def custom_browser_protocol=(value) @custom_browser_protocol = value end |
#deployed_app_count ⇒ Object
Gets the deployedAppCount property value. Count of apps to which the current policy is deployed.
98 99 100 |
# File 'lib/models/ios_managed_app_protection.rb', line 98 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.
106 107 108 |
# File 'lib/models/ios_managed_app_protection.rb', line 106 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.
113 114 115 |
# File 'lib/models/ios_managed_app_protection.rb', line 113 def deployment_summary return @deployment_summary end |
#deployment_summary=(value) ⇒ Object
Sets the deploymentSummary property value. Navigation property to deployment summary of the configuration.
121 122 123 |
# File 'lib/models/ios_managed_app_protection.rb', line 121 def deployment_summary=(value) @deployment_summary = 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.
128 129 130 |
# File 'lib/models/ios_managed_app_protection.rb', line 128 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.
136 137 138 |
# File 'lib/models/ios_managed_app_protection.rb', line 136 def face_id_blocked=(value) @face_id_blocked = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
143 144 145 146 147 148 149 150 151 152 153 |
# File 'lib/models/ios_managed_app_protection.rb', line 143 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) }) }, "customBrowserProtocol" => lambda {|n| @custom_browser_protocol = n.get_string_value() }, "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) }) }, "faceIdBlocked" => lambda {|n| @face_id_blocked = n.get_boolean_value() }, "minimumRequiredSdkVersion" => lambda {|n| @minimum_required_sdk_version = n.get_string_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.
158 159 160 |
# File 'lib/models/ios_managed_app_protection.rb', line 158 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.
166 167 168 |
# File 'lib/models/ios_managed_app_protection.rb', line 166 def minimum_required_sdk_version=(value) @minimum_required_sdk_version = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
174 175 176 177 178 179 180 181 182 183 184 |
# File 'lib/models/ios_managed_app_protection.rb', line 174 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_string_value("customBrowserProtocol", @custom_browser_protocol) writer.write_number_value("deployedAppCount", @deployed_app_count) writer.write_object_value("deploymentSummary", @deployment_summary) writer.write_boolean_value("faceIdBlocked", @face_id_blocked) writer.write_string_value("minimumRequiredSdkVersion", @minimum_required_sdk_version) end |