source: vendor/google/apiclient-services/src/VMwareEngine/Resource/ProjectsLocationsVmwareengineGlobalNetworkPeeringsPeeringRoutes.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload project files

  • Property mode set to 100644
File size: 3.1 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\VMwareEngine\Resource;
19
20use Google\Service\VMwareEngine\ListPeeringRoutesResponse;
21
22/**
23 * The "peeringRoutes" collection of methods.
24 * Typical usage is:
25 * <code>
26 * $vmwareengineService = new Google\Service\VMwareEngine(...);
27 * $peeringRoutes = $vmwareengineService->projects_locations_global_networkPeerings_peeringRoutes;
28 * </code>
29 */
30class ProjectsLocationsVmwareengineGlobalNetworkPeeringsPeeringRoutes extends \Google\Service\Resource
31{
32 /**
33 * Lists the network peering routes exchanged over a peering connection. (peerin
34 * gRoutes.listProjectsLocationsVmwareengineGlobalNetworkPeeringsPeeringRoutes)
35 *
36 * @param string $parent Required. The resource name of the network peering to
37 * retrieve peering routes from. Resource names are schemeless URIs that follow
38 * the conventions in https://cloud.google.com/apis/design/resource_names. For
39 * example: `projects/my-project/locations/global/networkPeerings/my-peering`
40 * @param array $optParams Optional parameters.
41 *
42 * @opt_param string filter A filter expression that matches resources returned
43 * in the response. Currently, only filtering on the `direction` field is
44 * supported. To return routes imported from the peer network, provide
45 * "direction=INCOMING". To return routes exported from the VMware Engine
46 * network, provide "direction=OUTGOING". Other filter expressions return an
47 * error.
48 * @opt_param int pageSize The maximum number of peering routes to return in one
49 * page. The service may return fewer than this value. The maximum value is
50 * coerced to 1000. The default value of this field is 500.
51 * @opt_param string pageToken A page token, received from a previous
52 * `ListPeeringRoutes` call. Provide this to retrieve the subsequent page. When
53 * paginating, all other parameters provided to `ListPeeringRoutes` must match
54 * the call that provided the page token.
55 * @return ListPeeringRoutesResponse
56 */
57 public function listProjectsLocationsVmwareengineGlobalNetworkPeeringsPeeringRoutes($parent, $optParams = [])
58 {
59 $params = ['parent' => $parent];
60 $params = array_merge($params, $optParams);
61 return $this->call('list', [$params], ListPeeringRoutesResponse::class);
62 }
63}
64
65// Adding a class alias for backwards compatibility with the previous class name.
66class_alias(ProjectsLocationsVmwareengineGlobalNetworkPeeringsPeeringRoutes::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsVmwareengineGlobalNetworkPeeringsPeeringRoutes');
Note: See TracBrowser for help on using the repository browser.