Class: Google::Apis::ComputeAlpha::VpnTunnelPhase1Algorithms
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::VpnTunnelPhase1Algorithms
- 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
-
#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.
82953 82954 82955 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 82953 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dh ⇒ Array<String>
Corresponds to the JSON property dh
82936 82937 82938 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 82936 def dh @dh end |
#encryption ⇒ Array<String>
Corresponds to the JSON property encryption
82941 82942 82943 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 82941 def encryption @encryption end |
#integrity ⇒ Array<String>
Corresponds to the JSON property integrity
82946 82947 82948 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 82946 def integrity @integrity end |
#prf ⇒ Array<String>
Corresponds to the JSON property prf
82951 82952 82953 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 82951 def prf @prf end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
82958 82959 82960 82961 82962 82963 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 82958 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 |