Class: Google::Apis::NetappV1::ListStoragePoolsResponse
- Inherits:
-
Object
- Object
- Google::Apis::NetappV1::ListStoragePoolsResponse
- 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
-
#next_page_token ⇒ String
A token identifying a page of results the server should return.
-
#storage_pools ⇒ Array<Google::Apis::NetappV1::StoragePool>
The list of StoragePools Corresponds to the JSON property
storagePools
. -
#unreachable ⇒ Array<String>
Locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListStoragePoolsResponse
constructor
A new instance of ListStoragePoolsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_token ⇒ String
A token identifying a page of results the server should return.
Corresponds to the JSON property nextPageToken
939 940 941 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 939 def next_page_token @next_page_token end |
#storage_pools ⇒ Array<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 |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
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 |