Class: Google::Apis::ComputeAlpha::VpnTunnelCipherSuite

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpnTunnelCipherSuite

Returns a new instance of VpnTunnelCipherSuite.



81483
81484
81485
# File 'lib/google/apis/compute_alpha/classes.rb', line 81483

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

Instance Attribute Details

#phase1Google::Apis::ComputeAlpha::VpnTunnelPhase1Algorithms

Corresponds to the JSON property phase1



81476
81477
81478
# File 'lib/google/apis/compute_alpha/classes.rb', line 81476

def phase1
  @phase1
end

#phase2Google::Apis::ComputeAlpha::VpnTunnelPhase2Algorithms

Corresponds to the JSON property phase2



81481
81482
81483
# File 'lib/google/apis/compute_alpha/classes.rb', line 81481

def phase2
  @phase2
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



81488
81489
81490
81491
# File 'lib/google/apis/compute_alpha/classes.rb', line 81488

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