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.



1127
1128
1129
# File 'lib/google/apis/netapp_v1/classes.rb', line 1127

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)


1115
1116
1117
# File 'lib/google/apis/netapp_v1/classes.rb', line 1115

def next_page_token
  @next_page_token
end

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

The list of StoragePools Corresponds to the JSON property storagePools



1120
1121
1122
# File 'lib/google/apis/netapp_v1/classes.rb', line 1120

def storage_pools
  @storage_pools
end

#unreachableArray<String>

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

Returns:

  • (Array<String>)


1125
1126
1127
# File 'lib/google/apis/netapp_v1/classes.rb', line 1125

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1132
1133
1134
1135
1136
# File 'lib/google/apis/netapp_v1/classes.rb', line 1132

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