Class: Google::Apis::NetappV1::HybridPeeringDetails
- Inherits:
-
Object
- Object
- Google::Apis::NetappV1::HybridPeeringDetails
- 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
HybridPeeringDetails contains details about the hybrid peering.
Instance Attribute Summary collapse
-
#command ⇒ String
Optional.
-
#command_expiry_time ⇒ String
Optional.
-
#passphrase ⇒ String
Optional.
-
#subnet_ip ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HybridPeeringDetails
constructor
A new instance of HybridPeeringDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HybridPeeringDetails
Returns a new instance of HybridPeeringDetails.
658 659 660 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 658 def initialize(**args) update!(**args) end |
Instance Attribute Details
#command ⇒ String
Optional. Copy-paste-able commands to be used on user's ONTAP to accept
peering requests.
Corresponds to the JSON property command
640 641 642 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 640 def command @command end |
#command_expiry_time ⇒ String
Optional. Expiration time for the peering command to be executed on user's
ONTAP.
Corresponds to the JSON property commandExpiryTime
646 647 648 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 646 def command_expiry_time @command_expiry_time end |
#passphrase ⇒ String
Optional. Temporary passphrase generated to accept cluster peering command.
Corresponds to the JSON property passphrase
651 652 653 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 651 def passphrase @passphrase end |
#subnet_ip ⇒ String
Optional. IP address of the subnet.
Corresponds to the JSON property subnetIp
656 657 658 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 656 def subnet_ip @subnet_ip end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
663 664 665 666 667 668 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 663 def update!(**args) @command = args[:command] if args.key?(:command) @command_expiry_time = args[:command_expiry_time] if args.key?(:command_expiry_time) @passphrase = args[:passphrase] if args.key?(:passphrase) @subnet_ip = args[:subnet_ip] if args.key?(:subnet_ip) end |