Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class RenameNetworkRequest.
Message requesting rename of a server.
Generated from protobuf message google.cloud.baremetalsolution.v2.RenameNetworkRequest
Namespace
Google \ Cloud \ BareMetalSolution \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The |
↳ new_network_id |
string
Required. The new |
getName
Required. The name
field is used to identify the network.
Format: projects/{project}/locations/{location}/networks/{network}
Returns | |
---|---|
Type | Description |
string |
setName
Required. The name
field is used to identify the network.
Format: projects/{project}/locations/{location}/networks/{network}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getNewNetworkId
Required. The new id
of the network.
Returns | |
---|---|
Type | Description |
string |
setNewNetworkId
Required. The new id
of the network.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
name |
string
Required. The |
newNetworkId |
string
Required. The new |
Returns | |
---|---|
Type | Description |
Google\Cloud\BareMetalSolution\V2\RenameNetworkRequest |