# Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::RenameNfsShareRequest (v1.5.0)

1.5.0 (latest) 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.10.0 0.9.0 0.8.1 0.7.2 0.6.0 0.5.1 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::RenameNfsShareRequest.

Message requesting rename of a server.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The `name` field is used to identify the nfsshare. Format: projects/{project}/locations/{location}/nfsshares/{nfsshare}

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The `name` field is used to identify the nfsshare. Format: projects/{project}/locations/{location}/nfsshares/{nfsshare}
**Returns**

- (::String) --- Required. The `name` field is used to identify the nfsshare. Format: projects/{project}/locations/{location}/nfsshares/{nfsshare}

### #new_nfsshare_id

    def new_nfsshare_id() -> ::String

**Returns**

- (::String) --- Required. The new `id` of the nfsshare.

### #new_nfsshare_id=

    def new_nfsshare_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The new `id` of the nfsshare.
**Returns**

- (::String) --- Required. The new `id` of the nfsshare.