Class: Google::Apis::NetappV1::ListHostGroupsResponse

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

ListHostGroupsResponse is the response to a ListHostGroupsRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListHostGroupsResponse

Returns a new instance of ListHostGroupsResponse.



1642
1643
1644
# File 'lib/google/apis/netapp_v1/classes.rb', line 1642

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

Instance Attribute Details

#host_groupsArray<Google::Apis::NetappV1::HostGroup>

The list of host groups. Corresponds to the JSON property hostGroups



1630
1631
1632
# File 'lib/google/apis/netapp_v1/classes.rb', line 1630

def host_groups
  @host_groups
end

#next_page_tokenString

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

Returns:

  • (String)


1635
1636
1637
# File 'lib/google/apis/netapp_v1/classes.rb', line 1635

def next_page_token
  @next_page_token
end

#unreachableArray<String>

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

Returns:

  • (Array<String>)


1640
1641
1642
# File 'lib/google/apis/netapp_v1/classes.rb', line 1640

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1647
1648
1649
1650
1651
# File 'lib/google/apis/netapp_v1/classes.rb', line 1647

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