google-apis-people_v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module PeopleV1
18
+ # Version of the google-apis-people_v1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20210105"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,1135 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module PeopleV1
24
+
25
+ class Address
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AgeRangeType
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class BatchGetContactGroupsResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Biography
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Birthday
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class BraggingRights
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class CalendarUrl
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ClientData
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ContactGroup
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ContactGroupMembership
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ContactGroupMetadata
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ContactGroupResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class CopyOtherContactToMyContactsGroupRequest
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class CoverPhoto
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class CreateContactGroupRequest
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class Date
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class DeleteContactPhotoResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class DomainMembership
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class EmailAddress
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Empty
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class Event
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ExternalId
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class FieldMetadata
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class FileAs
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class Gender
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GetPeopleResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class ImClient
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class Interest
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class ListConnectionsResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class ListContactGroupsResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class ListDirectoryPeopleResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class ListOtherContactsResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class Locale
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class Location
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class Membership
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class MiscKeyword
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class ModifyContactGroupMembersRequest
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class ModifyContactGroupMembersResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class Name
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class Nickname
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class Occupation
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class Organization
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class Person
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class PersonMetadata
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class PersonResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class PhoneNumber
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class Photo
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class ProfileMetadata
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class Relation
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class RelationshipInterest
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class RelationshipStatus
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class Residence
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class SearchDirectoryPeopleResponse
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class SipAddress
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class Skill
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class Source
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class Status
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class Tagline
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class UpdateContactGroupRequest
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class UpdateContactPhotoRequest
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class UpdateContactPhotoResponse
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class Url
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class UserDefined
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class Address
404
+ # @private
405
+ class Representation < Google::Apis::Core::JsonRepresentation
406
+ property :city, as: 'city'
407
+ property :country, as: 'country'
408
+ property :country_code, as: 'countryCode'
409
+ property :extended_address, as: 'extendedAddress'
410
+ property :formatted_type, as: 'formattedType'
411
+ property :formatted_value, as: 'formattedValue'
412
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
413
+
414
+ property :po_box, as: 'poBox'
415
+ property :postal_code, as: 'postalCode'
416
+ property :region, as: 'region'
417
+ property :street_address, as: 'streetAddress'
418
+ property :type, as: 'type'
419
+ end
420
+ end
421
+
422
+ class AgeRangeType
423
+ # @private
424
+ class Representation < Google::Apis::Core::JsonRepresentation
425
+ property :age_range, as: 'ageRange'
426
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
427
+
428
+ end
429
+ end
430
+
431
+ class BatchGetContactGroupsResponse
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ collection :responses, as: 'responses', class: Google::Apis::PeopleV1::ContactGroupResponse, decorator: Google::Apis::PeopleV1::ContactGroupResponse::Representation
435
+
436
+ end
437
+ end
438
+
439
+ class Biography
440
+ # @private
441
+ class Representation < Google::Apis::Core::JsonRepresentation
442
+ property :content_type, as: 'contentType'
443
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
444
+
445
+ property :value, as: 'value'
446
+ end
447
+ end
448
+
449
+ class Birthday
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
453
+
454
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
455
+
456
+ property :text, as: 'text'
457
+ end
458
+ end
459
+
460
+ class BraggingRights
461
+ # @private
462
+ class Representation < Google::Apis::Core::JsonRepresentation
463
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
464
+
465
+ property :value, as: 'value'
466
+ end
467
+ end
468
+
469
+ class CalendarUrl
470
+ # @private
471
+ class Representation < Google::Apis::Core::JsonRepresentation
472
+ property :formatted_type, as: 'formattedType'
473
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
474
+
475
+ property :type, as: 'type'
476
+ property :url, as: 'url'
477
+ end
478
+ end
479
+
480
+ class ClientData
481
+ # @private
482
+ class Representation < Google::Apis::Core::JsonRepresentation
483
+ property :key, as: 'key'
484
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
485
+
486
+ property :value, as: 'value'
487
+ end
488
+ end
489
+
490
+ class ContactGroup
491
+ # @private
492
+ class Representation < Google::Apis::Core::JsonRepresentation
493
+ property :etag, as: 'etag'
494
+ property :formatted_name, as: 'formattedName'
495
+ property :group_type, as: 'groupType'
496
+ property :member_count, as: 'memberCount'
497
+ collection :member_resource_names, as: 'memberResourceNames'
498
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::ContactGroupMetadata, decorator: Google::Apis::PeopleV1::ContactGroupMetadata::Representation
499
+
500
+ property :name, as: 'name'
501
+ property :resource_name, as: 'resourceName'
502
+ end
503
+ end
504
+
505
+ class ContactGroupMembership
506
+ # @private
507
+ class Representation < Google::Apis::Core::JsonRepresentation
508
+ property :contact_group_id, as: 'contactGroupId'
509
+ property :contact_group_resource_name, as: 'contactGroupResourceName'
510
+ end
511
+ end
512
+
513
+ class ContactGroupMetadata
514
+ # @private
515
+ class Representation < Google::Apis::Core::JsonRepresentation
516
+ property :deleted, as: 'deleted'
517
+ property :update_time, as: 'updateTime'
518
+ end
519
+ end
520
+
521
+ class ContactGroupResponse
522
+ # @private
523
+ class Representation < Google::Apis::Core::JsonRepresentation
524
+ property :contact_group, as: 'contactGroup', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation
525
+
526
+ property :requested_resource_name, as: 'requestedResourceName'
527
+ property :status, as: 'status', class: Google::Apis::PeopleV1::Status, decorator: Google::Apis::PeopleV1::Status::Representation
528
+
529
+ end
530
+ end
531
+
532
+ class CopyOtherContactToMyContactsGroupRequest
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ property :copy_mask, as: 'copyMask'
536
+ property :read_mask, as: 'readMask'
537
+ collection :sources, as: 'sources'
538
+ end
539
+ end
540
+
541
+ class CoverPhoto
542
+ # @private
543
+ class Representation < Google::Apis::Core::JsonRepresentation
544
+ property :default, as: 'default'
545
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
546
+
547
+ property :url, as: 'url'
548
+ end
549
+ end
550
+
551
+ class CreateContactGroupRequest
552
+ # @private
553
+ class Representation < Google::Apis::Core::JsonRepresentation
554
+ property :contact_group, as: 'contactGroup', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation
555
+
556
+ end
557
+ end
558
+
559
+ class Date
560
+ # @private
561
+ class Representation < Google::Apis::Core::JsonRepresentation
562
+ property :day, as: 'day'
563
+ property :month, as: 'month'
564
+ property :year, as: 'year'
565
+ end
566
+ end
567
+
568
+ class DeleteContactPhotoResponse
569
+ # @private
570
+ class Representation < Google::Apis::Core::JsonRepresentation
571
+ property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
572
+
573
+ end
574
+ end
575
+
576
+ class DomainMembership
577
+ # @private
578
+ class Representation < Google::Apis::Core::JsonRepresentation
579
+ property :in_viewer_domain, as: 'inViewerDomain'
580
+ end
581
+ end
582
+
583
+ class EmailAddress
584
+ # @private
585
+ class Representation < Google::Apis::Core::JsonRepresentation
586
+ property :display_name, as: 'displayName'
587
+ property :formatted_type, as: 'formattedType'
588
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
589
+
590
+ property :type, as: 'type'
591
+ property :value, as: 'value'
592
+ end
593
+ end
594
+
595
+ class Empty
596
+ # @private
597
+ class Representation < Google::Apis::Core::JsonRepresentation
598
+ end
599
+ end
600
+
601
+ class Event
602
+ # @private
603
+ class Representation < Google::Apis::Core::JsonRepresentation
604
+ property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
605
+
606
+ property :formatted_type, as: 'formattedType'
607
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
608
+
609
+ property :type, as: 'type'
610
+ end
611
+ end
612
+
613
+ class ExternalId
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ property :formatted_type, as: 'formattedType'
617
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
618
+
619
+ property :type, as: 'type'
620
+ property :value, as: 'value'
621
+ end
622
+ end
623
+
624
+ class FieldMetadata
625
+ # @private
626
+ class Representation < Google::Apis::Core::JsonRepresentation
627
+ property :primary, as: 'primary'
628
+ property :source, as: 'source', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation
629
+
630
+ property :verified, as: 'verified'
631
+ end
632
+ end
633
+
634
+ class FileAs
635
+ # @private
636
+ class Representation < Google::Apis::Core::JsonRepresentation
637
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
638
+
639
+ property :value, as: 'value'
640
+ end
641
+ end
642
+
643
+ class Gender
644
+ # @private
645
+ class Representation < Google::Apis::Core::JsonRepresentation
646
+ property :address_me_as, as: 'addressMeAs'
647
+ property :formatted_value, as: 'formattedValue'
648
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
649
+
650
+ property :value, as: 'value'
651
+ end
652
+ end
653
+
654
+ class GetPeopleResponse
655
+ # @private
656
+ class Representation < Google::Apis::Core::JsonRepresentation
657
+ collection :responses, as: 'responses', class: Google::Apis::PeopleV1::PersonResponse, decorator: Google::Apis::PeopleV1::PersonResponse::Representation
658
+
659
+ end
660
+ end
661
+
662
+ class ImClient
663
+ # @private
664
+ class Representation < Google::Apis::Core::JsonRepresentation
665
+ property :formatted_protocol, as: 'formattedProtocol'
666
+ property :formatted_type, as: 'formattedType'
667
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
668
+
669
+ property :protocol, as: 'protocol'
670
+ property :type, as: 'type'
671
+ property :username, as: 'username'
672
+ end
673
+ end
674
+
675
+ class Interest
676
+ # @private
677
+ class Representation < Google::Apis::Core::JsonRepresentation
678
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
679
+
680
+ property :value, as: 'value'
681
+ end
682
+ end
683
+
684
+ class ListConnectionsResponse
685
+ # @private
686
+ class Representation < Google::Apis::Core::JsonRepresentation
687
+ collection :connections, as: 'connections', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
688
+
689
+ property :next_page_token, as: 'nextPageToken'
690
+ property :next_sync_token, as: 'nextSyncToken'
691
+ property :total_items, as: 'totalItems'
692
+ property :total_people, as: 'totalPeople'
693
+ end
694
+ end
695
+
696
+ class ListContactGroupsResponse
697
+ # @private
698
+ class Representation < Google::Apis::Core::JsonRepresentation
699
+ collection :contact_groups, as: 'contactGroups', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation
700
+
701
+ property :next_page_token, as: 'nextPageToken'
702
+ property :next_sync_token, as: 'nextSyncToken'
703
+ property :total_items, as: 'totalItems'
704
+ end
705
+ end
706
+
707
+ class ListDirectoryPeopleResponse
708
+ # @private
709
+ class Representation < Google::Apis::Core::JsonRepresentation
710
+ property :next_page_token, as: 'nextPageToken'
711
+ property :next_sync_token, as: 'nextSyncToken'
712
+ collection :people, as: 'people', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
713
+
714
+ end
715
+ end
716
+
717
+ class ListOtherContactsResponse
718
+ # @private
719
+ class Representation < Google::Apis::Core::JsonRepresentation
720
+ property :next_page_token, as: 'nextPageToken'
721
+ property :next_sync_token, as: 'nextSyncToken'
722
+ collection :other_contacts, as: 'otherContacts', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
723
+
724
+ end
725
+ end
726
+
727
+ class Locale
728
+ # @private
729
+ class Representation < Google::Apis::Core::JsonRepresentation
730
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
731
+
732
+ property :value, as: 'value'
733
+ end
734
+ end
735
+
736
+ class Location
737
+ # @private
738
+ class Representation < Google::Apis::Core::JsonRepresentation
739
+ property :building_id, as: 'buildingId'
740
+ property :current, as: 'current'
741
+ property :desk_code, as: 'deskCode'
742
+ property :floor, as: 'floor'
743
+ property :floor_section, as: 'floorSection'
744
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
745
+
746
+ property :type, as: 'type'
747
+ property :value, as: 'value'
748
+ end
749
+ end
750
+
751
+ class Membership
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :contact_group_membership, as: 'contactGroupMembership', class: Google::Apis::PeopleV1::ContactGroupMembership, decorator: Google::Apis::PeopleV1::ContactGroupMembership::Representation
755
+
756
+ property :domain_membership, as: 'domainMembership', class: Google::Apis::PeopleV1::DomainMembership, decorator: Google::Apis::PeopleV1::DomainMembership::Representation
757
+
758
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
759
+
760
+ end
761
+ end
762
+
763
+ class MiscKeyword
764
+ # @private
765
+ class Representation < Google::Apis::Core::JsonRepresentation
766
+ property :formatted_type, as: 'formattedType'
767
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
768
+
769
+ property :type, as: 'type'
770
+ property :value, as: 'value'
771
+ end
772
+ end
773
+
774
+ class ModifyContactGroupMembersRequest
775
+ # @private
776
+ class Representation < Google::Apis::Core::JsonRepresentation
777
+ collection :resource_names_to_add, as: 'resourceNamesToAdd'
778
+ collection :resource_names_to_remove, as: 'resourceNamesToRemove'
779
+ end
780
+ end
781
+
782
+ class ModifyContactGroupMembersResponse
783
+ # @private
784
+ class Representation < Google::Apis::Core::JsonRepresentation
785
+ collection :can_not_remove_last_contact_group_resource_names, as: 'canNotRemoveLastContactGroupResourceNames'
786
+ collection :not_found_resource_names, as: 'notFoundResourceNames'
787
+ end
788
+ end
789
+
790
+ class Name
791
+ # @private
792
+ class Representation < Google::Apis::Core::JsonRepresentation
793
+ property :display_name, as: 'displayName'
794
+ property :display_name_last_first, as: 'displayNameLastFirst'
795
+ property :family_name, as: 'familyName'
796
+ property :given_name, as: 'givenName'
797
+ property :honorific_prefix, as: 'honorificPrefix'
798
+ property :honorific_suffix, as: 'honorificSuffix'
799
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
800
+
801
+ property :middle_name, as: 'middleName'
802
+ property :phonetic_family_name, as: 'phoneticFamilyName'
803
+ property :phonetic_full_name, as: 'phoneticFullName'
804
+ property :phonetic_given_name, as: 'phoneticGivenName'
805
+ property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix'
806
+ property :phonetic_honorific_suffix, as: 'phoneticHonorificSuffix'
807
+ property :phonetic_middle_name, as: 'phoneticMiddleName'
808
+ property :unstructured_name, as: 'unstructuredName'
809
+ end
810
+ end
811
+
812
+ class Nickname
813
+ # @private
814
+ class Representation < Google::Apis::Core::JsonRepresentation
815
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
816
+
817
+ property :type, as: 'type'
818
+ property :value, as: 'value'
819
+ end
820
+ end
821
+
822
+ class Occupation
823
+ # @private
824
+ class Representation < Google::Apis::Core::JsonRepresentation
825
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
826
+
827
+ property :value, as: 'value'
828
+ end
829
+ end
830
+
831
+ class Organization
832
+ # @private
833
+ class Representation < Google::Apis::Core::JsonRepresentation
834
+ property :current, as: 'current'
835
+ property :department, as: 'department'
836
+ property :domain, as: 'domain'
837
+ property :end_date, as: 'endDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
838
+
839
+ property :formatted_type, as: 'formattedType'
840
+ property :job_description, as: 'jobDescription'
841
+ property :location, as: 'location'
842
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
843
+
844
+ property :name, as: 'name'
845
+ property :phonetic_name, as: 'phoneticName'
846
+ property :start_date, as: 'startDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
847
+
848
+ property :symbol, as: 'symbol'
849
+ property :title, as: 'title'
850
+ property :type, as: 'type'
851
+ end
852
+ end
853
+
854
+ class Person
855
+ # @private
856
+ class Representation < Google::Apis::Core::JsonRepresentation
857
+ collection :addresses, as: 'addresses', class: Google::Apis::PeopleV1::Address, decorator: Google::Apis::PeopleV1::Address::Representation
858
+
859
+ property :age_range, as: 'ageRange'
860
+ collection :age_ranges, as: 'ageRanges', class: Google::Apis::PeopleV1::AgeRangeType, decorator: Google::Apis::PeopleV1::AgeRangeType::Representation
861
+
862
+ collection :biographies, as: 'biographies', class: Google::Apis::PeopleV1::Biography, decorator: Google::Apis::PeopleV1::Biography::Representation
863
+
864
+ collection :birthdays, as: 'birthdays', class: Google::Apis::PeopleV1::Birthday, decorator: Google::Apis::PeopleV1::Birthday::Representation
865
+
866
+ collection :bragging_rights, as: 'braggingRights', class: Google::Apis::PeopleV1::BraggingRights, decorator: Google::Apis::PeopleV1::BraggingRights::Representation
867
+
868
+ collection :calendar_urls, as: 'calendarUrls', class: Google::Apis::PeopleV1::CalendarUrl, decorator: Google::Apis::PeopleV1::CalendarUrl::Representation
869
+
870
+ collection :client_data, as: 'clientData', class: Google::Apis::PeopleV1::ClientData, decorator: Google::Apis::PeopleV1::ClientData::Representation
871
+
872
+ collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation
873
+
874
+ collection :email_addresses, as: 'emailAddresses', class: Google::Apis::PeopleV1::EmailAddress, decorator: Google::Apis::PeopleV1::EmailAddress::Representation
875
+
876
+ property :etag, as: 'etag'
877
+ collection :events, as: 'events', class: Google::Apis::PeopleV1::Event, decorator: Google::Apis::PeopleV1::Event::Representation
878
+
879
+ collection :external_ids, as: 'externalIds', class: Google::Apis::PeopleV1::ExternalId, decorator: Google::Apis::PeopleV1::ExternalId::Representation
880
+
881
+ collection :file_ases, as: 'fileAses', class: Google::Apis::PeopleV1::FileAs, decorator: Google::Apis::PeopleV1::FileAs::Representation
882
+
883
+ collection :genders, as: 'genders', class: Google::Apis::PeopleV1::Gender, decorator: Google::Apis::PeopleV1::Gender::Representation
884
+
885
+ collection :im_clients, as: 'imClients', class: Google::Apis::PeopleV1::ImClient, decorator: Google::Apis::PeopleV1::ImClient::Representation
886
+
887
+ collection :interests, as: 'interests', class: Google::Apis::PeopleV1::Interest, decorator: Google::Apis::PeopleV1::Interest::Representation
888
+
889
+ collection :locales, as: 'locales', class: Google::Apis::PeopleV1::Locale, decorator: Google::Apis::PeopleV1::Locale::Representation
890
+
891
+ collection :locations, as: 'locations', class: Google::Apis::PeopleV1::Location, decorator: Google::Apis::PeopleV1::Location::Representation
892
+
893
+ collection :memberships, as: 'memberships', class: Google::Apis::PeopleV1::Membership, decorator: Google::Apis::PeopleV1::Membership::Representation
894
+
895
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::PersonMetadata, decorator: Google::Apis::PeopleV1::PersonMetadata::Representation
896
+
897
+ collection :misc_keywords, as: 'miscKeywords', class: Google::Apis::PeopleV1::MiscKeyword, decorator: Google::Apis::PeopleV1::MiscKeyword::Representation
898
+
899
+ collection :names, as: 'names', class: Google::Apis::PeopleV1::Name, decorator: Google::Apis::PeopleV1::Name::Representation
900
+
901
+ collection :nicknames, as: 'nicknames', class: Google::Apis::PeopleV1::Nickname, decorator: Google::Apis::PeopleV1::Nickname::Representation
902
+
903
+ collection :occupations, as: 'occupations', class: Google::Apis::PeopleV1::Occupation, decorator: Google::Apis::PeopleV1::Occupation::Representation
904
+
905
+ collection :organizations, as: 'organizations', class: Google::Apis::PeopleV1::Organization, decorator: Google::Apis::PeopleV1::Organization::Representation
906
+
907
+ collection :phone_numbers, as: 'phoneNumbers', class: Google::Apis::PeopleV1::PhoneNumber, decorator: Google::Apis::PeopleV1::PhoneNumber::Representation
908
+
909
+ collection :photos, as: 'photos', class: Google::Apis::PeopleV1::Photo, decorator: Google::Apis::PeopleV1::Photo::Representation
910
+
911
+ collection :relations, as: 'relations', class: Google::Apis::PeopleV1::Relation, decorator: Google::Apis::PeopleV1::Relation::Representation
912
+
913
+ collection :relationship_interests, as: 'relationshipInterests', class: Google::Apis::PeopleV1::RelationshipInterest, decorator: Google::Apis::PeopleV1::RelationshipInterest::Representation
914
+
915
+ collection :relationship_statuses, as: 'relationshipStatuses', class: Google::Apis::PeopleV1::RelationshipStatus, decorator: Google::Apis::PeopleV1::RelationshipStatus::Representation
916
+
917
+ collection :residences, as: 'residences', class: Google::Apis::PeopleV1::Residence, decorator: Google::Apis::PeopleV1::Residence::Representation
918
+
919
+ property :resource_name, as: 'resourceName'
920
+ collection :sip_addresses, as: 'sipAddresses', class: Google::Apis::PeopleV1::SipAddress, decorator: Google::Apis::PeopleV1::SipAddress::Representation
921
+
922
+ collection :skills, as: 'skills', class: Google::Apis::PeopleV1::Skill, decorator: Google::Apis::PeopleV1::Skill::Representation
923
+
924
+ collection :taglines, as: 'taglines', class: Google::Apis::PeopleV1::Tagline, decorator: Google::Apis::PeopleV1::Tagline::Representation
925
+
926
+ collection :urls, as: 'urls', class: Google::Apis::PeopleV1::Url, decorator: Google::Apis::PeopleV1::Url::Representation
927
+
928
+ collection :user_defined, as: 'userDefined', class: Google::Apis::PeopleV1::UserDefined, decorator: Google::Apis::PeopleV1::UserDefined::Representation
929
+
930
+ end
931
+ end
932
+
933
+ class PersonMetadata
934
+ # @private
935
+ class Representation < Google::Apis::Core::JsonRepresentation
936
+ property :deleted, as: 'deleted'
937
+ collection :linked_people_resource_names, as: 'linkedPeopleResourceNames'
938
+ property :object_type, as: 'objectType'
939
+ collection :previous_resource_names, as: 'previousResourceNames'
940
+ collection :sources, as: 'sources', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation
941
+
942
+ end
943
+ end
944
+
945
+ class PersonResponse
946
+ # @private
947
+ class Representation < Google::Apis::Core::JsonRepresentation
948
+ property :http_status_code, as: 'httpStatusCode'
949
+ property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
950
+
951
+ property :requested_resource_name, as: 'requestedResourceName'
952
+ property :status, as: 'status', class: Google::Apis::PeopleV1::Status, decorator: Google::Apis::PeopleV1::Status::Representation
953
+
954
+ end
955
+ end
956
+
957
+ class PhoneNumber
958
+ # @private
959
+ class Representation < Google::Apis::Core::JsonRepresentation
960
+ property :canonical_form, as: 'canonicalForm'
961
+ property :formatted_type, as: 'formattedType'
962
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
963
+
964
+ property :type, as: 'type'
965
+ property :value, as: 'value'
966
+ end
967
+ end
968
+
969
+ class Photo
970
+ # @private
971
+ class Representation < Google::Apis::Core::JsonRepresentation
972
+ property :default, as: 'default'
973
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
974
+
975
+ property :url, as: 'url'
976
+ end
977
+ end
978
+
979
+ class ProfileMetadata
980
+ # @private
981
+ class Representation < Google::Apis::Core::JsonRepresentation
982
+ property :object_type, as: 'objectType'
983
+ collection :user_types, as: 'userTypes'
984
+ end
985
+ end
986
+
987
+ class Relation
988
+ # @private
989
+ class Representation < Google::Apis::Core::JsonRepresentation
990
+ property :formatted_type, as: 'formattedType'
991
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
992
+
993
+ property :person, as: 'person'
994
+ property :type, as: 'type'
995
+ end
996
+ end
997
+
998
+ class RelationshipInterest
999
+ # @private
1000
+ class Representation < Google::Apis::Core::JsonRepresentation
1001
+ property :formatted_value, as: 'formattedValue'
1002
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
1003
+
1004
+ property :value, as: 'value'
1005
+ end
1006
+ end
1007
+
1008
+ class RelationshipStatus
1009
+ # @private
1010
+ class Representation < Google::Apis::Core::JsonRepresentation
1011
+ property :formatted_value, as: 'formattedValue'
1012
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
1013
+
1014
+ property :value, as: 'value'
1015
+ end
1016
+ end
1017
+
1018
+ class Residence
1019
+ # @private
1020
+ class Representation < Google::Apis::Core::JsonRepresentation
1021
+ property :current, as: 'current'
1022
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
1023
+
1024
+ property :value, as: 'value'
1025
+ end
1026
+ end
1027
+
1028
+ class SearchDirectoryPeopleResponse
1029
+ # @private
1030
+ class Representation < Google::Apis::Core::JsonRepresentation
1031
+ property :next_page_token, as: 'nextPageToken'
1032
+ collection :people, as: 'people', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
1033
+
1034
+ property :total_size, as: 'totalSize'
1035
+ end
1036
+ end
1037
+
1038
+ class SipAddress
1039
+ # @private
1040
+ class Representation < Google::Apis::Core::JsonRepresentation
1041
+ property :formatted_type, as: 'formattedType'
1042
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
1043
+
1044
+ property :type, as: 'type'
1045
+ property :value, as: 'value'
1046
+ end
1047
+ end
1048
+
1049
+ class Skill
1050
+ # @private
1051
+ class Representation < Google::Apis::Core::JsonRepresentation
1052
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
1053
+
1054
+ property :value, as: 'value'
1055
+ end
1056
+ end
1057
+
1058
+ class Source
1059
+ # @private
1060
+ class Representation < Google::Apis::Core::JsonRepresentation
1061
+ property :etag, as: 'etag'
1062
+ property :id, as: 'id'
1063
+ property :profile_metadata, as: 'profileMetadata', class: Google::Apis::PeopleV1::ProfileMetadata, decorator: Google::Apis::PeopleV1::ProfileMetadata::Representation
1064
+
1065
+ property :type, as: 'type'
1066
+ property :update_time, as: 'updateTime'
1067
+ end
1068
+ end
1069
+
1070
+ class Status
1071
+ # @private
1072
+ class Representation < Google::Apis::Core::JsonRepresentation
1073
+ property :code, as: 'code'
1074
+ collection :details, as: 'details'
1075
+ property :message, as: 'message'
1076
+ end
1077
+ end
1078
+
1079
+ class Tagline
1080
+ # @private
1081
+ class Representation < Google::Apis::Core::JsonRepresentation
1082
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
1083
+
1084
+ property :value, as: 'value'
1085
+ end
1086
+ end
1087
+
1088
+ class UpdateContactGroupRequest
1089
+ # @private
1090
+ class Representation < Google::Apis::Core::JsonRepresentation
1091
+ property :contact_group, as: 'contactGroup', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation
1092
+
1093
+ end
1094
+ end
1095
+
1096
+ class UpdateContactPhotoRequest
1097
+ # @private
1098
+ class Representation < Google::Apis::Core::JsonRepresentation
1099
+ property :person_fields, as: 'personFields'
1100
+ property :photo_bytes, :base64 => true, as: 'photoBytes'
1101
+ collection :sources, as: 'sources'
1102
+ end
1103
+ end
1104
+
1105
+ class UpdateContactPhotoResponse
1106
+ # @private
1107
+ class Representation < Google::Apis::Core::JsonRepresentation
1108
+ property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
1109
+
1110
+ end
1111
+ end
1112
+
1113
+ class Url
1114
+ # @private
1115
+ class Representation < Google::Apis::Core::JsonRepresentation
1116
+ property :formatted_type, as: 'formattedType'
1117
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
1118
+
1119
+ property :type, as: 'type'
1120
+ property :value, as: 'value'
1121
+ end
1122
+ end
1123
+
1124
+ class UserDefined
1125
+ # @private
1126
+ class Representation < Google::Apis::Core::JsonRepresentation
1127
+ property :key, as: 'key'
1128
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
1129
+
1130
+ property :value, as: 'value'
1131
+ end
1132
+ end
1133
+ end
1134
+ end
1135
+ end