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.



2054
2055
2056
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2054

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)


2052
2053
2054
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2052

def new_nfsshare_id
  @new_nfsshare_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2059
2060
2061
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2059

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