Class: Google::Apis::NetappV1::ListStoragePoolsResponse

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

Overview

ListStoragePoolsResponse is the response to a ListStoragePoolsRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListStoragePoolsResponse

Returns a new instance of ListStoragePoolsResponse.



1929
1930
1931
# File 'lib/google/apis/netapp_v1/classes.rb', line 1929

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

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


1917
1918
1919
# File 'lib/google/apis/netapp_v1/classes.rb', line 1917

def next_page_token
  @next_page_token
end

#storage_poolsArray<Google::Apis::NetappV1::StoragePool>

The list of StoragePools Corresponds to the JSON property storagePools



1922
1923
1924
# File 'lib/google/apis/netapp_v1/classes.rb', line 1922

def storage_pools
  @storage_pools
end

#unreachableArray<String>

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

Returns:

  • (Array<String>)


1927
1928
1929
# File 'lib/google/apis/netapp_v1/classes.rb', line 1927

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1934
1935
1936
1937
1938
# File 'lib/google/apis/netapp_v1/classes.rb', line 1934

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