Class: Google::Apis::NetappV1::ExportPolicy
- Inherits:
-
Object
- Object
- Google::Apis::NetappV1::ExportPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/netapp_v1/classes.rb,
lib/google/apis/netapp_v1/representations.rb,
lib/google/apis/netapp_v1/representations.rb
Overview
Defines the export policy for the volume.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExportPolicy
constructor
A new instance of ExportPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExportPolicy
Returns a new instance of ExportPolicy.
1144 1145 1146 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1144 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rules ⇒ Array<Google::Apis::NetappV1::SimpleExportPolicyRule>
Required. List of export policy rules
Corresponds to the JSON property rules
1142 1143 1144 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1142 def rules @rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1149 1150 1151 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1149 def update!(**args) @rules = args[:rules] if args.key?(:rules) end |