Reference documentation and code samples for the Compute V1 Client class InterconnectsSetNameRequest.
Request to rename an interconnect.
Generated from protobuf message google.cloud.compute.v1.InterconnectsSetNameRequest
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ current_name |
string
The current name of the interconnect. The name must be 1-63 characters long, and comply with RFC1035. |
↳ name |
string
The new name of the interconnect. The name must be 1-63 characters long, and comply with RFC1035. |
getCurrentName
The current name of the interconnect.
The name must be 1-63 characters long, and comply with RFC1035.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasCurrentName
clearCurrentName
setCurrentName
The current name of the interconnect.
The name must be 1-63 characters long, and comply with RFC1035.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
The new name of the interconnect.
The name must be 1-63 characters long, and comply with RFC1035.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasName
clearName
setName
The new name of the interconnect.
The name must be 1-63 characters long, and comply with RFC1035.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|