Class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsMacsecStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InterconnectDiagnosticsMacsecStatus
- 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
Overview
Describes the status of MACsec encryption on the link.
Instance Attribute Summary collapse
-
#ckn ⇒ String
Indicates the Connectivity Association Key Name (CKN) currently being used if MACsec is operational.
-
#state ⇒ String
The current state of MACsec configuration on this Interconnect, which can take one of the following values: - INITIALIZED: MACsec has been configured on the bundle interface.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InterconnectDiagnosticsMacsecStatus
constructor
A new instance of InterconnectDiagnosticsMacsecStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InterconnectDiagnosticsMacsecStatus
Returns a new instance of InterconnectDiagnosticsMacsecStatus.
19555 19556 19557 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19555 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ckn ⇒ String
Indicates the Connectivity Association Key Name (CKN) currently being used if
MACsec is operational.
Corresponds to the JSON property ckn
19540 19541 19542 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19540 def ckn @ckn end |
#state ⇒ String
The current state of MACsec configuration on this Interconnect, which can take
one of the following values: - INITIALIZED: MACsec has been configured on the
bundle interface. The Google edge router is waiting to establish a MACsec
session with the customer router on the other side of this Interconnect. In
addition, when key rollover fails between the two routers, the bundle
interface will return to the initialized state. - SECURED: MACsec session has
been successfully established between the Google edge router and the customer
router. - FAILED: MACsec configuration on the bundle interface encountered an
error. - DISABLED: MACsec is explicitly disabled on this Interconnect.
Corresponds to the JSON property state
19553 19554 19555 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19553 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19560 19561 19562 19563 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19560 def update!(**args) @ckn = args[:ckn] if args.key?(:ckn) @state = args[:state] if args.key?(:state) end |