Class: Google::Apis::ComputeBeta::VpnTunnelPhase1Algorithms

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) ⇒ VpnTunnelPhase1Algorithms

Returns a new instance of VpnTunnelPhase1Algorithms.



74355
74356
74357
# File 'lib/google/apis/compute_beta/classes.rb', line 74355

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

Instance Attribute Details

#dhArray<String>

Corresponds to the JSON property dh

Returns:

  • (Array<String>)


74338
74339
74340
# File 'lib/google/apis/compute_beta/classes.rb', line 74338

def dh
  @dh
end

#encryptionArray<String>

Corresponds to the JSON property encryption

Returns:

  • (Array<String>)


74343
74344
74345
# File 'lib/google/apis/compute_beta/classes.rb', line 74343

def encryption
  @encryption
end

#integrityArray<String>

Corresponds to the JSON property integrity

Returns:

  • (Array<String>)


74348
74349
74350
# File 'lib/google/apis/compute_beta/classes.rb', line 74348

def integrity
  @integrity
end

#prfArray<String>

Corresponds to the JSON property prf

Returns:

  • (Array<String>)


74353
74354
74355
# File 'lib/google/apis/compute_beta/classes.rb', line 74353

def prf
  @prf
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



74360
74361
74362
74363
74364
74365
# File 'lib/google/apis/compute_beta/classes.rb', line 74360

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