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.



67257
67258
67259
# File 'lib/google/apis/compute_v1/classes.rb', line 67257

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

Instance Attribute Details

#dhArray<String>

Corresponds to the JSON property dh

Returns:

  • (Array<String>)


67240
67241
67242
# File 'lib/google/apis/compute_v1/classes.rb', line 67240

def dh
  @dh
end

#encryptionArray<String>

Corresponds to the JSON property encryption

Returns:

  • (Array<String>)


67245
67246
67247
# File 'lib/google/apis/compute_v1/classes.rb', line 67245

def encryption
  @encryption
end

#integrityArray<String>

Corresponds to the JSON property integrity

Returns:

  • (Array<String>)


67250
67251
67252
# File 'lib/google/apis/compute_v1/classes.rb', line 67250

def integrity
  @integrity
end

#prfArray<String>

Corresponds to the JSON property prf

Returns:

  • (Array<String>)


67255
67256
67257
# File 'lib/google/apis/compute_v1/classes.rb', line 67255

def prf
  @prf
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



67262
67263
67264
67265
67266
67267
# File 'lib/google/apis/compute_v1/classes.rb', line 67262

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