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.



951
952
953
# File 'lib/google/apis/netapp_v1/classes.rb', line 951

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)


939
940
941
# File 'lib/google/apis/netapp_v1/classes.rb', line 939

def next_page_token
  @next_page_token
end

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

The list of StoragePools Corresponds to the JSON property storagePools



944
945
946
# File 'lib/google/apis/netapp_v1/classes.rb', line 944

def storage_pools
  @storage_pools
end

#unreachableArray<String>

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

Returns:

  • (Array<String>)


949
950
951
# File 'lib/google/apis/netapp_v1/classes.rb', line 949

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



956
957
958
959
960
# File 'lib/google/apis/netapp_v1/classes.rb', line 956

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