Class: Google::Apis::ComputeBeta::VpnTunnelPhase2Algorithms

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpnTunnelPhase2Algorithms

Returns a new instance of VpnTunnelPhase2Algorithms.



75801
75802
75803
# File 'lib/google/apis/compute_beta/classes.rb', line 75801

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

Instance Attribute Details

#encryptionArray<String>

Corresponds to the JSON property encryption

Returns:

  • (Array<String>)


75789
75790
75791
# File 'lib/google/apis/compute_beta/classes.rb', line 75789

def encryption
  @encryption
end

#integrityArray<String>

Corresponds to the JSON property integrity

Returns:

  • (Array<String>)


75794
75795
75796
# File 'lib/google/apis/compute_beta/classes.rb', line 75794

def integrity
  @integrity
end

#pfsArray<String>

Corresponds to the JSON property pfs

Returns:

  • (Array<String>)


75799
75800
75801
# File 'lib/google/apis/compute_beta/classes.rb', line 75799

def pfs
  @pfs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



75806
75807
75808
75809
75810
# File 'lib/google/apis/compute_beta/classes.rb', line 75806

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