source: vendor/google/apiclient-services/src/Meet/Resource/ConferenceRecordsTranscriptsEntries.php

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

Upload project files

  • Property mode set to 100644
File size: 3.2 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\Meet\Resource;
19
20use Google\Service\Meet\ListTranscriptEntriesResponse;
21use Google\Service\Meet\TranscriptEntry;
22
23/**
24 * The "entries" collection of methods.
25 * Typical usage is:
26 * <code>
27 * $meetService = new Google\Service\Meet(...);
28 * $entries = $meetService->conferenceRecords_transcripts_entries;
29 * </code>
30 */
31class ConferenceRecordsTranscriptsEntries extends \Google\Service\Resource
32{
33 /**
34 * Gets a `TranscriptEntry` resource by entry ID. Note: The transcript entries
35 * returned by the Google Meet API might not match the transcription found in
36 * the Google Docs transcript file. This can occur when the Google Docs
37 * transcript file is modified after generation. (entries.get)
38 *
39 * @param string $name Required. Resource name of the `TranscriptEntry`.
40 * @param array $optParams Optional parameters.
41 * @return TranscriptEntry
42 * @throws \Google\Service\Exception
43 */
44 public function get($name, $optParams = [])
45 {
46 $params = ['name' => $name];
47 $params = array_merge($params, $optParams);
48 return $this->call('get', [$params], TranscriptEntry::class);
49 }
50 /**
51 * Lists the structured transcript entries per transcript. By default, ordered
52 * by start time and in ascending order. Note: The transcript entries returned
53 * by the Google Meet API might not match the transcription found in the Google
54 * Docs transcript file. This can occur when the Google Docs transcript file is
55 * modified after generation. (entries.listConferenceRecordsTranscriptsEntries)
56 *
57 * @param string $parent Required. Format:
58 * `conferenceRecords/{conference_record}/transcripts/{transcript}`
59 * @param array $optParams Optional parameters.
60 *
61 * @opt_param int pageSize Maximum number of entries to return. The service
62 * might return fewer than this value. If unspecified, at most 10 entries are
63 * returned. The maximum value is 100; values above 100 are coerced to 100.
64 * Maximum might change in the future.
65 * @opt_param string pageToken Page token returned from previous List Call.
66 * @return ListTranscriptEntriesResponse
67 * @throws \Google\Service\Exception
68 */
69 public function listConferenceRecordsTranscriptsEntries($parent, $optParams = [])
70 {
71 $params = ['parent' => $parent];
72 $params = array_merge($params, $optParams);
73 return $this->call('list', [$params], ListTranscriptEntriesResponse::class);
74 }
75}
76
77// Adding a class alias for backwards compatibility with the previous class name.
78class_alias(ConferenceRecordsTranscriptsEntries::class, 'Google_Service_Meet_Resource_ConferenceRecordsTranscriptsEntries');
Note: See TracBrowser for help on using the repository browser.