generated/google/apis/people_v1/representations.rb in google-api-client-0.9.28 vs generated/google/apis/people_v1/representations.rb in google-api-client-0.10.0
- old
+ new
@@ -20,113 +20,113 @@
module Google
module Apis
module PeopleV1
- class Person
+ class Birthday
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class PersonMetadata
+ class Address
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Source
+ class Residence
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Locale
+ class ContactGroupMembership
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class FieldMetadata
+ class Event
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Name
+ class PersonMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Nickname
+ class Gender
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class CoverPhoto
+ class Url
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Photo
+ class CoverPhoto
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Gender
+ class ImClient
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Birthday
+ class Interest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Date
+ class Nickname
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Event
+ class EmailAddress
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Address
+ class Skill
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Residence
+ class DomainMembership
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class EmailAddress
+ class Membership
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class PhoneNumber
+ class RelationshipStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class ImClient
+ class Date
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -134,95 +134,95 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Biography
+ class Name
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Url
+ class BraggingRights
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Organization
+ class Locale
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Occupation
+ class Organization
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Interest
+ class Biography
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Skill
+ class FieldMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class BraggingRights
+ class RelationshipInterest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Relation
+ class PersonResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class RelationshipInterest
+ class Source
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class RelationshipStatus
+ class Relation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Membership
+ class Occupation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class ContactGroupMembership
+ class Person
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class DomainMembership
+ class GetPeopleResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class GetPeopleResponse
+ class PhoneNumber
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class PersonResponse
+ class Photo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -230,432 +230,439 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class Person
+ class Birthday
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :resource_name, as: 'resourceName'
- property :etag, as: 'etag'
- property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::PersonMetadata, decorator: Google::Apis::PeopleV1::PersonMetadata::Representation
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- collection :locales, as: 'locales', class: Google::Apis::PeopleV1::Locale, decorator: Google::Apis::PeopleV1::Locale::Representation
+ property :text, as: 'text'
+ property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
- collection :names, as: 'names', class: Google::Apis::PeopleV1::Name, decorator: Google::Apis::PeopleV1::Name::Representation
+ end
+ end
- collection :nicknames, as: 'nicknames', class: Google::Apis::PeopleV1::Nickname, decorator: Google::Apis::PeopleV1::Nickname::Representation
+ class Address
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :extended_address, as: 'extendedAddress'
+ property :po_box, as: 'poBox'
+ property :postal_code, as: 'postalCode'
+ property :region, as: 'region'
+ property :street_address, as: 'streetAddress'
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation
-
- collection :photos, as: 'photos', class: Google::Apis::PeopleV1::Photo, decorator: Google::Apis::PeopleV1::Photo::Representation
-
- collection :genders, as: 'genders', class: Google::Apis::PeopleV1::Gender, decorator: Google::Apis::PeopleV1::Gender::Representation
-
- property :age_range, as: 'ageRange'
- collection :birthdays, as: 'birthdays', class: Google::Apis::PeopleV1::Birthday, decorator: Google::Apis::PeopleV1::Birthday::Representation
-
- collection :events, as: 'events', class: Google::Apis::PeopleV1::Event, decorator: Google::Apis::PeopleV1::Event::Representation
-
- collection :addresses, as: 'addresses', class: Google::Apis::PeopleV1::Address, decorator: Google::Apis::PeopleV1::Address::Representation
-
- collection :residences, as: 'residences', class: Google::Apis::PeopleV1::Residence, decorator: Google::Apis::PeopleV1::Residence::Representation
-
- collection :email_addresses, as: 'emailAddresses', class: Google::Apis::PeopleV1::EmailAddress, decorator: Google::Apis::PeopleV1::EmailAddress::Representation
-
- collection :phone_numbers, as: 'phoneNumbers', class: Google::Apis::PeopleV1::PhoneNumber, decorator: Google::Apis::PeopleV1::PhoneNumber::Representation
-
- collection :im_clients, as: 'imClients', class: Google::Apis::PeopleV1::ImClient, decorator: Google::Apis::PeopleV1::ImClient::Representation
-
- collection :taglines, as: 'taglines', class: Google::Apis::PeopleV1::Tagline, decorator: Google::Apis::PeopleV1::Tagline::Representation
-
- collection :biographies, as: 'biographies', class: Google::Apis::PeopleV1::Biography, decorator: Google::Apis::PeopleV1::Biography::Representation
-
- collection :urls, as: 'urls', class: Google::Apis::PeopleV1::Url, decorator: Google::Apis::PeopleV1::Url::Representation
-
- collection :organizations, as: 'organizations', class: Google::Apis::PeopleV1::Organization, decorator: Google::Apis::PeopleV1::Organization::Representation
-
- collection :occupations, as: 'occupations', class: Google::Apis::PeopleV1::Occupation, decorator: Google::Apis::PeopleV1::Occupation::Representation
-
- collection :interests, as: 'interests', class: Google::Apis::PeopleV1::Interest, decorator: Google::Apis::PeopleV1::Interest::Representation
-
- collection :skills, as: 'skills', class: Google::Apis::PeopleV1::Skill, decorator: Google::Apis::PeopleV1::Skill::Representation
-
- collection :bragging_rights, as: 'braggingRights', class: Google::Apis::PeopleV1::BraggingRights, decorator: Google::Apis::PeopleV1::BraggingRights::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 :memberships, as: 'memberships', class: Google::Apis::PeopleV1::Membership, decorator: Google::Apis::PeopleV1::Membership::Representation
-
+ property :country_code, as: 'countryCode'
+ property :formatted_type, as: 'formattedType'
+ property :city, as: 'city'
+ property :formatted_value, as: 'formattedValue'
+ property :country, as: 'country'
+ property :type, as: 'type'
end
end
- class PersonMetadata
+ class Residence
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :sources, as: 'sources', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- collection :previous_resource_names, as: 'previousResourceNames'
- property :deleted, as: 'deleted'
- property :object_type, as: 'objectType'
+ property :current, as: 'current'
+ property :value, as: 'value'
end
end
- class Source
+ class ContactGroupMembership
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :type, as: 'type'
- property :id, as: 'id'
+ property :contact_group_id, as: 'contactGroupId'
end
end
- class Locale
+ class Event
# @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'
+ property :type, as: 'type'
+ property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
+
+ property :formatted_type, as: 'formattedType'
end
end
- class FieldMetadata
+ class PersonMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :primary, as: 'primary'
- property :verified, as: 'verified'
- property :source, as: 'source', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation
+ collection :sources, as: 'sources', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation
+ collection :previous_resource_names, as: 'previousResourceNames'
+ property :deleted, as: 'deleted'
+ property :object_type, as: 'objectType'
+ collection :linked_people_resource_names, as: 'linkedPeopleResourceNames'
end
end
- class Name
+ class Gender
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :display_name, as: 'displayName'
- property :family_name, as: 'familyName'
- property :given_name, as: 'givenName'
- property :middle_name, as: 'middleName'
- property :honorific_prefix, as: 'honorificPrefix'
- property :honorific_suffix, as: 'honorificSuffix'
- property :phonetic_family_name, as: 'phoneticFamilyName'
- property :phonetic_given_name, as: 'phoneticGivenName'
- property :phonetic_middle_name, as: 'phoneticMiddleName'
- property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix'
- property :phonetic_honorific_suffix, as: 'phoneticHonorificSuffix'
+ property :value, as: 'value'
+ property :formatted_value, as: 'formattedValue'
end
end
- class Nickname
+ class Url
# @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'
property :type, as: 'type'
+ property :value, as: 'value'
+ property :formatted_type, as: 'formattedType'
end
end
class CoverPhoto
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :url, as: 'url'
property :default, as: 'default'
+ property :url, as: 'url'
end
end
- class Photo
+ class ImClient
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :formatted_protocol, as: 'formattedProtocol'
+ property :formatted_type, as: 'formattedType'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :url, as: 'url'
+ property :type, as: 'type'
+ property :protocol, as: 'protocol'
+ property :username, as: 'username'
end
end
- class Gender
+ class Interest
# @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'
- property :formatted_value, as: 'formattedValue'
end
end
- class Birthday
+ class Nickname
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
-
- property :text, as: 'text'
+ property :type, as: 'type'
+ property :value, as: 'value'
end
end
- class Date
+ class EmailAddress
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :year, as: 'year'
- property :month, as: 'month'
- property :day, as: 'day'
+ property :display_name, as: 'displayName'
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
+
+ property :type, as: 'type'
+ property :value, as: 'value'
+ property :formatted_type, as: 'formattedType'
end
end
- class Event
+ class Skill
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
-
- property :type, as: 'type'
- property :formatted_type, as: 'formattedType'
+ property :value, as: 'value'
end
end
- class Address
+ class DomainMembership
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
-
- property :formatted_value, as: 'formattedValue'
- property :type, as: 'type'
- property :formatted_type, as: 'formattedType'
- property :po_box, as: 'poBox'
- property :street_address, as: 'streetAddress'
- property :extended_address, as: 'extendedAddress'
- property :city, as: 'city'
- property :region, as: 'region'
- property :postal_code, as: 'postalCode'
- property :country, as: 'country'
- property :country_code, as: 'countryCode'
+ property :in_viewer_domain, as: 'inViewerDomain'
end
end
- class Residence
+ class Membership
# @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'
- property :current, as: 'current'
+ 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
+
end
end
- class EmailAddress
+ class RelationshipStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :formatted_value, as: 'formattedValue'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
property :value, as: 'value'
- property :type, as: 'type'
- property :formatted_type, as: 'formattedType'
end
end
- class PhoneNumber
+ class Date
# @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'
- property :canonical_form, as: 'canonicalForm'
- property :type, as: 'type'
- property :formatted_type, as: 'formattedType'
+ property :month, as: 'month'
+ property :year, as: 'year'
+ property :day, as: 'day'
end
end
- class ImClient
+ class Tagline
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :value, as: 'value'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :username, as: 'username'
- property :type, as: 'type'
- property :formatted_type, as: 'formattedType'
- property :protocol, as: 'protocol'
- property :formatted_protocol, as: 'formattedProtocol'
end
end
- class Tagline
+ class Name
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :phonetic_full_name, as: 'phoneticFullName'
+ property :display_name_last_first, as: 'displayNameLastFirst'
+ property :display_name, as: 'displayName'
+ property :honorific_suffix, as: 'honorificSuffix'
+ property :honorific_prefix, as: 'honorificPrefix'
+ property :phonetic_honorific_suffix, as: 'phoneticHonorificSuffix'
+ property :middle_name, as: 'middleName'
+ property :given_name, as: 'givenName'
+ property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix'
+ property :phonetic_given_name, as: 'phoneticGivenName'
+ property :phonetic_family_name, as: 'phoneticFamilyName'
+ property :family_name, as: 'familyName'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :value, as: 'value'
+ property :phonetic_middle_name, as: 'phoneticMiddleName'
end
end
- class Biography
+ class BraggingRights
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :value, as: 'value'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :value, as: 'value'
end
end
- class Url
+ class Locale
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :value, as: 'value'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :value, as: 'value'
- property :type, as: 'type'
- property :formatted_type, as: 'formattedType'
end
end
class Organization
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
-
+ property :department, as: 'department'
property :type, as: 'type'
- property :formatted_type, as: 'formattedType'
- property :start_date, as: 'startDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
-
+ property :phonetic_name, as: 'phoneticName'
+ property :job_description, as: 'jobDescription'
property :end_date, as: 'endDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
- property :current, as: 'current'
+ property :symbol, as: 'symbol'
property :name, as: 'name'
- property :phonetic_name, as: 'phoneticName'
- property :department, as: 'department'
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
+
property :title, as: 'title'
- property :job_description, as: 'jobDescription'
- property :symbol, as: 'symbol'
- property :domain, as: 'domain'
property :location, as: 'location'
+ property :current, as: 'current'
+ property :start_date, as: 'startDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
+
+ property :formatted_type, as: 'formattedType'
+ property :domain, as: 'domain'
end
end
- class Occupation
+ class Biography
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :content_type, as: 'contentType'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
property :value, as: 'value'
end
end
- class Interest
+ class FieldMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
+ property :verified, as: 'verified'
+ property :primary, as: 'primary'
+ property :source, as: 'source', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation
- property :value, as: 'value'
end
end
- class Skill
+ class RelationshipInterest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :formatted_value, as: 'formattedValue'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
property :value, as: 'value'
end
end
- class BraggingRights
+ class PersonResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
+ property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
- property :value, as: 'value'
+ property :http_status_code, as: 'httpStatusCode'
+ property :requested_resource_name, as: 'requestedResourceName'
end
end
- class Relation
+ class Source
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
-
- property :person, as: 'person'
+ property :resource_name, as: 'resourceName'
property :type, as: 'type'
- property :formatted_type, as: 'formattedType'
+ property :etag, as: 'etag'
+ property :id, as: 'id'
end
end
- class RelationshipInterest
+ class Relation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :person, as: 'person'
+ property :formatted_type, as: 'formattedType'
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :value, as: 'value'
- property :formatted_value, as: 'formattedValue'
+ property :type, as: 'type'
end
end
- class RelationshipStatus
+ class Occupation
# @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'
- property :formatted_value, as: 'formattedValue'
end
end
- class Membership
+ class Person
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
+ collection :im_clients, as: 'imClients', class: Google::Apis::PeopleV1::ImClient, decorator: Google::Apis::PeopleV1::ImClient::Representation
- property :contact_group_membership, as: 'contactGroupMembership', class: Google::Apis::PeopleV1::ContactGroupMembership, decorator: Google::Apis::PeopleV1::ContactGroupMembership::Representation
+ collection :birthdays, as: 'birthdays', class: Google::Apis::PeopleV1::Birthday, decorator: Google::Apis::PeopleV1::Birthday::Representation
- property :domain_membership, as: 'domainMembership', class: Google::Apis::PeopleV1::DomainMembership, decorator: Google::Apis::PeopleV1::DomainMembership::Representation
+ collection :locales, as: 'locales', class: Google::Apis::PeopleV1::Locale, decorator: Google::Apis::PeopleV1::Locale::Representation
- end
- end
+ collection :relationship_interests, as: 'relationshipInterests', class: Google::Apis::PeopleV1::RelationshipInterest, decorator: Google::Apis::PeopleV1::RelationshipInterest::Representation
- class ContactGroupMembership
- # @private
- class Representation < Google::Apis::Core::JsonRepresentation
- property :contact_group_id, as: 'contactGroupId'
+ collection :urls, as: 'urls', class: Google::Apis::PeopleV1::Url, decorator: Google::Apis::PeopleV1::Url::Representation
+
+ collection :nicknames, as: 'nicknames', class: Google::Apis::PeopleV1::Nickname, decorator: Google::Apis::PeopleV1::Nickname::Representation
+
+ collection :names, as: 'names', class: Google::Apis::PeopleV1::Name, decorator: Google::Apis::PeopleV1::Name::Representation
+
+ collection :relations, as: 'relations', class: Google::Apis::PeopleV1::Relation, decorator: Google::Apis::PeopleV1::Relation::Representation
+
+ collection :occupations, as: 'occupations', class: Google::Apis::PeopleV1::Occupation, decorator: Google::Apis::PeopleV1::Occupation::Representation
+
+ collection :email_addresses, as: 'emailAddresses', class: Google::Apis::PeopleV1::EmailAddress, decorator: Google::Apis::PeopleV1::EmailAddress::Representation
+
+ collection :organizations, as: 'organizations', class: Google::Apis::PeopleV1::Organization, decorator: Google::Apis::PeopleV1::Organization::Representation
+
+ property :etag, as: 'etag'
+ collection :bragging_rights, as: 'braggingRights', class: Google::Apis::PeopleV1::BraggingRights, decorator: Google::Apis::PeopleV1::BraggingRights::Representation
+
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::PersonMetadata, decorator: Google::Apis::PeopleV1::PersonMetadata::Representation
+
+ collection :residences, as: 'residences', class: Google::Apis::PeopleV1::Residence, decorator: Google::Apis::PeopleV1::Residence::Representation
+
+ collection :genders, as: 'genders', class: Google::Apis::PeopleV1::Gender, decorator: Google::Apis::PeopleV1::Gender::Representation
+
+ property :resource_name, as: 'resourceName'
+ collection :interests, as: 'interests', class: Google::Apis::PeopleV1::Interest, decorator: Google::Apis::PeopleV1::Interest::Representation
+
+ collection :biographies, as: 'biographies', class: Google::Apis::PeopleV1::Biography, decorator: Google::Apis::PeopleV1::Biography::Representation
+
+ collection :skills, as: 'skills', class: Google::Apis::PeopleV1::Skill, decorator: Google::Apis::PeopleV1::Skill::Representation
+
+ collection :relationship_statuses, as: 'relationshipStatuses', class: Google::Apis::PeopleV1::RelationshipStatus, decorator: Google::Apis::PeopleV1::RelationshipStatus::Representation
+
+ collection :photos, as: 'photos', class: Google::Apis::PeopleV1::Photo, decorator: Google::Apis::PeopleV1::Photo::Representation
+
+ property :age_range, as: 'ageRange'
+ collection :taglines, as: 'taglines', class: Google::Apis::PeopleV1::Tagline, decorator: Google::Apis::PeopleV1::Tagline::Representation
+
+ collection :addresses, as: 'addresses', class: Google::Apis::PeopleV1::Address, decorator: Google::Apis::PeopleV1::Address::Representation
+
+ collection :events, as: 'events', class: Google::Apis::PeopleV1::Event, decorator: Google::Apis::PeopleV1::Event::Representation
+
+ collection :memberships, as: 'memberships', class: Google::Apis::PeopleV1::Membership, decorator: Google::Apis::PeopleV1::Membership::Representation
+
+ collection :phone_numbers, as: 'phoneNumbers', class: Google::Apis::PeopleV1::PhoneNumber, decorator: Google::Apis::PeopleV1::PhoneNumber::Representation
+
+ collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation
+
end
end
- class DomainMembership
+ class GetPeopleResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :in_viewer_domain, as: 'inViewerDomain'
+ collection :responses, as: 'responses', class: Google::Apis::PeopleV1::PersonResponse, decorator: Google::Apis::PeopleV1::PersonResponse::Representation
+
end
end
- class GetPeopleResponse
+ class PhoneNumber
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- collection :responses, as: 'responses', class: Google::Apis::PeopleV1::PersonResponse, decorator: Google::Apis::PeopleV1::PersonResponse::Representation
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
+ property :type, as: 'type'
+ property :value, as: 'value'
+ property :formatted_type, as: 'formattedType'
+ property :canonical_form, as: 'canonicalForm'
end
end
- class PersonResponse
+ class Photo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :http_status_code, as: 'httpStatusCode'
- property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
- property :requested_resource_name, as: 'requestedResourceName'
+ property :url, as: 'url'
end
end
class ListConnectionsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :next_page_token, as: 'nextPageToken'
collection :connections, as: 'connections', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
- property :next_page_token, as: 'nextPageToken'
property :next_sync_token, as: 'nextSyncToken'
end
end
end
end