Class: Google::Apis::ComputeAlpha::VpnTunnelPqc

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

Returns a new instance of VpnTunnelPqc.



85748
85749
85750
# File 'lib/google/apis/compute_alpha/classes.rb', line 85748

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

Instance Attribute Details

#keysGoogle::Apis::ComputeAlpha::VpnTunnelAdditionalKeyExchanges

User specified list of PQC key exchanges. Corresponds to the JSON property keys



85741
85742
85743
# File 'lib/google/apis/compute_alpha/classes.rb', line 85741

def keys
  @keys
end

#modeString

Corresponds to the JSON property mode

Returns:

  • (String)


85746
85747
85748
# File 'lib/google/apis/compute_alpha/classes.rb', line 85746

def mode
  @mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



85753
85754
85755
85756
# File 'lib/google/apis/compute_alpha/classes.rb', line 85753

def update!(**args)
  @keys = args[:keys] if args.key?(:keys)
  @mode = args[:mode] if args.key?(:mode)
end