Skip to content

Commit 25110c1

Browse files
🎉 Google Directory: Add organizations and phones to users schema (#7167)
* Google Directory: Add organizations and phones to users schema https://developers.google.com/admin-sdk/directory/v1/guides/manage-users#json-response * bump version, add changelogs to google-directory.md Co-authored-by: Xiangxuan Liu <[email protected]>
1 parent abf0159 commit 25110c1

File tree

6 files changed

+95
-3
lines changed

6 files changed

+95
-3
lines changed

airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/d19ae824-e289-4b14-995a-0632eb46d246.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"sourceDefinitionId": "d19ae824-e289-4b14-995a-0632eb46d246",
33
"name": "Google Directory",
44
"dockerRepository": "airbyte/source-google-directory",
5-
"dockerImageTag": "0.1.3",
5+
"dockerImageTag": "0.1.4",
66
"documentationUrl": "https://docs.airbyte.io/integrations/sources/google-directory"
77
}

airbyte-config/init/src/main/resources/seed/source_definitions.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@
284284
- sourceDefinitionId: d19ae824-e289-4b14-995a-0632eb46d246
285285
name: Google Directory
286286
dockerRepository: airbyte/source-google-directory
287-
dockerImageTag: 0.1.3
287+
dockerImageTag: 0.1.4
288288
documentationUrl: https://docs.airbyte.io/integrations/sources/google-directory
289289
sourceType: api
290290
- sourceDefinitionId: 6acf6b55-4f1e-4fca-944e-1a3caef8aba8

airbyte-integrations/connectors/source-google-directory/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ RUN pip install ".[main]"
1414

1515
ENV AIRBYTE_ENTRYPOINT "/airbyte/base.sh"
1616

17-
LABEL io.airbyte.version=0.1.3
17+
LABEL io.airbyte.version=0.1.4
1818
LABEL io.airbyte.name=airbyte/source-google-directory

airbyte-integrations/connectors/source-google-directory/sample_files/configured_catalog.json

+43
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,49 @@
119119
}
120120
]
121121
},
122+
"organizations": {
123+
"type": "array",
124+
"items": [
125+
{
126+
"type": "object",
127+
"properties": {
128+
"name": {
129+
"type": "string"
130+
},
131+
"title": {
132+
"type": "string"
133+
},
134+
"primary": {
135+
"type": "boolean"
136+
},
137+
"customType": {
138+
"type": "string"
139+
},
140+
"description": {
141+
"type": "string"
142+
}
143+
},
144+
"required": ["name", "title", "primary", "customType", "description"]
145+
}
146+
]
147+
},
148+
"phones": {
149+
"type": "array",
150+
"items": [
151+
{
152+
"type": "object",
153+
"properties": {
154+
"value": {
155+
"type": "string"
156+
},
157+
"type": {
158+
"type": "string"
159+
}
160+
},
161+
"required": ["value", "type"]
162+
}
163+
]
164+
},
122165
"aliases": {
123166
"type": "array",
124167
"items": [

airbyte-integrations/connectors/source-google-directory/source_google_directory/schemas/users.json

+43
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,49 @@
116116
}
117117
]
118118
},
119+
"organizations": {
120+
"type": "array",
121+
"items": [
122+
{
123+
"type": "object",
124+
"properties": {
125+
"name": {
126+
"type": "string"
127+
},
128+
"title": {
129+
"type": "string"
130+
},
131+
"primary": {
132+
"type": "boolean"
133+
},
134+
"customType": {
135+
"type": "string"
136+
},
137+
"description": {
138+
"type": "string"
139+
}
140+
},
141+
"required": ["name", "title", "primary", "customType", "description"]
142+
}
143+
]
144+
},
145+
"phones": {
146+
"type": "array",
147+
"items": [
148+
{
149+
"type": "object",
150+
"properties": {
151+
"value": {
152+
"type": "string"
153+
},
154+
"type": {
155+
"type": "string"
156+
}
157+
},
158+
"required": ["value", "type"]
159+
}
160+
]
161+
},
119162
"aliases": {
120163
"type": "array",
121164
"items": [

docs/integrations/sources/google-directory.md

+6
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@ At the end of this process, you should have JSON credentials to this Google Serv
5353

5454
You should now be ready to use the Google Directory connector in Airbyte.
5555

56+
57+
## Changelog
58+
59+
| Version | Date | Pull Request | Subject |
60+
| :------ | :-------- | :----- | :------ |
61+
| 0.1.4 | 2021-10-19 | [7167](https://github.com/airbytehq/airbyte/pull/7167) | Add organizations and phones to `users` schema |

0 commit comments

Comments
 (0)