Class: Google::Apis::ContainerV1beta1::ListUsableSubnetworksResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb

Overview

ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListUsableSubnetworksResponse

Returns a new instance of ListUsableSubnetworksResponse.



3837
3838
3839
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3837

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

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


3830
3831
3832
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3830

def next_page_token
  @next_page_token
end

#subnetworksArray<Google::Apis::ContainerV1beta1::UsableSubnetwork>

A list of usable subnetworks in the specified network project. Corresponds to the JSON property subnetworks



3835
3836
3837
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3835

def subnetworks
  @subnetworks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3842
3843
3844
3845
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3842

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