Class: Google::Apis::ComputeV1::VpnTunnelPhase1Algorithms

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

Returns a new instance of VpnTunnelPhase1Algorithms.



69379
69380
69381
# File 'lib/google/apis/compute_v1/classes.rb', line 69379

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

Instance Attribute Details

#dhArray<String>

Corresponds to the JSON property dh

Returns:

  • (Array<String>)


69362
69363
69364
# File 'lib/google/apis/compute_v1/classes.rb', line 69362

def dh
  @dh
end

#encryptionArray<String>

Corresponds to the JSON property encryption

Returns:

  • (Array<String>)


69367
69368
69369
# File 'lib/google/apis/compute_v1/classes.rb', line 69367

def encryption
  @encryption
end

#integrityArray<String>

Corresponds to the JSON property integrity

Returns:

  • (Array<String>)


69372
69373
69374
# File 'lib/google/apis/compute_v1/classes.rb', line 69372

def integrity
  @integrity
end

#prfArray<String>

Corresponds to the JSON property prf

Returns:

  • (Array<String>)


69377
69378
69379
# File 'lib/google/apis/compute_v1/classes.rb', line 69377

def prf
  @prf
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



69384
69385
69386
69387
69388
69389
# File 'lib/google/apis/compute_v1/classes.rb', line 69384

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