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\Meet\Resource;
|
---|
19 |
|
---|
20 | use Google\Service\Meet\ConferenceRecord;
|
---|
21 | use Google\Service\Meet\ListConferenceRecordsResponse;
|
---|
22 |
|
---|
23 | /**
|
---|
24 | * The "conferenceRecords" collection of methods.
|
---|
25 | * Typical usage is:
|
---|
26 | * <code>
|
---|
27 | * $meetService = new Google\Service\Meet(...);
|
---|
28 | * $conferenceRecords = $meetService->conferenceRecords;
|
---|
29 | * </code>
|
---|
30 | */
|
---|
31 | class ConferenceRecords extends \Google\Service\Resource
|
---|
32 | {
|
---|
33 | /**
|
---|
34 | * Gets a conference record by conference ID. (conferenceRecords.get)
|
---|
35 | *
|
---|
36 | * @param string $name Required. Resource name of the conference.
|
---|
37 | * @param array $optParams Optional parameters.
|
---|
38 | * @return ConferenceRecord
|
---|
39 | * @throws \Google\Service\Exception
|
---|
40 | */
|
---|
41 | public function get($name, $optParams = [])
|
---|
42 | {
|
---|
43 | $params = ['name' => $name];
|
---|
44 | $params = array_merge($params, $optParams);
|
---|
45 | return $this->call('get', [$params], ConferenceRecord::class);
|
---|
46 | }
|
---|
47 | /**
|
---|
48 | * Lists the conference records. By default, ordered by start time and in
|
---|
49 | * descending order. (conferenceRecords.listConferenceRecords)
|
---|
50 | *
|
---|
51 | * @param array $optParams Optional parameters.
|
---|
52 | *
|
---|
53 | * @opt_param string filter Optional. User specified filtering condition in
|
---|
54 | * [EBNF
|
---|
55 | * format](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form). The
|
---|
56 | * following are the filterable fields: * `space.meeting_code` * `space.name` *
|
---|
57 | * `start_time` * `end_time` For example, consider the following filters: *
|
---|
58 | * `space.name = "spaces/NAME"` * `space.meeting_code = "abc-mnop-xyz"` *
|
---|
59 | * `start_time>="2024-01-01T00:00:00.000Z" AND
|
---|
60 | * start_time<="2024-01-02T00:00:00.000Z"` * `end_time IS NULL`
|
---|
61 | * @opt_param int pageSize Optional. Maximum number of conference records to
|
---|
62 | * return. The service might return fewer than this value. If unspecified, at
|
---|
63 | * most 25 conference records are returned. The maximum value is 100; values
|
---|
64 | * above 100 are coerced to 100. Maximum might change in the future.
|
---|
65 | * @opt_param string pageToken Optional. Page token returned from previous List
|
---|
66 | * Call.
|
---|
67 | * @return ListConferenceRecordsResponse
|
---|
68 | * @throws \Google\Service\Exception
|
---|
69 | */
|
---|
70 | public function listConferenceRecords($optParams = [])
|
---|
71 | {
|
---|
72 | $params = [];
|
---|
73 | $params = array_merge($params, $optParams);
|
---|
74 | return $this->call('list', [$params], ListConferenceRecordsResponse::class);
|
---|
75 | }
|
---|
76 | }
|
---|
77 |
|
---|
78 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
79 | class_alias(ConferenceRecords::class, 'Google_Service_Meet_Resource_ConferenceRecords');
|
---|