Class: Google::Apis::ComputeV1::VpnTunnelPhase1Algorithms
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::VpnTunnelPhase1Algorithms
- 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
-
#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.
67257 67258 67259 |
# File 'lib/google/apis/compute_v1/classes.rb', line 67257 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dh ⇒ Array<String>
Corresponds to the JSON property dh
67240 67241 67242 |
# File 'lib/google/apis/compute_v1/classes.rb', line 67240 def dh @dh end |
#encryption ⇒ Array<String>
Corresponds to the JSON property encryption
67245 67246 67247 |
# File 'lib/google/apis/compute_v1/classes.rb', line 67245 def encryption @encryption end |
#integrity ⇒ Array<String>
Corresponds to the JSON property integrity
67250 67251 67252 |
# File 'lib/google/apis/compute_v1/classes.rb', line 67250 def integrity @integrity end |
#prf ⇒ Array<String>
Corresponds to the JSON property prf
67255 67256 67257 |
# File 'lib/google/apis/compute_v1/classes.rb', line 67255 def prf @prf end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
67262 67263 67264 67265 67266 67267 |
# File 'lib/google/apis/compute_v1/classes.rb', line 67262 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 |