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.



72266
72267
72268
# File 'lib/google/apis/compute_beta/classes.rb', line 72266

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

Instance Attribute Details

#encryptionArray<String>

Corresponds to the JSON property encryption

Returns:

  • (Array<String>)


72254
72255
72256
# File 'lib/google/apis/compute_beta/classes.rb', line 72254

def encryption
  @encryption
end

#integrityArray<String>

Corresponds to the JSON property integrity

Returns:

  • (Array<String>)


72259
72260
72261
# File 'lib/google/apis/compute_beta/classes.rb', line 72259

def integrity
  @integrity
end

#pfsArray<String>

Corresponds to the JSON property pfs

Returns:

  • (Array<String>)


72264
72265
72266
# File 'lib/google/apis/compute_beta/classes.rb', line 72264

def pfs
  @pfs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



72271
72272
72273
72274
72275
# File 'lib/google/apis/compute_beta/classes.rb', line 72271

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