Class: Google::Apis::NetworkconnectivityV1::ListPolicyBasedRoutesResponse
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::ListPolicyBasedRoutesResponse
- 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 for PolicyBasedRoutingService.ListPolicyBasedRoutes method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
The next pagination token in the List response.
-
#policy_based_routes ⇒ Array<Google::Apis::NetworkconnectivityV1::PolicyBasedRoute>
Policy-based routes to be returned.
-
#unreachable ⇒ Array<String>
Locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListPolicyBasedRoutesResponse
constructor
A new instance of ListPolicyBasedRoutesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListPolicyBasedRoutesResponse
Returns a new instance of ListPolicyBasedRoutesResponse.
2094 2095 2096 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2094 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
The next pagination token in the List response. It should be used as
page_token for the following request. An empty value means no more result.
Corresponds to the JSON property nextPageToken
2082 2083 2084 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2082 def next_page_token @next_page_token end |
#policy_based_routes ⇒ Array<Google::Apis::NetworkconnectivityV1::PolicyBasedRoute>
Policy-based routes to be returned.
Corresponds to the JSON property policyBasedRoutes
2087 2088 2089 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2087 def policy_based_routes @policy_based_routes end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
2092 2093 2094 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2092 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2099 2100 2101 2102 2103 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2099 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @policy_based_routes = args[:policy_based_routes] if args.key?(:policy_based_routes) @unreachable = args[:unreachable] if args.key?(:unreachable) end |