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 |
|
---|
18 | namespace Google\Service\StreetViewPublish\Resource;
|
---|
19 |
|
---|
20 | use Google\Service\StreetViewPublish\ListPhotoSequencesResponse;
|
---|
21 |
|
---|
22 | /**
|
---|
23 | * The "photoSequences" collection of methods.
|
---|
24 | * Typical usage is:
|
---|
25 | * <code>
|
---|
26 | * $streetviewpublishService = new Google\Service\StreetViewPublish(...);
|
---|
27 | * $photoSequences = $streetviewpublishService->photoSequences;
|
---|
28 | * </code>
|
---|
29 | */
|
---|
30 | class PhotoSequences extends \Google\Service\Resource
|
---|
31 | {
|
---|
32 | /**
|
---|
33 | * Lists all the PhotoSequences that belong to the user, in descending
|
---|
34 | * CreatePhotoSequence timestamp order. (photoSequences.listPhotoSequences)
|
---|
35 | *
|
---|
36 | * @param array $optParams Optional parameters.
|
---|
37 | *
|
---|
38 | * @opt_param string filter Optional. The filter expression. For example:
|
---|
39 | * `imagery_type=SPHERICAL`. The filters supported are: `imagery_type`,
|
---|
40 | * `processing_state`, `min_latitude`, `max_latitude`, `min_longitude`,
|
---|
41 | * `max_longitude`, `filename_query`, `min_capture_time_seconds`,
|
---|
42 | * `max_capture_time_seconds. See https://google.aip.dev/160 for more
|
---|
43 | * information. Filename queries should sent as a Phrase in order to support
|
---|
44 | * multiple words and special characters by adding escaped quotes. Ex:
|
---|
45 | * filename_query="example of a phrase.mp4"
|
---|
46 | * @opt_param int pageSize Optional. The maximum number of photo sequences to
|
---|
47 | * return. `pageSize` must be non-negative. If `pageSize` is zero or is not
|
---|
48 | * provided, the default page size of 100 is used. The number of photo sequences
|
---|
49 | * returned in the response may be less than `pageSize` if the number of matches
|
---|
50 | * is less than `pageSize`. This is currently unimplemented but is in process.
|
---|
51 | * @opt_param string pageToken Optional. The nextPageToken value returned from a
|
---|
52 | * previous ListPhotoSequences request, if any.
|
---|
53 | * @return ListPhotoSequencesResponse
|
---|
54 | * @throws \Google\Service\Exception
|
---|
55 | */
|
---|
56 | public function listPhotoSequences($optParams = [])
|
---|
57 | {
|
---|
58 | $params = [];
|
---|
59 | $params = array_merge($params, $optParams);
|
---|
60 | return $this->call('list', [$params], ListPhotoSequencesResponse::class);
|
---|
61 | }
|
---|
62 | }
|
---|
63 |
|
---|
64 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
65 | class_alias(PhotoSequences::class, 'Google_Service_StreetViewPublish_Resource_PhotoSequences');
|
---|