* Create and manage meetings in Google Meet.
* ** For more information about this service, see the API * Documentation *
* * @author Google, Inc. */ class Meet extends \Google\Service { /** Create, edit, and see information about your Google Meet conferences created by the app.. */ const MEETINGS_SPACE_CREATED = "https://www.googleapis.com/auth/meetings.space.created"; /** Read information about any of your Google Meet conferences. */ const MEETINGS_SPACE_READONLY = "https://www.googleapis.com/auth/meetings.space.readonly"; public $conferenceRecords; public $conferenceRecords_participants; public $conferenceRecords_participants_participantSessions; public $conferenceRecords_recordings; public $conferenceRecords_transcripts; public $conferenceRecords_transcripts_entries; public $spaces; public $rootUrlTemplate; /** * Constructs the internal representation of the Meet service. * * @param Client|array $clientOrConfig The client used to deliver requests, or a * config array to pass to a new Client instance. * @param string $rootUrl The root URL used for requests to the service. */ public function __construct($clientOrConfig = [], $rootUrl = null) { parent::__construct($clientOrConfig); $this->rootUrl = $rootUrl ?: 'https://meet.googleapis.com/'; $this->rootUrlTemplate = $rootUrl ?: 'https://meet.UNIVERSE_DOMAIN/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v2'; $this->serviceName = 'meet'; $this->conferenceRecords = new Meet\Resource\ConferenceRecords( $this, $this->serviceName, 'conferenceRecords', [ 'methods' => [ 'get' => [ 'path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v2/conferenceRecords', 'httpMethod' => 'GET', 'parameters' => [ 'filter' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->conferenceRecords_participants = new Meet\Resource\ConferenceRecordsParticipants( $this, $this->serviceName, 'participants', [ 'methods' => [ 'get' => [ 'path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v2/{+parent}/participants', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'filter' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->conferenceRecords_participants_participantSessions = new Meet\Resource\ConferenceRecordsParticipantsParticipantSessions( $this, $this->serviceName, 'participantSessions', [ 'methods' => [ 'get' => [ 'path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v2/{+parent}/participantSessions', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'filter' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->conferenceRecords_recordings = new Meet\Resource\ConferenceRecordsRecordings( $this, $this->serviceName, 'recordings', [ 'methods' => [ 'get' => [ 'path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v2/{+parent}/recordings', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->conferenceRecords_transcripts = new Meet\Resource\ConferenceRecordsTranscripts( $this, $this->serviceName, 'transcripts', [ 'methods' => [ 'get' => [ 'path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v2/{+parent}/transcripts', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->conferenceRecords_transcripts_entries = new Meet\Resource\ConferenceRecordsTranscriptsEntries( $this, $this->serviceName, 'entries', [ 'methods' => [ 'get' => [ 'path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v2/{+parent}/entries', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->spaces = new Meet\Resource\Spaces( $this, $this->serviceName, 'spaces', [ 'methods' => [ 'create' => [ 'path' => 'v2/spaces', 'httpMethod' => 'POST', 'parameters' => [], ],'endActiveConference' => [ 'path' => 'v2/{+name}:endActiveConference', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'patch' => [ 'path' => 'v2/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Meet::class, 'Google_Service_Meet');