Class: Google::Apis::ComputeBeta::VpnTunnelCipherSuite

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpnTunnelCipherSuite

Returns a new instance of VpnTunnelCipherSuite.



72042
72043
72044
# File 'lib/google/apis/compute_beta/classes.rb', line 72042

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

Instance Attribute Details

#phase1Google::Apis::ComputeBeta::VpnTunnelPhase1Algorithms

Corresponds to the JSON property phase1



72035
72036
72037
# File 'lib/google/apis/compute_beta/classes.rb', line 72035

def phase1
  @phase1
end

#phase2Google::Apis::ComputeBeta::VpnTunnelPhase2Algorithms

Corresponds to the JSON property phase2



72040
72041
72042
# File 'lib/google/apis/compute_beta/classes.rb', line 72040

def phase2
  @phase2
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



72047
72048
72049
72050
# File 'lib/google/apis/compute_beta/classes.rb', line 72047

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