Class: Google::Apis::ComputeV1::InterconnectDiagnosticsMacsecStatus

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterconnectDiagnosticsMacsecStatus

Returns a new instance of InterconnectDiagnosticsMacsecStatus.



20150
20151
20152
# File 'lib/google/apis/compute_v1/classes.rb', line 20150

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)


20142
20143
20144
# File 'lib/google/apis/compute_v1/classes.rb', line 20142

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)


20147
20148
20149
# File 'lib/google/apis/compute_v1/classes.rb', line 20147

def operational
  @operational
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20155
20156
20157
20158
# File 'lib/google/apis/compute_v1/classes.rb', line 20155

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