Class: Google::Apis::NetworkconnectivityV1::ListDestinationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::ListDestinationsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkconnectivity_v1/classes.rb,
lib/google/apis/networkconnectivity_v1/representations.rb,
lib/google/apis/networkconnectivity_v1/representations.rb
Overview
Response message to list Destination resources.
Instance Attribute Summary collapse
-
#destinations ⇒ Array<Google::Apis::NetworkconnectivityV1::Destination>
The list of
Destinationresources to be listed. -
#next_page_token ⇒ String
The next page token.
-
#unreachable ⇒ Array<String>
Locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListDestinationsResponse
constructor
A new instance of ListDestinationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListDestinationsResponse
Returns a new instance of ListDestinationsResponse.
1848 1849 1850 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1848 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destinations ⇒ Array<Google::Apis::NetworkconnectivityV1::Destination>
The list of Destination resources to be listed.
Corresponds to the JSON property destinations
1836 1837 1838 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1836 def destinations @destinations end |
#next_page_token ⇒ String
The next page token.
Corresponds to the JSON property nextPageToken
1841 1842 1843 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1841 def next_page_token @next_page_token end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
1846 1847 1848 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1846 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1853 1854 1855 1856 1857 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1853 def update!(**args) @destinations = args[:destinations] if args.key?(:destinations) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unreachable = args[:unreachable] if args.key?(:unreachable) end |