Class: Google::Apis::NetworkconnectivityV1::ListDestinationsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDestinationsResponse

Returns a new instance of ListDestinationsResponse.



2059
2060
2061
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2059

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

Instance Attribute Details

#destinationsArray<Google::Apis::NetworkconnectivityV1::Destination>

The list of Destination resources to be listed. Corresponds to the JSON property destinations



2047
2048
2049
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2047

def destinations
  @destinations
end

#next_page_tokenString

The next page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2052
2053
2054
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2052

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>)


2057
2058
2059
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2057

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2064
2065
2066
2067
2068
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2064

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