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