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.
-
#operational ⇒ Boolean
(also: #operational?)
Indicates whether or not MACsec is operational on this link.
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.
21810 21811 21812 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 21810 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
21802 21803 21804 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 21802 def ckn @ckn end |
#operational ⇒ Boolean Also known as: operational?
Indicates whether or not MACsec is operational on this link.
Corresponds to the JSON property operational
21807 21808 21809 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 21807 def operational @operational end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21815 21816 21817 21818 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 21815 def update!(**args) @ckn = args[:ckn] if args.key?(:ckn) @operational = args[:operational] if args.key?(:operational) end |