Class: Azure::Security::Mgmt::V2017_08_01_preview::Models::InformationProtectionPolicy
- Inherits:
-
Resource
- Object
- Resource
- Azure::Security::Mgmt::V2017_08_01_preview::Models::InformationProtectionPolicy
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_policy.rb
Overview
Information protection policy.
Instance Attribute Summary collapse
-
#information_types ⇒ Hash{String => InformationType}
types.
-
#labels ⇒ Hash{String => SensitivityLabel}
labels.
-
#last_modified_utc ⇒ DateTime
Describes the last UTC time the policy was modified.
-
#version ⇒ String
Describes the version of the policy.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for InformationProtectionPolicy class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#information_types ⇒ Hash{String => InformationType}
types.
27 28 29 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_policy.rb', line 27 def information_types @information_types end |
#labels ⇒ Hash{String => SensitivityLabel}
labels.
23 24 25 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_policy.rb', line 23 def labels @labels end |
#last_modified_utc ⇒ DateTime
16 17 18 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_policy.rb', line 16 def last_modified_utc @last_modified_utc end |
#version ⇒ String
19 20 21 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_policy.rb', line 19 def version @version end |
Class Method Details
.mapper ⇒ Object
Mapper for InformationProtectionPolicy class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_policy.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'InformationProtectionPolicy', type: { name: 'Composite', class_name: 'InformationProtectionPolicy', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, last_modified_utc: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedUtc', type: { name: 'DateTime' } }, version: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.version', type: { name: 'String' } }, labels: { client_side_validation: true, required: false, serialized_name: 'properties.labels', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'SensitivityLabelElementType', type: { name: 'Composite', class_name: 'SensitivityLabel' } } } }, information_types: { client_side_validation: true, required: false, serialized_name: 'properties.informationTypes', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'InformationTypeElementType', type: { name: 'Composite', class_name: 'InformationType' } } } } } } } end |