Class: Google::Apis::ComputeV1::InterconnectMacsec
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::InterconnectMacsec
- 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
Overview
Configuration information for enabling Media Access Control security (MACsec) on this Cloud Interconnect connection between Google and your on-premises router.
Instance Attribute Summary collapse
-
#fail_open ⇒ Boolean
(also: #fail_open?)
If set to true, the Interconnect connection is configured with a should-secure MACsec security policy, that allows the Google router to fallback to cleartext traffic if the MKA session cannot be established.
-
#pre_shared_keys ⇒ Array<Google::Apis::ComputeV1::InterconnectMacsecPreSharedKey>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InterconnectMacsec
constructor
A new instance of InterconnectMacsec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InterconnectMacsec
Returns a new instance of InterconnectMacsec.
20900 20901 20902 |
# File 'lib/google/apis/compute_v1/classes.rb', line 20900 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fail_open ⇒ Boolean Also known as: fail_open?
If set to true, the Interconnect connection is configured with a should-secure
MACsec security policy, that allows the Google router to fallback to cleartext
traffic if the MKA session cannot be established. By default, the Interconnect
connection is configured with a must-secure security policy that drops all
traffic if the MKA session cannot be established with your router.
Corresponds to the JSON property failOpen
20889 20890 20891 |
# File 'lib/google/apis/compute_v1/classes.rb', line 20889 def fail_open @fail_open end |
#pre_shared_keys ⇒ Array<Google::Apis::ComputeV1::InterconnectMacsecPreSharedKey>
Required. A keychain placeholder describing a set of named key objects along
with their start times. A MACsec CKN/CAK is generated for each key in the key
chain. Google router automatically picks the key with the most recent
startTime when establishing or re-establishing a MACsec secure link.
Corresponds to the JSON property preSharedKeys
20898 20899 20900 |
# File 'lib/google/apis/compute_v1/classes.rb', line 20898 def pre_shared_keys @pre_shared_keys end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20905 20906 20907 20908 |
# File 'lib/google/apis/compute_v1/classes.rb', line 20905 def update!(**args) @fail_open = args[:fail_open] if args.key?(:fail_open) @pre_shared_keys = args[:pre_shared_keys] if args.key?(:pre_shared_keys) end |