2016-02-10 21:57:13 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
require 'date'
|
|
|
|
require 'google/apis/core/base_service'
|
|
|
|
require 'google/apis/core/json_representation'
|
|
|
|
require 'google/apis/core/hashable'
|
|
|
|
require 'google/apis/errors'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
|
|
|
module PeopleV1
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Address
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class AgeRangeType
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class BatchGetContactGroupsResponse
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Biography
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Birthday
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class BraggingRights
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ContactGroup
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ContactGroupMembership
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ContactGroupMetadata
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ContactGroupResponse
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
2016-02-25 23:16:53 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2020-06-03 00:38:28 +00:00
|
|
|
class CopyOtherContactToMyContactsGroupRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CoverPhoto
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CreateContactGroupRequest
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Date
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2019-07-19 00:38:19 +00:00
|
|
|
class DeleteContactPhotoResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class DomainMembership
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class EmailAddress
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Empty
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Event
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class FieldMetadata
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2020-06-11 00:38:48 +00:00
|
|
|
class FileAs
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Gender
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class GetPeopleResponse
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ImClient
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Interest
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListConnectionsResponse
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListContactGroupsResponse
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2020-06-11 00:38:48 +00:00
|
|
|
class ListDirectoryPeopleResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-06-03 00:38:28 +00:00
|
|
|
class ListOtherContactsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Locale
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Membership
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ModifyContactGroupMembersRequest
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ModifyContactGroupMembersResponse
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Name
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Nickname
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Occupation
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Organization
|
2016-02-25 23:16:53 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Person
|
2016-02-10 21:57:13 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class PersonMetadata
|
2017-03-30 22:30:51 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
2017-03-30 22:30:51 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class PersonResponse
|
2017-05-26 16:44:32 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2017-03-30 22:30:51 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class PhoneNumber
|
2017-05-26 16:44:32 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Photo
|
2017-05-26 16:44:32 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ProfileMetadata
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Relation
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class RelationshipInterest
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class RelationshipStatus
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Residence
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-06-11 00:38:48 +00:00
|
|
|
class SearchDirectoryPeopleResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-05-23 00:36:42 +00:00
|
|
|
class SipAddress
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Skill
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Source
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Status
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Tagline
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class UpdateContactGroupRequest
|
2017-05-26 16:44:32 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2017-02-13 23:28:52 +00:00
|
|
|
end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
2019-07-19 00:38:19 +00:00
|
|
|
class UpdateContactPhotoRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class UpdateContactPhotoResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Url
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-31 00:35:15 +00:00
|
|
|
class UserDefined
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Address
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :city, as: 'city'
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :country_code, as: 'countryCode'
|
|
|
|
property :extended_address, as: 'extendedAddress'
|
|
|
|
property :formatted_type, as: 'formattedType'
|
2017-07-12 20:10:42 +00:00
|
|
|
property :formatted_value, as: 'formattedValue'
|
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :po_box, as: 'poBox'
|
|
|
|
property :postal_code, as: 'postalCode'
|
|
|
|
property :region, as: 'region'
|
|
|
|
property :street_address, as: 'streetAddress'
|
2017-07-12 20:10:42 +00:00
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AgeRangeType
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :age_range, as: 'ageRange'
|
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class BatchGetContactGroupsResponse
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::PeopleV1::ContactGroupResponse, decorator: Google::Apis::PeopleV1::ContactGroupResponse::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Biography
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :content_type, as: 'contentType'
|
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :value, as: 'value'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Birthday
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :text, as: 'text'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class BraggingRights
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
|
|
|
property :value, as: 'value'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
class ContactGroup
|
2017-02-13 23:28:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-07-12 20:10:42 +00:00
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :formatted_name, as: 'formattedName'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :group_type, as: 'groupType'
|
|
|
|
property :member_count, as: 'memberCount'
|
2017-07-12 20:10:42 +00:00
|
|
|
collection :member_resource_names, as: 'memberResourceNames'
|
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::ContactGroupMetadata, decorator: Google::Apis::PeopleV1::ContactGroupMetadata::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :name, as: 'name'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :resource_name, as: 'resourceName'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ContactGroupMembership
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :contact_group_id, as: 'contactGroupId'
|
2019-04-25 00:37:02 +00:00
|
|
|
property :contact_group_resource_name, as: 'contactGroupResourceName'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
class ContactGroupMetadata
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-07-12 20:10:42 +00:00
|
|
|
property :deleted, as: 'deleted'
|
|
|
|
property :update_time, as: 'updateTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ContactGroupResponse
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :contact_group, as: 'contactGroup', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation
|
|
|
|
|
|
|
|
property :requested_resource_name, as: 'requestedResourceName'
|
|
|
|
property :status, as: 'status', class: Google::Apis::PeopleV1::Status, decorator: Google::Apis::PeopleV1::Status::Representation
|
2016-02-10 21:57:13 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-06-03 00:38:28 +00:00
|
|
|
class CopyOtherContactToMyContactsGroupRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :copy_mask, as: 'copyMask'
|
|
|
|
property :read_mask, as: 'readMask'
|
2020-06-10 00:38:16 +00:00
|
|
|
collection :sources, as: 'sources'
|
2020-06-03 00:38:28 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CoverPhoto
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :default, as: 'default'
|
2017-03-27 22:14:47 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :url, as: 'url'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CreateContactGroupRequest
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :contact_group, as: 'contactGroup', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation
|
|
|
|
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Date
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :day, as: 'day'
|
|
|
|
property :month, as: 'month'
|
|
|
|
property :year, as: 'year'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-19 00:38:19 +00:00
|
|
|
class DeleteContactPhotoResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class DomainMembership
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :in_viewer_domain, as: 'inViewerDomain'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class EmailAddress
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :formatted_type, as: 'formattedType'
|
2016-02-25 23:16:53 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :type, as: 'type'
|
|
|
|
property :value, as: 'value'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Empty
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Event
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
|
|
|
|
|
|
|
|
property :formatted_type, as: 'formattedType'
|
2017-07-12 20:10:42 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :type, as: 'type'
|
2016-02-25 23:16:53 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class FieldMetadata
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :primary, as: 'primary'
|
|
|
|
property :source, as: 'source', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation
|
2017-03-30 22:30:51 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :verified, as: 'verified'
|
2017-03-30 22:30:51 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-06-11 00:38:48 +00:00
|
|
|
class FileAs
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Gender
|
2017-03-30 22:30:51 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2020-04-13 16:49:10 +00:00
|
|
|
property :address_me_as, as: 'addressMeAs'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :formatted_value, as: 'formattedValue'
|
2017-07-12 20:10:42 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
property :value, as: 'value'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class GetPeopleResponse
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :responses, as: 'responses', class: Google::Apis::PeopleV1::PersonResponse, decorator: Google::Apis::PeopleV1::PersonResponse::Representation
|
|
|
|
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ImClient
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :formatted_protocol, as: 'formattedProtocol'
|
|
|
|
property :formatted_type, as: 'formattedType'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
2016-02-10 21:57:13 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :protocol, as: 'protocol'
|
|
|
|
property :type, as: 'type'
|
|
|
|
property :username, as: 'username'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Interest
|
2017-03-31 19:53:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :value, as: 'value'
|
2017-03-31 19:53:27 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListConnectionsResponse
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :connections, as: 'connections', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
|
2017-04-03 20:18:48 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :next_sync_token, as: 'nextSyncToken'
|
|
|
|
property :total_items, as: 'totalItems'
|
|
|
|
property :total_people, as: 'totalPeople'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListContactGroupsResponse
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :contact_groups, as: 'contactGroups', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation
|
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :next_sync_token, as: 'nextSyncToken'
|
|
|
|
property :total_items, as: 'totalItems'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-06-11 00:38:48 +00:00
|
|
|
class ListDirectoryPeopleResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :next_sync_token, as: 'nextSyncToken'
|
|
|
|
collection :people, as: 'people', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-06-03 00:38:28 +00:00
|
|
|
class ListOtherContactsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :next_sync_token, as: 'nextSyncToken'
|
|
|
|
collection :other_contacts, as: 'otherContacts', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Locale
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2016-02-25 23:16:53 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
2016-02-10 21:57:13 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :value, as: 'value'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Membership
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :contact_group_membership, as: 'contactGroupMembership', class: Google::Apis::PeopleV1::ContactGroupMembership, decorator: Google::Apis::PeopleV1::ContactGroupMembership::Representation
|
|
|
|
|
|
|
|
property :domain_membership, as: 'domainMembership', class: Google::Apis::PeopleV1::DomainMembership, decorator: Google::Apis::PeopleV1::DomainMembership::Representation
|
|
|
|
|
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
2016-02-10 21:57:13 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ModifyContactGroupMembersRequest
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :resource_names_to_add, as: 'resourceNamesToAdd'
|
|
|
|
collection :resource_names_to_remove, as: 'resourceNamesToRemove'
|
|
|
|
end
|
|
|
|
end
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ModifyContactGroupMembersResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-07-31 00:37:54 +00:00
|
|
|
collection :can_not_remove_last_contact_group_resource_names, as: 'canNotRemoveLastContactGroupResourceNames'
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :not_found_resource_names, as: 'notFoundResourceNames'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Name
|
2017-05-26 16:44:32 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :display_name_last_first, as: 'displayNameLastFirst'
|
|
|
|
property :family_name, as: 'familyName'
|
|
|
|
property :given_name, as: 'givenName'
|
|
|
|
property :honorific_prefix, as: 'honorificPrefix'
|
|
|
|
property :honorific_suffix, as: 'honorificSuffix'
|
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :middle_name, as: 'middleName'
|
|
|
|
property :phonetic_family_name, as: 'phoneticFamilyName'
|
|
|
|
property :phonetic_full_name, as: 'phoneticFullName'
|
|
|
|
property :phonetic_given_name, as: 'phoneticGivenName'
|
|
|
|
property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix'
|
|
|
|
property :phonetic_honorific_suffix, as: 'phoneticHonorificSuffix'
|
|
|
|
property :phonetic_middle_name, as: 'phoneticMiddleName'
|
2020-06-05 00:39:06 +00:00
|
|
|
property :unstructured_name, as: 'unstructuredName'
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Nickname
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :type, as: 'type'
|
|
|
|
property :value, as: 'value'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Occupation
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :value, as: 'value'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Organization
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :current, as: 'current'
|
|
|
|
property :department, as: 'department'
|
|
|
|
property :domain, as: 'domain'
|
|
|
|
property :end_date, as: 'endDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
property :formatted_type, as: 'formattedType'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :job_description, as: 'jobDescription'
|
|
|
|
property :location, as: 'location'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :phonetic_name, as: 'phoneticName'
|
|
|
|
property :start_date, as: 'startDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
|
|
|
|
|
|
|
|
property :symbol, as: 'symbol'
|
|
|
|
property :title, as: 'title'
|
|
|
|
property :type, as: 'type'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Person
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :addresses, as: 'addresses', class: Google::Apis::PeopleV1::Address, decorator: Google::Apis::PeopleV1::Address::Representation
|
|
|
|
|
|
|
|
property :age_range, as: 'ageRange'
|
|
|
|
collection :age_ranges, as: 'ageRanges', class: Google::Apis::PeopleV1::AgeRangeType, decorator: Google::Apis::PeopleV1::AgeRangeType::Representation
|
|
|
|
|
|
|
|
collection :biographies, as: 'biographies', class: Google::Apis::PeopleV1::Biography, decorator: Google::Apis::PeopleV1::Biography::Representation
|
|
|
|
|
|
|
|
collection :birthdays, as: 'birthdays', class: Google::Apis::PeopleV1::Birthday, decorator: Google::Apis::PeopleV1::Birthday::Representation
|
|
|
|
|
|
|
|
collection :bragging_rights, as: 'braggingRights', class: Google::Apis::PeopleV1::BraggingRights, decorator: Google::Apis::PeopleV1::BraggingRights::Representation
|
|
|
|
|
|
|
|
collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation
|
|
|
|
|
|
|
|
collection :email_addresses, as: 'emailAddresses', class: Google::Apis::PeopleV1::EmailAddress, decorator: Google::Apis::PeopleV1::EmailAddress::Representation
|
|
|
|
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
collection :events, as: 'events', class: Google::Apis::PeopleV1::Event, decorator: Google::Apis::PeopleV1::Event::Representation
|
|
|
|
|
2020-06-11 00:38:48 +00:00
|
|
|
collection :file_ases, as: 'fileAses', class: Google::Apis::PeopleV1::FileAs, decorator: Google::Apis::PeopleV1::FileAs::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :genders, as: 'genders', class: Google::Apis::PeopleV1::Gender, decorator: Google::Apis::PeopleV1::Gender::Representation
|
|
|
|
|
|
|
|
collection :im_clients, as: 'imClients', class: Google::Apis::PeopleV1::ImClient, decorator: Google::Apis::PeopleV1::ImClient::Representation
|
|
|
|
|
|
|
|
collection :interests, as: 'interests', class: Google::Apis::PeopleV1::Interest, decorator: Google::Apis::PeopleV1::Interest::Representation
|
|
|
|
|
|
|
|
collection :locales, as: 'locales', class: Google::Apis::PeopleV1::Locale, decorator: Google::Apis::PeopleV1::Locale::Representation
|
|
|
|
|
|
|
|
collection :memberships, as: 'memberships', class: Google::Apis::PeopleV1::Membership, decorator: Google::Apis::PeopleV1::Membership::Representation
|
|
|
|
|
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::PersonMetadata, decorator: Google::Apis::PeopleV1::PersonMetadata::Representation
|
|
|
|
|
|
|
|
collection :names, as: 'names', class: Google::Apis::PeopleV1::Name, decorator: Google::Apis::PeopleV1::Name::Representation
|
|
|
|
|
|
|
|
collection :nicknames, as: 'nicknames', class: Google::Apis::PeopleV1::Nickname, decorator: Google::Apis::PeopleV1::Nickname::Representation
|
|
|
|
|
|
|
|
collection :occupations, as: 'occupations', class: Google::Apis::PeopleV1::Occupation, decorator: Google::Apis::PeopleV1::Occupation::Representation
|
|
|
|
|
|
|
|
collection :organizations, as: 'organizations', class: Google::Apis::PeopleV1::Organization, decorator: Google::Apis::PeopleV1::Organization::Representation
|
|
|
|
|
|
|
|
collection :phone_numbers, as: 'phoneNumbers', class: Google::Apis::PeopleV1::PhoneNumber, decorator: Google::Apis::PeopleV1::PhoneNumber::Representation
|
|
|
|
|
|
|
|
collection :photos, as: 'photos', class: Google::Apis::PeopleV1::Photo, decorator: Google::Apis::PeopleV1::Photo::Representation
|
|
|
|
|
|
|
|
collection :relations, as: 'relations', class: Google::Apis::PeopleV1::Relation, decorator: Google::Apis::PeopleV1::Relation::Representation
|
|
|
|
|
|
|
|
collection :relationship_interests, as: 'relationshipInterests', class: Google::Apis::PeopleV1::RelationshipInterest, decorator: Google::Apis::PeopleV1::RelationshipInterest::Representation
|
|
|
|
|
|
|
|
collection :relationship_statuses, as: 'relationshipStatuses', class: Google::Apis::PeopleV1::RelationshipStatus, decorator: Google::Apis::PeopleV1::RelationshipStatus::Representation
|
|
|
|
|
|
|
|
collection :residences, as: 'residences', class: Google::Apis::PeopleV1::Residence, decorator: Google::Apis::PeopleV1::Residence::Representation
|
|
|
|
|
|
|
|
property :resource_name, as: 'resourceName'
|
2018-05-23 00:36:42 +00:00
|
|
|
collection :sip_addresses, as: 'sipAddresses', class: Google::Apis::PeopleV1::SipAddress, decorator: Google::Apis::PeopleV1::SipAddress::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :skills, as: 'skills', class: Google::Apis::PeopleV1::Skill, decorator: Google::Apis::PeopleV1::Skill::Representation
|
|
|
|
|
|
|
|
collection :taglines, as: 'taglines', class: Google::Apis::PeopleV1::Tagline, decorator: Google::Apis::PeopleV1::Tagline::Representation
|
|
|
|
|
|
|
|
collection :urls, as: 'urls', class: Google::Apis::PeopleV1::Url, decorator: Google::Apis::PeopleV1::Url::Representation
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2017-08-31 00:35:15 +00:00
|
|
|
collection :user_defined, as: 'userDefined', class: Google::Apis::PeopleV1::UserDefined, decorator: Google::Apis::PeopleV1::UserDefined::Representation
|
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class PersonMetadata
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :deleted, as: 'deleted'
|
|
|
|
collection :linked_people_resource_names, as: 'linkedPeopleResourceNames'
|
|
|
|
property :object_type, as: 'objectType'
|
|
|
|
collection :previous_resource_names, as: 'previousResourceNames'
|
|
|
|
collection :sources, as: 'sources', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class PersonResponse
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :http_status_code, as: 'httpStatusCode'
|
|
|
|
property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
|
|
|
|
|
|
|
|
property :requested_resource_name, as: 'requestedResourceName'
|
|
|
|
property :status, as: 'status', class: Google::Apis::PeopleV1::Status, decorator: Google::Apis::PeopleV1::Status::Representation
|
2017-03-31 19:53:27 +00:00
|
|
|
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class PhoneNumber
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :canonical_form, as: 'canonicalForm'
|
|
|
|
property :formatted_type, as: 'formattedType'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
property :type, as: 'type'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :value, as: 'value'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Photo
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-09-12 00:36:05 +00:00
|
|
|
property :default, as: 'default'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
|
|
|
property :url, as: 'url'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ProfileMetadata
|
2016-02-10 21:57:13 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :object_type, as: 'objectType'
|
|
|
|
collection :user_types, as: 'userTypes'
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
2017-03-30 22:30:51 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Relation
|
2017-03-31 19:53:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :formatted_type, as: 'formattedType'
|
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
2017-03-31 19:53:27 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :person, as: 'person'
|
|
|
|
property :type, as: 'type'
|
2017-03-31 19:53:27 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class RelationshipInterest
|
2017-03-31 19:53:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :formatted_value, as: 'formattedValue'
|
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
|
|
|
property :value, as: 'value'
|
2017-03-31 19:53:27 +00:00
|
|
|
end
|
|
|
|
end
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class RelationshipStatus
|
2017-05-26 16:44:32 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :formatted_value, as: 'formattedValue'
|
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
2017-06-14 17:02:03 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :value, as: 'value'
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Residence
|
2017-05-26 16:44:32 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :current, as: 'current'
|
2017-06-14 17:02:03 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
property :value, as: 'value'
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-06-11 00:38:48 +00:00
|
|
|
class SearchDirectoryPeopleResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :people, as: 'people', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
|
|
|
|
|
|
|
|
property :total_size, as: 'totalSize'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-05-23 00:36:42 +00:00
|
|
|
class SipAddress
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :formatted_type, as: 'formattedType'
|
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
|
|
|
property :type, as: 'type'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Skill
|
2017-05-26 16:44:32 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-07-12 20:10:42 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Source
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :etag, as: 'etag'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :profile_metadata, as: 'profileMetadata', class: Google::Apis::PeopleV1::ProfileMetadata, decorator: Google::Apis::PeopleV1::ProfileMetadata::Representation
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
property :type, as: 'type'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :update_time, as: 'updateTime'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Status
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :code, as: 'code'
|
|
|
|
collection :details, as: 'details'
|
|
|
|
property :message, as: 'message'
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Tagline
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :value, as: 'value'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class UpdateContactGroupRequest
|
2017-05-26 16:44:32 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :contact_group, as: 'contactGroup', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
end
|
|
|
|
end
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2019-07-19 00:38:19 +00:00
|
|
|
class UpdateContactPhotoRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :person_fields, as: 'personFields'
|
|
|
|
property :photo_bytes, :base64 => true, as: 'photoBytes'
|
2020-06-10 00:38:16 +00:00
|
|
|
collection :sources, as: 'sources'
|
2019-07-19 00:38:19 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class UpdateContactPhotoResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Url
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :formatted_type, as: 'formattedType'
|
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :type, as: 'type'
|
|
|
|
property :value, as: 'value'
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
|
|
|
end
|
2017-08-31 00:35:15 +00:00
|
|
|
|
|
|
|
class UserDefined
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :key, as: 'key'
|
|
|
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
|
|
|
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
2016-02-10 21:57:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|