Class: Google::Apis::NetappV1::ExportPolicy

Inherits:
Object
  • Object
show all
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

Constructor Details

#initialize(**args) ⇒ ExportPolicy

Returns a new instance of ExportPolicy.



580
581
582
# File 'lib/google/apis/netapp_v1/classes.rb', line 580

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#rulesArray<Google::Apis::NetappV1::SimpleExportPolicyRule>

Required. List of export policy rules Corresponds to the JSON property rules



578
579
580
# File 'lib/google/apis/netapp_v1/classes.rb', line 578

def rules
  @rules
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



585
586
587
# File 'lib/google/apis/netapp_v1/classes.rb', line 585

def update!(**args)
  @rules = args[:rules] if args.key?(:rules)
end