Compute V1 Client - Class InterconnectMacsecConfig (1.20.0)

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

MACsec configuration information for the Interconnect connection. Contains the generated Connectivity Association Key Name (CKN) and the key (CAK) for this Interconnect connection.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ pre_shared_keys array<Google\Cloud\Compute\V1\InterconnectMacsecConfigPreSharedKey>

A keychain placeholder describing a set of named key objects along with their start times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically picks the key with the most recent startTime when establishing or re-establishing a MACsec secure link.

getPreSharedKeys

A keychain placeholder describing a set of named key objects along with their start times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically picks the key with the most recent startTime when establishing or re-establishing a MACsec secure link.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPreSharedKeys

A keychain placeholder describing a set of named key objects along with their start times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically picks the key with the most recent startTime when establishing or re-establishing a MACsec secure link.

Parameter
Name Description
var array<Google\Cloud\Compute\V1\InterconnectMacsecConfigPreSharedKey>
Returns
Type Description
$this