generated/google/apis/people_v1/representations.rb in google-api-client-0.13.0 vs generated/google/apis/people_v1/representations.rb in google-api-client-0.13.1

- old
+ new

@@ -20,113 +20,113 @@ module Google module Apis module PeopleV1 - class Occupation + class RelationshipStatus class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Person + class BraggingRights class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GetPeopleResponse + class Organization class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class PhoneNumber + class AgeRangeType class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Photo + class ListContactGroupsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListConnectionsResponse + class PersonResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Birthday + class Relation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Residence + class Occupation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Address + class ContactGroup 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 Status + class UpdateContactGroupRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Event + class ContactGroupMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class PersonMetadata + class Residence class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ProfileMetadata + class Event class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Url + class ModifyContactGroupMembersResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Gender + class ProfileMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CoverPhoto + class Gender class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ImClient + class CoverPhoto class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -152,124 +152,282 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class DomainMembership + class Date class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Membership + class Tagline class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class RelationshipStatus + class Name class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Date + class Locale class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Tagline + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Name + class Biography class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class BraggingRights + class FieldMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Locale + class RelationshipInterest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Organization + class Source class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Biography + class GetPeopleResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AgeRangeType + class Photo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class FieldMetadata + class PhoneNumber class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class PersonResponse + class ListConnectionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class RelationshipInterest + class Birthday class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Source + class CreateContactGroupRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Relation + class Address class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ContactGroupMembership + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PersonMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ModifyContactGroupMembersRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ContactGroupResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Url + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImClient + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DomainMembership + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchGetContactGroupsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Membership + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RelationshipStatus + # @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 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 + + 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 :location, as: 'location' + property :title, as: 'title' + 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' + property :department, as: 'department' + property :type, as: 'type' + 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 :symbol, as: 'symbol' + property :name, as: 'name' + 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 + + class ListContactGroupsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_sync_token, as: 'nextSyncToken' + property :total_items, as: 'totalItems' + collection :contact_groups, as: 'contactGroups', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class PersonResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation + + property :status, as: 'status', class: Google::Apis::PeopleV1::Status, decorator: Google::Apis::PeopleV1::Status::Representation + + property :http_status_code, as: 'httpStatusCode' + property :requested_resource_name, as: 'requestedResourceName' + end + end + + class Relation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :formatted_type, as: 'formattedType' + property :person, as: 'person' + property :type, as: 'type' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + end + end + 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' end end - class Person + class ContactGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :nicknames, as: 'nicknames', class: Google::Apis::PeopleV1::Nickname, decorator: Google::Apis::PeopleV1::Nickname::Representation + property :resource_name, as: 'resourceName' + property :etag, as: 'etag' + property :group_type, as: 'groupType' + property :formatted_name, as: 'formattedName' + collection :member_resource_names, as: 'memberResourceNames' + property :name, as: 'name' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::ContactGroupMetadata, decorator: Google::Apis::PeopleV1::ContactGroupMetadata::Representation - collection :relations, as: 'relations', class: Google::Apis::PeopleV1::Relation, decorator: Google::Apis::PeopleV1::Relation::Representation + property :member_count, as: 'memberCount' + end + end + class Person + # @private + class Representation < Google::Apis::Core::JsonRepresentation 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 @@ -317,403 +475,397 @@ collection :relationship_interests, as: 'relationshipInterests', class: Google::Apis::PeopleV1::RelationshipInterest, decorator: Google::Apis::PeopleV1::RelationshipInterest::Representation 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 + end end - class GetPeopleResponse + class UpdateContactGroupRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :responses, as: 'responses', class: Google::Apis::PeopleV1::PersonResponse, decorator: Google::Apis::PeopleV1::PersonResponse::Representation + property :contact_group, as: 'contactGroup', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation end end - class PhoneNumber + class ContactGroupMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' + property :deleted, as: 'deleted' + property :update_time, as: 'updateTime' + end + end + + class Residence + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :current, as: 'current' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation property :value, as: 'value' - property :formatted_type, as: 'formattedType' - property :canonical_form, as: 'canonicalForm' end end - class Photo + class Event # @private class Representation < Google::Apis::Core::JsonRepresentation + property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + + property :formatted_type, as: 'formattedType' + property :type, as: 'type' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - property :url, as: 'url' end end - class ListConnectionsResponse + class ModifyContactGroupMembersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - property :total_items, as: 'totalItems' - property :next_sync_token, as: 'nextSyncToken' - collection :connections, as: 'connections', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation - - property :total_people, as: 'totalPeople' + collection :not_found_resource_names, as: 'notFoundResourceNames' end end - class Birthday + class ProfileMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :text, as: 'text' - 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 - + collection :user_types, as: 'userTypes' + property :object_type, as: 'objectType' end end - class Residence + class Gender # @private class Representation < Google::Apis::Core::JsonRepresentation - property :current, as: 'current' + 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 Address + class CoverPhoto # @private class Representation < Google::Apis::Core::JsonRepresentation - property :po_box, as: 'poBox' - property :postal_code, as: 'postalCode' - property :region, as: 'region' - property :street_address, as: 'streetAddress' + property :default, as: 'default' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::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' - property :extended_address, as: 'extendedAddress' + property :url, as: 'url' end end - class ContactGroupMembership + class Interest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :contact_group_id, as: 'contactGroupId' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' end end - class Status + class Nickname # @private class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - property :message, as: 'message' - collection :details, as: 'details' + property :type, as: 'type' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' end end - class Event + class EmailAddress # @private class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' property :type, as: 'type' 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 :value, as: 'value' property :formatted_type, as: 'formattedType' end end - class PersonMetadata + class Skill # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :linked_people_resource_names, as: 'linkedPeopleResourceNames' - collection :previous_resource_names, as: 'previousResourceNames' - 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 - property :deleted, as: 'deleted' - property :object_type, as: 'objectType' + property :value, as: 'value' end end - class ProfileMetadata + class Date # @private class Representation < Google::Apis::Core::JsonRepresentation - property :object_type, as: 'objectType' + property :day, as: 'day' + property :year, as: 'year' + property :month, as: 'month' end end - class Url + class Tagline # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation property :value, as: 'value' - property :formatted_type, as: 'formattedType' end end - class Gender + class Name # @private class Representation < Google::Apis::Core::JsonRepresentation - property :formatted_value, as: 'formattedValue' + 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 :given_name, as: 'givenName' + property :middle_name, as: 'middleName' + property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix' + property :phonetic_given_name, as: 'phoneticGivenName' + property :phonetic_family_name, as: 'phoneticFamilyName' + property :family_name, as: 'familyName' + property :phonetic_middle_name, as: 'phoneticMiddleName' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - property :value, as: 'value' end end - class CoverPhoto + class Locale # @private class Representation < Google::Apis::Core::JsonRepresentation - property :default, as: 'default' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - property :url, as: 'url' + property :value, as: 'value' end end - class ImClient + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :type, as: 'type' - property :protocol, as: 'protocol' - property :username, as: 'username' - property :formatted_protocol, as: 'formattedProtocol' - property :formatted_type, as: 'formattedType' end end - class Interest + class Biography # @private class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + 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 Nickname + class FieldMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + property :source, as: 'source', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation - property :value, as: 'value' + property :verified, as: 'verified' + property :primary, as: 'primary' end end - class EmailAddress + class RelationshipInterest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' + 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 :formatted_type, as: 'formattedType' - property :display_name, as: 'displayName' end end - class Skill + 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 :type, as: 'type' + property :etag, as: 'etag' + property :id, as: 'id' + property :profile_metadata, as: 'profileMetadata', class: Google::Apis::PeopleV1::ProfileMetadata, decorator: Google::Apis::PeopleV1::ProfileMetadata::Representation - property :value, as: 'value' + property :update_time, as: 'updateTime' 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 Membership + class Photo # @private class Representation < Google::Apis::Core::JsonRepresentation property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - property :domain_membership, as: 'domainMembership', class: Google::Apis::PeopleV1::DomainMembership, decorator: Google::Apis::PeopleV1::DomainMembership::Representation - - property :contact_group_membership, as: 'contactGroupMembership', class: Google::Apis::PeopleV1::ContactGroupMembership, decorator: Google::Apis::PeopleV1::ContactGroupMembership::Representation - + property :url, as: 'url' end end - class RelationshipStatus + class PhoneNumber # @private class Representation < Google::Apis::Core::JsonRepresentation - property :formatted_value, as: 'formattedValue' + property :formatted_type, as: 'formattedType' + property :canonical_form, as: 'canonicalForm' + property :type, as: 'type' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation property :value, as: 'value' end end - class Date + class ListConnectionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :month, as: 'month' - property :day, as: 'day' - property :year, as: 'year' - end - end + property :next_page_token, as: 'nextPageToken' + property :total_items, as: 'totalItems' + property :next_sync_token, as: 'nextSyncToken' + collection :connections, as: 'connections', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation - class Tagline - # @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 :total_people, as: 'totalPeople' end end - class Name + class Birthday # @private class Representation < Google::Apis::Core::JsonRepresentation - property :phonetic_given_name, as: 'phoneticGivenName' - property :phonetic_family_name, as: 'phoneticFamilyName' - property :family_name, as: 'familyName' + property :text, as: 'text' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - property :phonetic_middle_name, as: 'phoneticMiddleName' - 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 :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + end end - class BraggingRights + class CreateContactGroupRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + property :contact_group, as: 'contactGroup', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation - property :value, as: 'value' end end - class Locale + class Address # @private class Representation < Google::Apis::Core::JsonRepresentation + 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 - property :value, as: 'value' + 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' + property :extended_address, as: 'extendedAddress' + property :po_box, as: 'poBox' end end - class Organization + class ContactGroupMembership # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - 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 :symbol, as: 'symbol' - property :name, as: 'name' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :location, as: 'location' - property :title, as: 'title' - 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' - property :department, as: 'department' + property :contact_group_id, as: 'contactGroupId' end end - class Biography + class Status # @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 :content_type, as: 'contentType' + property :message, as: 'message' + collection :details, as: 'details' + property :code, as: 'code' end end - class AgeRangeType + class PersonMetadata # @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 + collection :previous_resource_names, as: 'previousResourceNames' + collection :sources, as: 'sources', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation + property :deleted, as: 'deleted' + property :object_type, as: 'objectType' + collection :linked_people_resource_names, as: 'linkedPeopleResourceNames' end end - class FieldMetadata + class ModifyContactGroupMembersRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :source, as: 'source', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation - - property :verified, as: 'verified' - property :primary, as: 'primary' + collection :resource_names_to_add, as: 'resourceNamesToAdd' + collection :resource_names_to_remove, as: 'resourceNamesToRemove' end end - class PersonResponse + class ContactGroupResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :status, as: 'status', class: Google::Apis::PeopleV1::Status, decorator: Google::Apis::PeopleV1::Status::Representation - property :http_status_code, as: 'httpStatusCode' property :requested_resource_name, as: 'requestedResourceName' - property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation + property :contact_group, as: 'contactGroup', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation end end - class RelationshipInterest + class Url # @private class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' 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 :formatted_type, as: 'formattedType' end end - class Source + class ImClient # @private class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + property :type, as: 'type' - property :etag, as: 'etag' - property :id, as: 'id' - property :profile_metadata, as: 'profileMetadata', class: Google::Apis::PeopleV1::ProfileMetadata, decorator: Google::Apis::PeopleV1::ProfileMetadata::Representation + property :protocol, as: 'protocol' + property :username, as: 'username' + property :formatted_protocol, as: 'formattedProtocol' + property :formatted_type, as: 'formattedType' + end + end + class DomainMembership + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :in_viewer_domain, as: 'inViewerDomain' end end - class Relation + class BatchGetContactGroupsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' + collection :responses, as: 'responses', class: Google::Apis::PeopleV1::ContactGroupResponse, decorator: Google::Apis::PeopleV1::ContactGroupResponse::Representation + + end + end + + 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 :formatted_type, as: 'formattedType' - property :person, as: 'person' + property :domain_membership, as: 'domainMembership', class: Google::Apis::PeopleV1::DomainMembership, decorator: Google::Apis::PeopleV1::DomainMembership::Representation + + property :contact_group_membership, as: 'contactGroupMembership', class: Google::Apis::PeopleV1::ContactGroupMembership, decorator: Google::Apis::PeopleV1::ContactGroupMembership::Representation + end end end end end