Class: Google::Apis::BaremetalsolutionV2::ListNfsSharesResponse

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

Response message containing the list of NFS shares.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListNfsSharesResponse

Returns a new instance of ListNfsSharesResponse.



802
803
804
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 802

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

Instance Attribute Details

#next_page_tokenString

A token identifying a page of results from the server. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


790
791
792
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 790

def next_page_token
  @next_page_token
end

#nfs_sharesArray<Google::Apis::BaremetalsolutionV2::NfsShare>

The list of NFS shares. Corresponds to the JSON property nfsShares



795
796
797
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 795

def nfs_shares
  @nfs_shares
end

#unreachableArray<String>

Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


800
801
802
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 800

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



807
808
809
810
811
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 807

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