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.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name
field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}
↳ new_instance_id
string
Required. The new id
of the instance.
getName
Required. The name
field is used to identify the instance.
Format: projects/{project}/locations/{location}/instances/{instance}
string
setName
Required. The name
field is used to identify the instance.
Format: projects/{project}/locations/{location}/instances/{instance}
var
string
$this
getNewInstanceId
Required. The new id
of the instance.
string
setNewInstanceId
Required. The new id
of the instance.
var
string
$this
static::build
name
string
Required. The name
field is used to identify the instance.
Format: projects/{project}/locations/{location}/instances/{instance}
Please see BareMetalSolutionClient::instanceName()
for help formatting this field.
newInstanceId
string
Required. The new id
of the instance.