Class: Google::Apis::ComputeAlpha::VpnTunnelPhase2Algorithms

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) ⇒ VpnTunnelPhase2Algorithms

Returns a new instance of VpnTunnelPhase2Algorithms.



83598
83599
83600
# File 'lib/google/apis/compute_alpha/classes.rb', line 83598

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

Instance Attribute Details

#encryptionArray<String>

Corresponds to the JSON property encryption

Returns:

  • (Array<String>)


83586
83587
83588
# File 'lib/google/apis/compute_alpha/classes.rb', line 83586

def encryption
  @encryption
end

#integrityArray<String>

Corresponds to the JSON property integrity

Returns:

  • (Array<String>)


83591
83592
83593
# File 'lib/google/apis/compute_alpha/classes.rb', line 83591

def integrity
  @integrity
end

#pfsArray<String>

Corresponds to the JSON property pfs

Returns:

  • (Array<String>)


83596
83597
83598
# File 'lib/google/apis/compute_alpha/classes.rb', line 83596

def pfs
  @pfs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



83603
83604
83605
83606
83607
# File 'lib/google/apis/compute_alpha/classes.rb', line 83603

def update!(**args)
  @encryption = args[:encryption] if args.key?(:encryption)
  @integrity = args[:integrity] if args.key?(:integrity)
  @pfs = args[:pfs] if args.key?(:pfs)
end