Class: Google::Apis::ComputeBeta::InterconnectDiagnosticsMacsecStatus

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Overview

Describes the status of MACsec encryption on the link.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterconnectDiagnosticsMacsecStatus

Returns a new instance of InterconnectDiagnosticsMacsecStatus.



33015
33016
33017
# File 'lib/google/apis/compute_beta/classes.rb', line 33015

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

Instance Attribute Details

#cknString

Indicates the Connectivity Association Key Name (CKN) currently being used if MACsec is operational. Corresponds to the JSON property ckn

Returns:

  • (String)


33007
33008
33009
# File 'lib/google/apis/compute_beta/classes.rb', line 33007

def ckn
  @ckn
end

#operationalBoolean Also known as: operational?

Indicates whether or not MACsec is operational on this link. Corresponds to the JSON property operational

Returns:

  • (Boolean)


33012
33013
33014
# File 'lib/google/apis/compute_beta/classes.rb', line 33012

def operational
  @operational
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33020
33021
33022
33023
# File 'lib/google/apis/compute_beta/classes.rb', line 33020

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