Class: Google::Apis::ComputeV1::VpnTunnelCipherSuite
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::VpnTunnelCipherSuite
- 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
-
#phase1 ⇒ Google::Apis::ComputeV1::VpnTunnelPhase1Algorithms
Corresponds to the JSON property
phase1. -
#phase2 ⇒ Google::Apis::ComputeV1::VpnTunnelPhase2Algorithms
Corresponds to the JSON property
phase2.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VpnTunnelCipherSuite
constructor
A new instance of VpnTunnelCipherSuite.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VpnTunnelCipherSuite
Returns a new instance of VpnTunnelCipherSuite.
68823 68824 68825 |
# File 'lib/google/apis/compute_v1/classes.rb', line 68823 def initialize(**args) update!(**args) end |
Instance Attribute Details
#phase1 ⇒ Google::Apis::ComputeV1::VpnTunnelPhase1Algorithms
Corresponds to the JSON property phase1
68816 68817 68818 |
# File 'lib/google/apis/compute_v1/classes.rb', line 68816 def phase1 @phase1 end |
#phase2 ⇒ Google::Apis::ComputeV1::VpnTunnelPhase2Algorithms
Corresponds to the JSON property phase2
68821 68822 68823 |
# File 'lib/google/apis/compute_v1/classes.rb', line 68821 def phase2 @phase2 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
68828 68829 68830 68831 |
# File 'lib/google/apis/compute_v1/classes.rb', line 68828 def update!(**args) @phase1 = args[:phase1] if args.key?(:phase1) @phase2 = args[:phase2] if args.key?(:phase2) end |