Class: Google::Apis::ComputeV1::VpnTunnelPhase2Algorithms

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpnTunnelPhase2Algorithms

Returns a new instance of VpnTunnelPhase2Algorithms.



62006
62007
62008
# File 'lib/google/apis/compute_v1/classes.rb', line 62006

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

Instance Attribute Details

#encryptionArray<String>

Corresponds to the JSON property encryption

Returns:

  • (Array<String>)


61994
61995
61996
# File 'lib/google/apis/compute_v1/classes.rb', line 61994

def encryption
  @encryption
end

#integrityArray<String>

Corresponds to the JSON property integrity

Returns:

  • (Array<String>)


61999
62000
62001
# File 'lib/google/apis/compute_v1/classes.rb', line 61999

def integrity
  @integrity
end

#pfsArray<String>

Corresponds to the JSON property pfs

Returns:

  • (Array<String>)


62004
62005
62006
# File 'lib/google/apis/compute_v1/classes.rb', line 62004

def pfs
  @pfs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



62011
62012
62013
62014
62015
# File 'lib/google/apis/compute_v1/classes.rb', line 62011

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