Show / Hide Table of Contents

Namespace Google.Apis.PeopleService.v1.Data

Classes

Address

A person's physical address. May be a P.O. box or street address. All fields are optional.

AgeRangeType

A person's age range.

BatchGetContactGroupsResponse

The response to a batch get contact groups request.

Biography

A person's short biography.

Birthday

A person's birthday. At least one of the date and text fields are specified. The date and text fields typically represent the same date, but are not guaranteed to.

BraggingRights

A person's bragging rights.

ContactGroup

A contact group.

ContactGroupMembership

A Google contact group membership.

ContactGroupMetadata

The metadata about a contact group.

ContactGroupResponse

The response for a specific contact group.

CoverPhoto

A person's cover photo. A large image shown on the person's profile page that represents who they are or what they care about.

CreateContactGroupRequest

A request to create a new contact group.

Date

Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent:

  • A full date, with non-zero year, month and day values * A month and day value, with a zero year, e.g. an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, e.g. a credit card expiration date

Related types are google.type.TimeOfDay and google.protobuf.Timestamp.

DeleteContactPhotoResponse

The response for deleteing a contact's photo.

DomainMembership

A G Suite Domain membership.

EmailAddress

A person's email address.

Empty

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:

service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

The JSON representation for Empty is empty JSON object {}.

Event

An event related to the person.

FieldMetadata

Metadata about a field.

Gender

A person's gender.

GetPeopleResponse

The response to a get request for a list of people by resource name.

ImClient

A person's instant messaging client.

Interest

One of the person's interests.

ListConnectionsResponse

The response to a request for the authenticated user's connections.

ListContactGroupsResponse

The response to a list contact groups request.

Locale

A person's locale preference.

Membership

A person's membership in a group. Only contact group memberships can be modified.

ModifyContactGroupMembersRequest

A request to modify an existing contact group's members. Contacts can be removed from any group but they can only be added to a user group or "myContacts" or "starred" system groups.

ModifyContactGroupMembersResponse

The response to a modify contact group members request.

Name

A person's name. If the name is a mononym, the family name is empty.

Nickname

A person's nickname.

Occupation

A person's occupation.

Organization

A person's past or current organization. Overlapping date ranges are permitted.

Person

Information about a person merged from various data sources such as the authenticated user's contacts and profile data.

Most fields can have multiple items. The items in a field have no guaranteed order, but each non-empty field is guaranteed to have exactly one field with metadata.primary set to true.

PersonMetadata

The metadata about a person.

PersonResponse

The response for a single person

PhoneNumber

A person's phone number.

Photo

A person's photo. A picture shown next to the person's name to help others recognize the person.

ProfileMetadata

The metadata about a profile.

Relation

A person's relation to another person.

RelationshipInterest

A person's relationship interest .

RelationshipStatus

A person's relationship status.

Residence

A person's past or current residence.

SipAddress

A person's SIP address. Session Initial Protocol addresses are used for VoIP communications to make voice or video calls over the internet.

Skill

A skill that the person has.

Source

The source of a field.

Status

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details.

You can find out more about this error model and how to work with it in the API Design Guide.

Tagline

A brief one-line description of the person.

UpdateContactGroupRequest

A request to update an existing user contact group. All updated fields will be replaced.

UpdateContactPhotoRequest

A request to update an existing contact's photo. All requests must have a valid photo format: JPEG or PNG.

UpdateContactPhotoResponse

The response for updating a contact's photo.

Url

A person's associated URLs.

UserDefined

Arbitrary user data that is populated by the end users.

Back to top