📄 Source: Recording.php
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Meet;
class Recording extends \Google\Model
{
/**
* Default, never used.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* An active recording session has started.
*/
public const STATE_STARTED = 'STARTED';
/**
* This recording session has ended, but the recording file hasn't been
* generated yet.
*/
public const STATE_ENDED = 'ENDED';
/**
* Recording file is generated and ready to download.
*/
public const STATE_FILE_GENERATED = 'FILE_GENERATED';
protected $driveDestinationType = DriveDestination::class;
protected $driveDestinationDataType = '';
/**
* Output only. Timestamp when the recording ended.
*
* @var string
*/
public $endTime;
/**
* Output only. Resource name of the recording. Format:
* `conferenceRecords/{conference_record}/recordings/{recording}` where
* `{recording}` is a 1:1 mapping to each unique recording session during the
* conference.
*
* @var string
*/
public $name;
/**
* Output only. Timestamp when the recording started.
*
* @var string
*/
public $startTime;
/**
* Output only. Current state.
*
* @var string
*/
public $state;
/**
* Output only. Recording is saved to Google Drive as an MP4 file. The
* `drive_destination` includes the Drive `fileId` that can be used to
* download the file using the `files.get` method of the Drive API.
*
* @param DriveDestination $driveDestination
*/
public function setDriveDestination(DriveDestination $driveDestination)
{
$this->driveDestination = $driveDestination;
}
/**
* @return DriveDestination
*/
public function getDriveDestination()
{
return $this->driveDestination;
}
/**
* Output only. Timestamp when the recording ended.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Resource name of the recording. Format:
* `conferenceRecords/{conference_record}/recordings/{recording}` where
* `{recording}` is a 1:1 mapping to each unique recording session during the
* conference.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Timestamp when the recording started.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* Output only. Current state.
*
* Accepted values: STATE_UNSPECIFIED, STARTED, ENDED, FILE_GENERATED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Recording::class, 'Google_Service_Meet_Recording');
← Back