source: vendor/google/apiclient-services/src/WorkflowExecutions/Resource/ProjectsLocationsWorkflowsExecutionsCallbacks.php

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

Upload project files

  • Property mode set to 100644
File size: 2.5 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\WorkflowExecutions\Resource;
19
20use Google\Service\WorkflowExecutions\ListCallbacksResponse;
21
22/**
23 * The "callbacks" collection of methods.
24 * Typical usage is:
25 * <code>
26 * $workflowexecutionsService = new Google\Service\WorkflowExecutions(...);
27 * $callbacks = $workflowexecutionsService->projects_locations_workflows_executions_callbacks;
28 * </code>
29 */
30class ProjectsLocationsWorkflowsExecutionsCallbacks extends \Google\Service\Resource
31{
32 /**
33 * Returns a list of active callbacks that belong to the execution with the
34 * given name. The returned callbacks are ordered by callback ID.
35 * (callbacks.listProjectsLocationsWorkflowsExecutionsCallbacks)
36 *
37 * @param string $parent Required. Name of the execution for which the callbacks
38 * should be listed. Format: projects/{project}/locations/{location}/workflows/{
39 * workflow}/executions/{execution}
40 * @param array $optParams Optional parameters.
41 *
42 * @opt_param int pageSize Maximum number of callbacks to return per call. The
43 * default value is 100 and is also the maximum value.
44 * @opt_param string pageToken A page token, received from a previous
45 * `ListCallbacks` call. Provide this to retrieve the subsequent page. Note that
46 * pagination is applied to dynamic data. The list of callbacks returned can
47 * change between page requests if callbacks are created or deleted.
48 * @return ListCallbacksResponse
49 * @throws \Google\Service\Exception
50 */
51 public function listProjectsLocationsWorkflowsExecutionsCallbacks($parent, $optParams = [])
52 {
53 $params = ['parent' => $parent];
54 $params = array_merge($params, $optParams);
55 return $this->call('list', [$params], ListCallbacksResponse::class);
56 }
57}
58
59// Adding a class alias for backwards compatibility with the previous class name.
60class_alias(ProjectsLocationsWorkflowsExecutionsCallbacks::class, 'Google_Service_WorkflowExecutions_Resource_ProjectsLocationsWorkflowsExecutionsCallbacks');
Note: See TracBrowser for help on using the repository browser.