Class: Google::Apis::ComputeBeta::VpnTunnelPhase1Algorithms
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::VpnTunnelPhase1Algorithms
- 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
-
#dh ⇒ Array<String>
Corresponds to the JSON property
dh. -
#encryption ⇒ Array<String>
Corresponds to the JSON property
encryption. -
#integrity ⇒ Array<String>
Corresponds to the JSON property
integrity. -
#prf ⇒ Array<String>
Corresponds to the JSON property
prf.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VpnTunnelPhase1Algorithms
constructor
A new instance of VpnTunnelPhase1Algorithms.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VpnTunnelPhase1Algorithms
Returns a new instance of VpnTunnelPhase1Algorithms.
72234 72235 72236 |
# File 'lib/google/apis/compute_beta/classes.rb', line 72234 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dh ⇒ Array<String>
Corresponds to the JSON property dh
72217 72218 72219 |
# File 'lib/google/apis/compute_beta/classes.rb', line 72217 def dh @dh end |
#encryption ⇒ Array<String>
Corresponds to the JSON property encryption
72222 72223 72224 |
# File 'lib/google/apis/compute_beta/classes.rb', line 72222 def encryption @encryption end |
#integrity ⇒ Array<String>
Corresponds to the JSON property integrity
72227 72228 72229 |
# File 'lib/google/apis/compute_beta/classes.rb', line 72227 def integrity @integrity end |
#prf ⇒ Array<String>
Corresponds to the JSON property prf
72232 72233 72234 |
# File 'lib/google/apis/compute_beta/classes.rb', line 72232 def prf @prf end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
72239 72240 72241 72242 72243 72244 |
# File 'lib/google/apis/compute_beta/classes.rb', line 72239 def update!(**args) @dh = args[:dh] if args.key?(:dh) @encryption = args[:encryption] if args.key?(:encryption) @integrity = args[:integrity] if args.key?(:integrity) @prf = args[:prf] if args.key?(:prf) end |