google_calendar and google_meet in the same Twin Run to resolve Calendar meeting links. Add google_workspace to use its Directory identities and scoped tokens.
Transcript text and speaker data come from fixtures. A Calendar event with a Meet link gives you a meeting space. Seed a conference and transcript to test retrieval after the call.
Start with a completed meeting
Save this Scenario asmeet-transcript.json. It links a Calendar event to a Meet conference by event ID. The fixed clock starts after the transcript becomes available.
jq and curl. Keep the run output private because it contains credentials.
Fetch the transcript
Wait until the run is ready. Point your app’s Meet client at the returnedGOOGLE_MEET_API_BASE_URL. The example uses the returned Calendar and Meet base URLs and their bearer tokens. With Workspace Directory enabled, the Meet caller needs https://www.googleapis.com/auth/meetings.space.readonly and must be the organizer or a simulated participant. A Calendar invitation alone does not grant transcript access.
- If you have the Calendar event’s
hangoutLink, use its final path segment as the meeting code. CallGET /v2/spaces/{meetingCode}to inspect the space. - For recurring meetings, include a
start_timefilter when listing conference records to select the occurrence you want. Pass a returnednextPageTokenaspageTokento continue a list. - Each entry’s
participantis a resource name. CallGET /v2/{participant}to look up the speaker, or open the Meet twin URL, enter your Meet token, and browse the conference in the browser.
Test a Calendar event your app creates
- Insert a timed event with
conferenceDataVersion=1andconferenceData.createRequest. Supply a uniquerequestIdand setconferenceSolutionKey.typetohangoutsMeet. See Google Calendar event creation. - Use
POST /admin/meet/conferenceRecordson the Meet twin’s authenticatedadmin_urlto seed a conference for the returned event ID. Use one object fromseed_config.google_meet.conferencesin the example. Setevent_idto the returned ID and omitavailable_timeto publish at the end of your event. - Once the transcript reaches
FILE_GENERATED, read the entries from the Meet twin’sbase_url. To simulate elapsed time, usePOST /admin/clock/advanceon the authenticated admin URL with a body such as{"seconds":60}.
admin_url and proxy_token. Send the proxy token as the arga_env_proxy_token cookie on admin requests and send the Meet bearer token on provider API requests.
Seed fields and timing
For a standalone Meet Scenario, supply
meeting_code, organizer_email, start_time, and end_time on the conference fixture. Conference records and transcript entries expire 30 days after the call ends on the twin clock.
When you finish, tear down the Twin Run.