Class: Google::Apis::ComputeV1::VpnTunnelPhase2Algorithms
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::VpnTunnelPhase2Algorithms
- 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
-
#encryption ⇒ Array<String>
Corresponds to the JSON property
encryption. -
#integrity ⇒ Array<String>
Corresponds to the JSON property
integrity. -
#pfs ⇒ Array<String>
Corresponds to the JSON property
pfs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VpnTunnelPhase2Algorithms
constructor
A new instance of VpnTunnelPhase2Algorithms.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VpnTunnelPhase2Algorithms
Returns a new instance of VpnTunnelPhase2Algorithms.
69452 69453 69454 |
# File 'lib/google/apis/compute_v1/classes.rb', line 69452 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encryption ⇒ Array<String>
Corresponds to the JSON property encryption
69440 69441 69442 |
# File 'lib/google/apis/compute_v1/classes.rb', line 69440 def encryption @encryption end |
#integrity ⇒ Array<String>
Corresponds to the JSON property integrity
69445 69446 69447 |
# File 'lib/google/apis/compute_v1/classes.rb', line 69445 def integrity @integrity end |
#pfs ⇒ Array<String>
Corresponds to the JSON property pfs
69450 69451 69452 |
# File 'lib/google/apis/compute_v1/classes.rb', line 69450 def pfs @pfs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
69457 69458 69459 69460 69461 |
# File 'lib/google/apis/compute_v1/classes.rb', line 69457 def update!(**args) @encryption = args[:encryption] if args.key?(:encryption) @integrity = args[:integrity] if args.key?(:integrity) @pfs = args[:pfs] if args.key?(:pfs) end |