Class: Google::Apis::ComputeAlpha::InterconnectDiagnosticsMacsecStatus

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterconnectDiagnosticsMacsecStatus

Returns a new instance of InterconnectDiagnosticsMacsecStatus.



21837
21838
21839
# File 'lib/google/apis/compute_alpha/classes.rb', line 21837

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)


21829
21830
21831
# File 'lib/google/apis/compute_alpha/classes.rb', line 21829

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)


21834
21835
21836
# File 'lib/google/apis/compute_alpha/classes.rb', line 21834

def operational
  @operational
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21842
21843
21844
21845
# File 'lib/google/apis/compute_alpha/classes.rb', line 21842

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