Class: Google::Apis::ContainerV1::ListUsableSubnetworksResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::ListUsableSubnetworksResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/container_v1/classes.rb,
generated/google/apis/container_v1/representations.rb,
generated/google/apis/container_v1/representations.rb
Overview
ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
This token allows you to get the next page of results for list requests.
-
#subnetworks ⇒ Array<Google::Apis::ContainerV1::UsableSubnetwork>
A list of usable subnetworks in the specified network project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListUsableSubnetworksResponse
constructor
A new instance of ListUsableSubnetworksResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListUsableSubnetworksResponse
Returns a new instance of ListUsableSubnetworksResponse.
1894 1895 1896 |
# File 'generated/google/apis/container_v1/classes.rb', line 1894 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
This token allows you to get the next page of results for list requests. If
the number of results is larger than page_size
, use the next_page_token
as
a value for the query parameter page_token
in the next request. The value
will become empty when there are no more pages.
Corresponds to the JSON property nextPageToken
1887 1888 1889 |
# File 'generated/google/apis/container_v1/classes.rb', line 1887 def next_page_token @next_page_token end |
#subnetworks ⇒ Array<Google::Apis::ContainerV1::UsableSubnetwork>
A list of usable subnetworks in the specified network project.
Corresponds to the JSON property subnetworks
1892 1893 1894 |
# File 'generated/google/apis/container_v1/classes.rb', line 1892 def subnetworks @subnetworks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1899 1900 1901 1902 |
# File 'generated/google/apis/container_v1/classes.rb', line 1899 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @subnetworks = args[:subnetworks] if args.key?(:subnetworks) end |