Compute V1 Client - Class InterconnectDiagnosticsMacsecStatus (1.13.0)

Reference documentation and code samples for the Compute V1 Client class InterconnectDiagnosticsMacsecStatus.

Describes the status of MACsec encryption on the link.

Generated from protobuf message google.cloud.compute.v1.InterconnectDiagnosticsMacsecStatus

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ ckn string

Indicates the Connectivity Association Key Name (CKN) currently being used if MACsec is operational.

↳ operational bool

Indicates whether or not MACsec is operational on this link.

getCkn

Indicates the Connectivity Association Key Name (CKN) currently being used if MACsec is operational.

Returns
TypeDescription
string

hasCkn

clearCkn

setCkn

Indicates the Connectivity Association Key Name (CKN) currently being used if MACsec is operational.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOperational

Indicates whether or not MACsec is operational on this link.

Returns
TypeDescription
bool

hasOperational

clearOperational

setOperational

Indicates whether or not MACsec is operational on this link.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this