* $datapipelinesService = new Google\Service\Datapipelines(...); * $locations = $datapipelinesService->locations; * */ class ProjectsLocations extends \Google\Service\Resource { /** * Lists pipelines. Returns a "FORBIDDEN" error if the caller doesn't have * permission to access it. (locations.listPipelines) * * @param string $parent Required. The location name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID`. * @param array $optParams Optional parameters. * * @opt_param string filter An expression for filtering the results of the * request. If unspecified, all pipelines will be returned. Multiple filters can * be applied and must be comma separated. Fields eligible for filtering are: + * `type`: The type of the pipeline (streaming or batch). Allowed values are * `ALL`, `BATCH`, and `STREAMING`. + `status`: The activity status of the * pipeline. Allowed values are `ALL`, `ACTIVE`, `ARCHIVED`, and `PAUSED`. For * example, to limit results to active batch processing pipelines: * type:BATCH,status:ACTIVE * @opt_param int pageSize The maximum number of entities to return. The service * may return fewer than this value, even if there are additional pages. If * unspecified, the max limit is yet to be determined by the backend * implementation. * @opt_param string pageToken A page token, received from a previous * `ListPipelines` call. Provide this to retrieve the subsequent page. When * paginating, all other parameters provided to `ListPipelines` must match the * call that provided the page token. * @return GoogleCloudDatapipelinesV1ListPipelinesResponse */ public function listPipelines($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('listPipelines', [$params], GoogleCloudDatapipelinesV1ListPipelinesResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsLocations::class, 'Google_Service_Datapipelines_Resource_ProjectsLocations');