Class: Google::Apis::BaremetalsolutionV2::RenameNfsShareRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/baremetalsolution_v2/classes.rb,
lib/google/apis/baremetalsolution_v2/representations.rb,
lib/google/apis/baremetalsolution_v2/representations.rb

Overview

Message requesting rename of a server.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RenameNfsShareRequest

Returns a new instance of RenameNfsShareRequest.



2045
2046
2047
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2045

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#new_nfsshare_idString

Required. The new id of the nfsshare. Corresponds to the JSON property newNfsshareId

Returns:

  • (String)


2043
2044
2045
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2043

def new_nfsshare_id
  @new_nfsshare_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2050
2051
2052
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2050

def update!(**args)
  @new_nfsshare_id = args[:new_nfsshare_id] if args.key?(:new_nfsshare_id)
end