Compute V1 Client - Class InterconnectDiagnosticsMacsecStatus (1.27.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
dataarray

Optional. Data for populating the Message object.

↳ cknstring

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

↳ operationalbool

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
varstring
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
varbool
Returns
TypeDescription
$this