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.
61974 61975 61976 |
# File 'lib/google/apis/compute_v1/classes.rb', line 61974 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dh ⇒ Array<String>
Corresponds to the JSON property dh
61957 61958 61959 |
# File 'lib/google/apis/compute_v1/classes.rb', line 61957 def dh @dh end |
#encryption ⇒ Array<String>
Corresponds to the JSON property encryption
61962 61963 61964 |
# File 'lib/google/apis/compute_v1/classes.rb', line 61962 def encryption @encryption end |
#integrity ⇒ Array<String>
Corresponds to the JSON property integrity
61967 61968 61969 |
# File 'lib/google/apis/compute_v1/classes.rb', line 61967 def integrity @integrity end |
#prf ⇒ Array<String>
Corresponds to the JSON property prf
61972 61973 61974 |
# File 'lib/google/apis/compute_v1/classes.rb', line 61972 def prf @prf end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
61979 61980 61981 61982 61983 61984 |
# File 'lib/google/apis/compute_v1/classes.rb', line 61979 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 |