Class: Google::Apis::ComputeV1::VpnTunnelCipherSuite

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpnTunnelCipherSuite

Returns a new instance of VpnTunnelCipherSuite.



63106
63107
63108
# File 'lib/google/apis/compute_v1/classes.rb', line 63106

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

Instance Attribute Details

#phase1Google::Apis::ComputeV1::VpnTunnelPhase1Algorithms

Corresponds to the JSON property phase1



63099
63100
63101
# File 'lib/google/apis/compute_v1/classes.rb', line 63099

def phase1
  @phase1
end

#phase2Google::Apis::ComputeV1::VpnTunnelPhase2Algorithms

Corresponds to the JSON property phase2



63104
63105
63106
# File 'lib/google/apis/compute_v1/classes.rb', line 63104

def phase2
  @phase2
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



63111
63112
63113
63114
# File 'lib/google/apis/compute_v1/classes.rb', line 63111

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