Class: Google::Apis::ComputeV1::InterconnectDiagnosticsMacsecStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::InterconnectDiagnosticsMacsecStatus
- 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
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.
20454 20455 20456 |
# File 'lib/google/apis/compute_v1/classes.rb', line 20454 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
20446 20447 20448 |
# File 'lib/google/apis/compute_v1/classes.rb', line 20446 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
20451 20452 20453 |
# File 'lib/google/apis/compute_v1/classes.rb', line 20451 def operational @operational end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20459 20460 20461 20462 |
# File 'lib/google/apis/compute_v1/classes.rb', line 20459 def update!(**args) @ckn = args[:ckn] if args.key?(:ckn) @operational = args[:operational] if args.key?(:operational) end |