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