Compute V1 Client - Class InterconnectMacsec (1.20.0)

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

Configuration information for enabling Media Access Control security (MACsec) on this Cloud Interconnect connection between Google and your on-premises router.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ fail_open bool

If set to true, the Interconnect connection is configured with a should-secure MACsec security policy, that allows the Google router to fallback to cleartext traffic if the MKA session cannot be established. By default, the Interconnect connection is configured with a must-secure security policy that drops all traffic if the MKA session cannot be established with your router.

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

Required. 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.

getFailOpen

If set to true, the Interconnect connection is configured with a should-secure MACsec security policy, that allows the Google router to fallback to cleartext traffic if the MKA session cannot be established. By default, the Interconnect connection is configured with a must-secure security policy that drops all traffic if the MKA session cannot be established with your router.

Returns
Type Description
bool

hasFailOpen

clearFailOpen

setFailOpen

If set to true, the Interconnect connection is configured with a should-secure MACsec security policy, that allows the Google router to fallback to cleartext traffic if the MKA session cannot be established. By default, the Interconnect connection is configured with a must-secure security policy that drops all traffic if the MKA session cannot be established with your router.

Parameter
Name Description
var bool
Returns
Type Description
$this

getPreSharedKeys

Required. 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

Required. 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\InterconnectMacsecPreSharedKey>
Returns
Type Description
$this