Class: Google::Apis::NetappV1::HybridPeeringDetails

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

HybridPeeringDetails contains details about the hybrid peering.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#commandString

Optional. Copy-paste-able commands to be used on user's ONTAP to accept peering requests. Corresponds to the JSON property command

Returns:

  • (String)


640
641
642
# File 'lib/google/apis/netapp_v1/classes.rb', line 640

def command
  @command
end

#command_expiry_timeString

Optional. Expiration time for the peering command to be executed on user's ONTAP. Corresponds to the JSON property commandExpiryTime

Returns:

  • (String)


646
647
648
# File 'lib/google/apis/netapp_v1/classes.rb', line 646

def command_expiry_time
  @command_expiry_time
end

#passphraseString

Optional. Temporary passphrase generated to accept cluster peering command. Corresponds to the JSON property passphrase

Returns:

  • (String)


651
652
653
# File 'lib/google/apis/netapp_v1/classes.rb', line 651

def passphrase
  @passphrase
end

#subnet_ipString

Optional. IP address of the subnet. Corresponds to the JSON property subnetIp

Returns:

  • (String)


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