Compute V1 Client - Class RouterMd5AuthenticationKey (1.16.2)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ key string

[Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters.

↳ name string

Name used to identify the key. Must be unique within a router. Must be referenced by exactly one bgpPeer. Must comply with RFC1035.

getKey

[Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters.

Returns
Type Description
string

hasKey

clearKey

setKey

[Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters.

Parameter
Name Description
var string
Returns
Type Description
$this

getName

Name used to identify the key. Must be unique within a router. Must be referenced by exactly one bgpPeer. Must comply with RFC1035.

Returns
Type Description
string

hasName

clearName

setName

Name used to identify the key. Must be unique within a router. Must be referenced by exactly one bgpPeer. Must comply with RFC1035.

Parameter
Name Description
var string
Returns
Type Description
$this