Compute V1 Client - Class InterconnectMacsecConfig (1.14.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
NameDescription
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
TypeDescription
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
NameDescription
var array<Google\Cloud\Compute\V1\InterconnectMacsecConfigPreSharedKey>
Returns
TypeDescription
$this