azure_mgmt_storage 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  3. data/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  4. data/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  5. data/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  6. data/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  7. data/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  8. data/lib/2018-02-01/generated/azure_mgmt_storage/models/operation_display.rb +11 -0
  9. data/lib/2018-02-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +1 -1
  10. data/lib/2018-02-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  11. data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/operation_display.rb +11 -0
  12. data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/service_sas_parameters.rb +1 -1
  13. data/lib/2018-03-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  14. data/lib/2018-07-01/generated/azure_mgmt_storage.rb +107 -0
  15. data/lib/2018-07-01/generated/azure_mgmt_storage/blob_containers.rb +1721 -0
  16. data/lib/2018-07-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
  17. data/lib/2018-07-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
  18. data/lib/2018-07-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
  19. data/lib/2018-07-01/generated/azure_mgmt_storage/models/action.rb +15 -0
  20. data/lib/2018-07-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb +75 -0
  21. data/lib/2018-07-01/generated/azure_mgmt_storage/models/blob_container.rb +217 -0
  22. data/lib/2018-07-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
  23. data/lib/2018-07-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
  24. data/lib/2018-07-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
  25. data/lib/2018-07-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
  26. data/lib/2018-07-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
  27. data/lib/2018-07-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
  28. data/lib/2018-07-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
  29. data/lib/2018-07-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
  30. data/lib/2018-07-01/generated/azure_mgmt_storage/models/endpoints.rb +108 -0
  31. data/lib/2018-07-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
  32. data/lib/2018-07-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
  33. data/lib/2018-07-01/generated/azure_mgmt_storage/models/immutability_policy.rb +98 -0
  34. data/lib/2018-07-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb +95 -0
  35. data/lib/2018-07-01/generated/azure_mgmt_storage/models/immutability_policy_state.rb +16 -0
  36. data/lib/2018-07-01/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb +17 -0
  37. data/lib/2018-07-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
  38. data/lib/2018-07-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
  39. data/lib/2018-07-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
  40. data/lib/2018-07-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
  41. data/lib/2018-07-01/generated/azure_mgmt_storage/models/kind.rb +19 -0
  42. data/lib/2018-07-01/generated/azure_mgmt_storage/models/lease_duration.rb +16 -0
  43. data/lib/2018-07-01/generated/azure_mgmt_storage/models/lease_state.rb +19 -0
  44. data/lib/2018-07-01/generated/azure_mgmt_storage/models/lease_status.rb +16 -0
  45. data/lib/2018-07-01/generated/azure_mgmt_storage/models/legal_hold.rb +71 -0
  46. data/lib/2018-07-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb +72 -0
  47. data/lib/2018-07-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
  48. data/lib/2018-07-01/generated/azure_mgmt_storage/models/list_container_item.rb +216 -0
  49. data/lib/2018-07-01/generated/azure_mgmt_storage/models/list_container_items.rb +55 -0
  50. data/lib/2018-07-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
  51. data/lib/2018-07-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
  52. data/lib/2018-07-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
  53. data/lib/2018-07-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
  54. data/lib/2018-07-01/generated/azure_mgmt_storage/models/operation_display.rb +79 -0
  55. data/lib/2018-07-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
  56. data/lib/2018-07-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
  57. data/lib/2018-07-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
  58. data/lib/2018-07-01/generated/azure_mgmt_storage/models/proxy_resource.rb +63 -0
  59. data/lib/2018-07-01/generated/azure_mgmt_storage/models/public_access.rb +17 -0
  60. data/lib/2018-07-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
  61. data/lib/2018-07-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
  62. data/lib/2018-07-01/generated/azure_mgmt_storage/models/resource.rb +83 -0
  63. data/lib/2018-07-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
  64. data/lib/2018-07-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
  65. data/lib/2018-07-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
  66. data/lib/2018-07-01/generated/azure_mgmt_storage/models/services.rb +18 -0
  67. data/lib/2018-07-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
  68. data/lib/2018-07-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
  69. data/lib/2018-07-01/generated/azure_mgmt_storage/models/sku.rb +159 -0
  70. data/lib/2018-07-01/generated/azure_mgmt_storage/models/sku_name.rb +20 -0
  71. data/lib/2018-07-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
  72. data/lib/2018-07-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
  73. data/lib/2018-07-01/generated/azure_mgmt_storage/models/state.rb +19 -0
  74. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account.rb +349 -0
  75. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +62 -0
  76. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +203 -0
  77. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
  78. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
  79. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +57 -0
  80. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
  81. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +179 -0
  82. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
  83. data/lib/2018-07-01/generated/azure_mgmt_storage/models/tag_property.rb +97 -0
  84. data/lib/2018-07-01/generated/azure_mgmt_storage/models/tracked_resource.rb +92 -0
  85. data/lib/2018-07-01/generated/azure_mgmt_storage/models/update_history_property.rb +114 -0
  86. data/lib/2018-07-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
  87. data/lib/2018-07-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
  88. data/lib/2018-07-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
  89. data/lib/2018-07-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
  90. data/lib/2018-07-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
  91. data/lib/2018-07-01/generated/azure_mgmt_storage/module_definition.rb +9 -0
  92. data/lib/2018-07-01/generated/azure_mgmt_storage/operations.rb +108 -0
  93. data/lib/2018-07-01/generated/azure_mgmt_storage/skus.rb +114 -0
  94. data/lib/2018-07-01/generated/azure_mgmt_storage/storage_accounts.rb +1340 -0
  95. data/lib/2018-07-01/generated/azure_mgmt_storage/storage_management_client.rb +147 -0
  96. data/lib/2018-07-01/generated/azure_mgmt_storage/usages.rb +118 -0
  97. data/lib/azure_mgmt_storage.rb +1 -0
  98. data/lib/profiles/latest/modules/storage_profile_module.rb +207 -199
  99. data/lib/version.rb +1 -1
  100. metadata +86 -3
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Storage::Mgmt::V2018_07_01
7
+ module Models
8
+ #
9
+ # Defines values for AccessTier
10
+ #
11
+ module AccessTier
12
+ Hot = "Hot"
13
+ Cool = "Cool"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,136 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Storage::Mgmt::V2018_07_01
7
+ module Models
8
+ #
9
+ # The parameters to list SAS credentials of a storage account.
10
+ #
11
+ class AccountSasParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Services] The signed services accessible with the account SAS.
16
+ # Possible values include: Blob (b), Queue (q), Table (t), File (f).
17
+ # Possible values include: 'b', 'q', 't', 'f'
18
+ attr_accessor :services
19
+
20
+ # @return [SignedResourceTypes] The signed resource types that are
21
+ # accessible with the account SAS. Service (s): Access to service-level
22
+ # APIs; Container (c): Access to container-level APIs; Object (o): Access
23
+ # to object-level APIs for blobs, queue messages, table entities, and
24
+ # files. Possible values include: 's', 'c', 'o'
25
+ attr_accessor :resource_types
26
+
27
+ # @return [Permissions] The signed permissions for the account SAS.
28
+ # Possible values include: Read (r), Write (w), Delete (d), List (l), Add
29
+ # (a), Create (c), Update (u) and Process (p). Possible values include:
30
+ # 'r', 'd', 'w', 'l', 'a', 'c', 'u', 'p'
31
+ attr_accessor :permissions
32
+
33
+ # @return [String] An IP address or a range of IP addresses from which to
34
+ # accept requests.
35
+ attr_accessor :ipaddress_or_range
36
+
37
+ # @return [HttpProtocol] The protocol permitted for a request made with
38
+ # the account SAS. Possible values include: 'https,http', 'https'
39
+ attr_accessor :protocols
40
+
41
+ # @return [DateTime] The time at which the SAS becomes valid.
42
+ attr_accessor :shared_access_start_time
43
+
44
+ # @return [DateTime] The time at which the shared access signature
45
+ # becomes invalid.
46
+ attr_accessor :shared_access_expiry_time
47
+
48
+ # @return [String] The key to sign the account SAS token with.
49
+ attr_accessor :key_to_sign
50
+
51
+
52
+ #
53
+ # Mapper for AccountSasParameters class as Ruby Hash.
54
+ # This will be used for serialization/deserialization.
55
+ #
56
+ def self.mapper()
57
+ {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'AccountSasParameters',
61
+ type: {
62
+ name: 'Composite',
63
+ class_name: 'AccountSasParameters',
64
+ model_properties: {
65
+ services: {
66
+ client_side_validation: true,
67
+ required: true,
68
+ serialized_name: 'signedServices',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ resource_types: {
74
+ client_side_validation: true,
75
+ required: true,
76
+ serialized_name: 'signedResourceTypes',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ permissions: {
82
+ client_side_validation: true,
83
+ required: true,
84
+ serialized_name: 'signedPermission',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ ipaddress_or_range: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'signedIp',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ },
97
+ protocols: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'signedProtocol',
101
+ type: {
102
+ name: 'Enum',
103
+ module: 'HttpProtocol'
104
+ }
105
+ },
106
+ shared_access_start_time: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ serialized_name: 'signedStart',
110
+ type: {
111
+ name: 'DateTime'
112
+ }
113
+ },
114
+ shared_access_expiry_time: {
115
+ client_side_validation: true,
116
+ required: true,
117
+ serialized_name: 'signedExpiry',
118
+ type: {
119
+ name: 'DateTime'
120
+ }
121
+ },
122
+ key_to_sign: {
123
+ client_side_validation: true,
124
+ required: false,
125
+ serialized_name: 'keyToSign',
126
+ type: {
127
+ name: 'String'
128
+ }
129
+ }
130
+ }
131
+ }
132
+ }
133
+ end
134
+ end
135
+ end
136
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Storage::Mgmt::V2018_07_01
7
+ module Models
8
+ #
9
+ # Defines values for AccountStatus
10
+ #
11
+ module AccountStatus
12
+ Available = "available"
13
+ Unavailable = "unavailable"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,15 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Storage::Mgmt::V2018_07_01
7
+ module Models
8
+ #
9
+ # Defines values for Action
10
+ #
11
+ module Action
12
+ Allow = "Allow"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,75 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Storage::Mgmt::V2018_07_01
7
+ module Models
8
+ #
9
+ # The resource model definition for a Azure Resource Manager resource with
10
+ # an etag.
11
+ #
12
+ class AzureEntityResource < Resource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Resource Etag.
17
+ attr_accessor :etag
18
+
19
+
20
+ #
21
+ # Mapper for AzureEntityResource class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'AzureEntityResource',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'AzureEntityResource',
32
+ model_properties: {
33
+ id: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'id',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ name: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'name',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ type: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'type',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ etag: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'etag',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ end
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,217 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Storage::Mgmt::V2018_07_01
7
+ module Models
8
+ #
9
+ # Properties of the blob container, including Id, resource name, resource
10
+ # type, Etag.
11
+ #
12
+ class BlobContainer < AzureEntityResource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [PublicAccess] Specifies whether data in the container may be
17
+ # accessed publicly and the level of access. Possible values include:
18
+ # 'Container', 'Blob', 'None'
19
+ attr_accessor :public_access
20
+
21
+ # @return [DateTime] Returns the date and time the container was last
22
+ # modified.
23
+ attr_accessor :last_modified_time
24
+
25
+ # @return [LeaseStatus] The lease status of the container. Possible
26
+ # values include: 'Locked', 'Unlocked'
27
+ attr_accessor :lease_status
28
+
29
+ # @return [LeaseState] Lease state of the container. Possible values
30
+ # include: 'Available', 'Leased', 'Expired', 'Breaking', 'Broken'
31
+ attr_accessor :lease_state
32
+
33
+ # @return [LeaseDuration] Specifies whether the lease on a container is
34
+ # of infinite or fixed duration, only when the container is leased.
35
+ # Possible values include: 'Infinite', 'Fixed'
36
+ attr_accessor :lease_duration
37
+
38
+ # @return [Hash{String => String}] A name-value pair to associate with
39
+ # the container as metadata.
40
+ attr_accessor :metadata
41
+
42
+ # @return [ImmutabilityPolicyProperties] The ImmutabilityPolicy property
43
+ # of the container.
44
+ attr_accessor :immutability_policy
45
+
46
+ # @return [LegalHoldProperties] The LegalHold property of the container.
47
+ attr_accessor :legal_hold
48
+
49
+ # @return [Boolean] The hasLegalHold public property is set to true by
50
+ # SRP if there are at least one existing tag. The hasLegalHold public
51
+ # property is set to false by SRP if all existing legal hold tags are
52
+ # cleared out. There can be a maximum of 1000 blob containers with
53
+ # hasLegalHold=true for a given account.
54
+ attr_accessor :has_legal_hold
55
+
56
+ # @return [Boolean] The hasImmutabilityPolicy public property is set to
57
+ # true by SRP if ImmutabilityPolicy has been created for this container.
58
+ # The hasImmutabilityPolicy public property is set to false by SRP if
59
+ # ImmutabilityPolicy has not been created for this container.
60
+ attr_accessor :has_immutability_policy
61
+
62
+
63
+ #
64
+ # Mapper for BlobContainer class as Ruby Hash.
65
+ # This will be used for serialization/deserialization.
66
+ #
67
+ def self.mapper()
68
+ {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'BlobContainer',
72
+ type: {
73
+ name: 'Composite',
74
+ class_name: 'BlobContainer',
75
+ model_properties: {
76
+ id: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: 'id',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ name: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'name',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
94
+ type: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ read_only: true,
98
+ serialized_name: 'type',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ },
103
+ etag: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ read_only: true,
107
+ serialized_name: 'etag',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ public_access: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'properties.publicAccess',
116
+ type: {
117
+ name: 'Enum',
118
+ module: 'PublicAccess'
119
+ }
120
+ },
121
+ last_modified_time: {
122
+ client_side_validation: true,
123
+ required: false,
124
+ read_only: true,
125
+ serialized_name: 'properties.lastModifiedTime',
126
+ type: {
127
+ name: 'DateTime'
128
+ }
129
+ },
130
+ lease_status: {
131
+ client_side_validation: true,
132
+ required: false,
133
+ read_only: true,
134
+ serialized_name: 'properties.leaseStatus',
135
+ type: {
136
+ name: 'String'
137
+ }
138
+ },
139
+ lease_state: {
140
+ client_side_validation: true,
141
+ required: false,
142
+ read_only: true,
143
+ serialized_name: 'properties.leaseState',
144
+ type: {
145
+ name: 'String'
146
+ }
147
+ },
148
+ lease_duration: {
149
+ client_side_validation: true,
150
+ required: false,
151
+ read_only: true,
152
+ serialized_name: 'properties.leaseDuration',
153
+ type: {
154
+ name: 'String'
155
+ }
156
+ },
157
+ metadata: {
158
+ client_side_validation: true,
159
+ required: false,
160
+ serialized_name: 'properties.metadata',
161
+ type: {
162
+ name: 'Dictionary',
163
+ value: {
164
+ client_side_validation: true,
165
+ required: false,
166
+ serialized_name: 'StringElementType',
167
+ type: {
168
+ name: 'String'
169
+ }
170
+ }
171
+ }
172
+ },
173
+ immutability_policy: {
174
+ client_side_validation: true,
175
+ required: false,
176
+ read_only: true,
177
+ serialized_name: 'properties.immutabilityPolicy',
178
+ type: {
179
+ name: 'Composite',
180
+ class_name: 'ImmutabilityPolicyProperties'
181
+ }
182
+ },
183
+ legal_hold: {
184
+ client_side_validation: true,
185
+ required: false,
186
+ read_only: true,
187
+ serialized_name: 'properties.legalHold',
188
+ type: {
189
+ name: 'Composite',
190
+ class_name: 'LegalHoldProperties'
191
+ }
192
+ },
193
+ has_legal_hold: {
194
+ client_side_validation: true,
195
+ required: false,
196
+ read_only: true,
197
+ serialized_name: 'properties.hasLegalHold',
198
+ type: {
199
+ name: 'Boolean'
200
+ }
201
+ },
202
+ has_immutability_policy: {
203
+ client_side_validation: true,
204
+ required: false,
205
+ read_only: true,
206
+ serialized_name: 'properties.hasImmutabilityPolicy',
207
+ type: {
208
+ name: 'Boolean'
209
+ }
210
+ }
211
+ }
212
+ }
213
+ }
214
+ end
215
+ end
216
+ end
217
+ end