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.



1858
1859
1860
# File 'lib/google/apis/netapp_v1/classes.rb', line 1858

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)


1846
1847
1848
# File 'lib/google/apis/netapp_v1/classes.rb', line 1846

def next_page_token
  @next_page_token
end

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

The list of StoragePools Corresponds to the JSON property storagePools



1851
1852
1853
# File 'lib/google/apis/netapp_v1/classes.rb', line 1851

def storage_pools
  @storage_pools
end

#unreachableArray<String>

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

Returns:

  • (Array<String>)


1856
1857
1858
# File 'lib/google/apis/netapp_v1/classes.rb', line 1856

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1863
1864
1865
1866
1867
# File 'lib/google/apis/netapp_v1/classes.rb', line 1863

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