class Spaces extends Resource (View source)

The "spaces" collection of methods.

Typical usage is:

 $meetService = new Google\Service\Meet(...);
 $spaces = $meetService->spaces;

Methods

create(Space $postBody, array $optParams = [])

Creates a space. (spaces.create)

endActiveConference(string $name, EndActiveConferenceRequest $postBody, array $optParams = [])

Ends an active conference (if there's one). For an example, see End active conference. (spaces.endActiveConference)

get(string $name, array $optParams = [])

Gets details about a meeting space. For an example, see Get a meeting space. (spaces.get)

patch(string $name, Space $postBody, array $optParams = [])

Updates details about a meeting space. For an example, see Update a meeting space. (spaces.patch)

Details

Space create(Space $postBody, array $optParams = [])

Creates a space. (spaces.create)

Parameters

Space $postBody
array $optParams

Optional parameters.

Return Value

Space

Exceptions

Exception

MeetEmpty endActiveConference(string $name, EndActiveConferenceRequest $postBody, array $optParams = [])

Ends an active conference (if there's one). For an example, see End active conference. (spaces.endActiveConference)

Parameters

string $name

Required. Resource name of the space. Format: spaces/{space}. {space} is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. For example, jQCFfuBOdN5z. For more information, see How Meet identifies a meeting space.

EndActiveConferenceRequest $postBody
array $optParams

Optional parameters.

Return Value

MeetEmpty

Exceptions

Exception

Space get(string $name, array $optParams = [])

Gets details about a meeting space. For an example, see Get a meeting space. (spaces.get)

Parameters

string $name

Required. Resource name of the space. Format: spaces/{space} or spaces/{meetingCode}. {space} is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. For example, jQCFfuBOdN5z. {meetingCode} is an alias for the space. It's a typeable, unique character string and is non-case sensitive. For example, abc-mnop-xyz. The maximum length is 128 characters. A meetingCode shouldn't be stored long term as it can become dissociated from a meeting space and can be reused for different meeting spaces in the future. Generally, a meetingCode expires 365 days after last use. For more information, see Learn about meeting codes in Google Meet. For more information, see How Meet identifies a meeting space.

array $optParams

Optional parameters.

Return Value

Space

Exceptions

Exception

Space patch(string $name, Space $postBody, array $optParams = [])

Updates details about a meeting space. For an example, see Update a meeting space. (spaces.patch)

Parameters

string $name

Immutable. Resource name of the space. Format: spaces/{space}. {space} is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. For example, jQCFfuBOdN5z. For more information, see How Meet identifies a meeting space.

Space $postBody
array $optParams

Optional parameters.

Return Value

Space

Exceptions

Exception