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.



69001
69002
69003
# File 'lib/google/apis/compute_v1/classes.rb', line 69001

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

Instance Attribute Details

#dhArray<String>

Corresponds to the JSON property dh

Returns:

  • (Array<String>)


68984
68985
68986
# File 'lib/google/apis/compute_v1/classes.rb', line 68984

def dh
  @dh
end

#encryptionArray<String>

Corresponds to the JSON property encryption

Returns:

  • (Array<String>)


68989
68990
68991
# File 'lib/google/apis/compute_v1/classes.rb', line 68989

def encryption
  @encryption
end

#integrityArray<String>

Corresponds to the JSON property integrity

Returns:

  • (Array<String>)


68994
68995
68996
# File 'lib/google/apis/compute_v1/classes.rb', line 68994

def integrity
  @integrity
end

#prfArray<String>

Corresponds to the JSON property prf

Returns:

  • (Array<String>)


68999
69000
69001
# File 'lib/google/apis/compute_v1/classes.rb', line 68999

def prf
  @prf
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



69006
69007
69008
69009
69010
69011
# File 'lib/google/apis/compute_v1/classes.rb', line 69006

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