Class: Google::Apis::ComputeAlpha::VpnTunnelPhase2Algorithms
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::VpnTunnelPhase2Algorithms
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/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.
72107 72108 72109 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 72107 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encryption ⇒ Array<String>
Corresponds to the JSON property encryption
72095 72096 72097 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 72095 def encryption @encryption end |
#integrity ⇒ Array<String>
Corresponds to the JSON property integrity
72100 72101 72102 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 72100 def integrity @integrity end |
#pfs ⇒ Array<String>
Corresponds to the JSON property pfs
72105 72106 72107 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 72105 def pfs @pfs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
72112 72113 72114 72115 72116 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 72112 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 |