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