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.



75259
75260
75261
# File 'lib/google/apis/compute_beta/classes.rb', line 75259

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

Instance Attribute Details

#dhArray<String>

Corresponds to the JSON property dh

Returns:

  • (Array<String>)


75242
75243
75244
# File 'lib/google/apis/compute_beta/classes.rb', line 75242

def dh
  @dh
end

#encryptionArray<String>

Corresponds to the JSON property encryption

Returns:

  • (Array<String>)


75247
75248
75249
# File 'lib/google/apis/compute_beta/classes.rb', line 75247

def encryption
  @encryption
end

#integrityArray<String>

Corresponds to the JSON property integrity

Returns:

  • (Array<String>)


75252
75253
75254
# File 'lib/google/apis/compute_beta/classes.rb', line 75252

def integrity
  @integrity
end

#prfArray<String>

Corresponds to the JSON property prf

Returns:

  • (Array<String>)


75257
75258
75259
# File 'lib/google/apis/compute_beta/classes.rb', line 75257

def prf
  @prf
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



75264
75265
75266
75267
75268
75269
# File 'lib/google/apis/compute_beta/classes.rb', line 75264

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