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.



61974
61975
61976
# File 'lib/google/apis/compute_v1/classes.rb', line 61974

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

Instance Attribute Details

#dhArray<String>

Corresponds to the JSON property dh

Returns:

  • (Array<String>)


61957
61958
61959
# File 'lib/google/apis/compute_v1/classes.rb', line 61957

def dh
  @dh
end

#encryptionArray<String>

Corresponds to the JSON property encryption

Returns:

  • (Array<String>)


61962
61963
61964
# File 'lib/google/apis/compute_v1/classes.rb', line 61962

def encryption
  @encryption
end

#integrityArray<String>

Corresponds to the JSON property integrity

Returns:

  • (Array<String>)


61967
61968
61969
# File 'lib/google/apis/compute_v1/classes.rb', line 61967

def integrity
  @integrity
end

#prfArray<String>

Corresponds to the JSON property prf

Returns:

  • (Array<String>)


61972
61973
61974
# File 'lib/google/apis/compute_v1/classes.rb', line 61972

def prf
  @prf
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



61979
61980
61981
61982
61983
61984
# File 'lib/google/apis/compute_v1/classes.rb', line 61979

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