Class: Google::Apis::ComputeAlpha::VpnTunnelPhase1Algorithms

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpnTunnelPhase1Algorithms

Returns a new instance of VpnTunnelPhase1Algorithms.



85344
85345
85346
# File 'lib/google/apis/compute_alpha/classes.rb', line 85344

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

Instance Attribute Details

#dhArray<String>

Corresponds to the JSON property dh

Returns:

  • (Array<String>)


85327
85328
85329
# File 'lib/google/apis/compute_alpha/classes.rb', line 85327

def dh
  @dh
end

#encryptionArray<String>

Corresponds to the JSON property encryption

Returns:

  • (Array<String>)


85332
85333
85334
# File 'lib/google/apis/compute_alpha/classes.rb', line 85332

def encryption
  @encryption
end

#integrityArray<String>

Corresponds to the JSON property integrity

Returns:

  • (Array<String>)


85337
85338
85339
# File 'lib/google/apis/compute_alpha/classes.rb', line 85337

def integrity
  @integrity
end

#prfArray<String>

Corresponds to the JSON property prf

Returns:

  • (Array<String>)


85342
85343
85344
# File 'lib/google/apis/compute_alpha/classes.rb', line 85342

def prf
  @prf
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



85349
85350
85351
85352
85353
85354
# File 'lib/google/apis/compute_alpha/classes.rb', line 85349

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