Class: Google::Apis::NetworkconnectivityV1::ListPolicyBasedRoutesResponse

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 for PolicyBasedRouting.ListPolicyBasedRoutes method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPolicyBasedRoutesResponse

Returns a new instance of ListPolicyBasedRoutesResponse.



1439
1440
1441
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1439

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

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


1427
1428
1429
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1427

def next_page_token
  @next_page_token
end

#policy_based_routesArray<Google::Apis::NetworkconnectivityV1::PolicyBasedRoute>

Policy-based routes to be returned. Corresponds to the JSON property policyBasedRoutes



1432
1433
1434
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1432

def policy_based_routes
  @policy_based_routes
end

#unreachableArray<String>

Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


1437
1438
1439
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1437

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1444
1445
1446
1447
1448
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1444

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