Compute V1 Client - Class InterconnectMacsecConfigPreSharedKey (1.13.0)

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

Describes a pre-shared key used to setup MACsec in static connectivity association key (CAK) mode.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ cak string

An auto-generated Connectivity Association Key (CAK) for this key.

↳ ckn string

An auto-generated Connectivity Association Key Name (CKN) for this key.

↳ name string

User provided name for this pre-shared key.

↳ start_time string

User provided timestamp on or after which this key is valid.

getCak

An auto-generated Connectivity Association Key (CAK) for this key.

Returns
TypeDescription
string

hasCak

clearCak

setCak

An auto-generated Connectivity Association Key (CAK) for this key.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCkn

An auto-generated Connectivity Association Key Name (CKN) for this key.

Returns
TypeDescription
string

hasCkn

clearCkn

setCkn

An auto-generated Connectivity Association Key Name (CKN) for this key.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getName

User provided name for this pre-shared key.

Returns
TypeDescription
string

hasName

clearName

setName

User provided name for this pre-shared key.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStartTime

User provided timestamp on or after which this key is valid.

Returns
TypeDescription
string

hasStartTime

clearStartTime

setStartTime

User provided timestamp on or after which this key is valid.

Parameter
NameDescription
var string
Returns
TypeDescription
$this