Compute V1 Client - Class InterconnectDiagnosticsMacsecStatus (1.21.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
Name Description
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
Type Description
string

hasCkn

clearCkn

setCkn

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

Parameter
Name Description
var string
Returns
Type Description
$this

getOperational

Indicates whether or not MACsec is operational on this link.

Returns
Type Description
bool

hasOperational

clearOperational

setOperational

Indicates whether or not MACsec is operational on this link.

Parameter
Name Description
var bool
Returns
Type Description
$this