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.



709
710
711
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 709

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)


697
698
699
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 697

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



702
703
704
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 702

def nfs_shares
  @nfs_shares
end

#unreachableArray<String>

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

Returns:

  • (Array<String>)


707
708
709
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 707

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



714
715
716
717
718
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 714

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