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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
string |
|
hasCak
clearCak
setCak
An auto-generated Connectivity Association Key (CAK) for this key.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCkn
An auto-generated Connectivity Association Key Name (CKN) for this key.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasCkn
clearCkn
setCkn
An auto-generated Connectivity Association Key Name (CKN) for this key.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
User provided name for this pre-shared key.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasName
clearName
setName
User provided name for this pre-shared key.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStartTime
User provided timestamp on or after which this key is valid.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasStartTime
clearStartTime
setStartTime
User provided timestamp on or after which this key is valid.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|