list method
Lists the set of transcripts from the conference record.
By default, ordered by start time and in ascending order.
Request parameters:
parent
- Required. Format: conferenceRecords/{conference_record}
Value must have pattern ^conferenceRecords/\[^/\]+$
.
pageSize
- Maximum number of transcripts to return. The service might
return fewer than this value. If unspecified, at most 10 transcripts are
returned. The maximum value is 100; values above 100 are coerced to 100.
Maximum might change in the future.
pageToken
- Page token returned from previous List Call.
$fields
- Selector specifying which fields to include in a partial
response.
Completes with a ListTranscriptsResponse.
Completes with a commons.ApiRequestError if the API endpoint returned an error.
If the used http.Client
completes with an error when making a REST call,
this method will complete with the same error.
Implementation
async.Future<ListTranscriptsResponse> list(
core.String parent, {
core.int? pageSize,
core.String? pageToken,
core.String? $fields,
}) async {
final queryParams_ = <core.String, core.List<core.String>>{
if (pageSize != null) 'pageSize': ['${pageSize}'],
if (pageToken != null) 'pageToken': [pageToken],
if ($fields != null) 'fields': [$fields],
};
final url_ = 'v2/' + core.Uri.encodeFull('$parent') + '/transcripts';
final response_ = await _requester.request(
url_,
'GET',
queryParams: queryParams_,
);
return ListTranscriptsResponse.fromJson(
response_ as core.Map<core.String, core.dynamic>);
}