> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Update meeting space

> Patch selected Google Meet access, moderation, and artifact settings.

`updateGoogleMeetSpace` changes only the settings you provide. Omitted settings remain unchanged.

## Example

```ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { updateGoogleMeetSpace } from "automate.ax/google-meet"

export default automation("Secure a meeting", () => {
  onHttpRequest({ scope: "automation" })

  return updateGoogleMeetSpace({
    space: "spaces/space-id",
    config: {
      accessType: "restricted",
      moderation: true,
      moderationRestrictions: { chat: "hostsOnly" },
    },
  })
})
```

## Inputs

Provide `space` and a non-empty `config`. Settings include access, entry-point, moderation, attendance-report, and automatic-artifact behavior. Second argument `{ account }` selects the Google Account. Inputs accept compatible signals.

## Output

Returns the updated meeting space. Google permits updates only when the connected account has access through `meetings.space.created` or `meetings.space.settings`.
