{
"name": "Google Workspace eval fixture",
"twins": [
"google_workspace"
],
"seed_config": {
"google_workspace": {
"directory": {
"customer": {
"id": "C01arga000",
"customerDomain": "example.com"
},
"orgunits": [
{
"name": "Engineering",
"parentOrgUnitPath": "/"
}
],
"users": [
{
"id": "110000000000001",
"primaryEmail": "ada@example.com",
"name": {
"givenName": "Ada",
"familyName": "Lovelace"
},
"orgUnitPath": "/Engineering"
}
],
"groups": [
{
"email": "engineering@example.com",
"name": "Engineering",
"members": [
{
"email": "ada@example.com",
"role": "MEMBER"
}
]
}
]
},
"contacts": [
{
"names": [
{
"givenName": "Ada",
"familyName": "Lovelace"
}
],
"emailAddresses": [
{
"value": "ada@example.com",
"type": "work"
}
]
}
],
"scripts": [
{
"title": "Launch helper",
"files": [
{
"name": "Code",
"type": "SERVER_JS",
"source": "function status() { return 'ready'; }"
},
{
"name": "appsscript",
"type": "JSON",
"source": "{\"timeZone\":\"Etc/UTC\",\"runtimeVersion\":\"V8\"}"
}
]
}
],
"pubsub_topics": [
{
"project": "arga-sandbox",
"name": "workspace-events",
"subscriptions": [
{
"name": "workspace-events-pull"
}
]
}
],
"event_subscriptions": [
{
"targetResource": "//workspace.googleapis.com/users/123",
"eventTypes": [
"google.workspace.user.v1.updated"
],
"pubsubTopic": "projects/arga-sandbox/topics/workspace-events"
}
]
}
}
}