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.



83623
83624
83625
# File 'lib/google/apis/compute_alpha/classes.rb', line 83623

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

Instance Attribute Details

#dhArray<String>

Corresponds to the JSON property dh

Returns:

  • (Array<String>)


83606
83607
83608
# File 'lib/google/apis/compute_alpha/classes.rb', line 83606

def dh
  @dh
end

#encryptionArray<String>

Corresponds to the JSON property encryption

Returns:

  • (Array<String>)


83611
83612
83613
# File 'lib/google/apis/compute_alpha/classes.rb', line 83611

def encryption
  @encryption
end

#integrityArray<String>

Corresponds to the JSON property integrity

Returns:

  • (Array<String>)


83616
83617
83618
# File 'lib/google/apis/compute_alpha/classes.rb', line 83616

def integrity
  @integrity
end

#prfArray<String>

Corresponds to the JSON property prf

Returns:

  • (Array<String>)


83621
83622
83623
# File 'lib/google/apis/compute_alpha/classes.rb', line 83621

def prf
  @prf
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



83628
83629
83630
83631
83632
83633
# File 'lib/google/apis/compute_alpha/classes.rb', line 83628

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