Compute V1 Client - Class RouterMd5AuthenticationKey (1.8.3)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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 at least 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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getName

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

Returns
TypeDescription
string

hasName

clearName

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this