OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/plus.login": { | 5 "https://www.googleapis.com/auth/plus.login": { |
6 "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" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/userinfo.profile": { | 8 "https://www.googleapis.com/auth/userinfo.profile": { |
9 "description": "View your basic profile info" | 9 "description": "View your basic profile info" |
10 }, | 10 }, |
11 "https://www.googleapis.com/auth/user.emails.read": { | 11 "https://www.googleapis.com/auth/user.emails.read": { |
12 "description": "View your email addresses" | 12 "description": "View your email addresses" |
13 }, | 13 }, |
14 "https://www.googleapis.com/auth/contacts": { | 14 "https://www.googleapis.com/auth/contacts": { |
15 "description": "Manage your contacts" | 15 "description": "Manage your contacts" |
16 }, | 16 }, |
17 "https://www.googleapis.com/auth/user.addresses.read": { | 17 "https://www.googleapis.com/auth/user.addresses.read": { |
18 "description": "View your street addresses" | 18 "description": "View your street addresses" |
19 }, | 19 }, |
| 20 "https://www.googleapis.com/auth/userinfo.email": { |
| 21 "description": "View your email address" |
| 22 }, |
20 "https://www.googleapis.com/auth/user.phonenumbers.read": { | 23 "https://www.googleapis.com/auth/user.phonenumbers.read": { |
21 "description": "View your phone numbers" | 24 "description": "View your phone numbers" |
22 }, | 25 }, |
23 "https://www.googleapis.com/auth/userinfo.email": { | |
24 "description": "View your email address" | |
25 }, | |
26 "https://www.googleapis.com/auth/user.birthday.read": { | 26 "https://www.googleapis.com/auth/user.birthday.read": { |
27 "description": "View your complete date of birth" | 27 "description": "View your complete date of birth" |
28 }, | 28 }, |
29 "https://www.googleapis.com/auth/contacts.readonly": { | 29 "https://www.googleapis.com/auth/contacts.readonly": { |
30 "description": "View your contacts" | 30 "description": "View your contacts" |
31 } | 31 } |
32 } | 32 } |
33 } | 33 } |
34 }, | 34 }, |
35 "basePath": "", | 35 "basePath": "", |
(...skipping 26 matching lines...) Expand all Loading... |
62 "fields": { | 62 "fields": { |
63 "description": "Selector specifying which fields to include in a par
tial response.", | 63 "description": "Selector specifying which fields to include in a par
tial response.", |
64 "location": "query", | 64 "location": "query", |
65 "type": "string" | 65 "type": "string" |
66 }, | 66 }, |
67 "uploadType": { | 67 "uploadType": { |
68 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 68 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
69 "location": "query", | 69 "location": "query", |
70 "type": "string" | 70 "type": "string" |
71 }, | 71 }, |
| 72 "callback": { |
| 73 "description": "JSONP", |
| 74 "location": "query", |
| 75 "type": "string" |
| 76 }, |
72 "$.xgafv": { | 77 "$.xgafv": { |
73 "description": "V1 error format.", | 78 "description": "V1 error format.", |
74 "enum": [ | 79 "enum": [ |
75 "1", | 80 "1", |
76 "2" | 81 "2" |
77 ], | 82 ], |
78 "enumDescriptions": [ | 83 "enumDescriptions": [ |
79 "v1 error format", | 84 "v1 error format", |
80 "v2 error format" | 85 "v2 error format" |
81 ], | 86 ], |
82 "location": "query", | 87 "location": "query", |
83 "type": "string" | 88 "type": "string" |
84 }, | 89 }, |
85 "callback": { | |
86 "description": "JSONP", | |
87 "location": "query", | |
88 "type": "string" | |
89 }, | |
90 "alt": { | 90 "alt": { |
91 "default": "json", | 91 "default": "json", |
92 "description": "Data format for response.", | 92 "description": "Data format for response.", |
93 "enum": [ | 93 "enum": [ |
94 "json", | 94 "json", |
95 "media", | 95 "media", |
96 "proto" | 96 "proto" |
97 ], | 97 ], |
98 "enumDescriptions": [ | 98 "enumDescriptions": [ |
99 "Responses with Content-Type of application/json", | 99 "Responses with Content-Type of application/json", |
(...skipping 17 matching lines...) Expand all Loading... |
117 "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.", | 117 "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.", |
118 "location": "query", | 118 "location": "query", |
119 "type": "string" | 119 "type": "string" |
120 }, | 120 }, |
121 "pp": { | 121 "pp": { |
122 "default": "true", | 122 "default": "true", |
123 "description": "Pretty-print response.", | 123 "description": "Pretty-print response.", |
124 "location": "query", | 124 "location": "query", |
125 "type": "boolean" | 125 "type": "boolean" |
126 }, | 126 }, |
| 127 "bearer_token": { |
| 128 "description": "OAuth bearer token.", |
| 129 "location": "query", |
| 130 "type": "string" |
| 131 }, |
127 "oauth_token": { | 132 "oauth_token": { |
128 "description": "OAuth 2.0 token for the current user.", | 133 "description": "OAuth 2.0 token for the current user.", |
129 "location": "query", | 134 "location": "query", |
130 "type": "string" | 135 "type": "string" |
131 }, | |
132 "bearer_token": { | |
133 "description": "OAuth bearer token.", | |
134 "location": "query", | |
135 "type": "string" | |
136 } | 136 } |
137 }, | 137 }, |
138 "protocol": "rest", | 138 "protocol": "rest", |
139 "resources": { | 139 "resources": { |
140 "people": { | 140 "people": { |
141 "methods": { | 141 "methods": { |
142 "getBatchGet": { | 142 "getBatchGet": { |
143 "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.", | 143 "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.", |
144 "httpMethod": "GET", | 144 "httpMethod": "GET", |
145 "id": "people.people.getBatchGet", | 145 "id": "people.people.getBatchGet", |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 "https://www.googleapis.com/auth/user.addresses.read", | 207 "https://www.googleapis.com/auth/user.addresses.read", |
208 "https://www.googleapis.com/auth/user.birthday.read", | 208 "https://www.googleapis.com/auth/user.birthday.read", |
209 "https://www.googleapis.com/auth/user.emails.read", | 209 "https://www.googleapis.com/auth/user.emails.read", |
210 "https://www.googleapis.com/auth/user.phonenumbers.read"
, | 210 "https://www.googleapis.com/auth/user.phonenumbers.read"
, |
211 "https://www.googleapis.com/auth/userinfo.email", | 211 "https://www.googleapis.com/auth/userinfo.email", |
212 "https://www.googleapis.com/auth/userinfo.profile" | 212 "https://www.googleapis.com/auth/userinfo.profile" |
213 ] | 213 ] |
214 } | 214 } |
215 }, | 215 }, |
216 "resources": { | 216 "resources": { |
217 "me": { | 217 "connections": { |
218 "resources": { | 218 "methods": { |
219 "connections": { | 219 "list": { |
220 "methods": { | 220 "description": "Provides a list of the authenticated
user's contacts merged with any\nlinked profiles.", |
221 "list": { | 221 "httpMethod": "GET", |
222 "description": "Provides a list of the authe
nticated user's contacts merged with any\nlinked profiles.", | 222 "id": "people.people.connections.list", |
223 "httpMethod": "GET", | 223 "parameterOrder": [ |
224 "id": "people.people.me.connections.list", | 224 "resourceName" |
225 "parameterOrder": [], | 225 ], |
226 "parameters": { | 226 "parameters": { |
227 "sortOrder": { | 227 "requestSyncToken": { |
228 "description": "The order in which t
he connections should be sorted. Defaults to\n`LAST_MODIFIED_ASCENDING`.", | 228 "description": "Whether the response should
include a sync token, which can be used to get\nall changes since the last reque
st.", |
229 "enum": [ | 229 "location": "query", |
230 "LAST_MODIFIED_ASCENDING", | 230 "type": "boolean" |
231 "FIRST_NAME_ASCENDING", | 231 }, |
232 "LAST_NAME_ASCENDING" | 232 "resourceName": { |
233 ], | 233 "description": "The resource name to return
connections for. Only `people/me` is valid.", |
234 "location": "query", | 234 "location": "path", |
235 "type": "string" | 235 "pattern": "^people/[^/]+$", |
236 }, | 236 "required": true, |
237 "syncToken": { | 237 "type": "string" |
238 "description": "A sync token, return
ed by a previous call to `people.connections.list`.\nOnly resources changed sinc
e the sync token was created will be returned.", | 238 }, |
239 "location": "query", | 239 "pageToken": { |
240 "type": "string" | 240 "description": "The token of the page to be
returned.", |
241 }, | 241 "location": "query", |
242 "pageToken": { | 242 "type": "string" |
243 "description": "The token of the pag
e to be returned.", | 243 }, |
244 "location": "query", | 244 "requestMask.includeField": { |
245 "type": "string" | 245 "description": "Comma-separated list of fiel
ds to be included in the response. Omitting\nthis field will include all fields
except for connections.list requests,\nwhich have a default mask that includes c
ommon fields like metadata, name,\nphoto, and profile url.\nEach path should sta
rt with `person.`: for example, `person.names` or\n`person.photos`.", |
246 }, | 246 "format": "google-fieldmask", |
247 "pageSize": { | 247 "location": "query", |
248 "description": "The number of connec
tions to include in the response. Valid values are\nbetween 1 and 500, inclusive
. Defaults to 100.", | 248 "type": "string" |
249 "format": "int32", | 249 }, |
250 "location": "query", | 250 "pageSize": { |
251 "type": "integer" | 251 "description": "The number of connections to
include in the response. Valid values are\nbetween 1 and 500, inclusive. Defaul
ts to 100.", |
252 }, | 252 "format": "int32", |
253 "requestMask.includeField": { | 253 "location": "query", |
254 "description": "Comma-separated list
of fields to be included in the response. Omitting\nthis field will include all
fields except for connections.list requests,\nwhich have a default mask that in
cludes common fields like metadata, name,\nphoto, and profile url.\nEach path sh
ould start with `person.`: for example, `person.names` or\n`person.photos`.", | 254 "type": "integer" |
255 "format": "google-fieldmask", | 255 }, |
256 "location": "query", | 256 "syncToken": { |
257 "type": "string" | 257 "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.", |
258 } | 258 "location": "query", |
259 }, | 259 "type": "string" |
260 "path": "v1/people/me/connections", | 260 }, |
261 "response": { | 261 "sortOrder": { |
262 "$ref": "ListConnectionsResponse" | 262 "description": "The order in which the conne
ctions should be sorted. Defaults to\n`LAST_MODIFIED_ASCENDING`.", |
263 }, | 263 "enum": [ |
264 "scopes": [ | 264 "LAST_MODIFIED_ASCENDING", |
265 "https://www.googleapis.com/auth/contact
s", | 265 "FIRST_NAME_ASCENDING", |
266 "https://www.googleapis.com/auth/contact
s.readonly" | 266 "LAST_NAME_ASCENDING" |
267 ] | 267 ], |
| 268 "location": "query", |
| 269 "type": "string" |
268 } | 270 } |
269 } | 271 }, |
| 272 "path": "v1/{+resourceName}/connections", |
| 273 "response": { |
| 274 "$ref": "ListConnectionsResponse" |
| 275 }, |
| 276 "scopes": [ |
| 277 "https://www.googleapis.com/auth/contacts", |
| 278 "https://www.googleapis.com/auth/contacts.readon
ly" |
| 279 ] |
270 } | 280 } |
271 } | 281 } |
272 } | 282 } |
273 } | 283 } |
274 } | 284 } |
275 }, | 285 }, |
276 "revision": "20170209", | 286 "revision": "20170302", |
277 "rootUrl": "https://people.googleapis.com/", | 287 "rootUrl": "https://people.googleapis.com/", |
278 "schemas": { | 288 "schemas": { |
| 289 "Relation": { |
| 290 "description": "A person's relation to another person.", |
| 291 "id": "Relation", |
| 292 "properties": { |
| 293 "metadata": { |
| 294 "$ref": "FieldMetadata", |
| 295 "description": "Metadata about the relation." |
| 296 }, |
| 297 "type": { |
| 298 "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`", |
| 299 "type": "string" |
| 300 }, |
| 301 "person": { |
| 302 "description": "The name of the other person this relation r
efers to.", |
| 303 "type": "string" |
| 304 }, |
| 305 "formattedType": { |
| 306 "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.", |
| 307 "type": "string" |
| 308 } |
| 309 }, |
| 310 "type": "object" |
| 311 }, |
| 312 "Occupation": { |
| 313 "description": "A person's occupation.", |
| 314 "id": "Occupation", |
| 315 "properties": { |
| 316 "value": { |
| 317 "description": "The occupation; for example, `carpenter`.", |
| 318 "type": "string" |
| 319 }, |
| 320 "metadata": { |
| 321 "$ref": "FieldMetadata", |
| 322 "description": "Metadata about the occupation." |
| 323 } |
| 324 }, |
| 325 "type": "object" |
| 326 }, |
| 327 "Person": { |
| 328 "description": "Information about a person merged from various data
sources such as the\nauthenticated user's contacts and profile data. Fields othe
r than IDs,\nmetadata, and group memberships are user-edited.\n\nMost fields can
have multiple items. The items in a field have no guaranteed\norder, but each n
on-empty field is guaranteed to have exactly one field with\n`metadata.primary`
set to true.\nNEXT_ID: 31", |
| 329 "id": "Person", |
| 330 "properties": { |
| 331 "nicknames": { |
| 332 "description": "The person's nicknames.", |
| 333 "items": { |
| 334 "$ref": "Nickname" |
| 335 }, |
| 336 "type": "array" |
| 337 }, |
| 338 "names": { |
| 339 "description": "The person's names.", |
| 340 "items": { |
| 341 "$ref": "Name" |
| 342 }, |
| 343 "type": "array" |
| 344 }, |
| 345 "relations": { |
| 346 "description": "The person's relations.", |
| 347 "items": { |
| 348 "$ref": "Relation" |
| 349 }, |
| 350 "type": "array" |
| 351 }, |
| 352 "occupations": { |
| 353 "description": "The person's occupations.", |
| 354 "items": { |
| 355 "$ref": "Occupation" |
| 356 }, |
| 357 "type": "array" |
| 358 }, |
| 359 "emailAddresses": { |
| 360 "description": "The person's email addresses.", |
| 361 "items": { |
| 362 "$ref": "EmailAddress" |
| 363 }, |
| 364 "type": "array" |
| 365 }, |
| 366 "organizations": { |
| 367 "description": "The person's past or current organizations."
, |
| 368 "items": { |
| 369 "$ref": "Organization" |
| 370 }, |
| 371 "type": "array" |
| 372 }, |
| 373 "etag": { |
| 374 "description": "The [HTTP entity tag](https://en.wikipedia.o
rg/wiki/HTTP_ETag) of the\nresource. Used for web cache validation.", |
| 375 "type": "string" |
| 376 }, |
| 377 "braggingRights": { |
| 378 "description": "The person's bragging rights.", |
| 379 "items": { |
| 380 "$ref": "BraggingRights" |
| 381 }, |
| 382 "type": "array" |
| 383 }, |
| 384 "metadata": { |
| 385 "$ref": "PersonMetadata", |
| 386 "description": "Metadata about the person." |
| 387 }, |
| 388 "residences": { |
| 389 "description": "The person's residences.", |
| 390 "items": { |
| 391 "$ref": "Residence" |
| 392 }, |
| 393 "type": "array" |
| 394 }, |
| 395 "genders": { |
| 396 "description": "The person's genders.", |
| 397 "items": { |
| 398 "$ref": "Gender" |
| 399 }, |
| 400 "type": "array" |
| 401 }, |
| 402 "interests": { |
| 403 "description": "The person's interests.", |
| 404 "items": { |
| 405 "$ref": "Interest" |
| 406 }, |
| 407 "type": "array" |
| 408 }, |
| 409 "resourceName": { |
| 410 "description": "The resource name for the person, assigned b
y the server. An ASCII string\nwith a max length of 27 characters. Always starts
with `people/`.", |
| 411 "type": "string" |
| 412 }, |
| 413 "biographies": { |
| 414 "description": "The person's biographies.", |
| 415 "items": { |
| 416 "$ref": "Biography" |
| 417 }, |
| 418 "type": "array" |
| 419 }, |
| 420 "skills": { |
| 421 "description": "The person's skills.", |
| 422 "items": { |
| 423 "$ref": "Skill" |
| 424 }, |
| 425 "type": "array" |
| 426 }, |
| 427 "relationshipStatuses": { |
| 428 "description": "The person's relationship statuses.", |
| 429 "items": { |
| 430 "$ref": "RelationshipStatus" |
| 431 }, |
| 432 "type": "array" |
| 433 }, |
| 434 "photos": { |
| 435 "description": "The person's photos.", |
| 436 "items": { |
| 437 "$ref": "Photo" |
| 438 }, |
| 439 "type": "array" |
| 440 }, |
| 441 "ageRange": { |
| 442 "description": "DEPRECATED(Please read person.age_ranges ins
tead). The person's age range.", |
| 443 "enum": [ |
| 444 "AGE_RANGE_UNSPECIFIED", |
| 445 "LESS_THAN_EIGHTEEN", |
| 446 "EIGHTEEN_TO_TWENTY", |
| 447 "TWENTY_ONE_OR_OLDER" |
| 448 ], |
| 449 "enumDescriptions": [ |
| 450 "Unspecified.", |
| 451 "Younger than eighteen.", |
| 452 "Between eighteen and twenty.", |
| 453 "Twenty-one and older." |
| 454 ], |
| 455 "type": "string" |
| 456 }, |
| 457 "taglines": { |
| 458 "description": "The person's taglines.", |
| 459 "items": { |
| 460 "$ref": "Tagline" |
| 461 }, |
| 462 "type": "array" |
| 463 }, |
| 464 "ageRanges": { |
| 465 "description": "The person's age ranges.", |
| 466 "items": { |
| 467 "$ref": "AgeRangeType" |
| 468 }, |
| 469 "type": "array" |
| 470 }, |
| 471 "addresses": { |
| 472 "description": "The person's street addresses.", |
| 473 "items": { |
| 474 "$ref": "Address" |
| 475 }, |
| 476 "type": "array" |
| 477 }, |
| 478 "events": { |
| 479 "description": "The person's events.", |
| 480 "items": { |
| 481 "$ref": "Event" |
| 482 }, |
| 483 "type": "array" |
| 484 }, |
| 485 "memberships": { |
| 486 "description": "The person's group memberships.", |
| 487 "items": { |
| 488 "$ref": "Membership" |
| 489 }, |
| 490 "type": "array" |
| 491 }, |
| 492 "phoneNumbers": { |
| 493 "description": "The person's phone numbers.", |
| 494 "items": { |
| 495 "$ref": "PhoneNumber" |
| 496 }, |
| 497 "type": "array" |
| 498 }, |
| 499 "coverPhotos": { |
| 500 "description": "The person's cover photos.", |
| 501 "items": { |
| 502 "$ref": "CoverPhoto" |
| 503 }, |
| 504 "type": "array" |
| 505 }, |
| 506 "imClients": { |
| 507 "description": "The person's instant messaging clients.", |
| 508 "items": { |
| 509 "$ref": "ImClient" |
| 510 }, |
| 511 "type": "array" |
| 512 }, |
| 513 "birthdays": { |
| 514 "description": "The person's birthdays.", |
| 515 "items": { |
| 516 "$ref": "Birthday" |
| 517 }, |
| 518 "type": "array" |
| 519 }, |
| 520 "locales": { |
| 521 "description": "The person's locale preferences.", |
| 522 "items": { |
| 523 "$ref": "Locale" |
| 524 }, |
| 525 "type": "array" |
| 526 }, |
| 527 "relationshipInterests": { |
| 528 "description": "The kind of relationship the person is looki
ng for.", |
| 529 "items": { |
| 530 "$ref": "RelationshipInterest" |
| 531 }, |
| 532 "type": "array" |
| 533 }, |
| 534 "urls": { |
| 535 "description": "The person's associated URLs.", |
| 536 "items": { |
| 537 "$ref": "Url" |
| 538 }, |
| 539 "type": "array" |
| 540 } |
| 541 }, |
| 542 "type": "object" |
| 543 }, |
| 544 "GetPeopleResponse": { |
| 545 "id": "GetPeopleResponse", |
| 546 "properties": { |
| 547 "responses": { |
| 548 "description": "The response for each requested resource nam
e.", |
| 549 "items": { |
| 550 "$ref": "PersonResponse" |
| 551 }, |
| 552 "type": "array" |
| 553 } |
| 554 }, |
| 555 "type": "object" |
| 556 }, |
279 "PhoneNumber": { | 557 "PhoneNumber": { |
280 "description": "A person's phone number.", | 558 "description": "A person's phone number.", |
281 "id": "PhoneNumber", | 559 "id": "PhoneNumber", |
282 "properties": { | 560 "properties": { |
| 561 "metadata": { |
| 562 "$ref": "FieldMetadata", |
| 563 "description": "Metadata about the phone number." |
| 564 }, |
| 565 "type": { |
| 566 "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`", |
| 567 "type": "string" |
| 568 }, |
283 "value": { | 569 "value": { |
284 "description": "The phone number.", | 570 "description": "The phone number.", |
285 "type": "string" | 571 "type": "string" |
286 }, | 572 }, |
287 "formattedType": { | 573 "formattedType": { |
288 "description": "The read-only type of the phone number trans
lated and formatted in the\nviewer's account locale or the the `Accept-Language`
HTTP header locale.", | 574 "description": "The read-only type of the phone number trans
lated and formatted in the\nviewer's account locale or the the `Accept-Language`
HTTP header locale.", |
289 "type": "string" | 575 "type": "string" |
290 }, | 576 }, |
291 "canonicalForm": { | 577 "canonicalForm": { |
292 "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.", | 578 "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.", |
293 "type": "string" | 579 "type": "string" |
294 }, | |
295 "metadata": { | |
296 "$ref": "FieldMetadata", | |
297 "description": "Metadata about the phone number." | |
298 }, | |
299 "type": { | |
300 "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`", | |
301 "type": "string" | |
302 } | 580 } |
303 }, | 581 }, |
304 "type": "object" | 582 "type": "object" |
305 }, | 583 }, |
306 "Photo": { | 584 "Photo": { |
307 "description": "A person's read-only photo. A picture shown next to
the person's name to\nhelp others recognize the person.", | 585 "description": "A person's read-only photo. A picture shown next to
the person's name to\nhelp others recognize the person.", |
308 "id": "Photo", | 586 "id": "Photo", |
309 "properties": { | 587 "properties": { |
310 "metadata": { | 588 "metadata": { |
311 "$ref": "FieldMetadata", | 589 "$ref": "FieldMetadata", |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 "$ref": "Date", | 633 "$ref": "Date", |
356 "description": "The date of the birthday." | 634 "description": "The date of the birthday." |
357 } | 635 } |
358 }, | 636 }, |
359 "type": "object" | 637 "type": "object" |
360 }, | 638 }, |
361 "Residence": { | 639 "Residence": { |
362 "description": "A person's past or current residence.", | 640 "description": "A person's past or current residence.", |
363 "id": "Residence", | 641 "id": "Residence", |
364 "properties": { | 642 "properties": { |
365 "value": { | |
366 "description": "The address of the residence.", | |
367 "type": "string" | |
368 }, | |
369 "metadata": { | 643 "metadata": { |
370 "$ref": "FieldMetadata", | 644 "$ref": "FieldMetadata", |
371 "description": "Metadata about the residence." | 645 "description": "Metadata about the residence." |
372 }, | 646 }, |
373 "current": { | 647 "current": { |
374 "description": "True if the residence is the person's curren
t residence;\nfalse if the residence is a past residence.", | 648 "description": "True if the residence is the person's curren
t residence;\nfalse if the residence is a past residence.", |
375 "type": "boolean" | 649 "type": "boolean" |
| 650 }, |
| 651 "value": { |
| 652 "description": "The address of the residence.", |
| 653 "type": "string" |
376 } | 654 } |
377 }, | 655 }, |
378 "type": "object" | 656 "type": "object" |
379 }, | 657 }, |
380 "Address": { | 658 "Address": { |
381 "description": "A person's physical address. May be a P.O. box or st
reet address. All fields\nare optional.", | 659 "description": "A person's physical address. May be a P.O. box or st
reet address. All fields\nare optional.", |
382 "id": "Address", | 660 "id": "Address", |
383 "properties": { | 661 "properties": { |
| 662 "region": { |
| 663 "description": "The region of the address; for example, the
state or province.", |
| 664 "type": "string" |
| 665 }, |
| 666 "streetAddress": { |
| 667 "description": "The street address.", |
| 668 "type": "string" |
| 669 }, |
| 670 "metadata": { |
| 671 "$ref": "FieldMetadata", |
| 672 "description": "Metadata about the address." |
| 673 }, |
| 674 "countryCode": { |
| 675 "description": "The [ISO 3166-1 alpha-2](http://www.iso.org/
iso/country_codes.htm) country\ncode of the address.", |
| 676 "type": "string" |
| 677 }, |
| 678 "formattedType": { |
| 679 "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.", |
| 680 "type": "string" |
| 681 }, |
| 682 "city": { |
| 683 "description": "The city of the address.", |
| 684 "type": "string" |
| 685 }, |
| 686 "formattedValue": { |
| 687 "description": "The unstructured value of the address. If th
is is not set by the user it\nwill be automatically constructed from structured
values.", |
| 688 "type": "string" |
| 689 }, |
| 690 "country": { |
| 691 "description": "The country of the address.", |
| 692 "type": "string" |
| 693 }, |
| 694 "type": { |
| 695 "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`", |
| 696 "type": "string" |
| 697 }, |
384 "extendedAddress": { | 698 "extendedAddress": { |
385 "description": "The extended address of the address; for exa
mple, the apartment number.", | 699 "description": "The extended address of the address; for exa
mple, the apartment number.", |
386 "type": "string" | 700 "type": "string" |
387 }, | 701 }, |
388 "poBox": { | 702 "poBox": { |
389 "description": "The P.O. box of the address.", | 703 "description": "The P.O. box of the address.", |
390 "type": "string" | 704 "type": "string" |
391 }, | 705 }, |
392 "postalCode": { | 706 "postalCode": { |
393 "description": "The postal code of the address.", | 707 "description": "The postal code of the address.", |
394 "type": "string" | 708 "type": "string" |
395 }, | |
396 "region": { | |
397 "description": "The region of the address; for example, the
state or province.", | |
398 "type": "string" | |
399 }, | |
400 "streetAddress": { | |
401 "description": "The street address.", | |
402 "type": "string" | |
403 }, | |
404 "metadata": { | |
405 "$ref": "FieldMetadata", | |
406 "description": "Metadata about the address." | |
407 }, | |
408 "countryCode": { | |
409 "description": "The [ISO 3166-1 alpha-2](http://www.iso.org/
iso/country_codes.htm) country\ncode of the address.", | |
410 "type": "string" | |
411 }, | |
412 "formattedType": { | |
413 "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.", | |
414 "type": "string" | |
415 }, | |
416 "city": { | |
417 "description": "The city of the address.", | |
418 "type": "string" | |
419 }, | |
420 "formattedValue": { | |
421 "description": "The unstructured value of the address. If th
is is not set by the user it\nwill be automatically constructed from structured
values.", | |
422 "type": "string" | |
423 }, | |
424 "country": { | |
425 "description": "The country of the address.", | |
426 "type": "string" | |
427 }, | |
428 "type": { | |
429 "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`", | |
430 "type": "string" | |
431 } | 709 } |
432 }, | 710 }, |
433 "type": "object" | 711 "type": "object" |
434 }, | 712 }, |
435 "ContactGroupMembership": { | 713 "ContactGroupMembership": { |
436 "description": "A Google contact group membership.", | 714 "description": "A Google contact group membership.", |
437 "id": "ContactGroupMembership", | 715 "id": "ContactGroupMembership", |
438 "properties": { | 716 "properties": { |
439 "contactGroupId": { | 717 "contactGroupId": { |
440 "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.", | 718 "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.", |
441 "type": "string" | 719 "type": "string" |
442 } | 720 } |
443 }, | 721 }, |
444 "type": "object" | 722 "type": "object" |
445 }, | 723 }, |
| 724 "Event": { |
| 725 "description": "An event related to the person.", |
| 726 "id": "Event", |
| 727 "properties": { |
| 728 "formattedType": { |
| 729 "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.", |
| 730 "type": "string" |
| 731 }, |
| 732 "metadata": { |
| 733 "$ref": "FieldMetadata", |
| 734 "description": "Metadata about the event." |
| 735 }, |
| 736 "type": { |
| 737 "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`", |
| 738 "type": "string" |
| 739 }, |
| 740 "date": { |
| 741 "$ref": "Date", |
| 742 "description": "The date of the event." |
| 743 } |
| 744 }, |
| 745 "type": "object" |
| 746 }, |
446 "PersonMetadata": { | 747 "PersonMetadata": { |
447 "description": "The read-only metadata about a person.", | 748 "description": "The read-only metadata about a person.", |
448 "id": "PersonMetadata", | 749 "id": "PersonMetadata", |
449 "properties": { | 750 "properties": { |
| 751 "deleted": { |
| 752 "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.", |
| 753 "type": "boolean" |
| 754 }, |
450 "objectType": { | 755 "objectType": { |
451 "description": "The type of the person object.", | 756 "description": "DEPRECATED(Please read person.metadata.sourc
es.profile_metadata instead).\nThe type of the person object.", |
452 "enum": [ | 757 "enum": [ |
453 "OBJECT_TYPE_UNSPECIFIED", | 758 "OBJECT_TYPE_UNSPECIFIED", |
454 "PERSON", | 759 "PERSON", |
455 "PAGE" | 760 "PAGE" |
456 ], | 761 ], |
457 "enumDescriptions": [ | 762 "enumDescriptions": [ |
458 "Unspecified.", | 763 "Unspecified.", |
459 "Person.", | 764 "Person.", |
460 "[Google+ Page.](http://www.google.com/+/brands/)" | 765 "[Google+ Page.](http://www.google.com/+/brands/)" |
461 ], | 766 ], |
(...skipping 12 matching lines...) Expand all Loading... |
474 "$ref": "Source" | 779 "$ref": "Source" |
475 }, | 780 }, |
476 "type": "array" | 781 "type": "array" |
477 }, | 782 }, |
478 "previousResourceNames": { | 783 "previousResourceNames": { |
479 "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.", | 784 "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.", |
480 "items": { | 785 "items": { |
481 "type": "string" | 786 "type": "string" |
482 }, | 787 }, |
483 "type": "array" | 788 "type": "array" |
484 }, | 789 } |
485 "deleted": { | 790 }, |
486 "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.", | 791 "type": "object" |
487 "type": "boolean" | 792 }, |
488 } | 793 "ProfileMetadata": { |
489 }, | 794 "description": "The read-only metadata about a profile.", |
490 "type": "object" | 795 "id": "ProfileMetadata", |
491 }, | 796 "properties": { |
492 "Event": { | 797 "objectType": { |
493 "description": "An event related to the person.", | 798 "description": "The profile object type.", |
494 "id": "Event", | 799 "enum": [ |
495 "properties": { | 800 "OBJECT_TYPE_UNSPECIFIED", |
496 "date": { | 801 "PERSON", |
497 "$ref": "Date", | 802 "PAGE" |
498 "description": "The date of the event." | 803 ], |
499 }, | 804 "enumDescriptions": [ |
500 "formattedType": { | 805 "Unspecified.", |
501 "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.", | 806 "Person.", |
502 "type": "string" | 807 "[Google+ Page.](http://www.google.com/+/brands/)" |
503 }, | 808 ], |
504 "metadata": { | |
505 "$ref": "FieldMetadata", | |
506 "description": "Metadata about the event." | |
507 }, | |
508 "type": { | |
509 "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`", | |
510 "type": "string" | 809 "type": "string" |
511 } | 810 } |
512 }, | 811 }, |
513 "type": "object" | 812 "type": "object" |
514 }, | 813 }, |
515 "Url": { | 814 "Url": { |
516 "description": "A person's associated URLs.", | 815 "description": "A person's associated URLs.", |
517 "id": "Url", | 816 "id": "Url", |
518 "properties": { | 817 "properties": { |
| 818 "metadata": { |
| 819 "$ref": "FieldMetadata", |
| 820 "description": "Metadata about the URL." |
| 821 }, |
| 822 "type": { |
| 823 "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`", |
| 824 "type": "string" |
| 825 }, |
519 "value": { | 826 "value": { |
520 "description": "The URL.", | 827 "description": "The URL.", |
521 "type": "string" | 828 "type": "string" |
522 }, | 829 }, |
523 "formattedType": { | 830 "formattedType": { |
524 "description": "The read-only type of the URL translated and
formatted in the viewer's\naccount locale or the `Accept-Language` HTTP header
locale.", | 831 "description": "The read-only type of the URL translated and
formatted in the viewer's\naccount locale or the `Accept-Language` HTTP header
locale.", |
525 "type": "string" | 832 "type": "string" |
526 }, | |
527 "metadata": { | |
528 "$ref": "FieldMetadata", | |
529 "description": "Metadata about the URL." | |
530 }, | |
531 "type": { | |
532 "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`", | |
533 "type": "string" | |
534 } | 833 } |
535 }, | 834 }, |
536 "type": "object" | 835 "type": "object" |
537 }, | 836 }, |
538 "Gender": { | 837 "Gender": { |
539 "description": "A person's gender.", | 838 "description": "A person's gender.", |
540 "id": "Gender", | 839 "id": "Gender", |
541 "properties": { | 840 "properties": { |
542 "value": { | |
543 "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`", | |
544 "type": "string" | |
545 }, | |
546 "formattedValue": { | 841 "formattedValue": { |
547 "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.", | 842 "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.", |
548 "type": "string" | 843 "type": "string" |
549 }, | 844 }, |
550 "metadata": { | 845 "metadata": { |
551 "$ref": "FieldMetadata", | 846 "$ref": "FieldMetadata", |
552 "description": "Metadata about the gender." | 847 "description": "Metadata about the gender." |
| 848 }, |
| 849 "value": { |
| 850 "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`", |
| 851 "type": "string" |
553 } | 852 } |
554 }, | 853 }, |
555 "type": "object" | 854 "type": "object" |
556 }, | 855 }, |
557 "CoverPhoto": { | 856 "CoverPhoto": { |
558 "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.", | 857 "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.", |
559 "id": "CoverPhoto", | 858 "id": "CoverPhoto", |
560 "properties": { | 859 "properties": { |
561 "url": { | |
562 "description": "The URL of the cover photo.", | |
563 "type": "string" | |
564 }, | |
565 "metadata": { | 860 "metadata": { |
566 "$ref": "FieldMetadata", | 861 "$ref": "FieldMetadata", |
567 "description": "Metadata about the cover photo." | 862 "description": "Metadata about the cover photo." |
568 }, | 863 }, |
569 "default": { | 864 "default": { |
570 "description": "True if the cover photo is the default cover
photo;\nfalse if the cover photo is a user-provided cover photo.", | 865 "description": "True if the cover photo is the default cover
photo;\nfalse if the cover photo is a user-provided cover photo.", |
571 "type": "boolean" | 866 "type": "boolean" |
| 867 }, |
| 868 "url": { |
| 869 "description": "The URL of the cover photo.", |
| 870 "type": "string" |
| 871 } |
| 872 }, |
| 873 "type": "object" |
| 874 }, |
| 875 "Interest": { |
| 876 "description": "One of the person's interests.", |
| 877 "id": "Interest", |
| 878 "properties": { |
| 879 "metadata": { |
| 880 "$ref": "FieldMetadata", |
| 881 "description": "Metadata about the interest." |
| 882 }, |
| 883 "value": { |
| 884 "description": "The interest; for example, `stargazing`.", |
| 885 "type": "string" |
572 } | 886 } |
573 }, | 887 }, |
574 "type": "object" | 888 "type": "object" |
575 }, | 889 }, |
576 "ImClient": { | 890 "ImClient": { |
577 "description": "A person's instant messaging client.", | 891 "description": "A person's instant messaging client.", |
578 "id": "ImClient", | 892 "id": "ImClient", |
579 "properties": { | 893 "properties": { |
| 894 "formattedProtocol": { |
| 895 "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.", |
| 896 "type": "string" |
| 897 }, |
| 898 "formattedType": { |
| 899 "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.", |
| 900 "type": "string" |
| 901 }, |
| 902 "metadata": { |
| 903 "$ref": "FieldMetadata", |
| 904 "description": "Metadata about the IM client." |
| 905 }, |
| 906 "type": { |
| 907 "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`", |
| 908 "type": "string" |
| 909 }, |
| 910 "protocol": { |
| 911 "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`", |
| 912 "type": "string" |
| 913 }, |
580 "username": { | 914 "username": { |
581 "description": "The user name used in the IM client.", | 915 "description": "The user name used in the IM client.", |
582 "type": "string" | 916 "type": "string" |
583 }, | |
584 "formattedProtocol": { | |
585 "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.", | |
586 "type": "string" | |
587 }, | |
588 "formattedType": { | |
589 "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.", | |
590 "type": "string" | |
591 }, | |
592 "metadata": { | |
593 "$ref": "FieldMetadata", | |
594 "description": "Metadata about the IM client." | |
595 }, | |
596 "type": { | |
597 "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`", | |
598 "type": "string" | |
599 }, | |
600 "protocol": { | |
601 "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`", | |
602 "type": "string" | |
603 } | |
604 }, | |
605 "type": "object" | |
606 }, | |
607 "Interest": { | |
608 "description": "One of the person's interests.", | |
609 "id": "Interest", | |
610 "properties": { | |
611 "metadata": { | |
612 "$ref": "FieldMetadata", | |
613 "description": "Metadata about the interest." | |
614 }, | |
615 "value": { | |
616 "description": "The interest; for example, `stargazing`.", | |
617 "type": "string" | |
618 } | |
619 }, | |
620 "type": "object" | |
621 }, | |
622 "EmailAddress": { | |
623 "description": "A person's email address.", | |
624 "id": "EmailAddress", | |
625 "properties": { | |
626 "displayName": { | |
627 "description": "The display name of the email.", | |
628 "type": "string" | |
629 }, | |
630 "metadata": { | |
631 "$ref": "FieldMetadata", | |
632 "description": "Metadata about the email address." | |
633 }, | |
634 "type": { | |
635 "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`", | |
636 "type": "string" | |
637 }, | |
638 "value": { | |
639 "description": "The email address.", | |
640 "type": "string" | |
641 }, | |
642 "formattedType": { | |
643 "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.", | |
644 "type": "string" | |
645 } | 917 } |
646 }, | 918 }, |
647 "type": "object" | 919 "type": "object" |
648 }, | 920 }, |
649 "Nickname": { | 921 "Nickname": { |
650 "description": "A person's nickname.", | 922 "description": "A person's nickname.", |
651 "id": "Nickname", | 923 "id": "Nickname", |
652 "properties": { | 924 "properties": { |
653 "metadata": { | 925 "metadata": { |
654 "$ref": "FieldMetadata", | 926 "$ref": "FieldMetadata", |
(...skipping 17 matching lines...) Expand all Loading... |
672 ], | 944 ], |
673 "type": "string" | 945 "type": "string" |
674 }, | 946 }, |
675 "value": { | 947 "value": { |
676 "description": "The nickname.", | 948 "description": "The nickname.", |
677 "type": "string" | 949 "type": "string" |
678 } | 950 } |
679 }, | 951 }, |
680 "type": "object" | 952 "type": "object" |
681 }, | 953 }, |
| 954 "EmailAddress": { |
| 955 "description": "A person's email address.", |
| 956 "id": "EmailAddress", |
| 957 "properties": { |
| 958 "value": { |
| 959 "description": "The email address.", |
| 960 "type": "string" |
| 961 }, |
| 962 "formattedType": { |
| 963 "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.", |
| 964 "type": "string" |
| 965 }, |
| 966 "displayName": { |
| 967 "description": "The display name of the email.", |
| 968 "type": "string" |
| 969 }, |
| 970 "metadata": { |
| 971 "$ref": "FieldMetadata", |
| 972 "description": "Metadata about the email address." |
| 973 }, |
| 974 "type": { |
| 975 "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`", |
| 976 "type": "string" |
| 977 } |
| 978 }, |
| 979 "type": "object" |
| 980 }, |
682 "Skill": { | 981 "Skill": { |
683 "description": "A skill that the person has.", | 982 "description": "A skill that the person has.", |
684 "id": "Skill", | 983 "id": "Skill", |
685 "properties": { | 984 "properties": { |
| 985 "metadata": { |
| 986 "$ref": "FieldMetadata", |
| 987 "description": "Metadata about the skill." |
| 988 }, |
686 "value": { | 989 "value": { |
687 "description": "The skill; for example, `underwater basket w
eaving`.", | 990 "description": "The skill; for example, `underwater basket w
eaving`.", |
688 "type": "string" | 991 "type": "string" |
689 }, | |
690 "metadata": { | |
691 "$ref": "FieldMetadata", | |
692 "description": "Metadata about the skill." | |
693 } | 992 } |
694 }, | 993 }, |
695 "type": "object" | 994 "type": "object" |
696 }, | 995 }, |
697 "DomainMembership": { | 996 "DomainMembership": { |
698 "description": "A Google Apps Domain membership.", | 997 "description": "A Google Apps Domain membership.", |
699 "id": "DomainMembership", | 998 "id": "DomainMembership", |
700 "properties": { | 999 "properties": { |
701 "inViewerDomain": { | 1000 "inViewerDomain": { |
702 "description": "True if the person is in the viewer's Google
Apps domain.", | 1001 "description": "True if the person is in the viewer's Google
Apps domain.", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 "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`", | 1039 "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`", |
741 "type": "string" | 1040 "type": "string" |
742 } | 1041 } |
743 }, | 1042 }, |
744 "type": "object" | 1043 "type": "object" |
745 }, | 1044 }, |
746 "Tagline": { | 1045 "Tagline": { |
747 "description": "A read-only brief one-line description of the person
.", | 1046 "description": "A read-only brief one-line description of the person
.", |
748 "id": "Tagline", | 1047 "id": "Tagline", |
749 "properties": { | 1048 "properties": { |
| 1049 "value": { |
| 1050 "description": "The tagline.", |
| 1051 "type": "string" |
| 1052 }, |
750 "metadata": { | 1053 "metadata": { |
751 "$ref": "FieldMetadata", | 1054 "$ref": "FieldMetadata", |
752 "description": "Metadata about the tagline." | 1055 "description": "Metadata about the tagline." |
753 }, | |
754 "value": { | |
755 "description": "The tagline.", | |
756 "type": "string" | |
757 } | 1056 } |
758 }, | 1057 }, |
759 "type": "object" | 1058 "type": "object" |
760 }, | 1059 }, |
761 "Date": { | 1060 "Date": { |
762 "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
.", | 1061 "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
.", |
763 "id": "Date", | 1062 "id": "Date", |
764 "properties": { | 1063 "properties": { |
| 1064 "year": { |
| 1065 "description": "Year of date. Must be from 1 to 9999, or 0 i
f specifying a date without\na year.", |
| 1066 "format": "int32", |
| 1067 "type": "integer" |
| 1068 }, |
| 1069 "day": { |
| 1070 "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.", |
| 1071 "format": "int32", |
| 1072 "type": "integer" |
| 1073 }, |
765 "month": { | 1074 "month": { |
766 "description": "Month of year. Must be from 1 to 12.", | 1075 "description": "Month of year. Must be from 1 to 12.", |
767 "format": "int32", | 1076 "format": "int32", |
768 "type": "integer" | 1077 "type": "integer" |
769 }, | |
770 "year": { | |
771 "description": "Year of date. Must be from 1 to 9999, or 0 i
f specifying a date without\na year.", | |
772 "format": "int32", | |
773 "type": "integer" | |
774 }, | |
775 "day": { | |
776 "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.", | |
777 "format": "int32", | |
778 "type": "integer" | |
779 } | 1078 } |
780 }, | 1079 }, |
781 "type": "object" | 1080 "type": "object" |
782 }, | 1081 }, |
783 "Name": { | 1082 "Name": { |
784 "description": "A person's name. If the name is a mononym, the famil
y name is empty.", | 1083 "description": "A person's name. If the name is a mononym, the famil
y name is empty.", |
785 "id": "Name", | 1084 "id": "Name", |
786 "properties": { | 1085 "properties": { |
787 "phoneticHonorificPrefix": { | |
788 "description": "The honorific prefixes spelled as they sound
.", | |
789 "type": "string" | |
790 }, | |
791 "phoneticGivenName": { | |
792 "description": "The given name spelled as it sounds.", | |
793 "type": "string" | |
794 }, | |
795 "phoneticFamilyName": { | |
796 "description": "The family name spelled as it sounds.", | |
797 "type": "string" | |
798 }, | |
799 "familyName": { | |
800 "description": "The family name.", | |
801 "type": "string" | |
802 }, | |
803 "metadata": { | |
804 "$ref": "FieldMetadata", | |
805 "description": "Metadata about the name." | |
806 }, | |
807 "phoneticMiddleName": { | |
808 "description": "The middle name(s) spelled as they sound.", | |
809 "type": "string" | |
810 }, | |
811 "phoneticFullName": { | |
812 "description": "The full name spelled as it sounds.", | |
813 "type": "string" | |
814 }, | |
815 "displayNameLastFirst": { | |
816 "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.", | |
817 "type": "string" | |
818 }, | |
819 "displayName": { | |
820 "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.", | |
821 "type": "string" | |
822 }, | |
823 "honorificSuffix": { | |
824 "description": "The honorific suffixes, such as `Jr.`", | |
825 "type": "string" | |
826 }, | |
827 "honorificPrefix": { | 1086 "honorificPrefix": { |
828 "description": "The honorific prefixes, such as `Mrs.` or `D
r.`", | 1087 "description": "The honorific prefixes, such as `Mrs.` or `D
r.`", |
829 "type": "string" | 1088 "type": "string" |
830 }, | 1089 }, |
831 "phoneticHonorificSuffix": { | 1090 "phoneticHonorificSuffix": { |
832 "description": "The honorific suffixes spelled as they sound
.", | 1091 "description": "The honorific suffixes spelled as they sound
.", |
833 "type": "string" | 1092 "type": "string" |
834 }, | 1093 }, |
| 1094 "middleName": { |
| 1095 "description": "The middle name(s).", |
| 1096 "type": "string" |
| 1097 }, |
835 "givenName": { | 1098 "givenName": { |
836 "description": "The given name.", | 1099 "description": "The given name.", |
837 "type": "string" | 1100 "type": "string" |
838 }, | 1101 }, |
839 "middleName": { | 1102 "phoneticHonorificPrefix": { |
840 "description": "The middle name(s).", | 1103 "description": "The honorific prefixes spelled as they sound
.", |
| 1104 "type": "string" |
| 1105 }, |
| 1106 "phoneticGivenName": { |
| 1107 "description": "The given name spelled as it sounds.", |
| 1108 "type": "string" |
| 1109 }, |
| 1110 "phoneticFamilyName": { |
| 1111 "description": "The family name spelled as it sounds.", |
| 1112 "type": "string" |
| 1113 }, |
| 1114 "familyName": { |
| 1115 "description": "The family name.", |
| 1116 "type": "string" |
| 1117 }, |
| 1118 "phoneticMiddleName": { |
| 1119 "description": "The middle name(s) spelled as they sound.", |
| 1120 "type": "string" |
| 1121 }, |
| 1122 "metadata": { |
| 1123 "$ref": "FieldMetadata", |
| 1124 "description": "Metadata about the name." |
| 1125 }, |
| 1126 "phoneticFullName": { |
| 1127 "description": "The full name spelled as it sounds.", |
| 1128 "type": "string" |
| 1129 }, |
| 1130 "displayNameLastFirst": { |
| 1131 "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.", |
| 1132 "type": "string" |
| 1133 }, |
| 1134 "displayName": { |
| 1135 "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.", |
| 1136 "type": "string" |
| 1137 }, |
| 1138 "honorificSuffix": { |
| 1139 "description": "The honorific suffixes, such as `Jr.`", |
841 "type": "string" | 1140 "type": "string" |
842 } | 1141 } |
843 }, | 1142 }, |
844 "type": "object" | 1143 "type": "object" |
845 }, | 1144 }, |
846 "BraggingRights": { | 1145 "BraggingRights": { |
847 "description": "A person's bragging rights.", | 1146 "description": "A person's bragging rights.", |
848 "id": "BraggingRights", | 1147 "id": "BraggingRights", |
849 "properties": { | 1148 "properties": { |
850 "metadata": { | 1149 "metadata": { |
851 "$ref": "FieldMetadata", | 1150 "$ref": "FieldMetadata", |
852 "description": "Metadata about the bragging rights." | 1151 "description": "Metadata about the bragging rights." |
853 }, | 1152 }, |
854 "value": { | 1153 "value": { |
855 "description": "The bragging rights; for example, `climbed m
ount everest`.", | 1154 "description": "The bragging rights; for example, `climbed m
ount everest`.", |
856 "type": "string" | 1155 "type": "string" |
857 } | 1156 } |
858 }, | 1157 }, |
859 "type": "object" | 1158 "type": "object" |
860 }, | 1159 }, |
861 "Locale": { | 1160 "Locale": { |
862 "description": "A person's locale preference.", | 1161 "description": "A person's locale preference.", |
863 "id": "Locale", | 1162 "id": "Locale", |
864 "properties": { | 1163 "properties": { |
| 1164 "metadata": { |
| 1165 "$ref": "FieldMetadata", |
| 1166 "description": "Metadata about the locale." |
| 1167 }, |
865 "value": { | 1168 "value": { |
866 "description": "The well-formed [IETF BCP 47](https://tools.
ietf.org/html/bcp47)\nlanguage tag representing the locale.", | 1169 "description": "The well-formed [IETF BCP 47](https://tools.
ietf.org/html/bcp47)\nlanguage tag representing the locale.", |
867 "type": "string" | 1170 "type": "string" |
868 }, | |
869 "metadata": { | |
870 "$ref": "FieldMetadata", | |
871 "description": "Metadata about the locale." | |
872 } | 1171 } |
873 }, | 1172 }, |
874 "type": "object" | 1173 "type": "object" |
875 }, | 1174 }, |
876 "Organization": { | 1175 "Organization": { |
877 "description": "A person's past or current organization. Overlapping
date ranges are\npermitted.", | 1176 "description": "A person's past or current organization. Overlapping
date ranges are\npermitted.", |
878 "id": "Organization", | 1177 "id": "Organization", |
879 "properties": { | 1178 "properties": { |
| 1179 "title": { |
| 1180 "description": "The person's job title at the organization."
, |
| 1181 "type": "string" |
| 1182 }, |
| 1183 "location": { |
| 1184 "description": "The location of the organization office the
person works at.", |
| 1185 "type": "string" |
| 1186 }, |
880 "current": { | 1187 "current": { |
881 "description": "True if the organization is the person's cur
rent organization;\nfalse if the organization is a past organization.", | 1188 "description": "True if the organization is the person's cur
rent organization;\nfalse if the organization is a past organization.", |
882 "type": "boolean" | 1189 "type": "boolean" |
883 }, | 1190 }, |
| 1191 "startDate": { |
| 1192 "$ref": "Date", |
| 1193 "description": "The start date when the person joined the or
ganization." |
| 1194 }, |
884 "formattedType": { | 1195 "formattedType": { |
885 "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.", | 1196 "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.", |
886 "type": "string" | 1197 "type": "string" |
887 }, | 1198 }, |
888 "startDate": { | |
889 "$ref": "Date", | |
890 "description": "The start date when the person joined the or
ganization." | |
891 }, | |
892 "domain": { | 1199 "domain": { |
893 "description": "The domain name associated with the organiza
tion; for example, `google.com`.", | 1200 "description": "The domain name associated with the organiza
tion; for example, `google.com`.", |
894 "type": "string" | 1201 "type": "string" |
895 }, | 1202 }, |
896 "department": { | 1203 "department": { |
897 "description": "The person's department at the organization.
", | 1204 "description": "The person's department at the organization.
", |
898 "type": "string" | 1205 "type": "string" |
899 }, | 1206 }, |
| 1207 "type": { |
| 1208 "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`", |
| 1209 "type": "string" |
| 1210 }, |
900 "phoneticName": { | 1211 "phoneticName": { |
901 "description": "The phonetic name of the organization.", | 1212 "description": "The phonetic name of the organization.", |
902 "type": "string" | 1213 "type": "string" |
903 }, | 1214 }, |
904 "type": { | |
905 "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`", | |
906 "type": "string" | |
907 }, | |
908 "jobDescription": { | 1215 "jobDescription": { |
909 "description": "The person's job description at the organiza
tion.", | 1216 "description": "The person's job description at the organiza
tion.", |
910 "type": "string" | 1217 "type": "string" |
911 }, | 1218 }, |
912 "endDate": { | 1219 "endDate": { |
913 "$ref": "Date", | 1220 "$ref": "Date", |
914 "description": "The end date when the person left the organi
zation." | 1221 "description": "The end date when the person left the organi
zation." |
915 }, | 1222 }, |
916 "symbol": { | 1223 "symbol": { |
917 "description": "The symbol associated with the organization;
for example, a stock ticker\nsymbol, abbreviation, or acronym.", | 1224 "description": "The symbol associated with the organization;
for example, a stock ticker\nsymbol, abbreviation, or acronym.", |
918 "type": "string" | 1225 "type": "string" |
919 }, | 1226 }, |
920 "name": { | 1227 "name": { |
921 "description": "The name of the organization.", | 1228 "description": "The name of the organization.", |
922 "type": "string" | 1229 "type": "string" |
923 }, | 1230 }, |
924 "metadata": { | 1231 "metadata": { |
925 "$ref": "FieldMetadata", | 1232 "$ref": "FieldMetadata", |
926 "description": "Metadata about the organization." | 1233 "description": "Metadata about the organization." |
927 }, | |
928 "location": { | |
929 "description": "The location of the organization office the
person works at.", | |
930 "type": "string" | |
931 }, | |
932 "title": { | |
933 "description": "The person's job title at the organization."
, | |
934 "type": "string" | |
935 } | 1234 } |
936 }, | 1235 }, |
937 "type": "object" | 1236 "type": "object" |
938 }, | 1237 }, |
939 "Biography": { | 1238 "Biography": { |
940 "description": "A person's short biography.", | 1239 "description": "A person's short biography.", |
941 "id": "Biography", | 1240 "id": "Biography", |
942 "properties": { | 1241 "properties": { |
943 "contentType": { | 1242 "contentType": { |
944 "description": "The content type of the biography.", | 1243 "description": "The content type of the biography.", |
(...skipping 13 matching lines...) Expand all Loading... |
958 "$ref": "FieldMetadata", | 1257 "$ref": "FieldMetadata", |
959 "description": "Metadata about the biography." | 1258 "description": "Metadata about the biography." |
960 }, | 1259 }, |
961 "value": { | 1260 "value": { |
962 "description": "The short biography.", | 1261 "description": "The short biography.", |
963 "type": "string" | 1262 "type": "string" |
964 } | 1263 } |
965 }, | 1264 }, |
966 "type": "object" | 1265 "type": "object" |
967 }, | 1266 }, |
| 1267 "AgeRangeType": { |
| 1268 "description": "A person's age range.", |
| 1269 "id": "AgeRangeType", |
| 1270 "properties": { |
| 1271 "metadata": { |
| 1272 "$ref": "FieldMetadata", |
| 1273 "description": "Metadata about the age range." |
| 1274 }, |
| 1275 "ageRange": { |
| 1276 "description": "The age range.", |
| 1277 "enum": [ |
| 1278 "AGE_RANGE_UNSPECIFIED", |
| 1279 "LESS_THAN_EIGHTEEN", |
| 1280 "EIGHTEEN_TO_TWENTY", |
| 1281 "TWENTY_ONE_OR_OLDER" |
| 1282 ], |
| 1283 "enumDescriptions": [ |
| 1284 "Unspecified.", |
| 1285 "Younger than eighteen.", |
| 1286 "Between eighteen and twenty.", |
| 1287 "Twenty-one and older." |
| 1288 ], |
| 1289 "type": "string" |
| 1290 } |
| 1291 }, |
| 1292 "type": "object" |
| 1293 }, |
968 "FieldMetadata": { | 1294 "FieldMetadata": { |
969 "description": "Metadata about a field.", | 1295 "description": "Metadata about a field.", |
970 "id": "FieldMetadata", | 1296 "id": "FieldMetadata", |
971 "properties": { | 1297 "properties": { |
| 1298 "source": { |
| 1299 "$ref": "Source", |
| 1300 "description": "The source of the field." |
| 1301 }, |
972 "verified": { | 1302 "verified": { |
973 "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.", | 1303 "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.", |
974 "type": "boolean" | 1304 "type": "boolean" |
975 }, | 1305 }, |
976 "primary": { | 1306 "primary": { |
977 "description": "True if the field is the primary field; fals
e if the field is a secondary\nfield.", | 1307 "description": "True if the field is the primary field; fals
e if the field is a secondary\nfield.", |
978 "type": "boolean" | 1308 "type": "boolean" |
979 }, | |
980 "source": { | |
981 "$ref": "Source", | |
982 "description": "The source of the field." | |
983 } | 1309 } |
984 }, | 1310 }, |
985 "type": "object" | 1311 "type": "object" |
| 1312 }, |
| 1313 "PersonResponse": { |
| 1314 "description": "The response for a single person", |
| 1315 "id": "PersonResponse", |
| 1316 "properties": { |
| 1317 "person": { |
| 1318 "$ref": "Person", |
| 1319 "description": "The person." |
| 1320 }, |
| 1321 "httpStatusCode": { |
| 1322 "description": "[HTTP 1.1 status code](http://www.w3.org/Pro
tocols/rfc2616/rfc2616-sec10.html).", |
| 1323 "format": "int32", |
| 1324 "type": "integer" |
| 1325 }, |
| 1326 "requestedResourceName": { |
| 1327 "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.", |
| 1328 "type": "string" |
| 1329 } |
| 1330 }, |
| 1331 "type": "object" |
986 }, | 1332 }, |
987 "Source": { | 1333 "Source": { |
988 "description": "The source of a field.", | 1334 "description": "The source of a field.", |
989 "id": "Source", | 1335 "id": "Source", |
990 "properties": { | 1336 "properties": { |
991 "resourceName": { | |
992 "description": "The resource name of the source. Only set if
there is a separate\nresource endpoint.", | |
993 "type": "string" | |
994 }, | |
995 "type": { | 1337 "type": { |
996 "description": "The source type.", | 1338 "description": "The source type.", |
997 "enum": [ | 1339 "enum": [ |
998 "SOURCE_TYPE_UNSPECIFIED", | 1340 "SOURCE_TYPE_UNSPECIFIED", |
999 "ACCOUNT", | 1341 "ACCOUNT", |
1000 "PROFILE", | 1342 "PROFILE", |
1001 "DOMAIN_PROFILE", | 1343 "DOMAIN_PROFILE", |
1002 "CONTACT" | 1344 "CONTACT" |
1003 ], | 1345 ], |
1004 "enumDescriptions": [ | 1346 "enumDescriptions": [ |
1005 "Unspecified.", | 1347 "Unspecified.", |
1006 "[Google Account](https://accounts.google.com).", | 1348 "[Google Account](https://accounts.google.com).", |
1007 "[Google profile](https://profiles.google.com). You can
view the\nprofile at https://profiles.google.com/<id> where <id> is the source\n
id.", | 1349 "[Google profile](https://profiles.google.com). You can
view the\nprofile at https://profiles.google.com/<id> where <id> is the source\n
id.", |
1008 "[Google Apps domain profile](https://admin.google.com).
", | 1350 "[Google Apps domain profile](https://admin.google.com).
", |
1009 "[Google contact](https://contacts.google.com). You can
view the\ncontact at https://contact.google.com/<id> where <id> is the source\ni
d." | 1351 "[Google contact](https://contacts.google.com). You can
view the\ncontact at https://contact.google.com/<id> where <id> is the source\ni
d." |
1010 ], | 1352 ], |
1011 "type": "string" | 1353 "type": "string" |
1012 }, | 1354 }, |
1013 "etag": { | 1355 "etag": { |
1014 "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.", | 1356 "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.", |
1015 "type": "string" | 1357 "type": "string" |
1016 }, | 1358 }, |
1017 "id": { | 1359 "id": { |
1018 "description": "The unique identifier within the source type
generated by the server.", | 1360 "description": "The unique identifier within the source type
generated by the server.", |
1019 "type": "string" | 1361 "type": "string" |
| 1362 }, |
| 1363 "profileMetadata": { |
| 1364 "$ref": "ProfileMetadata", |
| 1365 "description": "Metadata about a source of type PROFILE." |
1020 } | 1366 } |
1021 }, | 1367 }, |
1022 "type": "object" | 1368 "type": "object" |
1023 }, | 1369 }, |
1024 "RelationshipInterest": { | 1370 "RelationshipInterest": { |
1025 "description": "A person's read-only relationship interest .", | 1371 "description": "A person's read-only relationship interest .", |
1026 "id": "RelationshipInterest", | 1372 "id": "RelationshipInterest", |
1027 "properties": { | 1373 "properties": { |
| 1374 "metadata": { |
| 1375 "$ref": "FieldMetadata", |
| 1376 "description": "Metadata about the relationship interest." |
| 1377 }, |
1028 "value": { | 1378 "value": { |
1029 "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`", | 1379 "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`", |
1030 "type": "string" | 1380 "type": "string" |
1031 }, | 1381 }, |
1032 "formattedValue": { | 1382 "formattedValue": { |
1033 "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.", | 1383 "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.", |
1034 "type": "string" | 1384 "type": "string" |
1035 }, | |
1036 "metadata": { | |
1037 "$ref": "FieldMetadata", | |
1038 "description": "Metadata about the relationship interest." | |
1039 } | 1385 } |
1040 }, | 1386 }, |
1041 "type": "object" | 1387 "type": "object" |
1042 }, | |
1043 "PersonResponse": { | |
1044 "description": "The response for a single person", | |
1045 "id": "PersonResponse", | |
1046 "properties": { | |
1047 "person": { | |
1048 "$ref": "Person", | |
1049 "description": "The person." | |
1050 }, | |
1051 "httpStatusCode": { | |
1052 "description": "[HTTP 1.1 status code](http://www.w3.org/Pro
tocols/rfc2616/rfc2616-sec10.html).", | |
1053 "format": "int32", | |
1054 "type": "integer" | |
1055 }, | |
1056 "requestedResourceName": { | |
1057 "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.", | |
1058 "type": "string" | |
1059 } | |
1060 }, | |
1061 "type": "object" | |
1062 }, | |
1063 "Relation": { | |
1064 "description": "A person's relation to another person.", | |
1065 "id": "Relation", | |
1066 "properties": { | |
1067 "metadata": { | |
1068 "$ref": "FieldMetadata", | |
1069 "description": "Metadata about the relation." | |
1070 }, | |
1071 "type": { | |
1072 "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`", | |
1073 "type": "string" | |
1074 }, | |
1075 "person": { | |
1076 "description": "The name of the other person this relation r
efers to.", | |
1077 "type": "string" | |
1078 }, | |
1079 "formattedType": { | |
1080 "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.", | |
1081 "type": "string" | |
1082 } | |
1083 }, | |
1084 "type": "object" | |
1085 }, | |
1086 "Occupation": { | |
1087 "description": "A person's occupation.", | |
1088 "id": "Occupation", | |
1089 "properties": { | |
1090 "metadata": { | |
1091 "$ref": "FieldMetadata", | |
1092 "description": "Metadata about the occupation." | |
1093 }, | |
1094 "value": { | |
1095 "description": "The occupation; for example, `carpenter`.", | |
1096 "type": "string" | |
1097 } | |
1098 }, | |
1099 "type": "object" | |
1100 }, | |
1101 "Person": { | |
1102 "description": "Information about a person merged from various data
sources such as the\nauthenticated user's contacts and profile data. Fields othe
r than IDs,\nmetadata, and group memberships are user-edited.\n\nMost fields can
have multiple items. The items in a field have no guaranteed\norder, but each n
on-empty field is guaranteed to have exactly one field with\n`metadata.primary`
set to true.", | |
1103 "id": "Person", | |
1104 "properties": { | |
1105 "birthdays": { | |
1106 "description": "The person's birthdays.", | |
1107 "items": { | |
1108 "$ref": "Birthday" | |
1109 }, | |
1110 "type": "array" | |
1111 }, | |
1112 "locales": { | |
1113 "description": "The person's locale preferences.", | |
1114 "items": { | |
1115 "$ref": "Locale" | |
1116 }, | |
1117 "type": "array" | |
1118 }, | |
1119 "relationshipInterests": { | |
1120 "description": "The kind of relationship the person is looki
ng for.", | |
1121 "items": { | |
1122 "$ref": "RelationshipInterest" | |
1123 }, | |
1124 "type": "array" | |
1125 }, | |
1126 "urls": { | |
1127 "description": "The person's associated URLs.", | |
1128 "items": { | |
1129 "$ref": "Url" | |
1130 }, | |
1131 "type": "array" | |
1132 }, | |
1133 "nicknames": { | |
1134 "description": "The person's nicknames.", | |
1135 "items": { | |
1136 "$ref": "Nickname" | |
1137 }, | |
1138 "type": "array" | |
1139 }, | |
1140 "names": { | |
1141 "description": "The person's names.", | |
1142 "items": { | |
1143 "$ref": "Name" | |
1144 }, | |
1145 "type": "array" | |
1146 }, | |
1147 "relations": { | |
1148 "description": "The person's relations.", | |
1149 "items": { | |
1150 "$ref": "Relation" | |
1151 }, | |
1152 "type": "array" | |
1153 }, | |
1154 "occupations": { | |
1155 "description": "The person's occupations.", | |
1156 "items": { | |
1157 "$ref": "Occupation" | |
1158 }, | |
1159 "type": "array" | |
1160 }, | |
1161 "emailAddresses": { | |
1162 "description": "The person's email addresses.", | |
1163 "items": { | |
1164 "$ref": "EmailAddress" | |
1165 }, | |
1166 "type": "array" | |
1167 }, | |
1168 "organizations": { | |
1169 "description": "The person's past or current organizations."
, | |
1170 "items": { | |
1171 "$ref": "Organization" | |
1172 }, | |
1173 "type": "array" | |
1174 }, | |
1175 "etag": { | |
1176 "description": "The [HTTP entity tag](https://en.wikipedia.o
rg/wiki/HTTP_ETag) of the\nresource. Used for web cache validation.", | |
1177 "type": "string" | |
1178 }, | |
1179 "braggingRights": { | |
1180 "description": "The person's bragging rights.", | |
1181 "items": { | |
1182 "$ref": "BraggingRights" | |
1183 }, | |
1184 "type": "array" | |
1185 }, | |
1186 "metadata": { | |
1187 "$ref": "PersonMetadata", | |
1188 "description": "Metadata about the person." | |
1189 }, | |
1190 "residences": { | |
1191 "description": "The person's residences.", | |
1192 "items": { | |
1193 "$ref": "Residence" | |
1194 }, | |
1195 "type": "array" | |
1196 }, | |
1197 "genders": { | |
1198 "description": "The person's genders.", | |
1199 "items": { | |
1200 "$ref": "Gender" | |
1201 }, | |
1202 "type": "array" | |
1203 }, | |
1204 "interests": { | |
1205 "description": "The person's interests.", | |
1206 "items": { | |
1207 "$ref": "Interest" | |
1208 }, | |
1209 "type": "array" | |
1210 }, | |
1211 "resourceName": { | |
1212 "description": "The resource name for the person, assigned b
y the server. An ASCII string\nwith a max length of 27 characters. Always starts
with `people/`.", | |
1213 "type": "string" | |
1214 }, | |
1215 "biographies": { | |
1216 "description": "The person's biographies.", | |
1217 "items": { | |
1218 "$ref": "Biography" | |
1219 }, | |
1220 "type": "array" | |
1221 }, | |
1222 "skills": { | |
1223 "description": "The person's skills.", | |
1224 "items": { | |
1225 "$ref": "Skill" | |
1226 }, | |
1227 "type": "array" | |
1228 }, | |
1229 "relationshipStatuses": { | |
1230 "description": "The person's relationship statuses.", | |
1231 "items": { | |
1232 "$ref": "RelationshipStatus" | |
1233 }, | |
1234 "type": "array" | |
1235 }, | |
1236 "photos": { | |
1237 "description": "The person's photos.", | |
1238 "items": { | |
1239 "$ref": "Photo" | |
1240 }, | |
1241 "type": "array" | |
1242 }, | |
1243 "ageRange": { | |
1244 "description": "The person's age range.", | |
1245 "enum": [ | |
1246 "AGE_RANGE_UNSPECIFIED", | |
1247 "LESS_THAN_EIGHTEEN", | |
1248 "EIGHTEEN_TO_TWENTY", | |
1249 "TWENTY_ONE_OR_OLDER" | |
1250 ], | |
1251 "enumDescriptions": [ | |
1252 "Unspecified.", | |
1253 "Younger than eighteen.", | |
1254 "Between eighteen and twenty.", | |
1255 "Twenty-one and older." | |
1256 ], | |
1257 "type": "string" | |
1258 }, | |
1259 "taglines": { | |
1260 "description": "The person's taglines.", | |
1261 "items": { | |
1262 "$ref": "Tagline" | |
1263 }, | |
1264 "type": "array" | |
1265 }, | |
1266 "addresses": { | |
1267 "description": "The person's street addresses.", | |
1268 "items": { | |
1269 "$ref": "Address" | |
1270 }, | |
1271 "type": "array" | |
1272 }, | |
1273 "events": { | |
1274 "description": "The person's events.", | |
1275 "items": { | |
1276 "$ref": "Event" | |
1277 }, | |
1278 "type": "array" | |
1279 }, | |
1280 "memberships": { | |
1281 "description": "The person's group memberships.", | |
1282 "items": { | |
1283 "$ref": "Membership" | |
1284 }, | |
1285 "type": "array" | |
1286 }, | |
1287 "phoneNumbers": { | |
1288 "description": "The person's phone numbers.", | |
1289 "items": { | |
1290 "$ref": "PhoneNumber" | |
1291 }, | |
1292 "type": "array" | |
1293 }, | |
1294 "coverPhotos": { | |
1295 "description": "The person's cover photos.", | |
1296 "items": { | |
1297 "$ref": "CoverPhoto" | |
1298 }, | |
1299 "type": "array" | |
1300 }, | |
1301 "imClients": { | |
1302 "description": "The person's instant messaging clients.", | |
1303 "items": { | |
1304 "$ref": "ImClient" | |
1305 }, | |
1306 "type": "array" | |
1307 } | |
1308 }, | |
1309 "type": "object" | |
1310 }, | |
1311 "GetPeopleResponse": { | |
1312 "id": "GetPeopleResponse", | |
1313 "properties": { | |
1314 "responses": { | |
1315 "description": "The response for each requested resource nam
e.", | |
1316 "items": { | |
1317 "$ref": "PersonResponse" | |
1318 }, | |
1319 "type": "array" | |
1320 } | |
1321 }, | |
1322 "type": "object" | |
1323 } | 1388 } |
1324 }, | 1389 }, |
1325 "servicePath": "", | 1390 "servicePath": "", |
1326 "title": "Google People API", | 1391 "title": "Google People API", |
1327 "version": "v1" | 1392 "version": "v1" |
1328 } | 1393 } |
OLD | NEW |