Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: discovery/googleapis/people__v1.json

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/partners__v2.json ('k') | discovery/googleapis/playcustomapp__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/user.phonenumbers.read": {
6 "description": "View your phone numbers"
7 },
8 "https://www.googleapis.com/auth/userinfo.email": {
9 "description": "View your email address"
10 },
11 "https://www.googleapis.com/auth/contacts.readonly": {
12 "description": "View your contacts"
13 },
14 "https://www.googleapis.com/auth/user.birthday.read": {
15 "description": "View your complete date of birth"
16 },
17 "https://www.googleapis.com/auth/plus.login": { 5 "https://www.googleapis.com/auth/plus.login": {
18 "description": "Know the list of people in your circles, you r age range, and language" 6 "description": "Know the list of people in your circles, you r age range, and language"
19 }, 7 },
20 "https://www.googleapis.com/auth/userinfo.profile": { 8 "https://www.googleapis.com/auth/userinfo.profile": {
21 "description": "View your basic profile info" 9 "description": "View your basic profile info"
22 }, 10 },
23 "https://www.googleapis.com/auth/user.emails.read": { 11 "https://www.googleapis.com/auth/user.addresses.read": {
24 "description": "View your email addresses" 12 "description": "View your street addresses"
25 }, 13 },
26 "https://www.googleapis.com/auth/contacts": { 14 "https://www.googleapis.com/auth/contacts": {
27 "description": "Manage your contacts" 15 "description": "Manage your contacts"
28 }, 16 },
29 "https://www.googleapis.com/auth/user.addresses.read": { 17 "https://www.googleapis.com/auth/user.emails.read": {
30 "description": "View your street addresses" 18 "description": "View your email addresses"
19 },
20 "https://www.googleapis.com/auth/userinfo.email": {
21 "description": "View your email address"
22 },
23 "https://www.googleapis.com/auth/user.phonenumbers.read": {
24 "description": "View your phone numbers"
25 },
26 "https://www.googleapis.com/auth/user.birthday.read": {
27 "description": "View your complete date of birth"
28 },
29 "https://www.googleapis.com/auth/contacts.readonly": {
30 "description": "View your contacts"
31 } 31 }
32 } 32 }
33 } 33 }
34 }, 34 },
35 "basePath": "", 35 "basePath": "",
36 "baseUrl": "https://people.googleapis.com/", 36 "baseUrl": "https://people.googleapis.com/",
37 "batchPath": "batch", 37 "batchPath": "batch",
38 "canonicalName": "People Service", 38 "canonicalName": "People Service",
39 "description": "Provides access to information about profiles and contacts." , 39 "description": "Provides access to information about profiles and contacts." ,
40 "discoveryVersion": "v1", 40 "discoveryVersion": "v1",
41 "documentationLink": "https://developers.google.com/people/", 41 "documentationLink": "https://developers.google.com/people/",
42 "icons": { 42 "icons": {
43 "x16": "http://www.google.com/images/icons/product/search-16.gif", 43 "x16": "http://www.google.com/images/icons/product/search-16.gif",
44 "x32": "http://www.google.com/images/icons/product/search-32.gif" 44 "x32": "http://www.google.com/images/icons/product/search-32.gif"
45 }, 45 },
46 "id": "people:v1", 46 "id": "people:v1",
47 "kind": "discovery#restDescription", 47 "kind": "discovery#restDescription",
48 "name": "people", 48 "name": "people",
49 "ownerDomain": "google.com", 49 "ownerDomain": "google.com",
50 "ownerName": "Google", 50 "ownerName": "Google",
51 "parameters": { 51 "parameters": {
52 "quotaUser": { 52 "fields": {
53 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.", 53 "description": "Selector specifying which fields to include in a par tial response.",
54 "location": "query", 54 "location": "query",
55 "type": "string" 55 "type": "string"
56 }, 56 },
57 "pp": {
58 "default": "true",
59 "description": "Pretty-print response.",
60 "location": "query",
61 "type": "boolean"
62 },
63 "oauth_token": {
64 "description": "OAuth 2.0 token for the current user.",
65 "location": "query",
66 "type": "string"
67 },
68 "bearer_token": {
69 "description": "OAuth bearer token.",
70 "location": "query",
71 "type": "string"
72 },
73 "upload_protocol": {
74 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
75 "location": "query",
76 "type": "string"
77 },
78 "prettyPrint": {
79 "default": "true",
80 "description": "Returns response with indentations and line breaks." ,
81 "location": "query",
82 "type": "boolean"
83 },
84 "uploadType": { 57 "uploadType": {
85 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 58 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
86 "location": "query", 59 "location": "query",
87 "type": "string" 60 "type": "string"
88 }, 61 },
89 "fields": {
90 "description": "Selector specifying which fields to include in a par tial response.",
91 "location": "query",
92 "type": "string"
93 },
94 "callback": {
95 "description": "JSONP",
96 "location": "query",
97 "type": "string"
98 },
99 "$.xgafv": { 62 "$.xgafv": {
100 "description": "V1 error format.", 63 "description": "V1 error format.",
101 "enum": [ 64 "enum": [
102 "1", 65 "1",
103 "2" 66 "2"
104 ], 67 ],
105 "enumDescriptions": [ 68 "enumDescriptions": [
106 "v1 error format", 69 "v1 error format",
107 "v2 error format" 70 "v2 error format"
108 ], 71 ],
109 "location": "query", 72 "location": "query",
110 "type": "string" 73 "type": "string"
111 }, 74 },
75 "callback": {
76 "description": "JSONP",
77 "location": "query",
78 "type": "string"
79 },
112 "alt": { 80 "alt": {
113 "default": "json", 81 "default": "json",
114 "description": "Data format for response.", 82 "description": "Data format for response.",
115 "enum": [ 83 "enum": [
116 "json", 84 "json",
117 "media", 85 "media",
118 "proto" 86 "proto"
119 ], 87 ],
120 "enumDescriptions": [ 88 "enumDescriptions": [
121 "Responses with Content-Type of application/json", 89 "Responses with Content-Type of application/json",
122 "Media download with context-dependent Content-Type", 90 "Media download with context-dependent Content-Type",
123 "Responses with Content-Type of application/x-protobuf" 91 "Responses with Content-Type of application/x-protobuf"
124 ], 92 ],
125 "location": "query", 93 "location": "query",
126 "type": "string" 94 "type": "string"
127 }, 95 },
128 "key": { 96 "key": {
129 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.", 97 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
130 "location": "query", 98 "location": "query",
131 "type": "string" 99 "type": "string"
132 }, 100 },
133 "access_token": { 101 "access_token": {
134 "description": "OAuth access token.", 102 "description": "OAuth access token.",
135 "location": "query", 103 "location": "query",
136 "type": "string" 104 "type": "string"
105 },
106 "quotaUser": {
107 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
108 "location": "query",
109 "type": "string"
110 },
111 "pp": {
112 "default": "true",
113 "description": "Pretty-print response.",
114 "location": "query",
115 "type": "boolean"
116 },
117 "bearer_token": {
118 "description": "OAuth bearer token.",
119 "location": "query",
120 "type": "string"
121 },
122 "oauth_token": {
123 "description": "OAuth 2.0 token for the current user.",
124 "location": "query",
125 "type": "string"
126 },
127 "upload_protocol": {
128 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
129 "location": "query",
130 "type": "string"
131 },
132 "prettyPrint": {
133 "default": "true",
134 "description": "Returns response with indentations and line breaks." ,
135 "location": "query",
136 "type": "boolean"
137 } 137 }
138 }, 138 },
139 "protocol": "rest", 139 "protocol": "rest",
140 "resources": { 140 "resources": {
141 "contactGroups": { 141 "contactGroups": {
142 "methods": { 142 "methods": {
143 "list": {
144 "description": "List all contact groups owned by the authent icated user. Members of the\ncontact groups are not populated.",
145 "httpMethod": "GET",
146 "id": "people.contactGroups.list",
147 "parameterOrder": [],
148 "parameters": {
149 "syncToken": {
150 "description": "A sync token, returned by a previous call to `contactgroups.list`.\nOnly resources changed since the sync token was created will be returned.",
151 "location": "query",
152 "type": "string"
153 },
154 "pageToken": {
155 "description": "The next_page_token value returned f rom a previous call to\n[ListContactGroups](/people/api/rest/v1/contactgroups/li st).\nRequests the next page of resources.",
156 "location": "query",
157 "type": "string"
158 },
159 "pageSize": {
160 "description": "The maximum number of resources to r eturn.",
161 "format": "int32",
162 "location": "query",
163 "type": "integer"
164 }
165 },
166 "path": "v1/contactGroups",
167 "response": {
168 "$ref": "ListContactGroupsResponse"
169 },
170 "scopes": [
171 "https://www.googleapis.com/auth/contacts",
172 "https://www.googleapis.com/auth/contacts.readonly"
173 ]
174 },
175 "create": {
176 "description": "Create a new contact group owned by the auth enticated user.",
177 "httpMethod": "POST",
178 "id": "people.contactGroups.create",
179 "parameterOrder": [],
180 "parameters": {},
181 "path": "v1/contactGroups",
182 "request": {
183 "$ref": "CreateContactGroupRequest"
184 },
185 "response": {
186 "$ref": "ContactGroup"
187 },
188 "scopes": [
189 "https://www.googleapis.com/auth/contacts"
190 ]
191 },
192 "get": { 143 "get": {
193 "description": "Get a specific contact group owned by the au thenticated user by specifying\na contact group resource name.", 144 "description": "Get a specific contact group owned by the au thenticated user by specifying\na contact group resource name.",
194 "httpMethod": "GET", 145 "httpMethod": "GET",
195 "id": "people.contactGroups.get", 146 "id": "people.contactGroups.get",
196 "parameterOrder": [ 147 "parameterOrder": [
197 "resourceName" 148 "resourceName"
198 ], 149 ],
199 "parameters": { 150 "parameters": {
200 "maxMembers": { 151 "maxMembers": {
201 "description": "Specifies the maximum number of memb ers to return.", 152 "description": "Specifies the maximum number of memb ers to return.",
(...skipping 20 matching lines...) Expand all
222 }, 173 },
223 "update": { 174 "update": {
224 "description": "Update the name of an existing contact group owned by the authenticated\nuser.", 175 "description": "Update the name of an existing contact group owned by the authenticated\nuser.",
225 "httpMethod": "PUT", 176 "httpMethod": "PUT",
226 "id": "people.contactGroups.update", 177 "id": "people.contactGroups.update",
227 "parameterOrder": [ 178 "parameterOrder": [
228 "resourceName" 179 "resourceName"
229 ], 180 ],
230 "parameters": { 181 "parameters": {
231 "resourceName": { 182 "resourceName": {
232 "description": "The resource name for the contact gr oup, assigned by the server. An ASCII\nstring, in the form of `contactGroups/<co ntact_group_id>`.", 183 "description": "The resource name for the contact gr oup, assigned by the server. An ASCII\nstring, in the form of `contactGroups/`<v ar>contact_group_id</var>.",
233 "location": "path", 184 "location": "path",
234 "pattern": "^contactGroups/[^/]+$", 185 "pattern": "^contactGroups/[^/]+$",
235 "required": true, 186 "required": true,
236 "type": "string" 187 "type": "string"
237 } 188 }
238 }, 189 },
239 "path": "v1/{+resourceName}", 190 "path": "v1/{+resourceName}",
240 "request": { 191 "request": {
241 "$ref": "UpdateContactGroupRequest" 192 "$ref": "UpdateContactGroupRequest"
242 }, 193 },
243 "response": { 194 "response": {
244 "$ref": "ContactGroup" 195 "$ref": "ContactGroup"
245 }, 196 },
246 "scopes": [ 197 "scopes": [
247 "https://www.googleapis.com/auth/contacts" 198 "https://www.googleapis.com/auth/contacts"
248 ] 199 ]
249 }, 200 },
250 "batchGet": { 201 "batchGet": {
251 "description": "Get a list of contact groups owned by the au thenticated user by specifying\na list of contact group resource names.", 202 "description": "Get a list of contact groups owned by the au thenticated user by specifying\na list of contact group resource names.",
252 "httpMethod": "GET", 203 "httpMethod": "GET",
253 "id": "people.contactGroups.batchGet", 204 "id": "people.contactGroups.batchGet",
254 "parameterOrder": [], 205 "parameterOrder": [],
255 "parameters": { 206 "parameters": {
207 "resourceNames": {
208 "description": "The resource names of the contact gr oups to get.",
209 "location": "query",
210 "repeated": true,
211 "type": "string"
212 },
256 "maxMembers": { 213 "maxMembers": {
257 "description": "Specifies the maximum number of memb ers to return for each group.", 214 "description": "Specifies the maximum number of memb ers to return for each group.",
258 "format": "int32", 215 "format": "int32",
259 "location": "query", 216 "location": "query",
260 "type": "integer" 217 "type": "integer"
261 },
262 "resourceNames": {
263 "description": "The resource names of the contact gr oups to get.",
264 "location": "query",
265 "repeated": true,
266 "type": "string"
267 } 218 }
268 }, 219 },
269 "path": "v1/contactGroups:batchGet", 220 "path": "v1/contactGroups:batchGet",
270 "response": { 221 "response": {
271 "$ref": "BatchGetContactGroupsResponse" 222 "$ref": "BatchGetContactGroupsResponse"
272 }, 223 },
273 "scopes": [ 224 "scopes": [
274 "https://www.googleapis.com/auth/contacts", 225 "https://www.googleapis.com/auth/contacts",
275 "https://www.googleapis.com/auth/contacts.readonly" 226 "https://www.googleapis.com/auth/contacts.readonly"
276 ] 227 ]
277 }, 228 },
278 "delete": { 229 "delete": {
279 "description": "Delete an existing contact group owned by th e authenticated user by\nspecifying a contact group resource name.", 230 "description": "Delete an existing contact group owned by th e authenticated user by\nspecifying a contact group resource name.",
280 "httpMethod": "DELETE", 231 "httpMethod": "DELETE",
281 "id": "people.contactGroups.delete", 232 "id": "people.contactGroups.delete",
282 "parameterOrder": [ 233 "parameterOrder": [
283 "resourceName" 234 "resourceName"
284 ], 235 ],
285 "parameters": { 236 "parameters": {
286 "deleteContacts": {
287 "description": "Set to true to also delete the conta cts in the specified group.",
288 "location": "query",
289 "type": "boolean"
290 },
291 "resourceName": { 237 "resourceName": {
292 "description": "The resource name of the contact gro up to delete.", 238 "description": "The resource name of the contact gro up to delete.",
293 "location": "path", 239 "location": "path",
294 "pattern": "^contactGroups/[^/]+$", 240 "pattern": "^contactGroups/[^/]+$",
295 "required": true, 241 "required": true,
296 "type": "string" 242 "type": "string"
243 },
244 "deleteContacts": {
245 "description": "Set to true to also delete the conta cts in the specified group.",
246 "location": "query",
247 "type": "boolean"
297 } 248 }
298 }, 249 },
299 "path": "v1/{+resourceName}", 250 "path": "v1/{+resourceName}",
300 "response": { 251 "response": {
301 "$ref": "Empty" 252 "$ref": "Empty"
302 }, 253 },
303 "scopes": [ 254 "scopes": [
304 "https://www.googleapis.com/auth/contacts" 255 "https://www.googleapis.com/auth/contacts"
305 ] 256 ]
257 },
258 "list": {
259 "description": "List all contact groups owned by the authent icated user. Members of the\ncontact groups are not populated.",
260 "httpMethod": "GET",
261 "id": "people.contactGroups.list",
262 "parameterOrder": [],
263 "parameters": {
264 "pageSize": {
265 "description": "The maximum number of resources to r eturn.",
266 "format": "int32",
267 "location": "query",
268 "type": "integer"
269 },
270 "syncToken": {
271 "description": "A sync token, returned by a previous call to `contactgroups.list`.\nOnly resources changed since the sync token was created will be returned.",
272 "location": "query",
273 "type": "string"
274 },
275 "pageToken": {
276 "description": "The next_page_token value returned f rom a previous call to\n[ListContactGroups](/people/api/rest/v1/contactgroups/li st).\nRequests the next page of resources.",
277 "location": "query",
278 "type": "string"
279 }
280 },
281 "path": "v1/contactGroups",
282 "response": {
283 "$ref": "ListContactGroupsResponse"
284 },
285 "scopes": [
286 "https://www.googleapis.com/auth/contacts",
287 "https://www.googleapis.com/auth/contacts.readonly"
288 ]
289 },
290 "create": {
291 "description": "Create a new contact group owned by the auth enticated user.",
292 "httpMethod": "POST",
293 "id": "people.contactGroups.create",
294 "parameterOrder": [],
295 "parameters": {},
296 "path": "v1/contactGroups",
297 "request": {
298 "$ref": "CreateContactGroupRequest"
299 },
300 "response": {
301 "$ref": "ContactGroup"
302 },
303 "scopes": [
304 "https://www.googleapis.com/auth/contacts"
305 ]
306 } 306 }
307 }, 307 },
308 "resources": { 308 "resources": {
309 "members": { 309 "members": {
310 "methods": { 310 "methods": {
311 "modify": { 311 "modify": {
312 "description": "Modify the members of a contact grou p owned by the authenticated user.", 312 "description": "Modify the members of a contact grou p owned by the authenticated user.",
313 "httpMethod": "POST", 313 "httpMethod": "POST",
314 "id": "people.contactGroups.members.modify", 314 "id": "people.contactGroups.members.modify",
315 "parameterOrder": [ 315 "parameterOrder": [
(...skipping 18 matching lines...) Expand all
334 "scopes": [ 334 "scopes": [
335 "https://www.googleapis.com/auth/contacts" 335 "https://www.googleapis.com/auth/contacts"
336 ] 336 ]
337 } 337 }
338 } 338 }
339 } 339 }
340 } 340 }
341 }, 341 },
342 "people": { 342 "people": {
343 "methods": { 343 "methods": {
344 "deleteContact": {
345 "description": "Delete a contact person. Any non-contact dat a will not be deleted.",
346 "httpMethod": "DELETE",
347 "id": "people.people.deleteContact",
348 "parameterOrder": [
349 "resourceName"
350 ],
351 "parameters": {
352 "resourceName": {
353 "description": "The resource name of the contact to delete.",
354 "location": "path",
355 "pattern": "^people/[^/]+$",
356 "required": true,
357 "type": "string"
358 }
359 },
360 "path": "v1/{+resourceName}:deleteContact",
361 "response": {
362 "$ref": "Empty"
363 },
364 "scopes": [
365 "https://www.googleapis.com/auth/contacts"
366 ]
367 },
344 "getBatchGet": { 368 "getBatchGet": {
345 "description": "Provides information about a list of specifi c people by specifying a list\nof requested resource names. Use `people/me` to i ndicate the authenticated\nuser.\n<br>\nThe request throws a 400 error if 'perso nFields' is not specified.", 369 "description": "Provides information about a list of specifi c people by specifying a list\nof requested resource names. Use `people/me` to i ndicate the authenticated\nuser.\n<br>\nThe request throws a 400 error if 'perso nFields' is not specified.",
346 "httpMethod": "GET", 370 "httpMethod": "GET",
347 "id": "people.people.getBatchGet", 371 "id": "people.people.getBatchGet",
348 "parameterOrder": [], 372 "parameterOrder": [],
349 "parameters": { 373 "parameters": {
374 "personFields": {
375 "description": "**Required.** A field mask to restri ct which fields on each person are\nreturned. Valid values are:\n\n* addresses\n * ageRanges\n* biographies\n* birthdays\n* braggingRights\n* coverPhotos\n* emai lAddresses\n* events\n* genders\n* imClients\n* interests\n* locales\n* membersh ips\n* metadata\n* names\n* nicknames\n* occupations\n* organizations\n* phoneNu mbers\n* photos\n* relations\n* relationshipInterests\n* relationshipStatuses\n* residences\n* skills\n* taglines\n* urls",
376 "format": "google-fieldmask",
377 "location": "query",
378 "type": "string"
379 },
350 "requestMask.includeField": { 380 "requestMask.includeField": {
351 "description": "**Required.** Comma-separated list o f person fields to be included in the\nresponse. Each path should start with `pe rson.`: for example,\n`person.names` or `person.photos`.", 381 "description": "**Required.** Comma-separated list o f person fields to be included in the\nresponse. Each path should start with `pe rson.`: for example,\n`person.names` or `person.photos`.",
352 "format": "google-fieldmask", 382 "format": "google-fieldmask",
353 "location": "query", 383 "location": "query",
354 "type": "string" 384 "type": "string"
355 }, 385 },
356 "resourceNames": { 386 "resourceNames": {
357 "description": "The resource name, such as one retur ned by\n[`people.connections.list`](/people/api/rest/v1/people.connections/list) ,\nof one of the people to provide information about. You can include this\npara meter up to 50 times in one request.", 387 "description": "The resource names of the people to provide information about.\n\n- To get information about the authenticated user, specify `people/me`.\n- To get information about a google account, specify\n ` people/`<var>account_id</var>.\n- To get information about a contact, specify th e resource name that\n identifies the contact as returned by\n[`people.connecti ons.list`](/people/api/rest/v1/people.connections/list).\n\nYou can include up t o 50 resource names in one request.",
358 "location": "query", 388 "location": "query",
359 "repeated": true, 389 "repeated": true,
360 "type": "string" 390 "type": "string"
361 },
362 "personFields": {
363 "description": "**Required.** A field mask to restri ct which fields on each person are\nreturned. Valid values are:\n\n* addresses\n * ageRanges\n* biographies\n* birthdays\n* braggingRights\n* coverPhotos\n* emai lAddresses\n* events\n* genders\n* imClients\n* interests\n* locales\n* membersh ips\n* metadata\n* names\n* nicknames\n* occupations\n* organizations\n* phoneNu mbers\n* photos\n* relations\n* relationshipInterests\n* relationshipStatuses\n* residences\n* skills\n* taglines\n* urls",
364 "format": "google-fieldmask",
365 "location": "query",
366 "type": "string"
367 } 391 }
368 }, 392 },
369 "path": "v1/people:batchGet", 393 "path": "v1/people:batchGet",
370 "response": { 394 "response": {
371 "$ref": "GetPeopleResponse" 395 "$ref": "GetPeopleResponse"
372 }, 396 },
373 "scopes": [ 397 "scopes": [
374 "https://www.googleapis.com/auth/contacts", 398 "https://www.googleapis.com/auth/contacts",
375 "https://www.googleapis.com/auth/contacts.readonly", 399 "https://www.googleapis.com/auth/contacts.readonly",
376 "https://www.googleapis.com/auth/plus.login", 400 "https://www.googleapis.com/auth/plus.login",
(...skipping 13 matching lines...) Expand all
390 "resourceName" 414 "resourceName"
391 ], 415 ],
392 "parameters": { 416 "parameters": {
393 "personFields": { 417 "personFields": {
394 "description": "**Required.** A field mask to restri ct which fields on the person are\nreturned. Valid values are:\n\n* addresses\n* ageRanges\n* biographies\n* birthdays\n* braggingRights\n* coverPhotos\n* email Addresses\n* events\n* genders\n* imClients\n* interests\n* locales\n* membershi ps\n* metadata\n* names\n* nicknames\n* occupations\n* organizations\n* phoneNum bers\n* photos\n* relations\n* relationshipInterests\n* relationshipStatuses\n* residences\n* skills\n* taglines\n* urls", 418 "description": "**Required.** A field mask to restri ct which fields on the person are\nreturned. Valid values are:\n\n* addresses\n* ageRanges\n* biographies\n* birthdays\n* braggingRights\n* coverPhotos\n* email Addresses\n* events\n* genders\n* imClients\n* interests\n* locales\n* membershi ps\n* metadata\n* names\n* nicknames\n* occupations\n* organizations\n* phoneNum bers\n* photos\n* relations\n* relationshipInterests\n* relationshipStatuses\n* residences\n* skills\n* taglines\n* urls",
395 "format": "google-fieldmask", 419 "format": "google-fieldmask",
396 "location": "query", 420 "location": "query",
397 "type": "string" 421 "type": "string"
398 }, 422 },
399 "resourceName": { 423 "resourceName": {
400 "description": "The resource name of the person to p rovide information about.\n\n- To get information about the authenticated user, specify `people/me`.\n- To get information about a google account, specify `peop le/<account_id>`.\n- To get information about a contact, specify the resource na me that\n identifies the contact as returned by\n[`people.connections.list`](/p eople/api/rest/v1/people.connections/list).", 424 "description": "The resource name of the person to p rovide information about.\n\n- To get information about the authenticated user, specify `people/me`.\n- To get information about a google account, specify\n `pe ople/`<var>account_id</var>.\n- To get information about a contact, specify the resource name that\n identifies the contact as returned by\n[`people.connection s.list`](/people/api/rest/v1/people.connections/list).",
401 "location": "path", 425 "location": "path",
402 "pattern": "^people/[^/]+$", 426 "pattern": "^people/[^/]+$",
403 "required": true, 427 "required": true,
404 "type": "string" 428 "type": "string"
405 }, 429 },
406 "requestMask.includeField": { 430 "requestMask.includeField": {
407 "description": "**Required.** Comma-separated list o f person fields to be included in the\nresponse. Each path should start with `pe rson.`: for example,\n`person.names` or `person.photos`.", 431 "description": "**Required.** Comma-separated list o f person fields to be included in the\nresponse. Each path should start with `pe rson.`: for example,\n`person.names` or `person.photos`.",
408 "format": "google-fieldmask", 432 "format": "google-fieldmask",
409 "location": "query", 433 "location": "query",
410 "type": "string" 434 "type": "string"
(...skipping 16 matching lines...) Expand all
427 ] 451 ]
428 }, 452 },
429 "updateContact": { 453 "updateContact": {
430 "description": "Update contact data for an existing contact person. Any non-contact data\nwill not be modified.\n\nThe request throws a 400 error if `updatePersonFields` is not specified.\n<br>\nThe request throws a 400 error if `person.metadata.sources` is not\nspecified for the contact to be updat ed.\n<br>\nThe request throws a 412 error if `person.metadata.sources.etag` is\n different than the contact's etag, which indicates the contact has changed\nsinc e its data was read. Clients should get the latest person and re-apply\ntheir up dates to the latest person.", 454 "description": "Update contact data for an existing contact person. Any non-contact data\nwill not be modified.\n\nThe request throws a 400 error if `updatePersonFields` is not specified.\n<br>\nThe request throws a 400 error if `person.metadata.sources` is not\nspecified for the contact to be updat ed.\n<br>\nThe request throws a 412 error if `person.metadata.sources.etag` is\n different than the contact's etag, which indicates the contact has changed\nsinc e its data was read. Clients should get the latest person and re-apply\ntheir up dates to the latest person.",
431 "httpMethod": "PATCH", 455 "httpMethod": "PATCH",
432 "id": "people.people.updateContact", 456 "id": "people.people.updateContact",
433 "parameterOrder": [ 457 "parameterOrder": [
434 "resourceName" 458 "resourceName"
435 ], 459 ],
436 "parameters": { 460 "parameters": {
437 "resourceName": {
438 "description": "The resource name for the person, as signed by the server. An ASCII string\nwith a max length of 27 characters, in th e form of `people/<person_id>`.",
439 "location": "path",
440 "pattern": "^people/[^/]+$",
441 "required": true,
442 "type": "string"
443 },
444 "updatePersonFields": { 461 "updatePersonFields": {
445 "description": "**Required.** A field mask to restri ct which fields on the person are\nupdated. Valid values are:\n\n* addresses\n* biographies\n* birthdays\n* braggingRights\n* emailAddresses\n* events\n* gender s\n* imClients\n* interests\n* locales\n* names\n* nicknames\n* occupations\n* o rganizations\n* phoneNumbers\n* relations\n* residences\n* skills\n* urls", 462 "description": "**Required.** A field mask to restri ct which fields on the person are\nupdated. Valid values are:\n\n* addresses\n* biographies\n* birthdays\n* braggingRights\n* emailAddresses\n* events\n* gender s\n* imClients\n* interests\n* locales\n* names\n* nicknames\n* occupations\n* o rganizations\n* phoneNumbers\n* relations\n* residences\n* skills\n* urls",
446 "format": "google-fieldmask", 463 "format": "google-fieldmask",
447 "location": "query", 464 "location": "query",
448 "type": "string" 465 "type": "string"
466 },
467 "resourceName": {
468 "description": "The resource name for the person, as signed by the server. An ASCII string\nwith a max length of 27 characters, in th e form of\n`people/`<var>person_id</var>.",
469 "location": "path",
470 "pattern": "^people/[^/]+$",
471 "required": true,
472 "type": "string"
449 } 473 }
450 }, 474 },
451 "path": "v1/{+resourceName}:updateContact", 475 "path": "v1/{+resourceName}:updateContact",
452 "request": { 476 "request": {
453 "$ref": "Person" 477 "$ref": "Person"
454 }, 478 },
455 "response": { 479 "response": {
456 "$ref": "Person" 480 "$ref": "Person"
457 }, 481 },
458 "scopes": [ 482 "scopes": [
(...skipping 15 matching lines...) Expand all
474 "path": "v1/people:createContact", 498 "path": "v1/people:createContact",
475 "request": { 499 "request": {
476 "$ref": "Person" 500 "$ref": "Person"
477 }, 501 },
478 "response": { 502 "response": {
479 "$ref": "Person" 503 "$ref": "Person"
480 }, 504 },
481 "scopes": [ 505 "scopes": [
482 "https://www.googleapis.com/auth/contacts" 506 "https://www.googleapis.com/auth/contacts"
483 ] 507 ]
484 },
485 "deleteContact": {
486 "description": "Delete a contact person. Any non-contact dat a will not be deleted.",
487 "httpMethod": "DELETE",
488 "id": "people.people.deleteContact",
489 "parameterOrder": [
490 "resourceName"
491 ],
492 "parameters": {
493 "resourceName": {
494 "description": "The resource name of the contact to delete.",
495 "location": "path",
496 "pattern": "^people/[^/]+$",
497 "required": true,
498 "type": "string"
499 }
500 },
501 "path": "v1/{+resourceName}:deleteContact",
502 "response": {
503 "$ref": "Empty"
504 },
505 "scopes": [
506 "https://www.googleapis.com/auth/contacts"
507 ]
508 } 508 }
509 }, 509 },
510 "resources": { 510 "resources": {
511 "connections": { 511 "connections": {
512 "methods": { 512 "methods": {
513 "list": { 513 "list": {
514 "description": "Provides a list of the authenticated user's contacts merged with any\nconnected profiles.\n<br>\nThe request throws a 400 error if 'personFields' is not specified.", 514 "description": "Provides a list of the authenticated user's contacts merged with any\nconnected profiles.\n<br>\nThe request throws a 400 error if 'personFields' is not specified.",
515 "httpMethod": "GET", 515 "httpMethod": "GET",
516 "id": "people.people.connections.list", 516 "id": "people.people.connections.list",
517 "parameterOrder": [ 517 "parameterOrder": [
518 "resourceName" 518 "resourceName"
519 ], 519 ],
520 "parameters": { 520 "parameters": {
521 "syncToken": {
522 "description": "A sync token, returned by a previous call to `people.connections.list`.\nOnly resources changed since the sy nc token was created will be returned.",
523 "location": "query",
524 "type": "string"
525 },
526 "personFields": { 521 "personFields": {
527 "description": "**Required.** A field mask t o restrict which fields on each person are\nreturned. Valid values are:\n\n* add resses\n* ageRanges\n* biographies\n* birthdays\n* braggingRights\n* coverPhotos \n* emailAddresses\n* events\n* genders\n* imClients\n* interests\n* locales\n* memberships\n* metadata\n* names\n* nicknames\n* occupations\n* organizations\n* phoneNumbers\n* photos\n* relations\n* relationshipInterests\n* relationshipSta tuses\n* residences\n* skills\n* taglines\n* urls", 522 "description": "**Required.** A field mask t o restrict which fields on each person are\nreturned. Valid values are:\n\n* add resses\n* ageRanges\n* biographies\n* birthdays\n* braggingRights\n* coverPhotos \n* emailAddresses\n* events\n* genders\n* imClients\n* interests\n* locales\n* memberships\n* metadata\n* names\n* nicknames\n* occupations\n* organizations\n* phoneNumbers\n* photos\n* relations\n* relationshipInterests\n* relationshipSta tuses\n* residences\n* skills\n* taglines\n* urls",
528 "format": "google-fieldmask", 523 "format": "google-fieldmask",
529 "location": "query", 524 "location": "query",
530 "type": "string" 525 "type": "string"
531 }, 526 },
532 "sortOrder": { 527 "sortOrder": {
533 "description": "The order in which the conne ctions should be sorted. Defaults to\n`LAST_MODIFIED_ASCENDING`.", 528 "description": "The order in which the conne ctions should be sorted. Defaults to\n`LAST_MODIFIED_ASCENDING`.",
534 "enum": [ 529 "enum": [
535 "LAST_MODIFIED_ASCENDING", 530 "LAST_MODIFIED_ASCENDING",
(...skipping 24 matching lines...) Expand all
560 "description": "The number of connections to include in the response. Valid values are\nbetween 1 and 2000, inclusive. Defau lts to 100.", 555 "description": "The number of connections to include in the response. Valid values are\nbetween 1 and 2000, inclusive. Defau lts to 100.",
561 "format": "int32", 556 "format": "int32",
562 "location": "query", 557 "location": "query",
563 "type": "integer" 558 "type": "integer"
564 }, 559 },
565 "requestMask.includeField": { 560 "requestMask.includeField": {
566 "description": "**Required.** Comma-separate d list of person fields to be included in the\nresponse. Each path should start with `person.`: for example,\n`person.names` or `person.photos`.", 561 "description": "**Required.** Comma-separate d list of person fields to be included in the\nresponse. Each path should start with `person.`: for example,\n`person.names` or `person.photos`.",
567 "format": "google-fieldmask", 562 "format": "google-fieldmask",
568 "location": "query", 563 "location": "query",
569 "type": "string" 564 "type": "string"
565 },
566 "syncToken": {
567 "description": "A sync token, returned by a previous call to `people.connections.list`.\nOnly resources changed since the sy nc token was created will be returned.",
568 "location": "query",
569 "type": "string"
570 } 570 }
571 }, 571 },
572 "path": "v1/{+resourceName}/connections", 572 "path": "v1/{+resourceName}/connections",
573 "response": { 573 "response": {
574 "$ref": "ListConnectionsResponse" 574 "$ref": "ListConnectionsResponse"
575 }, 575 },
576 "scopes": [ 576 "scopes": [
577 "https://www.googleapis.com/auth/contacts", 577 "https://www.googleapis.com/auth/contacts",
578 "https://www.googleapis.com/auth/contacts.readon ly" 578 "https://www.googleapis.com/auth/contacts.readon ly"
579 ] 579 ]
580 } 580 }
581 } 581 }
582 } 582 }
583 } 583 }
584 } 584 }
585 }, 585 },
586 "revision": "20170706", 586 "revision": "20170727",
587 "rootUrl": "https://people.googleapis.com/", 587 "rootUrl": "https://people.googleapis.com/",
588 "schemas": { 588 "schemas": {
589 "AgeRangeType": {
590 "description": "A person's age range.",
591 "id": "AgeRangeType",
592 "properties": {
593 "metadata": {
594 "$ref": "FieldMetadata",
595 "description": "Metadata about the age range."
596 },
597 "ageRange": {
598 "description": "The age range.",
599 "enum": [
600 "AGE_RANGE_UNSPECIFIED",
601 "LESS_THAN_EIGHTEEN",
602 "EIGHTEEN_TO_TWENTY",
603 "TWENTY_ONE_OR_OLDER"
604 ],
605 "enumDescriptions": [
606 "Unspecified.",
607 "Younger than eighteen.",
608 "Between eighteen and twenty.",
609 "Twenty-one and older."
610 ],
611 "type": "string"
612 }
613 },
614 "type": "object"
615 },
616 "ListContactGroupsResponse": {
617 "description": "The response to a list contact groups request.",
618 "id": "ListContactGroupsResponse",
619 "properties": {
620 "contactGroups": {
621 "description": "The list of contact groups. Members of the c ontact groups are not\npopulated.",
622 "items": {
623 "$ref": "ContactGroup"
624 },
625 "type": "array"
626 },
627 "nextPageToken": {
628 "description": "The token that can be used to retrieve the n ext page of results.",
629 "type": "string"
630 },
631 "nextSyncToken": {
632 "description": "The token that can be used to retrieve chang es since the last request.",
633 "type": "string"
634 },
635 "totalItems": {
636 "description": "The total number of items in the list withou t pagination.",
637 "format": "int32",
638 "type": "integer"
639 }
640 },
641 "type": "object"
642 },
643 "PersonResponse": {
644 "description": "The response for a single person",
645 "id": "PersonResponse",
646 "properties": {
647 "person": {
648 "$ref": "Person",
649 "description": "The person."
650 },
651 "status": {
652 "$ref": "Status",
653 "description": "The status of the response."
654 },
655 "httpStatusCode": {
656 "description": "**DEPRECATED** (Please use status instead)\n \n[HTTP 1.1 status code]\n(http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.htm l).",
657 "format": "int32",
658 "type": "integer"
659 },
660 "requestedResourceName": {
661 "description": "The original requested resource name. May be different than the resource\nname on the returned person.\n\nThe resource name can change when adding or removing fields that link a\ncontact and profile such as a verified email, verified phone number, or a\nprofile URL.",
662 "type": "string"
663 }
664 },
665 "type": "object"
666 },
667 "Relation": {
668 "description": "A person's relation to another person.",
669 "id": "Relation",
670 "properties": {
671 "type": {
672 "description": "The person's relation to the other person. T he type can be custom or predefined.\nPossible values include, but are not limit ed to, the following values:\n\n* `spouse`\n* `child`\n* `mother`\n* `father`\n* `parent`\n* `brother`\n* `sister`\n* `friend`\n* `relative`\n* `domesticPartner `\n* `manager`\n* `assistant`\n* `referredBy`\n* `partner`",
673 "type": "string"
674 },
675 "metadata": {
676 "$ref": "FieldMetadata",
677 "description": "Metadata about the relation."
678 },
679 "formattedType": {
680 "description": "The type of the relation translated and form atted in the viewer's account\nlocale or the locale specified in the Accept-Lang uage HTTP header.",
681 "type": "string"
682 },
683 "person": {
684 "description": "The name of the other person this relation r efers to.",
685 "type": "string"
686 }
687 },
688 "type": "object"
689 },
690 "Occupation": {
691 "description": "A person's occupation.",
692 "id": "Occupation",
693 "properties": {
694 "metadata": {
695 "$ref": "FieldMetadata",
696 "description": "Metadata about the occupation."
697 },
698 "value": {
699 "description": "The occupation; for example, `carpenter`.",
700 "type": "string"
701 }
702 },
703 "type": "object"
704 },
705 "ContactGroup": {
706 "description": "A contact group.",
707 "id": "ContactGroup",
708 "properties": {
709 "memberResourceNames": {
710 "description": "The list of contact person resource names th at are members of the contact\ngroup. The field is not populated for LIST reques ts and can only be updated\nthrough the\n[ModifyContactGroupMembers](/people/api /rest/v1/contactgroups/members/modify).",
711 "items": {
712 "type": "string"
713 },
714 "type": "array"
715 },
716 "name": {
717 "description": "The contact group name set by the group owne r or a system provided name\nfor system groups.",
718 "type": "string"
719 },
720 "memberCount": {
721 "description": "The total number of contacts in the group ir respective of max members in\nspecified in the request.",
722 "format": "int32",
723 "type": "integer"
724 },
725 "metadata": {
726 "$ref": "ContactGroupMetadata",
727 "description": "Metadata about the contact group."
728 },
729 "resourceName": {
730 "description": "The resource name for the contact group, ass igned by the server. An ASCII\nstring, in the form of `contactGroups/<contact_gr oup_id>`.",
731 "type": "string"
732 },
733 "etag": {
734 "description": "The [HTTP entity tag](https://en.wikipedia.o rg/wiki/HTTP_ETag) of the\nresource. Used for web cache validation.",
735 "type": "string"
736 },
737 "formattedName": {
738 "description": "The read-only name translated and formatted in the viewer's account locale\nor the `Accept-Language` HTTP header locale for system groups names.\nGroup names set by the owner are the same as name.",
739 "type": "string"
740 },
741 "groupType": {
742 "description": "The read-only contact group type.",
743 "enum": [
744 "GROUP_TYPE_UNSPECIFIED",
745 "USER_CONTACT_GROUP",
746 "SYSTEM_CONTACT_GROUP"
747 ],
748 "enumDescriptions": [
749 "Unspecified.",
750 "User defined contact group.",
751 "System defined contact group."
752 ],
753 "type": "string"
754 }
755 },
756 "type": "object"
757 },
758 "Person": {
759 "description": "Information about a person merged from various data sources such as the\nauthenticated user's contacts and profile data.\n\nMost fie lds can have multiple items. The items in a field have no guaranteed\norder, but each non-empty field is guaranteed to have exactly one field with\n`metadata.pr imary` set to true.",
760 "id": "Person",
761 "properties": {
762 "nicknames": {
763 "description": "The person's nicknames.",
764 "items": {
765 "$ref": "Nickname"
766 },
767 "type": "array"
768 },
769 "names": {
770 "description": "The person's names.",
771 "items": {
772 "$ref": "Name"
773 },
774 "type": "array"
775 },
776 "relations": {
777 "description": "The person's relations.",
778 "items": {
779 "$ref": "Relation"
780 },
781 "type": "array"
782 },
783 "occupations": {
784 "description": "The person's occupations.",
785 "items": {
786 "$ref": "Occupation"
787 },
788 "type": "array"
789 },
790 "emailAddresses": {
791 "description": "The person's email addresses.",
792 "items": {
793 "$ref": "EmailAddress"
794 },
795 "type": "array"
796 },
797 "organizations": {
798 "description": "The person's past or current organizations." ,
799 "items": {
800 "$ref": "Organization"
801 },
802 "type": "array"
803 },
804 "etag": {
805 "description": "The [HTTP entity tag](https://en.wikipedia.o rg/wiki/HTTP_ETag) of the\nresource. Used for web cache validation.",
806 "type": "string"
807 },
808 "braggingRights": {
809 "description": "The person's bragging rights.",
810 "items": {
811 "$ref": "BraggingRights"
812 },
813 "type": "array"
814 },
815 "metadata": {
816 "$ref": "PersonMetadata",
817 "description": "Read-only metadata about the person."
818 },
819 "residences": {
820 "description": "The person's residences.",
821 "items": {
822 "$ref": "Residence"
823 },
824 "type": "array"
825 },
826 "genders": {
827 "description": "The person's genders.",
828 "items": {
829 "$ref": "Gender"
830 },
831 "type": "array"
832 },
833 "interests": {
834 "description": "The person's interests.",
835 "items": {
836 "$ref": "Interest"
837 },
838 "type": "array"
839 },
840 "resourceName": {
841 "description": "The resource name for the person, assigned b y the server. An ASCII string\nwith a max length of 27 characters, in the form o f `people/<person_id>`.",
842 "type": "string"
843 },
844 "biographies": {
845 "description": "The person's biographies.",
846 "items": {
847 "$ref": "Biography"
848 },
849 "type": "array"
850 },
851 "skills": {
852 "description": "The person's skills.",
853 "items": {
854 "$ref": "Skill"
855 },
856 "type": "array"
857 },
858 "relationshipStatuses": {
859 "description": "The person's read-only relationship statuses .",
860 "items": {
861 "$ref": "RelationshipStatus"
862 },
863 "type": "array"
864 },
865 "photos": {
866 "description": "The person's read-only photos.",
867 "items": {
868 "$ref": "Photo"
869 },
870 "type": "array"
871 },
872 "ageRange": {
873 "description": "**DEPRECATED** (Please use `person.ageRanges ` instead)**\n\nThe person's read-only age range.",
874 "enum": [
875 "AGE_RANGE_UNSPECIFIED",
876 "LESS_THAN_EIGHTEEN",
877 "EIGHTEEN_TO_TWENTY",
878 "TWENTY_ONE_OR_OLDER"
879 ],
880 "enumDescriptions": [
881 "Unspecified.",
882 "Younger than eighteen.",
883 "Between eighteen and twenty.",
884 "Twenty-one and older."
885 ],
886 "type": "string"
887 },
888 "taglines": {
889 "description": "The person's read-only taglines.",
890 "items": {
891 "$ref": "Tagline"
892 },
893 "type": "array"
894 },
895 "ageRanges": {
896 "description": "The person's read-only age ranges.",
897 "items": {
898 "$ref": "AgeRangeType"
899 },
900 "type": "array"
901 },
902 "addresses": {
903 "description": "The person's street addresses.",
904 "items": {
905 "$ref": "Address"
906 },
907 "type": "array"
908 },
909 "events": {
910 "description": "The person's events.",
911 "items": {
912 "$ref": "Event"
913 },
914 "type": "array"
915 },
916 "memberships": {
917 "description": "The person's read-only group memberships.",
918 "items": {
919 "$ref": "Membership"
920 },
921 "type": "array"
922 },
923 "phoneNumbers": {
924 "description": "The person's phone numbers.",
925 "items": {
926 "$ref": "PhoneNumber"
927 },
928 "type": "array"
929 },
930 "coverPhotos": {
931 "description": "The person's read-only cover photos.",
932 "items": {
933 "$ref": "CoverPhoto"
934 },
935 "type": "array"
936 },
937 "imClients": {
938 "description": "The person's instant messaging clients.",
939 "items": {
940 "$ref": "ImClient"
941 },
942 "type": "array"
943 },
944 "birthdays": {
945 "description": "The person's birthdays.",
946 "items": {
947 "$ref": "Birthday"
948 },
949 "type": "array"
950 },
951 "locales": {
952 "description": "The person's locale preferences.",
953 "items": {
954 "$ref": "Locale"
955 },
956 "type": "array"
957 },
958 "relationshipInterests": {
959 "description": "The person's read-only relationship interest s.",
960 "items": {
961 "$ref": "RelationshipInterest"
962 },
963 "type": "array"
964 },
965 "urls": {
966 "description": "The person's associated URLs.",
967 "items": {
968 "$ref": "Url"
969 },
970 "type": "array"
971 }
972 },
973 "type": "object"
974 },
975 "UpdateContactGroupRequest": {
976 "description": "A request to update an existing contact group. Only the name can be updated.",
977 "id": "UpdateContactGroupRequest",
978 "properties": {
979 "contactGroup": {
980 "$ref": "ContactGroup",
981 "description": "The contact group to update."
982 }
983 },
984 "type": "object"
985 },
986 "ContactGroupMetadata": {
987 "description": "The read-only metadata about a contact group.",
988 "id": "ContactGroupMetadata",
989 "properties": {
990 "updateTime": {
991 "description": "The time the group was last updated.",
992 "format": "google-datetime",
993 "type": "string"
994 },
995 "deleted": {
996 "description": "True if the contact group resource has been deleted. Populated only for\n[`ListContactGroups`](/people/api/rest/v1/contactgr oups/list) requests\nthat include a sync token.",
997 "type": "boolean"
998 }
999 },
1000 "type": "object"
1001 },
1002 "Residence": {
1003 "description": "A person's past or current residence.",
1004 "id": "Residence",
1005 "properties": {
1006 "current": {
1007 "description": "True if the residence is the person's curren t residence;\nfalse if the residence is a past residence.",
1008 "type": "boolean"
1009 },
1010 "metadata": {
1011 "$ref": "FieldMetadata",
1012 "description": "Metadata about the residence."
1013 },
1014 "value": {
1015 "description": "The address of the residence.",
1016 "type": "string"
1017 }
1018 },
1019 "type": "object"
1020 },
1021 "Event": {
1022 "description": "An event related to the person.",
1023 "id": "Event",
1024 "properties": {
1025 "type": {
1026 "description": "The type of the event. The type can be custo m or predefined.\nPossible values include, but are not limited to, the following :\n\n* `anniversary`\n* `other`",
1027 "type": "string"
1028 },
1029 "metadata": {
1030 "$ref": "FieldMetadata",
1031 "description": "Metadata about the event."
1032 },
1033 "date": {
1034 "$ref": "Date",
1035 "description": "The date of the event."
1036 },
1037 "formattedType": {
1038 "description": "The read-only type of the event translated a nd formatted in the\nviewer's account locale or the `Accept-Language` HTTP heade r locale.",
1039 "type": "string"
1040 }
1041 },
1042 "type": "object"
1043 },
1044 "ModifyContactGroupMembersResponse": {
1045 "description": "The response to a modify contact group members reque st.",
1046 "id": "ModifyContactGroupMembersResponse",
1047 "properties": {
1048 "notFoundResourceNames": {
1049 "description": "The contact people resource names that were not found.",
1050 "items": {
1051 "type": "string"
1052 },
1053 "type": "array"
1054 }
1055 },
1056 "type": "object"
1057 },
1058 "ProfileMetadata": {
1059 "description": "The read-only metadata about a profile.",
1060 "id": "ProfileMetadata",
1061 "properties": {
1062 "objectType": {
1063 "description": "The profile object type.",
1064 "enum": [
1065 "OBJECT_TYPE_UNSPECIFIED",
1066 "PERSON",
1067 "PAGE"
1068 ],
1069 "enumDescriptions": [
1070 "Unspecified.",
1071 "Person.",
1072 "[Google+ Page.](http://www.google.com/+/brands/)"
1073 ],
1074 "type": "string"
1075 },
1076 "userTypes": {
1077 "description": "The user types.",
1078 "enumDescriptions": [
1079 "The user type is not known.",
1080 "The user is a Google user.",
1081 "The user is a Google+ user.",
1082 "The user is a Google Apps for Work user."
1083 ],
1084 "items": {
1085 "enum": [
1086 "USER_TYPE_UNKNOWN",
1087 "GOOGLE_USER",
1088 "GPLUS_USER",
1089 "GOOGLE_APPS_USER"
1090 ],
1091 "type": "string"
1092 },
1093 "type": "array"
1094 }
1095 },
1096 "type": "object"
1097 },
1098 "Gender": {
1099 "description": "A person's gender.",
1100 "id": "Gender",
1101 "properties": {
1102 "value": {
1103 "description": "The gender for the person. The gender can be custom or predefined.\nPossible values include, but are not limited to, the\nfo llowing:\n\n* `male`\n* `female`\n* `other`\n* `unknown`",
1104 "type": "string"
1105 },
1106 "formattedValue": {
1107 "description": "The read-only value of the gender translated and formatted in the viewer's\naccount locale or the `Accept-Language` HTTP hea der locale.",
1108 "type": "string"
1109 },
1110 "metadata": {
1111 "$ref": "FieldMetadata",
1112 "description": "Metadata about the gender."
1113 }
1114 },
1115 "type": "object"
1116 },
1117 "CoverPhoto": {
1118 "description": "A person's read-only cover photo. A large image show n on the person's\nprofile page that represents who they are or what they care a bout.",
1119 "id": "CoverPhoto",
1120 "properties": {
1121 "url": {
1122 "description": "The URL of the cover photo.",
1123 "type": "string"
1124 },
1125 "default": {
1126 "description": "True if the cover photo is the default cover photo;\nfalse if the cover photo is a user-provided cover photo.",
1127 "type": "boolean"
1128 },
1129 "metadata": {
1130 "$ref": "FieldMetadata",
1131 "description": "Metadata about the cover photo."
1132 }
1133 },
1134 "type": "object"
1135 },
1136 "Interest": {
1137 "description": "One of the person's interests.",
1138 "id": "Interest",
1139 "properties": {
1140 "metadata": {
1141 "$ref": "FieldMetadata",
1142 "description": "Metadata about the interest."
1143 },
1144 "value": {
1145 "description": "The interest; for example, `stargazing`.",
1146 "type": "string"
1147 }
1148 },
1149 "type": "object"
1150 },
1151 "EmailAddress": {
1152 "description": "A person's email address.",
1153 "id": "EmailAddress",
1154 "properties": {
1155 "displayName": {
1156 "description": "The display name of the email.",
1157 "type": "string"
1158 },
1159 "type": {
1160 "description": "The type of the email address. The type can be custom or predefined.\nPossible values include, but are not limited to, the f ollowing:\n\n* `home`\n* `work`\n* `other`",
1161 "type": "string"
1162 },
1163 "metadata": {
1164 "$ref": "FieldMetadata",
1165 "description": "Metadata about the email address."
1166 },
1167 "value": {
1168 "description": "The email address.",
1169 "type": "string"
1170 },
1171 "formattedType": {
1172 "description": "The read-only type of the email address tran slated and formatted in the\nviewer's account locale or the `Accept-Language` HT TP header locale.",
1173 "type": "string"
1174 }
1175 },
1176 "type": "object"
1177 },
1178 "Nickname": {
1179 "description": "A person's nickname.",
1180 "id": "Nickname",
1181 "properties": {
1182 "type": {
1183 "description": "The type of the nickname.",
1184 "enum": [
1185 "DEFAULT",
1186 "MAIDEN_NAME",
1187 "INITIALS",
1188 "GPLUS",
1189 "OTHER_NAME"
1190 ],
1191 "enumDescriptions": [
1192 "Generic nickname.",
1193 "Maiden name or birth family name. Used when the person' s family name has\nchanged as a result of marriage.",
1194 "Initials.",
1195 "Google+ profile nickname.",
1196 "A professional affiliation or other name; for example, `Dr. Smith.`"
1197 ],
1198 "type": "string"
1199 },
1200 "metadata": {
1201 "$ref": "FieldMetadata",
1202 "description": "Metadata about the nickname."
1203 },
1204 "value": {
1205 "description": "The nickname.",
1206 "type": "string"
1207 }
1208 },
1209 "type": "object"
1210 },
1211 "Skill": {
1212 "description": "A skill that the person has.",
1213 "id": "Skill",
1214 "properties": {
1215 "metadata": {
1216 "$ref": "FieldMetadata",
1217 "description": "Metadata about the skill."
1218 },
1219 "value": {
1220 "description": "The skill; for example, `underwater basket w eaving`.",
1221 "type": "string"
1222 }
1223 },
1224 "type": "object"
1225 },
1226 "Tagline": {
1227 "description": "A read-only brief one-line description of the person .",
1228 "id": "Tagline",
1229 "properties": {
1230 "metadata": {
1231 "$ref": "FieldMetadata",
1232 "description": "Metadata about the tagline."
1233 },
1234 "value": {
1235 "description": "The tagline.",
1236 "type": "string"
1237 }
1238 },
1239 "type": "object"
1240 },
1241 "Date": {
1242 "description": "Represents a whole calendar date, for example a date of birth. The time\nof day and time zone are either specified elsewhere or are not\nsignificant. The date is relative to the\n[Proleptic Gregorian Calendar](ht tps://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar).\nThe day may be 0 to represent a year and month where the day is not\nsignificant. The year may be 0 to represent a month and day independent\nof year; for example, anniversary date .",
1243 "id": "Date",
1244 "properties": {
1245 "day": {
1246 "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not s ignificant.",
1247 "format": "int32",
1248 "type": "integer"
1249 },
1250 "year": {
1251 "description": "Year of date. Must be from 1 to 9999, or 0 i f specifying a date without\na year.",
1252 "format": "int32",
1253 "type": "integer"
1254 },
1255 "month": {
1256 "description": "Month of year. Must be from 1 to 12.",
1257 "format": "int32",
1258 "type": "integer"
1259 }
1260 },
1261 "type": "object"
1262 },
1263 "Name": {
1264 "description": "A person's name. If the name is a mononym, the famil y name is empty.",
1265 "id": "Name",
1266 "properties": {
1267 "honorificPrefix": {
1268 "description": "The honorific prefixes, such as `Mrs.` or `D r.`",
1269 "type": "string"
1270 },
1271 "phoneticHonorificSuffix": {
1272 "description": "The honorific suffixes spelled as they sound .",
1273 "type": "string"
1274 },
1275 "givenName": {
1276 "description": "The given name.",
1277 "type": "string"
1278 },
1279 "middleName": {
1280 "description": "The middle name(s).",
1281 "type": "string"
1282 },
1283 "phoneticHonorificPrefix": {
1284 "description": "The honorific prefixes spelled as they sound .",
1285 "type": "string"
1286 },
1287 "phoneticGivenName": {
1288 "description": "The given name spelled as it sounds.",
1289 "type": "string"
1290 },
1291 "phoneticFamilyName": {
1292 "description": "The family name spelled as it sounds.",
1293 "type": "string"
1294 },
1295 "familyName": {
1296 "description": "The family name.",
1297 "type": "string"
1298 },
1299 "metadata": {
1300 "$ref": "FieldMetadata",
1301 "description": "Metadata about the name."
1302 },
1303 "phoneticMiddleName": {
1304 "description": "The middle name(s) spelled as they sound.",
1305 "type": "string"
1306 },
1307 "phoneticFullName": {
1308 "description": "The full name spelled as it sounds.",
1309 "type": "string"
1310 },
1311 "displayNameLastFirst": {
1312 "description": "The read-only display name with the last nam e first formatted according to\nthe locale specified by the viewer's account or the\n<code>Accept-Language</code> HTTP header.",
1313 "type": "string"
1314 },
1315 "displayName": {
1316 "description": "The read-only display name formatted accordi ng to the locale specified by\nthe viewer's account or the <code>Accept-Language </code> HTTP header.",
1317 "type": "string"
1318 },
1319 "honorificSuffix": {
1320 "description": "The honorific suffixes, such as `Jr.`",
1321 "type": "string"
1322 }
1323 },
1324 "type": "object"
1325 },
1326 "Locale": {
1327 "description": "A person's locale preference.",
1328 "id": "Locale",
1329 "properties": {
1330 "metadata": {
1331 "$ref": "FieldMetadata",
1332 "description": "Metadata about the locale."
1333 },
1334 "value": {
1335 "description": "The well-formed [IETF BCP 47](https://tools. ietf.org/html/bcp47)\nlanguage tag representing the locale.",
1336 "type": "string"
1337 }
1338 },
1339 "type": "object"
1340 },
1341 "Empty": {
1342 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
1343 "id": "Empty",
1344 "properties": {},
1345 "type": "object"
1346 },
1347 "Biography": { 589 "Biography": {
1348 "description": "A person's short biography.", 590 "description": "A person's short biography.",
1349 "id": "Biography", 591 "id": "Biography",
1350 "properties": { 592 "properties": {
593 "metadata": {
594 "$ref": "FieldMetadata",
595 "description": "Metadata about the biography."
596 },
597 "value": {
598 "description": "The short biography.",
599 "type": "string"
600 },
1351 "contentType": { 601 "contentType": {
1352 "description": "The content type of the biography.", 602 "description": "The content type of the biography.",
1353 "enum": [ 603 "enum": [
1354 "CONTENT_TYPE_UNSPECIFIED", 604 "CONTENT_TYPE_UNSPECIFIED",
1355 "TEXT_PLAIN", 605 "TEXT_PLAIN",
1356 "TEXT_HTML" 606 "TEXT_HTML"
1357 ], 607 ],
1358 "enumDescriptions": [ 608 "enumDescriptions": [
1359 "Unspecified.", 609 "Unspecified.",
1360 "Plain text.", 610 "Plain text.",
1361 "HTML text." 611 "HTML text."
1362 ], 612 ],
1363 "type": "string" 613 "type": "string"
1364 },
1365 "metadata": {
1366 "$ref": "FieldMetadata",
1367 "description": "Metadata about the biography."
1368 },
1369 "value": {
1370 "description": "The short biography.",
1371 "type": "string"
1372 } 614 }
1373 }, 615 },
1374 "type": "object" 616 "type": "object"
1375 }, 617 },
1376 "FieldMetadata": { 618 "FieldMetadata": {
1377 "description": "Metadata about a field.", 619 "description": "Metadata about a field.",
1378 "id": "FieldMetadata", 620 "id": "FieldMetadata",
1379 "properties": { 621 "properties": {
622 "primary": {
623 "description": "True if the field is the primary field; fals e if the field is a secondary\nfield.",
624 "type": "boolean"
625 },
1380 "source": { 626 "source": {
1381 "$ref": "Source", 627 "$ref": "Source",
1382 "description": "The source of the field." 628 "description": "The source of the field."
1383 }, 629 },
1384 "verified": { 630 "verified": {
1385 "description": "True if the field is verified; false if the field is unverified. A\nverified field is typically a name, email address, phone number, or\nwebsite that has been confirmed to be owned by the person.", 631 "description": "True if the field is verified; false if the field is unverified. A\nverified field is typically a name, email address, phone number, or\nwebsite that has been confirmed to be owned by the person.",
1386 "type": "boolean" 632 "type": "boolean"
1387 }, 633 }
1388 "primary": { 634 },
1389 "description": "True if the field is the primary field; fals e if the field is a secondary\nfield.", 635 "type": "object"
1390 "type": "boolean" 636 },
637 "RelationshipInterest": {
638 "description": "A person's read-only relationship interest .",
639 "id": "RelationshipInterest",
640 "properties": {
641 "metadata": {
642 "$ref": "FieldMetadata",
643 "description": "Metadata about the relationship interest."
644 },
645 "value": {
646 "description": "The kind of relationship the person is looki ng for. The value can be custom\nor predefined. Possible values include, but are not limited to, the\nfollowing values:\n\n* `friend`\n* `date`\n* `relationship `\n* `networking`",
647 "type": "string"
648 },
649 "formattedValue": {
650 "description": "The value of the relationship interest trans lated and formatted in the\nviewer's account locale or the locale specified in t he Accept-Language\nHTTP header.",
651 "type": "string"
1391 } 652 }
1392 }, 653 },
1393 "type": "object" 654 "type": "object"
1394 }, 655 },
1395 "Source": { 656 "Source": {
1396 "description": "The source of a field.", 657 "description": "The source of a field.",
1397 "id": "Source", 658 "id": "Source",
1398 "properties": { 659 "properties": {
1399 "etag": {
1400 "description": "The [HTTP entity tag](https://en.wikipedia.o rg/wiki/HTTP_ETag) of the\nsource. Used for web cache validation. Only populated in\nperson.metadata.sources.",
1401 "type": "string"
1402 },
1403 "id": {
1404 "description": "The unique identifier within the source type generated by the server.",
1405 "type": "string"
1406 },
1407 "profileMetadata": {
1408 "$ref": "ProfileMetadata",
1409 "description": "Metadata about a source of type PROFILE."
1410 },
1411 "updateTime": { 660 "updateTime": {
1412 "description": "Last update timestamp of this source.", 661 "description": "**Only populated in `person.metadata.sources `.**\n\nLast update timestamp of this source.",
1413 "format": "google-datetime", 662 "format": "google-datetime",
1414 "type": "string" 663 "type": "string"
1415 }, 664 },
1416 "type": { 665 "type": {
1417 "description": "The source type.", 666 "description": "The source type.",
1418 "enum": [ 667 "enum": [
1419 "SOURCE_TYPE_UNSPECIFIED", 668 "SOURCE_TYPE_UNSPECIFIED",
1420 "ACCOUNT", 669 "ACCOUNT",
1421 "PROFILE", 670 "PROFILE",
1422 "DOMAIN_PROFILE", 671 "DOMAIN_PROFILE",
1423 "CONTACT" 672 "CONTACT"
1424 ], 673 ],
1425 "enumDescriptions": [ 674 "enumDescriptions": [
1426 "Unspecified.", 675 "Unspecified.",
1427 "[Google Account](https://accounts.google.com).", 676 "[Google Account](https://accounts.google.com).",
1428 "[Google profile](https://profiles.google.com). You can view the\nprofile at https://profiles.google.com/<var>id</var> where\n<var>id</v ar> is the source id.", 677 "[Google profile](https://profiles.google.com). You can view the\nprofile at https://profiles.google.com/<var>id</var> where\n<var>id</v ar> is the source id.",
1429 "[Google Apps domain profile](https://admin.google.com). ", 678 "[Google Apps domain profile](https://admin.google.com). ",
1430 "[Google contact](https://contacts.google.com). You can view the\ncontact at https://contact.google.com/<var>id</var> where <var>id</var >\nis the source id." 679 "[Google contact](https://contacts.google.com). You can view the\ncontact at https://contact.google.com/<var>id</var> where <var>id</var >\nis the source id."
1431 ], 680 ],
1432 "type": "string" 681 "type": "string"
1433 } 682 },
1434 }, 683 "etag": {
1435 "type": "object" 684 "description": "**Only populated in `person.metadata.sources `.**\n\nThe [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the\ns ource. Used for web cache validation.",
1436 }, 685 "type": "string"
1437 "RelationshipInterest": { 686 },
1438 "description": "A person's read-only relationship interest .", 687 "id": {
1439 "id": "RelationshipInterest", 688 "description": "The unique identifier within the source type generated by the server.",
1440 "properties": { 689 "type": "string"
1441 "formattedValue": { 690 },
1442 "description": "The value of the relationship interest trans lated and formatted in the\nviewer's account locale or the locale specified in t he Accept-Language\nHTTP header.", 691 "profileMetadata": {
1443 "type": "string" 692 "$ref": "ProfileMetadata",
1444 }, 693 "description": "**Only populated in `person.metadata.sources `.**\n\nMetadata about a source of type PROFILE."
1445 "metadata": {
1446 "$ref": "FieldMetadata",
1447 "description": "Metadata about the relationship interest."
1448 },
1449 "value": {
1450 "description": "The kind of relationship the person is looki ng for. The value can be custom\nor predefined. Possible values include, but are not limited to, the\nfollowing values:\n\n* `friend`\n* `date`\n* `relationship `\n* `networking`",
1451 "type": "string"
1452 } 694 }
1453 }, 695 },
1454 "type": "object" 696 "type": "object"
1455 }, 697 },
1456 "GetPeopleResponse": { 698 "GetPeopleResponse": {
1457 "id": "GetPeopleResponse", 699 "id": "GetPeopleResponse",
1458 "properties": { 700 "properties": {
1459 "responses": { 701 "responses": {
1460 "description": "The response for each requested resource nam e.", 702 "description": "The response for each requested resource nam e.",
1461 "items": { 703 "items": {
1462 "$ref": "PersonResponse" 704 "$ref": "PersonResponse"
1463 }, 705 },
1464 "type": "array" 706 "type": "array"
1465 } 707 }
1466 }, 708 },
1467 "type": "object" 709 "type": "object"
1468 }, 710 },
711 "PhoneNumber": {
712 "description": "A person's phone number.",
713 "id": "PhoneNumber",
714 "properties": {
715 "type": {
716 "description": "The type of the phone number. The type can b e custom or predefined.\nPossible values include, but are not limited to, the fo llowing:\n\n* `home`\n* `work`\n* `mobile`\n* `homeFax`\n* `workFax`\n* `otherFa x`\n* `pager`\n* `workMobile`\n* `workPager`\n* `main`\n* `googleVoice`\n* `othe r`",
717 "type": "string"
718 },
719 "metadata": {
720 "$ref": "FieldMetadata",
721 "description": "Metadata about the phone number."
722 },
723 "value": {
724 "description": "The phone number.",
725 "type": "string"
726 },
727 "formattedType": {
728 "description": "The read-only type of the phone number trans lated and formatted in the\nviewer's account locale or the `Accept-Language` HTT P header locale.",
729 "type": "string"
730 },
731 "canonicalForm": {
732 "description": "The read-only canonicalized [ITU-T E.164](ht tps://law.resource.org/pub/us/cfr/ibr/004/itu-t.E.164.1.2008.pdf)\nform of the p hone number.",
733 "type": "string"
734 }
735 },
736 "type": "object"
737 },
1469 "Photo": { 738 "Photo": {
1470 "description": "A person's read-only photo. A picture shown next to the person's name to\nhelp others recognize the person.", 739 "description": "A person's read-only photo. A picture shown next to the person's name to\nhelp others recognize the person.",
1471 "id": "Photo", 740 "id": "Photo",
1472 "properties": { 741 "properties": {
1473 "metadata": { 742 "metadata": {
1474 "$ref": "FieldMetadata", 743 "$ref": "FieldMetadata",
1475 "description": "Metadata about the photo." 744 "description": "Metadata about the photo."
1476 }, 745 },
1477 "url": { 746 "url": {
1478 "description": "The URL of the photo. You can change the des ired size by appending a query\nparameter `sz=<size>` at the end of the url. Exa mple:\n`https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/0 0gzXvDBYqw/s100/photo.jpg?sz=50`", 747 "description": "The URL of the photo. You can change the des ired size by appending a query\nparameter `sz=`<var>size</var> at the end of the url. Example:\n`https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAA AAAABa8/00gzXvDBYqw/s100/photo.jpg?sz=50`",
1479 "type": "string"
1480 }
1481 },
1482 "type": "object"
1483 },
1484 "PhoneNumber": {
1485 "description": "A person's phone number.",
1486 "id": "PhoneNumber",
1487 "properties": {
1488 "type": {
1489 "description": "The type of the phone number. The type can b e custom or predefined.\nPossible values include, but are not limited to, the fo llowing:\n\n* `home`\n* `work`\n* `mobile`\n* `homeFax`\n* `workFax`\n* `otherFa x`\n* `pager`\n* `workMobile`\n* `workPager`\n* `main`\n* `googleVoice`\n* `othe r`",
1490 "type": "string"
1491 },
1492 "metadata": {
1493 "$ref": "FieldMetadata",
1494 "description": "Metadata about the phone number."
1495 },
1496 "value": {
1497 "description": "The phone number.",
1498 "type": "string"
1499 },
1500 "formattedType": {
1501 "description": "The read-only type of the phone number trans lated and formatted in the\nviewer's account locale or the `Accept-Language` HTT P header locale.",
1502 "type": "string"
1503 },
1504 "canonicalForm": {
1505 "description": "The read-only canonicalized [ITU-T E.164](ht tps://law.resource.org/pub/us/cfr/ibr/004/itu-t.E.164.1.2008.pdf)\nform of the p hone number.",
1506 "type": "string" 748 "type": "string"
1507 } 749 }
1508 }, 750 },
1509 "type": "object" 751 "type": "object"
1510 }, 752 },
1511 "ListConnectionsResponse": { 753 "ListConnectionsResponse": {
1512 "id": "ListConnectionsResponse", 754 "id": "ListConnectionsResponse",
1513 "properties": { 755 "properties": {
756 "totalPeople": {
757 "description": "**DEPRECATED** (Please use totalItems)\nThe total number of people in the list without pagination.",
758 "format": "int32",
759 "type": "integer"
760 },
1514 "nextPageToken": { 761 "nextPageToken": {
1515 "description": "The token that can be used to retrieve the n ext page of results.", 762 "description": "The token that can be used to retrieve the n ext page of results.",
1516 "type": "string" 763 "type": "string"
1517 }, 764 },
1518 "totalItems": { 765 "totalItems": {
1519 "description": "The total number of items in the list withou t pagination.", 766 "description": "The total number of items in the list withou t pagination.",
1520 "format": "int32", 767 "format": "int32",
1521 "type": "integer" 768 "type": "integer"
1522 }, 769 },
1523 "nextSyncToken": { 770 "nextSyncToken": {
1524 "description": "The token that can be used to retrieve chang es since the last request.", 771 "description": "The token that can be used to retrieve chang es since the last request.",
1525 "type": "string" 772 "type": "string"
1526 }, 773 },
1527 "connections": { 774 "connections": {
1528 "description": "The list of people that the requestor is con nected to.", 775 "description": "The list of people that the requestor is con nected to.",
1529 "items": { 776 "items": {
1530 "$ref": "Person" 777 "$ref": "Person"
1531 }, 778 },
1532 "type": "array" 779 "type": "array"
1533 },
1534 "totalPeople": {
1535 "description": "**DEPRECATED** (Please use totalItems)\nThe total number of people in the list without pagination.",
1536 "format": "int32",
1537 "type": "integer"
1538 } 780 }
1539 }, 781 },
1540 "type": "object" 782 "type": "object"
1541 }, 783 },
1542 "Birthday": { 784 "Birthday": {
1543 "description": "A person's birthday. At least one of the `date` and `text` fields are\nspecified. The `date` and `text` fields typically represent t he same\ndate, but are not guaranteed to.", 785 "description": "A person's birthday. At least one of the `date` and `text` fields are\nspecified. The `date` and `text` fields typically represent t he same\ndate, but are not guaranteed to.",
1544 "id": "Birthday", 786 "id": "Birthday",
1545 "properties": { 787 "properties": {
1546 "date": { 788 "date": {
1547 "$ref": "Date", 789 "$ref": "Date",
(...skipping 18 matching lines...) Expand all
1566 "$ref": "ContactGroup", 808 "$ref": "ContactGroup",
1567 "description": "The contact group to create." 809 "description": "The contact group to create."
1568 } 810 }
1569 }, 811 },
1570 "type": "object" 812 "type": "object"
1571 }, 813 },
1572 "Address": { 814 "Address": {
1573 "description": "A person's physical address. May be a P.O. box or st reet address. All fields\nare optional.", 815 "description": "A person's physical address. May be a P.O. box or st reet address. All fields\nare optional.",
1574 "id": "Address", 816 "id": "Address",
1575 "properties": { 817 "properties": {
818 "formattedType": {
819 "description": "The read-only type of the address translated and formatted in the viewer's\naccount locale or the `Accept-Language` HTTP hea der locale.",
820 "type": "string"
821 },
822 "city": {
823 "description": "The city of the address.",
824 "type": "string"
825 },
826 "formattedValue": {
827 "description": "The unstructured value of the address. If th is is not set by the user it\nwill be automatically constructed from structured values.",
828 "type": "string"
829 },
830 "country": {
831 "description": "The country of the address.",
832 "type": "string"
833 },
834 "type": {
835 "description": "The type of the address. The type can be cus tom or predefined.\nPossible values include, but are not limited to, the followi ng:\n\n* `home`\n* `work`\n* `other`",
836 "type": "string"
837 },
838 "extendedAddress": {
839 "description": "The extended address of the address; for exa mple, the apartment number.",
840 "type": "string"
841 },
842 "poBox": {
843 "description": "The P.O. box of the address.",
844 "type": "string"
845 },
846 "postalCode": {
847 "description": "The postal code of the address.",
848 "type": "string"
849 },
850 "region": {
851 "description": "The region of the address; for example, the state or province.",
852 "type": "string"
853 },
854 "streetAddress": {
855 "description": "The street address.",
856 "type": "string"
857 },
858 "metadata": {
859 "$ref": "FieldMetadata",
860 "description": "Metadata about the address."
861 },
1576 "countryCode": { 862 "countryCode": {
1577 "description": "The [ISO 3166-1 alpha-2](http://www.iso.org/ iso/country_codes.htm) country\ncode of the address.", 863 "description": "The [ISO 3166-1 alpha-2](http://www.iso.org/ iso/country_codes.htm) country\ncode of the address.",
1578 "type": "string" 864 "type": "string"
1579 },
1580 "formattedType": {
1581 "description": "The read-only type of the address translated and formatted in the viewer's\naccount locale or the `Accept-Language` HTTP hea der locale.",
1582 "type": "string"
1583 },
1584 "city": {
1585 "description": "The city of the address.",
1586 "type": "string"
1587 },
1588 "formattedValue": {
1589 "description": "The unstructured value of the address. If th is is not set by the user it\nwill be automatically constructed from structured values.",
1590 "type": "string"
1591 },
1592 "country": {
1593 "description": "The country of the address.",
1594 "type": "string"
1595 },
1596 "type": {
1597 "description": "The type of the address. The type can be cus tom or predefined.\nPossible values include, but are not limited to, the followi ng:\n\n* `home`\n* `work`\n* `other`",
1598 "type": "string"
1599 },
1600 "extendedAddress": {
1601 "description": "The extended address of the address; for exa mple, the apartment number.",
1602 "type": "string"
1603 },
1604 "poBox": {
1605 "description": "The P.O. box of the address.",
1606 "type": "string"
1607 },
1608 "postalCode": {
1609 "description": "The postal code of the address.",
1610 "type": "string"
1611 },
1612 "region": {
1613 "description": "The region of the address; for example, the state or province.",
1614 "type": "string"
1615 },
1616 "streetAddress": {
1617 "description": "The street address.",
1618 "type": "string"
1619 },
1620 "metadata": {
1621 "$ref": "FieldMetadata",
1622 "description": "Metadata about the address."
1623 } 865 }
1624 }, 866 },
1625 "type": "object" 867 "type": "object"
1626 }, 868 },
1627 "Status": { 869 "Status": {
1628 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", 870 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
1629 "id": "Status", 871 "id": "Status",
1630 "properties": { 872 "properties": {
1631 "code": {
1632 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1633 "format": "int32",
1634 "type": "integer"
1635 },
1636 "message": { 873 "message": {
1637 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", 874 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
1638 "type": "string" 875 "type": "string"
1639 }, 876 },
1640 "details": { 877 "details": {
1641 "description": "A list of messages that carry the error deta ils. There is a common set of\nmessage types for APIs to use.", 878 "description": "A list of messages that carry the error deta ils. There is a common set of\nmessage types for APIs to use.",
1642 "items": { 879 "items": {
1643 "additionalProperties": { 880 "additionalProperties": {
1644 "description": "Properties of the object. Contains f ield @type with type URL.", 881 "description": "Properties of the object. Contains f ield @type with type URL.",
1645 "type": "any" 882 "type": "any"
1646 }, 883 },
1647 "type": "object" 884 "type": "object"
1648 }, 885 },
1649 "type": "array" 886 "type": "array"
887 },
888 "code": {
889 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
890 "format": "int32",
891 "type": "integer"
1650 } 892 }
1651 }, 893 },
1652 "type": "object" 894 "type": "object"
1653 }, 895 },
1654 "ContactGroupMembership": { 896 "ContactGroupMembership": {
1655 "description": "A Google contact group membership.", 897 "description": "A Google contact group membership.",
1656 "id": "ContactGroupMembership", 898 "id": "ContactGroupMembership",
1657 "properties": { 899 "properties": {
1658 "contactGroupId": { 900 "contactGroupId": {
1659 "description": "The contact group ID for the contact group m embership. The contact group\nID can be custom or predefined. Possible values in clude, but are not\nlimited to, the following:\n\n* `myContacts`\n* `starred`\ n* A numerical ID for user-created groups.", 901 "description": "The contact group ID for the contact group m embership. The contact group\nID can be custom or predefined. Possible values in clude, but are not\nlimited to, the following:\n\n* `myContacts`\n* `starred`\ n* A numerical ID for user-created groups.",
1660 "type": "string" 902 "type": "string"
1661 } 903 }
1662 }, 904 },
1663 "type": "object" 905 "type": "object"
1664 }, 906 },
1665 "PersonMetadata": { 907 "PersonMetadata": {
1666 "description": "The read-only metadata about a person.", 908 "description": "The read-only metadata about a person.",
1667 "id": "PersonMetadata", 909 "id": "PersonMetadata",
1668 "properties": { 910 "properties": {
1669 "objectType": { 911 "objectType": {
1670 "description": "**DEPRECATED** (Please use\n`person.metadata .sources.profileMetadata.objectType` instead)\n\nThe type of the person object." , 912 "description": "**DEPRECATED** (Please use\n`person.metadata .sources.profileMetadata.objectType` instead)\n\nThe type of the person object." ,
1671 "enum": [ 913 "enum": [
1672 "OBJECT_TYPE_UNSPECIFIED", 914 "OBJECT_TYPE_UNSPECIFIED",
1673 "PERSON", 915 "PERSON",
916 "PAGE"
917 ],
918 "enumDescriptions": [
919 "Unspecified.",
920 "Person.",
921 "[Google+ Page.](http://www.google.com/+/brands/)"
922 ],
923 "type": "string"
924 },
925 "linkedPeopleResourceNames": {
926 "description": "Resource names of people linked to this reso urce.",
927 "items": {
928 "type": "string"
929 },
930 "type": "array"
931 },
932 "previousResourceNames": {
933 "description": "Any former resource names this person has ha d. Populated only for\n[`connections.list`](/people/api/rest/v1/people.connectio ns/list) requests\nthat include a sync token.\n\nThe resource name may change wh en adding or removing fields that link a\ncontact and profile such as a verified email, verified phone number, or\nprofile URL.",
934 "items": {
935 "type": "string"
936 },
937 "type": "array"
938 },
939 "sources": {
940 "description": "The sources of data for the person.",
941 "items": {
942 "$ref": "Source"
943 },
944 "type": "array"
945 },
946 "deleted": {
947 "description": "True if the person resource has been deleted . Populated only for\n[`connections.list`](/people/api/rest/v1/people.connection s/list) requests\nthat include a sync token.",
948 "type": "boolean"
949 }
950 },
951 "type": "object"
952 },
953 "ModifyContactGroupMembersRequest": {
954 "description": "A request to modify an existing contact group's memb ers.",
955 "id": "ModifyContactGroupMembersRequest",
956 "properties": {
957 "resourceNamesToAdd": {
958 "description": "The resource names of the contact people to add in the form of in the form\n`people/`<var>person_id</var>.",
959 "items": {
960 "type": "string"
961 },
962 "type": "array"
963 },
964 "resourceNamesToRemove": {
965 "description": "The resource names of the contact people to remove in the form of in the\nform of `people/`<var>person_id</var>.",
966 "items": {
967 "type": "string"
968 },
969 "type": "array"
970 }
971 },
972 "type": "object"
973 },
974 "ContactGroupResponse": {
975 "description": "The response for a specific contact group.",
976 "id": "ContactGroupResponse",
977 "properties": {
978 "contactGroup": {
979 "$ref": "ContactGroup",
980 "description": "The contact group."
981 },
982 "status": {
983 "$ref": "Status",
984 "description": "The status of the response."
985 },
986 "requestedResourceName": {
987 "description": "The original requested resource name.",
988 "type": "string"
989 }
990 },
991 "type": "object"
992 },
993 "Url": {
994 "description": "A person's associated URLs.",
995 "id": "Url",
996 "properties": {
997 "formattedType": {
998 "description": "The read-only type of the URL translated and formatted in the viewer's\naccount locale or the `Accept-Language` HTTP header locale.",
999 "type": "string"
1000 },
1001 "type": {
1002 "description": "The type of the URL. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\ n\n* `home`\n* `work`\n* `blog`\n* `profile`\n* `homePage`\n* `ftp`\n* `reservat ions`\n* `appInstallPage`: website for a Google+ application.\n* `other`",
1003 "type": "string"
1004 },
1005 "metadata": {
1006 "$ref": "FieldMetadata",
1007 "description": "Metadata about the URL."
1008 },
1009 "value": {
1010 "description": "The URL.",
1011 "type": "string"
1012 }
1013 },
1014 "type": "object"
1015 },
1016 "ImClient": {
1017 "description": "A person's instant messaging client.",
1018 "id": "ImClient",
1019 "properties": {
1020 "formattedProtocol": {
1021 "description": "The read-only protocol of the IM client form atted in the viewer's account\nlocale or the `Accept-Language` HTTP header local e.",
1022 "type": "string"
1023 },
1024 "formattedType": {
1025 "description": "The read-only type of the IM client translat ed and formatted in the\nviewer's account locale or the `Accept-Language` HTTP h eader locale.",
1026 "type": "string"
1027 },
1028 "metadata": {
1029 "$ref": "FieldMetadata",
1030 "description": "Metadata about the IM client."
1031 },
1032 "type": {
1033 "description": "The type of the IM client. The type can be c ustom or predefined.\nPossible values include, but are not limited to, the follo wing:\n\n* `home`\n* `work`\n* `other`",
1034 "type": "string"
1035 },
1036 "protocol": {
1037 "description": "The protocol of the IM client. The protocol can be custom or predefined.\nPossible values include, but are not limited to, t he following:\n\n* `aim`\n* `msn`\n* `yahoo`\n* `skype`\n* `qq`\n* `googleTalk`\ n* `icq`\n* `jabber`\n* `netMeeting`",
1038 "type": "string"
1039 },
1040 "username": {
1041 "description": "The user name used in the IM client.",
1042 "type": "string"
1043 }
1044 },
1045 "type": "object"
1046 },
1047 "DomainMembership": {
1048 "description": "A Google Apps Domain membership.",
1049 "id": "DomainMembership",
1050 "properties": {
1051 "inViewerDomain": {
1052 "description": "True if the person is in the viewer's Google Apps domain.",
1053 "type": "boolean"
1054 }
1055 },
1056 "type": "object"
1057 },
1058 "BatchGetContactGroupsResponse": {
1059 "description": "The response to a batch get contact groups request." ,
1060 "id": "BatchGetContactGroupsResponse",
1061 "properties": {
1062 "responses": {
1063 "description": "The list of responses for each requested con tact group resource.",
1064 "items": {
1065 "$ref": "ContactGroupResponse"
1066 },
1067 "type": "array"
1068 }
1069 },
1070 "type": "object"
1071 },
1072 "Membership": {
1073 "description": "A person's read-only membership in a group.",
1074 "id": "Membership",
1075 "properties": {
1076 "metadata": {
1077 "$ref": "FieldMetadata",
1078 "description": "Metadata about the membership."
1079 },
1080 "domainMembership": {
1081 "$ref": "DomainMembership",
1082 "description": "The domain membership."
1083 },
1084 "contactGroupMembership": {
1085 "$ref": "ContactGroupMembership",
1086 "description": "The contact group membership."
1087 }
1088 },
1089 "type": "object"
1090 },
1091 "RelationshipStatus": {
1092 "description": "A person's read-only relationship status.",
1093 "id": "RelationshipStatus",
1094 "properties": {
1095 "formattedValue": {
1096 "description": "The read-only value of the relationship stat us translated and formatted in\nthe viewer's account locale or the `Accept-Langu age` HTTP header locale.",
1097 "type": "string"
1098 },
1099 "metadata": {
1100 "$ref": "FieldMetadata",
1101 "description": "Metadata about the relationship status."
1102 },
1103 "value": {
1104 "description": "The relationship status. The value can be cu stom or predefined.\nPossible values include, but are not limited to, the follow ing:\n\n* `single`\n* `inARelationship`\n* `engaged`\n* `married`\n* `itsComplic ated`\n* `openRelationship`\n* `widowed`\n* `inDomesticPartnership`\n* `inCivilU nion`",
1105 "type": "string"
1106 }
1107 },
1108 "type": "object"
1109 },
1110 "BraggingRights": {
1111 "description": "A person's bragging rights.",
1112 "id": "BraggingRights",
1113 "properties": {
1114 "metadata": {
1115 "$ref": "FieldMetadata",
1116 "description": "Metadata about the bragging rights."
1117 },
1118 "value": {
1119 "description": "The bragging rights; for example, `climbed m ount everest`.",
1120 "type": "string"
1121 }
1122 },
1123 "type": "object"
1124 },
1125 "Organization": {
1126 "description": "A person's past or current organization. Overlapping date ranges are\npermitted.",
1127 "id": "Organization",
1128 "properties": {
1129 "type": {
1130 "description": "The type of the organization. The type can b e custom or predefined.\nPossible values include, but are not limited to, the fo llowing:\n\n* `work`\n* `school`",
1131 "type": "string"
1132 },
1133 "phoneticName": {
1134 "description": "The phonetic name of the organization.",
1135 "type": "string"
1136 },
1137 "jobDescription": {
1138 "description": "The person's job description at the organiza tion.",
1139 "type": "string"
1140 },
1141 "endDate": {
1142 "$ref": "Date",
1143 "description": "The end date when the person left the organi zation."
1144 },
1145 "symbol": {
1146 "description": "The symbol associated with the organization; for example, a stock ticker\nsymbol, abbreviation, or acronym.",
1147 "type": "string"
1148 },
1149 "name": {
1150 "description": "The name of the organization.",
1151 "type": "string"
1152 },
1153 "metadata": {
1154 "$ref": "FieldMetadata",
1155 "description": "Metadata about the organization."
1156 },
1157 "location": {
1158 "description": "The location of the organization office the person works at.",
1159 "type": "string"
1160 },
1161 "title": {
1162 "description": "The person's job title at the organization." ,
1163 "type": "string"
1164 },
1165 "current": {
1166 "description": "True if the organization is the person's cur rent organization;\nfalse if the organization is a past organization.",
1167 "type": "boolean"
1168 },
1169 "startDate": {
1170 "$ref": "Date",
1171 "description": "The start date when the person joined the or ganization."
1172 },
1173 "formattedType": {
1174 "description": "The read-only type of the organization trans lated and formatted in the\nviewer's account locale or the `Accept-Language` HTT P header locale.",
1175 "type": "string"
1176 },
1177 "domain": {
1178 "description": "The domain name associated with the organiza tion; for example, `google.com`.",
1179 "type": "string"
1180 },
1181 "department": {
1182 "description": "The person's department at the organization. ",
1183 "type": "string"
1184 }
1185 },
1186 "type": "object"
1187 },
1188 "AgeRangeType": {
1189 "description": "A person's age range.",
1190 "id": "AgeRangeType",
1191 "properties": {
1192 "ageRange": {
1193 "description": "The age range.",
1194 "enum": [
1195 "AGE_RANGE_UNSPECIFIED",
1196 "LESS_THAN_EIGHTEEN",
1197 "EIGHTEEN_TO_TWENTY",
1198 "TWENTY_ONE_OR_OLDER"
1199 ],
1200 "enumDescriptions": [
1201 "Unspecified.",
1202 "Younger than eighteen.",
1203 "Between eighteen and twenty.",
1204 "Twenty-one and older."
1205 ],
1206 "type": "string"
1207 },
1208 "metadata": {
1209 "$ref": "FieldMetadata",
1210 "description": "Metadata about the age range."
1211 }
1212 },
1213 "type": "object"
1214 },
1215 "ListContactGroupsResponse": {
1216 "description": "The response to a list contact groups request.",
1217 "id": "ListContactGroupsResponse",
1218 "properties": {
1219 "contactGroups": {
1220 "description": "The list of contact groups. Members of the c ontact groups are not\npopulated.",
1221 "items": {
1222 "$ref": "ContactGroup"
1223 },
1224 "type": "array"
1225 },
1226 "nextPageToken": {
1227 "description": "The token that can be used to retrieve the n ext page of results.",
1228 "type": "string"
1229 },
1230 "nextSyncToken": {
1231 "description": "The token that can be used to retrieve chang es since the last request.",
1232 "type": "string"
1233 },
1234 "totalItems": {
1235 "description": "The total number of items in the list withou t pagination.",
1236 "format": "int32",
1237 "type": "integer"
1238 }
1239 },
1240 "type": "object"
1241 },
1242 "PersonResponse": {
1243 "description": "The response for a single person",
1244 "id": "PersonResponse",
1245 "properties": {
1246 "person": {
1247 "$ref": "Person",
1248 "description": "The person."
1249 },
1250 "status": {
1251 "$ref": "Status",
1252 "description": "The status of the response."
1253 },
1254 "httpStatusCode": {
1255 "description": "**DEPRECATED** (Please use status instead)\n \n[HTTP 1.1 status code]\n(http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.htm l).",
1256 "format": "int32",
1257 "type": "integer"
1258 },
1259 "requestedResourceName": {
1260 "description": "The original requested resource name. May be different than the resource\nname on the returned person.\n\nThe resource name can change when adding or removing fields that link a\ncontact and profile such as a verified email, verified phone number, or a\nprofile URL.",
1261 "type": "string"
1262 }
1263 },
1264 "type": "object"
1265 },
1266 "Relation": {
1267 "description": "A person's relation to another person.",
1268 "id": "Relation",
1269 "properties": {
1270 "type": {
1271 "description": "The person's relation to the other person. T he type can be custom or predefined.\nPossible values include, but are not limit ed to, the following values:\n\n* `spouse`\n* `child`\n* `mother`\n* `father`\n* `parent`\n* `brother`\n* `sister`\n* `friend`\n* `relative`\n* `domesticPartner `\n* `manager`\n* `assistant`\n* `referredBy`\n* `partner`",
1272 "type": "string"
1273 },
1274 "metadata": {
1275 "$ref": "FieldMetadata",
1276 "description": "Metadata about the relation."
1277 },
1278 "formattedType": {
1279 "description": "The type of the relation translated and form atted in the viewer's account\nlocale or the locale specified in the Accept-Lang uage HTTP header.",
1280 "type": "string"
1281 },
1282 "person": {
1283 "description": "The name of the other person this relation r efers to.",
1284 "type": "string"
1285 }
1286 },
1287 "type": "object"
1288 },
1289 "Occupation": {
1290 "description": "A person's occupation.",
1291 "id": "Occupation",
1292 "properties": {
1293 "metadata": {
1294 "$ref": "FieldMetadata",
1295 "description": "Metadata about the occupation."
1296 },
1297 "value": {
1298 "description": "The occupation; for example, `carpenter`.",
1299 "type": "string"
1300 }
1301 },
1302 "type": "object"
1303 },
1304 "ContactGroup": {
1305 "description": "A contact group.",
1306 "id": "ContactGroup",
1307 "properties": {
1308 "resourceName": {
1309 "description": "The resource name for the contact group, ass igned by the server. An ASCII\nstring, in the form of `contactGroups/`<var>conta ct_group_id</var>.",
1310 "type": "string"
1311 },
1312 "etag": {
1313 "description": "The [HTTP entity tag](https://en.wikipedia.o rg/wiki/HTTP_ETag) of the\nresource. Used for web cache validation.",
1314 "type": "string"
1315 },
1316 "groupType": {
1317 "description": "The read-only contact group type.",
1318 "enum": [
1319 "GROUP_TYPE_UNSPECIFIED",
1320 "USER_CONTACT_GROUP",
1321 "SYSTEM_CONTACT_GROUP"
1322 ],
1323 "enumDescriptions": [
1324 "Unspecified.",
1325 "User defined contact group.",
1326 "System defined contact group."
1327 ],
1328 "type": "string"
1329 },
1330 "formattedName": {
1331 "description": "The read-only name translated and formatted in the viewer's account locale\nor the `Accept-Language` HTTP header locale for system groups names.\nGroup names set by the owner are the same as name.",
1332 "type": "string"
1333 },
1334 "memberResourceNames": {
1335 "description": "The list of contact person resource names th at are members of the contact\ngroup. The field is not populated for LIST reques ts and can only be updated\nthrough the\n[ModifyContactGroupMembers](/people/api /rest/v1/contactgroups/members/modify).",
1336 "items": {
1337 "type": "string"
1338 },
1339 "type": "array"
1340 },
1341 "name": {
1342 "description": "The contact group name set by the group owne r or a system provided name\nfor system groups.",
1343 "type": "string"
1344 },
1345 "metadata": {
1346 "$ref": "ContactGroupMetadata",
1347 "description": "Metadata about the contact group."
1348 },
1349 "memberCount": {
1350 "description": "The total number of contacts in the group ir respective of max members in\nspecified in the request.",
1351 "format": "int32",
1352 "type": "integer"
1353 }
1354 },
1355 "type": "object"
1356 },
1357 "Person": {
1358 "description": "Information about a person merged from various data sources such as the\nauthenticated user's contacts and profile data.\n\nMost fie lds can have multiple items. The items in a field have no guaranteed\norder, but each non-empty field is guaranteed to have exactly one field with\n`metadata.pr imary` set to true.",
1359 "id": "Person",
1360 "properties": {
1361 "relationshipStatuses": {
1362 "description": "The person's read-only relationship statuses .",
1363 "items": {
1364 "$ref": "RelationshipStatus"
1365 },
1366 "type": "array"
1367 },
1368 "photos": {
1369 "description": "The person's read-only photos.",
1370 "items": {
1371 "$ref": "Photo"
1372 },
1373 "type": "array"
1374 },
1375 "ageRange": {
1376 "description": "**DEPRECATED** (Please use `person.ageRanges ` instead)**\n\nThe person's read-only age range.",
1377 "enum": [
1378 "AGE_RANGE_UNSPECIFIED",
1379 "LESS_THAN_EIGHTEEN",
1380 "EIGHTEEN_TO_TWENTY",
1381 "TWENTY_ONE_OR_OLDER"
1382 ],
1383 "enumDescriptions": [
1384 "Unspecified.",
1385 "Younger than eighteen.",
1386 "Between eighteen and twenty.",
1387 "Twenty-one and older."
1388 ],
1389 "type": "string"
1390 },
1391 "taglines": {
1392 "description": "The person's read-only taglines.",
1393 "items": {
1394 "$ref": "Tagline"
1395 },
1396 "type": "array"
1397 },
1398 "ageRanges": {
1399 "description": "The person's read-only age ranges.",
1400 "items": {
1401 "$ref": "AgeRangeType"
1402 },
1403 "type": "array"
1404 },
1405 "addresses": {
1406 "description": "The person's street addresses.",
1407 "items": {
1408 "$ref": "Address"
1409 },
1410 "type": "array"
1411 },
1412 "events": {
1413 "description": "The person's events.",
1414 "items": {
1415 "$ref": "Event"
1416 },
1417 "type": "array"
1418 },
1419 "memberships": {
1420 "description": "The person's read-only group memberships.",
1421 "items": {
1422 "$ref": "Membership"
1423 },
1424 "type": "array"
1425 },
1426 "phoneNumbers": {
1427 "description": "The person's phone numbers.",
1428 "items": {
1429 "$ref": "PhoneNumber"
1430 },
1431 "type": "array"
1432 },
1433 "coverPhotos": {
1434 "description": "The person's read-only cover photos.",
1435 "items": {
1436 "$ref": "CoverPhoto"
1437 },
1438 "type": "array"
1439 },
1440 "imClients": {
1441 "description": "The person's instant messaging clients.",
1442 "items": {
1443 "$ref": "ImClient"
1444 },
1445 "type": "array"
1446 },
1447 "birthdays": {
1448 "description": "The person's birthdays.",
1449 "items": {
1450 "$ref": "Birthday"
1451 },
1452 "type": "array"
1453 },
1454 "locales": {
1455 "description": "The person's locale preferences.",
1456 "items": {
1457 "$ref": "Locale"
1458 },
1459 "type": "array"
1460 },
1461 "relationshipInterests": {
1462 "description": "The person's read-only relationship interest s.",
1463 "items": {
1464 "$ref": "RelationshipInterest"
1465 },
1466 "type": "array"
1467 },
1468 "urls": {
1469 "description": "The person's associated URLs.",
1470 "items": {
1471 "$ref": "Url"
1472 },
1473 "type": "array"
1474 },
1475 "nicknames": {
1476 "description": "The person's nicknames.",
1477 "items": {
1478 "$ref": "Nickname"
1479 },
1480 "type": "array"
1481 },
1482 "relations": {
1483 "description": "The person's relations.",
1484 "items": {
1485 "$ref": "Relation"
1486 },
1487 "type": "array"
1488 },
1489 "names": {
1490 "description": "The person's names.",
1491 "items": {
1492 "$ref": "Name"
1493 },
1494 "type": "array"
1495 },
1496 "occupations": {
1497 "description": "The person's occupations.",
1498 "items": {
1499 "$ref": "Occupation"
1500 },
1501 "type": "array"
1502 },
1503 "emailAddresses": {
1504 "description": "The person's email addresses.",
1505 "items": {
1506 "$ref": "EmailAddress"
1507 },
1508 "type": "array"
1509 },
1510 "organizations": {
1511 "description": "The person's past or current organizations." ,
1512 "items": {
1513 "$ref": "Organization"
1514 },
1515 "type": "array"
1516 },
1517 "etag": {
1518 "description": "The [HTTP entity tag](https://en.wikipedia.o rg/wiki/HTTP_ETag) of the\nresource. Used for web cache validation.",
1519 "type": "string"
1520 },
1521 "braggingRights": {
1522 "description": "The person's bragging rights.",
1523 "items": {
1524 "$ref": "BraggingRights"
1525 },
1526 "type": "array"
1527 },
1528 "metadata": {
1529 "$ref": "PersonMetadata",
1530 "description": "Read-only metadata about the person."
1531 },
1532 "residences": {
1533 "description": "The person's residences.",
1534 "items": {
1535 "$ref": "Residence"
1536 },
1537 "type": "array"
1538 },
1539 "genders": {
1540 "description": "The person's genders.",
1541 "items": {
1542 "$ref": "Gender"
1543 },
1544 "type": "array"
1545 },
1546 "resourceName": {
1547 "description": "The resource name for the person, assigned b y the server. An ASCII string\nwith a max length of 27 characters, in the form o f\n`people/`<var>person_id</var>.",
1548 "type": "string"
1549 },
1550 "interests": {
1551 "description": "The person's interests.",
1552 "items": {
1553 "$ref": "Interest"
1554 },
1555 "type": "array"
1556 },
1557 "biographies": {
1558 "description": "The person's biographies.",
1559 "items": {
1560 "$ref": "Biography"
1561 },
1562 "type": "array"
1563 },
1564 "skills": {
1565 "description": "The person's skills.",
1566 "items": {
1567 "$ref": "Skill"
1568 },
1569 "type": "array"
1570 }
1571 },
1572 "type": "object"
1573 },
1574 "UpdateContactGroupRequest": {
1575 "description": "A request to update an existing contact group. Only the name can be updated.",
1576 "id": "UpdateContactGroupRequest",
1577 "properties": {
1578 "contactGroup": {
1579 "$ref": "ContactGroup",
1580 "description": "The contact group to update."
1581 }
1582 },
1583 "type": "object"
1584 },
1585 "ContactGroupMetadata": {
1586 "description": "The read-only metadata about a contact group.",
1587 "id": "ContactGroupMetadata",
1588 "properties": {
1589 "deleted": {
1590 "description": "True if the contact group resource has been deleted. Populated only for\n[`ListContactGroups`](/people/api/rest/v1/contactgr oups/list) requests\nthat include a sync token.",
1591 "type": "boolean"
1592 },
1593 "updateTime": {
1594 "description": "The time the group was last updated.",
1595 "format": "google-datetime",
1596 "type": "string"
1597 }
1598 },
1599 "type": "object"
1600 },
1601 "Residence": {
1602 "description": "A person's past or current residence.",
1603 "id": "Residence",
1604 "properties": {
1605 "current": {
1606 "description": "True if the residence is the person's curren t residence;\nfalse if the residence is a past residence.",
1607 "type": "boolean"
1608 },
1609 "metadata": {
1610 "$ref": "FieldMetadata",
1611 "description": "Metadata about the residence."
1612 },
1613 "value": {
1614 "description": "The address of the residence.",
1615 "type": "string"
1616 }
1617 },
1618 "type": "object"
1619 },
1620 "Event": {
1621 "description": "An event related to the person.",
1622 "id": "Event",
1623 "properties": {
1624 "type": {
1625 "description": "The type of the event. The type can be custo m or predefined.\nPossible values include, but are not limited to, the following :\n\n* `anniversary`\n* `other`",
1626 "type": "string"
1627 },
1628 "metadata": {
1629 "$ref": "FieldMetadata",
1630 "description": "Metadata about the event."
1631 },
1632 "date": {
1633 "$ref": "Date",
1634 "description": "The date of the event."
1635 },
1636 "formattedType": {
1637 "description": "The read-only type of the event translated a nd formatted in the\nviewer's account locale or the `Accept-Language` HTTP heade r locale.",
1638 "type": "string"
1639 }
1640 },
1641 "type": "object"
1642 },
1643 "ModifyContactGroupMembersResponse": {
1644 "description": "The response to a modify contact group members reque st.",
1645 "id": "ModifyContactGroupMembersResponse",
1646 "properties": {
1647 "notFoundResourceNames": {
1648 "description": "The contact people resource names that were not found.",
1649 "items": {
1650 "type": "string"
1651 },
1652 "type": "array"
1653 }
1654 },
1655 "type": "object"
1656 },
1657 "ProfileMetadata": {
1658 "description": "The read-only metadata about a profile.",
1659 "id": "ProfileMetadata",
1660 "properties": {
1661 "objectType": {
1662 "description": "The profile object type.",
1663 "enum": [
1664 "OBJECT_TYPE_UNSPECIFIED",
1665 "PERSON",
1674 "PAGE" 1666 "PAGE"
1675 ], 1667 ],
1676 "enumDescriptions": [ 1668 "enumDescriptions": [
1677 "Unspecified.", 1669 "Unspecified.",
1678 "Person.", 1670 "Person.",
1679 "[Google+ Page.](http://www.google.com/+/brands/)" 1671 "[Google+ Page.](http://www.google.com/+/brands/)"
1680 ], 1672 ],
1681 "type": "string" 1673 "type": "string"
1682 }, 1674 },
1683 "linkedPeopleResourceNames": { 1675 "userTypes": {
1684 "description": "Resource names of people linked to this reso urce.", 1676 "description": "The user types.",
1677 "enumDescriptions": [
1678 "The user type is not known.",
1679 "The user is a Google user.",
1680 "The user is a Google+ user.",
1681 "The user is a Google Apps for Work user."
1682 ],
1685 "items": { 1683 "items": {
1684 "enum": [
1685 "USER_TYPE_UNKNOWN",
1686 "GOOGLE_USER",
1687 "GPLUS_USER",
1688 "GOOGLE_APPS_USER"
1689 ],
1686 "type": "string" 1690 "type": "string"
1687 }, 1691 },
1688 "type": "array" 1692 "type": "array"
1689 }, 1693 }
1690 "previousResourceNames": { 1694 },
1691 "description": "Any former resource names this person has ha d. Populated only for\n[`connections.list`](/people/api/rest/v1/people.connectio ns/list) requests\nthat include a sync token.\n\nThe resource name may change wh en adding or removing fields that link a\ncontact and profile such as a verified email, verified phone number, or\nprofile URL.", 1695 "type": "object"
1692 "items": { 1696 },
1693 "type": "string" 1697 "Gender": {
1694 }, 1698 "description": "A person's gender.",
1695 "type": "array" 1699 "id": "Gender",
1696 }, 1700 "properties": {
1697 "sources": { 1701 "formattedValue": {
1698 "description": "The sources of data for the person.", 1702 "description": "The read-only value of the gender translated and formatted in the viewer's\naccount locale or the `Accept-Language` HTTP hea der locale.",
1699 "items": { 1703 "type": "string"
1700 "$ref": "Source" 1704 },
1701 }, 1705 "metadata": {
1702 "type": "array" 1706 "$ref": "FieldMetadata",
1703 }, 1707 "description": "Metadata about the gender."
1704 "deleted": { 1708 },
1705 "description": "True if the person resource has been deleted . Populated only for\n[`connections.list`](/people/api/rest/v1/people.connection s/list) requests\nthat include a sync token.", 1709 "value": {
1710 "description": "The gender for the person. The gender can be custom or predefined.\nPossible values include, but are not limited to, the\nfo llowing:\n\n* `male`\n* `female`\n* `other`\n* `unknown`",
1711 "type": "string"
1712 }
1713 },
1714 "type": "object"
1715 },
1716 "CoverPhoto": {
1717 "description": "A person's read-only cover photo. A large image show n on the person's\nprofile page that represents who they are or what they care a bout.",
1718 "id": "CoverPhoto",
1719 "properties": {
1720 "default": {
1721 "description": "True if the cover photo is the default cover photo;\nfalse if the cover photo is a user-provided cover photo.",
1706 "type": "boolean" 1722 "type": "boolean"
1707 } 1723 },
1708 }, 1724 "metadata": {
1709 "type": "object" 1725 "$ref": "FieldMetadata",
1710 }, 1726 "description": "Metadata about the cover photo."
1711 "ModifyContactGroupMembersRequest": { 1727 },
1712 "description": "A request to modify an existing contact group's memb ers.", 1728 "url": {
1713 "id": "ModifyContactGroupMembersRequest", 1729 "description": "The URL of the cover photo.",
1714 "properties": { 1730 "type": "string"
1715 "resourceNamesToRemove": { 1731 }
1716 "description": "The resource names of the contact people to remove in the form of in the\nform of `people/<person_id>`.", 1732 },
1717 "items": { 1733 "type": "object"
1718 "type": "string" 1734 },
1719 }, 1735 "Interest": {
1720 "type": "array" 1736 "description": "One of the person's interests.",
1721 }, 1737 "id": "Interest",
1722 "resourceNamesToAdd": { 1738 "properties": {
1723 "description": "The resource names of the contact people to add in the form of in the form\n`people/<person_id>`.", 1739 "metadata": {
1724 "items": { 1740 "$ref": "FieldMetadata",
1725 "type": "string" 1741 "description": "Metadata about the interest."
1726 }, 1742 },
1727 "type": "array" 1743 "value": {
1728 } 1744 "description": "The interest; for example, `stargazing`.",
1729 }, 1745 "type": "string"
1730 "type": "object" 1746 }
1731 }, 1747 },
1732 "ContactGroupResponse": { 1748 "type": "object"
1733 "description": "The response for a specific contact group.", 1749 },
1734 "id": "ContactGroupResponse", 1750 "Nickname": {
1735 "properties": { 1751 "description": "A person's nickname.",
1736 "contactGroup": { 1752 "id": "Nickname",
1737 "$ref": "ContactGroup", 1753 "properties": {
1738 "description": "The contact group." 1754 "value": {
1739 }, 1755 "description": "The nickname.",
1740 "status": { 1756 "type": "string"
1741 "$ref": "Status", 1757 },
1742 "description": "The status of the response."
1743 },
1744 "requestedResourceName": {
1745 "description": "The original requested resource name.",
1746 "type": "string"
1747 }
1748 },
1749 "type": "object"
1750 },
1751 "Url": {
1752 "description": "A person's associated URLs.",
1753 "id": "Url",
1754 "properties": {
1755 "type": { 1758 "type": {
1756 "description": "The type of the URL. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\ n\n* `home`\n* `work`\n* `blog`\n* `profile`\n* `homePage`\n* `ftp`\n* `reservat ions`\n* `appInstallPage`: website for a Google+ application.\n* `other`", 1759 "description": "The type of the nickname.",
1757 "type": "string" 1760 "enum": [
1758 }, 1761 "DEFAULT",
1759 "metadata": { 1762 "MAIDEN_NAME",
1760 "$ref": "FieldMetadata", 1763 "INITIALS",
1761 "description": "Metadata about the URL." 1764 "GPLUS",
1762 }, 1765 "OTHER_NAME"
1763 "value": { 1766 ],
1764 "description": "The URL.", 1767 "enumDescriptions": [
1765 "type": "string" 1768 "Generic nickname.",
1766 }, 1769 "Maiden name or birth family name. Used when the person' s family name has\nchanged as a result of marriage.",
1770 "Initials.",
1771 "Google+ profile nickname.",
1772 "A professional affiliation or other name; for example, `Dr. Smith.`"
1773 ],
1774 "type": "string"
1775 },
1776 "metadata": {
1777 "$ref": "FieldMetadata",
1778 "description": "Metadata about the nickname."
1779 }
1780 },
1781 "type": "object"
1782 },
1783 "EmailAddress": {
1784 "description": "A person's email address.",
1785 "id": "EmailAddress",
1786 "properties": {
1767 "formattedType": { 1787 "formattedType": {
1768 "description": "The read-only type of the URL translated and formatted in the viewer's\naccount locale or the `Accept-Language` HTTP header locale.", 1788 "description": "The read-only type of the email address tran slated and formatted in the\nviewer's account locale or the `Accept-Language` HT TP header locale.",
1769 "type": "string" 1789 "type": "string"
1770 } 1790 },
1771 }, 1791 "displayName": {
1772 "type": "object" 1792 "description": "The display name of the email.",
1773 }, 1793 "type": "string"
1774 "ImClient": {
1775 "description": "A person's instant messaging client.",
1776 "id": "ImClient",
1777 "properties": {
1778 "formattedProtocol": {
1779 "description": "The read-only protocol of the IM client form atted in the viewer's account\nlocale or the `Accept-Language` HTTP header local e.",
1780 "type": "string"
1781 },
1782 "formattedType": {
1783 "description": "The read-only type of the IM client translat ed and formatted in the\nviewer's account locale or the `Accept-Language` HTTP h eader locale.",
1784 "type": "string"
1785 },
1786 "metadata": {
1787 "$ref": "FieldMetadata",
1788 "description": "Metadata about the IM client."
1789 }, 1794 },
1790 "type": { 1795 "type": {
1791 "description": "The type of the IM client. The type can be c ustom or predefined.\nPossible values include, but are not limited to, the follo wing:\n\n* `home`\n* `work`\n* `other`", 1796 "description": "The type of the email address. The type can be custom or predefined.\nPossible values include, but are not limited to, the f ollowing:\n\n* `home`\n* `work`\n* `other`",
1792 "type": "string" 1797 "type": "string"
1793 }, 1798 },
1794 "protocol": { 1799 "metadata": {
1795 "description": "The protocol of the IM client. The protocol can be custom or predefined.\nPossible values include, but are not limited to, t he following:\n\n* `aim`\n* `msn`\n* `yahoo`\n* `skype`\n* `qq`\n* `googleTalk`\ n* `icq`\n* `jabber`\n* `netMeeting`", 1800 "$ref": "FieldMetadata",
1796 "type": "string" 1801 "description": "Metadata about the email address."
1797 }, 1802 },
1798 "username": { 1803 "value": {
1799 "description": "The user name used in the IM client.", 1804 "description": "The email address.",
1800 "type": "string" 1805 "type": "string"
1801 } 1806 }
1802 }, 1807 },
1803 "type": "object" 1808 "type": "object"
1804 }, 1809 },
1805 "DomainMembership": { 1810 "Skill": {
1806 "description": "A Google Apps Domain membership.", 1811 "description": "A skill that the person has.",
1807 "id": "DomainMembership", 1812 "id": "Skill",
1808 "properties": { 1813 "properties": {
1809 "inViewerDomain": { 1814 "metadata": {
1810 "description": "True if the person is in the viewer's Google Apps domain.", 1815 "$ref": "FieldMetadata",
1811 "type": "boolean" 1816 "description": "Metadata about the skill."
1812 } 1817 },
1813 }, 1818 "value": {
1814 "type": "object" 1819 "description": "The skill; for example, `underwater basket w eaving`.",
1815 }, 1820 "type": "string"
1816 "Membership": { 1821 }
1817 "description": "A person's read-only membership in a group.", 1822 },
1818 "id": "Membership", 1823 "type": "object"
1819 "properties": { 1824 },
1820 "metadata": { 1825 "Date": {
1821 "$ref": "FieldMetadata", 1826 "description": "Represents a whole calendar date, for example a date of birth. The time\nof day and time zone are either specified elsewhere or are not\nsignificant. The date is relative to the\n[Proleptic Gregorian Calendar](ht tps://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar).\nThe day may be 0 to represent a year and month where the day is not\nsignificant. The year may be 0 to represent a month and day independent\nof year; for example, anniversary date .",
1822 "description": "Metadata about the membership." 1827 "id": "Date",
1823 }, 1828 "properties": {
1824 "domainMembership": { 1829 "day": {
1825 "$ref": "DomainMembership", 1830 "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not s ignificant.",
1826 "description": "The domain membership." 1831 "format": "int32",
1827 }, 1832 "type": "integer"
1828 "contactGroupMembership": { 1833 },
1829 "$ref": "ContactGroupMembership", 1834 "year": {
1830 "description": "The contact group membership." 1835 "description": "Year of date. Must be from 1 to 9999, or 0 i f specifying a date without\na year.",
1831 } 1836 "format": "int32",
1832 }, 1837 "type": "integer"
1833 "type": "object" 1838 },
1834 }, 1839 "month": {
1835 "BatchGetContactGroupsResponse": { 1840 "description": "Month of year. Must be from 1 to 12.",
1836 "description": "The response to a batch get contact groups request." , 1841 "format": "int32",
1837 "id": "BatchGetContactGroupsResponse", 1842 "type": "integer"
1838 "properties": { 1843 }
1839 "responses": { 1844 },
1840 "description": "The list of responses for each requested con tact group resource.", 1845 "type": "object"
1841 "items": { 1846 },
1842 "$ref": "ContactGroupResponse" 1847 "Tagline": {
1843 }, 1848 "description": "A read-only brief one-line description of the person .",
1844 "type": "array" 1849 "id": "Tagline",
1845 } 1850 "properties": {
1846 }, 1851 "value": {
1847 "type": "object" 1852 "description": "The tagline.",
1848 }, 1853 "type": "string"
1849 "RelationshipStatus": { 1854 },
1850 "description": "A person's read-only relationship status.", 1855 "metadata": {
1851 "id": "RelationshipStatus", 1856 "$ref": "FieldMetadata",
1852 "properties": { 1857 "description": "Metadata about the tagline."
1853 "metadata": { 1858 }
1854 "$ref": "FieldMetadata", 1859 },
1855 "description": "Metadata about the relationship status." 1860 "type": "object"
1856 }, 1861 },
1857 "value": { 1862 "Name": {
1858 "description": "The relationship status. The value can be cu stom or predefined.\nPossible values include, but are not limited to, the follow ing:\n\n* `single`\n* `inARelationship`\n* `engaged`\n* `married`\n* `itsComplic ated`\n* `openRelationship`\n* `widowed`\n* `inDomesticPartnership`\n* `inCivilU nion`", 1863 "description": "A person's name. If the name is a mononym, the famil y name is empty.",
1859 "type": "string" 1864 "id": "Name",
1860 }, 1865 "properties": {
1861 "formattedValue": { 1866 "phoneticHonorificPrefix": {
1862 "description": "The read-only value of the relationship stat us translated and formatted in\nthe viewer's account locale or the `Accept-Langu age` HTTP header locale.", 1867 "description": "The honorific prefixes spelled as they sound .",
1863 "type": "string" 1868 "type": "string"
1864 } 1869 },
1865 }, 1870 "phoneticGivenName": {
1866 "type": "object" 1871 "description": "The given name spelled as it sounds.",
1867 }, 1872 "type": "string"
1868 "BraggingRights": { 1873 },
1869 "description": "A person's bragging rights.", 1874 "phoneticFamilyName": {
1870 "id": "BraggingRights", 1875 "description": "The family name spelled as it sounds.",
1871 "properties": { 1876 "type": "string"
1872 "metadata": { 1877 },
1873 "$ref": "FieldMetadata", 1878 "familyName": {
1874 "description": "Metadata about the bragging rights." 1879 "description": "The family name.",
1875 }, 1880 "type": "string"
1876 "value": { 1881 },
1877 "description": "The bragging rights; for example, `climbed m ount everest`.", 1882 "metadata": {
1878 "type": "string" 1883 "$ref": "FieldMetadata",
1879 } 1884 "description": "Metadata about the name."
1880 }, 1885 },
1881 "type": "object" 1886 "phoneticMiddleName": {
1882 }, 1887 "description": "The middle name(s) spelled as they sound.",
1883 "Organization": { 1888 "type": "string"
1884 "description": "A person's past or current organization. Overlapping date ranges are\npermitted.", 1889 },
1885 "id": "Organization", 1890 "phoneticFullName": {
1886 "properties": { 1891 "description": "The full name spelled as it sounds.",
1887 "endDate": { 1892 "type": "string"
1888 "$ref": "Date", 1893 },
1889 "description": "The end date when the person left the organi zation." 1894 "displayNameLastFirst": {
1890 }, 1895 "description": "The read-only display name with the last nam e first formatted according to\nthe locale specified by the viewer's account or the\n`Accept-Language` HTTP header.",
1891 "symbol": { 1896 "type": "string"
1892 "description": "The symbol associated with the organization; for example, a stock ticker\nsymbol, abbreviation, or acronym.", 1897 },
1893 "type": "string" 1898 "displayName": {
1894 }, 1899 "description": "The read-only display name formatted accordi ng to the locale specified by\nthe viewer's account or the `Accept-Language` HTT P header.",
1895 "name": { 1900 "type": "string"
1896 "description": "The name of the organization.", 1901 },
1897 "type": "string" 1902 "honorificSuffix": {
1898 }, 1903 "description": "The honorific suffixes, such as `Jr.`",
1899 "metadata": { 1904 "type": "string"
1900 "$ref": "FieldMetadata", 1905 },
1901 "description": "Metadata about the organization." 1906 "honorificPrefix": {
1902 }, 1907 "description": "The honorific prefixes, such as `Mrs.` or `D r.`",
1903 "location": { 1908 "type": "string"
1904 "description": "The location of the organization office the person works at.", 1909 },
1905 "type": "string" 1910 "phoneticHonorificSuffix": {
1906 }, 1911 "description": "The honorific suffixes spelled as they sound .",
1907 "title": { 1912 "type": "string"
1908 "description": "The person's job title at the organization." , 1913 },
1909 "type": "string" 1914 "middleName": {
1910 }, 1915 "description": "The middle name(s).",
1911 "current": { 1916 "type": "string"
1912 "description": "True if the organization is the person's cur rent organization;\nfalse if the organization is a past organization.", 1917 },
1913 "type": "boolean" 1918 "givenName": {
1914 }, 1919 "description": "The given name.",
1915 "formattedType": { 1920 "type": "string"
1916 "description": "The read-only type of the organization trans lated and formatted in the\nviewer's account locale or the `Accept-Language` HTT P header locale.", 1921 }
1917 "type": "string" 1922 },
1918 }, 1923 "type": "object"
1919 "startDate": { 1924 },
1920 "$ref": "Date", 1925 "Locale": {
1921 "description": "The start date when the person joined the or ganization." 1926 "description": "A person's locale preference.",
1922 }, 1927 "id": "Locale",
1923 "domain": { 1928 "properties": {
1924 "description": "The domain name associated with the organiza tion; for example, `google.com`.", 1929 "metadata": {
1925 "type": "string" 1930 "$ref": "FieldMetadata",
1926 }, 1931 "description": "Metadata about the locale."
1927 "department": { 1932 },
1928 "description": "The person's department at the organization. ", 1933 "value": {
1929 "type": "string" 1934 "description": "The well-formed [IETF BCP 47](https://tools. ietf.org/html/bcp47)\nlanguage tag representing the locale.",
1930 }, 1935 "type": "string"
1931 "type": { 1936 }
1932 "description": "The type of the organization. The type can b e custom or predefined.\nPossible values include, but are not limited to, the fo llowing:\n\n* `work`\n* `school`", 1937 },
1933 "type": "string" 1938 "type": "object"
1934 }, 1939 },
1935 "phoneticName": { 1940 "Empty": {
1936 "description": "The phonetic name of the organization.", 1941 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
1937 "type": "string" 1942 "id": "Empty",
1938 }, 1943 "properties": {},
1939 "jobDescription": {
1940 "description": "The person's job description at the organiza tion.",
1941 "type": "string"
1942 }
1943 },
1944 "type": "object" 1944 "type": "object"
1945 } 1945 }
1946 }, 1946 },
1947 "servicePath": "", 1947 "servicePath": "",
1948 "title": "Google People API", 1948 "title": "Google People API",
1949 "version": "v1" 1949 "version": "v1"
1950 } 1950 }
OLDNEW
« no previous file with comments | « discovery/googleapis/partners__v2.json ('k') | discovery/googleapis/playcustomapp__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698