source: vendor/google/apiclient-services/src/APIManagement/Resource/ProjectsLocationsObservationJobsApiObservationsApiOperations.php

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

Upload project files

  • Property mode set to 100644
File size: 3.4 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\APIManagement\Resource;
19
20use Google\Service\APIManagement\ApiOperation;
21use Google\Service\APIManagement\ListApiOperationsResponse;
22
23/**
24 * The "apiOperations" collection of methods.
25 * Typical usage is:
26 * <code>
27 * $apimService = new Google\Service\APIManagement(...);
28 * $apiOperations = $apimService->projects_locations_observationJobs_apiObservations_apiOperations;
29 * </code>
30 */
31class ProjectsLocationsObservationJobsApiObservationsApiOperations extends \Google\Service\Resource
32{
33 /**
34 * GetApiOperation retrieves a single ApiOperation by name. (apiOperations.get)
35 *
36 * @param string $name Required. The name of the ApiOperation to retrieve.
37 * Format: projects/{project}/locations/{location}/observationJobs/{observation_
38 * job}/apiObservations/{api_observation}/apiOperation/{api_operation}
39 * @param array $optParams Optional parameters.
40 * @return ApiOperation
41 * @throws \Google\Service\Exception
42 */
43 public function get($name, $optParams = [])
44 {
45 $params = ['name' => $name];
46 $params = array_merge($params, $optParams);
47 return $this->call('get', [$params], ApiOperation::class);
48 }
49 /**
50 * ListApiOperations gets all ApiOperations for a given project and location and
51 * ObservationJob and ApiObservation. (apiOperations.listProjectsLocationsObserv
52 * ationJobsApiObservationsApiOperations)
53 *
54 * @param string $parent Required. The parent, which owns this collection of
55 * ApiOperations. Format: projects/{project}/locations/{location}/observationJob
56 * s/{observation_job}/apiObservations/{api_observation}
57 * @param array $optParams Optional parameters.
58 *
59 * @opt_param int pageSize Optional. The maximum number of ApiOperations to
60 * return. The service may return fewer than this value. If unspecified, at most
61 * 10 ApiOperations will be returned. The maximum value is 1000; values above
62 * 1000 will be coerced to 1000.
63 * @opt_param string pageToken Optional. A page token, received from a previous
64 * `ListApiApiOperations` call. Provide this to retrieve the subsequent page.
65 * When paginating, all other parameters provided to `ListApiApiOperations` must
66 * match the call that provided the page token.
67 * @return ListApiOperationsResponse
68 * @throws \Google\Service\Exception
69 */
70 public function listProjectsLocationsObservationJobsApiObservationsApiOperations($parent, $optParams = [])
71 {
72 $params = ['parent' => $parent];
73 $params = array_merge($params, $optParams);
74 return $this->call('list', [$params], ListApiOperationsResponse::class);
75 }
76}
77
78// Adding a class alias for backwards compatibility with the previous class name.
79class_alias(ProjectsLocationsObservationJobsApiObservationsApiOperations::class, 'Google_Service_APIManagement_Resource_ProjectsLocationsObservationJobsApiObservationsApiOperations');
Note: See TracBrowser for help on using the repository browser.