Class: Google::Apis::ComputeAlpha::VpnTunnelPhase1Algorithms

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpnTunnelPhase1Algorithms

Returns a new instance of VpnTunnelPhase1Algorithms.



82685
82686
82687
# File 'lib/google/apis/compute_alpha/classes.rb', line 82685

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dhArray<String>

Corresponds to the JSON property dh

Returns:

  • (Array<String>)


82668
82669
82670
# File 'lib/google/apis/compute_alpha/classes.rb', line 82668

def dh
  @dh
end

#encryptionArray<String>

Corresponds to the JSON property encryption

Returns:

  • (Array<String>)


82673
82674
82675
# File 'lib/google/apis/compute_alpha/classes.rb', line 82673

def encryption
  @encryption
end

#integrityArray<String>

Corresponds to the JSON property integrity

Returns:

  • (Array<String>)


82678
82679
82680
# File 'lib/google/apis/compute_alpha/classes.rb', line 82678

def integrity
  @integrity
end

#prfArray<String>

Corresponds to the JSON property prf

Returns:

  • (Array<String>)


82683
82684
82685
# File 'lib/google/apis/compute_alpha/classes.rb', line 82683

def prf
  @prf
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



82690
82691
82692
82693
82694
82695
# File 'lib/google/apis/compute_alpha/classes.rb', line 82690

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