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.



74387
74388
74389
# File 'lib/google/apis/compute_beta/classes.rb', line 74387

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

Instance Attribute Details

#encryptionArray<String>

Corresponds to the JSON property encryption

Returns:

  • (Array<String>)


74375
74376
74377
# File 'lib/google/apis/compute_beta/classes.rb', line 74375

def encryption
  @encryption
end

#integrityArray<String>

Corresponds to the JSON property integrity

Returns:

  • (Array<String>)


74380
74381
74382
# File 'lib/google/apis/compute_beta/classes.rb', line 74380

def integrity
  @integrity
end

#pfsArray<String>

Corresponds to the JSON property pfs

Returns:

  • (Array<String>)


74385
74386
74387
# File 'lib/google/apis/compute_beta/classes.rb', line 74385

def pfs
  @pfs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



74392
74393
74394
74395
74396
# File 'lib/google/apis/compute_beta/classes.rb', line 74392

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