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\ListTranscriptsResponse;
|
---|
21 | use Google\Service\Meet\Transcript;
|
---|
22 |
|
---|
23 | /**
|
---|
24 | * The "transcripts" collection of methods.
|
---|
25 | * Typical usage is:
|
---|
26 | * <code>
|
---|
27 | * $meetService = new Google\Service\Meet(...);
|
---|
28 | * $transcripts = $meetService->conferenceRecords_transcripts;
|
---|
29 | * </code>
|
---|
30 | */
|
---|
31 | class ConferenceRecordsTranscripts extends \Google\Service\Resource
|
---|
32 | {
|
---|
33 | /**
|
---|
34 | * Gets a transcript by transcript ID. (transcripts.get)
|
---|
35 | *
|
---|
36 | * @param string $name Required. Resource name of the transcript.
|
---|
37 | * @param array $optParams Optional parameters.
|
---|
38 | * @return Transcript
|
---|
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], Transcript::class);
|
---|
46 | }
|
---|
47 | /**
|
---|
48 | * Lists the set of transcripts from the conference record. By default, ordered
|
---|
49 | * by start time and in ascending order.
|
---|
50 | * (transcripts.listConferenceRecordsTranscripts)
|
---|
51 | *
|
---|
52 | * @param string $parent Required. Format:
|
---|
53 | * `conferenceRecords/{conference_record}`
|
---|
54 | * @param array $optParams Optional parameters.
|
---|
55 | *
|
---|
56 | * @opt_param int pageSize Maximum number of transcripts to return. The service
|
---|
57 | * might return fewer than this value. If unspecified, at most 10 transcripts
|
---|
58 | * are returned. The maximum value is 100; values above 100 are coerced to 100.
|
---|
59 | * Maximum might change in the future.
|
---|
60 | * @opt_param string pageToken Page token returned from previous List Call.
|
---|
61 | * @return ListTranscriptsResponse
|
---|
62 | * @throws \Google\Service\Exception
|
---|
63 | */
|
---|
64 | public function listConferenceRecordsTranscripts($parent, $optParams = [])
|
---|
65 | {
|
---|
66 | $params = ['parent' => $parent];
|
---|
67 | $params = array_merge($params, $optParams);
|
---|
68 | return $this->call('list', [$params], ListTranscriptsResponse::class);
|
---|
69 | }
|
---|
70 | }
|
---|
71 |
|
---|
72 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
73 | class_alias(ConferenceRecordsTranscripts::class, 'Google_Service_Meet_Resource_ConferenceRecordsTranscripts');
|
---|