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.
539 540 541 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 539 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
537 538 539 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 537 def rules @rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
544 545 546 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 544 def update!(**args) @rules = args[:rules] if args.key?(:rules) end |