Returns the routes Resource.
Close httplib2 connections.
Gets details about a Network Connectivity Center route table.
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists route tables in a given hub.
Retrieves the next page of results.
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets details about a Network Connectivity Center route table. Args: name: string, Required. The name of the route table resource. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { "createTime": "A String", # Output only. The time the route table was created. "description": "A String", # An optional description of the route table. "labels": { # Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). "a_key": "A String", }, "name": "A String", # Immutable. The name of the route table. Route table names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}` "state": "A String", # Output only. The current lifecycle state of this route table. "uid": "A String", # Output only. The Google-generated UUID for the route table. This value is unique across all route table resources. If a route table is deleted and another with the same name is created, the new route table is assigned a different `uid`. "updateTime": "A String", # Output only. The time the route table was last updated. }
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists route tables in a given hub. Args: parent: string, Required. The parent resource's name. (required) filter: string, An expression that filters the list of results. orderBy: string, Sort the results by a certain order. pageSize: integer, The maximum number of results to return per page. pageToken: string, The page token. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response for HubService.ListRouteTables method. "nextPageToken": "A String", # The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results. "routeTables": [ # The requested route tables. { "createTime": "A String", # Output only. The time the route table was created. "description": "A String", # An optional description of the route table. "labels": { # Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). "a_key": "A String", }, "name": "A String", # Immutable. The name of the route table. Route table names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}` "state": "A String", # Output only. The current lifecycle state of this route table. "uid": "A String", # Output only. The Google-generated UUID for the route table. This value is unique across all route table resources. If a route table is deleted and another with the same name is created, the new route table is assigned a different `uid`. "updateTime": "A String", # Output only. The time the route table was last updated. }, ], "unreachable": [ # Hubs that could not be reached. "A String", ], }
list_next()
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.