mirror of
https://github.com/rclone/rclone.git
synced 2024-12-02 21:37:31 +01:00
1946 lines
74 KiB
JSON
1946 lines
74 KiB
JSON
{
|
|
"revision": "20170704",
|
|
"documentationLink": "https://developers.google.com/people/",
|
|
"id": "people:v1",
|
|
"discoveryVersion": "v1",
|
|
"version_module": "True",
|
|
"schemas": {
|
|
"CoverPhoto": {
|
|
"description": "A person's read-only cover photo. A large image shown on the person's\nprofile page that represents who they are or what they care about.",
|
|
"type": "object",
|
|
"properties": {
|
|
"default": {
|
|
"description": "True if the cover photo is the default cover photo;\nfalse if the cover photo is a user-provided cover photo.",
|
|
"type": "boolean"
|
|
},
|
|
"metadata": {
|
|
"$ref": "FieldMetadata",
|
|
"description": "Metadata about the cover photo."
|
|
},
|
|
"url": {
|
|
"description": "The URL of the cover photo.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"id": "CoverPhoto"
|
|
},
|
|
"Interest": {
|
|
"description": "One of the person's interests.",
|
|
"type": "object",
|
|
"properties": {
|
|
"metadata": {
|
|
"description": "Metadata about the interest.",
|
|
"$ref": "FieldMetadata"
|
|
},
|
|
"value": {
|
|
"description": "The interest; for example, `stargazing`.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"id": "Interest"
|
|
},
|
|
"Nickname": {
|
|
"id": "Nickname",
|
|
"description": "A person's nickname.",
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"enumDescriptions": [
|
|
"Generic nickname.",
|
|
"Maiden name or birth family name. Used when the person's family name has\nchanged as a result of marriage.",
|
|
"Initials.",
|
|
"Google+ profile nickname.",
|
|
"A professional affiliation or other name; for example, `Dr. Smith.`"
|
|
],
|
|
"enum": [
|
|
"DEFAULT",
|
|
"MAIDEN_NAME",
|
|
"INITIALS",
|
|
"GPLUS",
|
|
"OTHER_NAME"
|
|
],
|
|
"description": "The type of the nickname."
|
|
},
|
|
"metadata": {
|
|
"$ref": "FieldMetadata",
|
|
"description": "Metadata about the nickname."
|
|
},
|
|
"value": {
|
|
"description": "The nickname.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"EmailAddress": {
|
|
"type": "object",
|
|
"properties": {
|
|
"formattedType": {
|
|
"description": "The read-only type of the email address translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.",
|
|
"type": "string"
|
|
},
|
|
"displayName": {
|
|
"description": "The display name of the email.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"description": "The type of the email address. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `home`\n* `work`\n* `other`"
|
|
},
|
|
"metadata": {
|
|
"$ref": "FieldMetadata",
|
|
"description": "Metadata about the email address."
|
|
},
|
|
"value": {
|
|
"description": "The email address.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"id": "EmailAddress",
|
|
"description": "A person's email address."
|
|
},
|
|
"Skill": {
|
|
"description": "A skill that the person has.",
|
|
"type": "object",
|
|
"properties": {
|
|
"value": {
|
|
"description": "The skill; for example, `underwater basket weaving`.",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"$ref": "FieldMetadata",
|
|
"description": "Metadata about the skill."
|
|
}
|
|
},
|
|
"id": "Skill"
|
|
},
|
|
"Date": {
|
|
"type": "object",
|
|
"properties": {
|
|
"day": {
|
|
"format": "int32",
|
|
"description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not significant.",
|
|
"type": "integer"
|
|
},
|
|
"year": {
|
|
"format": "int32",
|
|
"description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without\na year.",
|
|
"type": "integer"
|
|
},
|
|
"month": {
|
|
"format": "int32",
|
|
"description": "Month of year. Must be from 1 to 12.",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"id": "Date",
|
|
"description": "Represents a whole calendar date, for example a date of birth. The time\nof day and time zone are either specified elsewhere or are not\nsignificant. The date is relative to the\n[Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar).\nThe day may be 0 to represent a year and month where the day is not\nsignificant. The year may be 0 to represent a month and day independent\nof year; for example, anniversary date."
|
|
},
|
|
"Tagline": {
|
|
"type": "object",
|
|
"properties": {
|
|
"metadata": {
|
|
"$ref": "FieldMetadata",
|
|
"description": "Metadata about the tagline."
|
|
},
|
|
"value": {
|
|
"description": "The tagline.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"id": "Tagline",
|
|
"description": "A read-only brief one-line description of the person."
|
|
},
|
|
"Name": {
|
|
"description": "A person's name. If the name is a mononym, the family name is empty.",
|
|
"type": "object",
|
|
"properties": {
|
|
"honorificPrefix": {
|
|
"description": "The honorific prefixes, such as `Mrs.` or `Dr.`",
|
|
"type": "string"
|
|
},
|
|
"phoneticHonorificSuffix": {
|
|
"description": "The honorific suffixes spelled as they sound.",
|
|
"type": "string"
|
|
},
|
|
"givenName": {
|
|
"description": "The given name.",
|
|
"type": "string"
|
|
},
|
|
"middleName": {
|
|
"description": "The middle name(s).",
|
|
"type": "string"
|
|
},
|
|
"phoneticHonorificPrefix": {
|
|
"description": "The honorific prefixes spelled as they sound.",
|
|
"type": "string"
|
|
},
|
|
"phoneticGivenName": {
|
|
"description": "The given name spelled as it sounds.",
|
|
"type": "string"
|
|
},
|
|
"phoneticFamilyName": {
|
|
"description": "The family name spelled as it sounds.",
|
|
"type": "string"
|
|
},
|
|
"familyName": {
|
|
"description": "The family name.",
|
|
"type": "string"
|
|
},
|
|
"phoneticMiddleName": {
|
|
"description": "The middle name(s) spelled as they sound.",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"$ref": "FieldMetadata",
|
|
"description": "Metadata about the name."
|
|
},
|
|
"phoneticFullName": {
|
|
"description": "The full name spelled as it sounds.",
|
|
"type": "string"
|
|
},
|
|
"displayNameLastFirst": {
|
|
"description": "The read-only display name with the last name first formatted according to\nthe locale specified by the viewer's account or the\n\u003ccode\u003eAccept-Language\u003c/code\u003e HTTP header.",
|
|
"type": "string"
|
|
},
|
|
"displayName": {
|
|
"description": "The read-only display name formatted according to the locale specified by\nthe viewer's account or the \u003ccode\u003eAccept-Language\u003c/code\u003e HTTP header.",
|
|
"type": "string"
|
|
},
|
|
"honorificSuffix": {
|
|
"description": "The honorific suffixes, such as `Jr.`",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"id": "Name"
|
|
},
|
|
"Locale": {
|
|
"description": "A person's locale preference.",
|
|
"type": "object",
|
|
"properties": {
|
|
"metadata": {
|
|
"$ref": "FieldMetadata",
|
|
"description": "Metadata about the locale."
|
|
},
|
|
"value": {
|
|
"description": "The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47)\nlanguage tag representing the locale.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"id": "Locale"
|
|
},
|
|
"Empty": {
|
|
"properties": {},
|
|
"id": "Empty",
|
|
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
|
"type": "object"
|
|
},
|
|
"Biography": {
|
|
"description": "A person's short biography.",
|
|
"type": "object",
|
|
"properties": {
|
|
"value": {
|
|
"description": "The short biography.",
|
|
"type": "string"
|
|
},
|
|
"contentType": {
|
|
"enumDescriptions": [
|
|
"Unspecified.",
|
|
"Plain text.",
|
|
"HTML text."
|
|
],
|
|
"enum": [
|
|
"CONTENT_TYPE_UNSPECIFIED",
|
|
"TEXT_PLAIN",
|
|
"TEXT_HTML"
|
|
],
|
|
"description": "The content type of the biography.",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"$ref": "FieldMetadata",
|
|
"description": "Metadata about the biography."
|
|
}
|
|
},
|
|
"id": "Biography"
|
|
},
|
|
"FieldMetadata": {
|
|
"properties": {
|
|
"verified": {
|
|
"description": "True if the field is verified; false if the field is unverified. A\nverified field is typically a name, email address, phone number, or\nwebsite that has been confirmed to be owned by the person.",
|
|
"type": "boolean"
|
|
},
|
|
"primary": {
|
|
"description": "True if the field is the primary field; false if the field is a secondary\nfield.",
|
|
"type": "boolean"
|
|
},
|
|
"source": {
|
|
"description": "The source of the field.",
|
|
"$ref": "Source"
|
|
}
|
|
},
|
|
"id": "FieldMetadata",
|
|
"description": "Metadata about a field.",
|
|
"type": "object"
|
|
},
|
|
"RelationshipInterest": {
|
|
"description": "A person's read-only relationship interest .",
|
|
"type": "object",
|
|
"properties": {
|
|
"formattedValue": {
|
|
"type": "string",
|
|
"description": "The value of the relationship interest translated and formatted in the\nviewer's account locale or the locale specified in the Accept-Language\nHTTP header."
|
|
},
|
|
"metadata": {
|
|
"description": "Metadata about the relationship interest.",
|
|
"$ref": "FieldMetadata"
|
|
},
|
|
"value": {
|
|
"description": "The kind of relationship the person is looking for. The value can be custom\nor predefined. Possible values include, but are not limited to, the\nfollowing values:\n\n* `friend`\n* `date`\n* `relationship`\n* `networking`",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"id": "RelationshipInterest"
|
|
},
|
|
"Source": {
|
|
"description": "The source of a field.",
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"description": "The source type.",
|
|
"type": "string",
|
|
"enumDescriptions": [
|
|
"Unspecified.",
|
|
"[Google Account](https://accounts.google.com).",
|
|
"[Google profile](https://profiles.google.com). You can view the\nprofile at https://profiles.google.com/\u003cvar\u003eid\u003c/var\u003e where\n\u003cvar\u003eid\u003c/var\u003e is the source id.",
|
|
"[Google Apps domain profile](https://admin.google.com).",
|
|
"[Google contact](https://contacts.google.com). You can view the\ncontact at https://contact.google.com/\u003cvar\u003eid\u003c/var\u003e where \u003cvar\u003eid\u003c/var\u003e\nis the source id."
|
|
],
|
|
"enum": [
|
|
"SOURCE_TYPE_UNSPECIFIED",
|
|
"ACCOUNT",
|
|
"PROFILE",
|
|
"DOMAIN_PROFILE",
|
|
"CONTACT"
|
|
]
|
|
},
|
|
"etag": {
|
|
"description": "The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the\nsource. Used for web cache validation. Only populated in\nperson.metadata.sources.",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"description": "The unique identifier within the source type generated by the server."
|
|
},
|
|
"profileMetadata": {
|
|
"description": "Metadata about a source of type PROFILE.",
|
|
"$ref": "ProfileMetadata"
|
|
},
|
|
"updateTime": {
|
|
"format": "google-datetime",
|
|
"description": "Last update timestamp of this source.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"id": "Source"
|
|
},
|
|
"GetPeopleResponse": {
|
|
"type": "object",
|
|
"properties": {
|
|
"responses": {
|
|
"description": "The response for each requested resource name.",
|
|
"items": {
|
|
"$ref": "PersonResponse"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"id": "GetPeopleResponse"
|
|
},
|
|
"Photo": {
|
|
"description": "A person's read-only photo. A picture shown next to the person's name to\nhelp others recognize the person.",
|
|
"type": "object",
|
|
"properties": {
|
|
"metadata": {
|
|
"description": "Metadata about the photo.",
|
|
"$ref": "FieldMetadata"
|
|
},
|
|
"url": {
|
|
"description": "The URL of the photo. You can change the desired size by appending a query\nparameter `sz=\u003csize\u003e` at the end of the url. Example:\n`https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/00gzXvDBYqw/s100/photo.jpg?sz=50`",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"id": "Photo"
|
|
},
|
|
"PhoneNumber": {
|
|
"description": "A person's phone number.",
|
|
"type": "object",
|
|
"properties": {
|
|
"formattedType": {
|
|
"description": "The read-only type of the phone number translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.",
|
|
"type": "string"
|
|
},
|
|
"canonicalForm": {
|
|
"description": "The read-only canonicalized [ITU-T E.164](https://law.resource.org/pub/us/cfr/ibr/004/itu-t.E.164.1.2008.pdf)\nform of the phone number.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"description": "The type of the phone number. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `home`\n* `work`\n* `mobile`\n* `homeFax`\n* `workFax`\n* `otherFax`\n* `pager`\n* `workMobile`\n* `workPager`\n* `main`\n* `googleVoice`\n* `other`"
|
|
},
|
|
"metadata": {
|
|
"description": "Metadata about the phone number.",
|
|
"$ref": "FieldMetadata"
|
|
},
|
|
"value": {
|
|
"description": "The phone number.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"id": "PhoneNumber"
|
|
},
|
|
"ListConnectionsResponse": {
|
|
"type": "object",
|
|
"properties": {
|
|
"nextPageToken": {
|
|
"description": "The token that can be used to retrieve the next page of results.",
|
|
"type": "string"
|
|
},
|
|
"totalItems": {
|
|
"format": "int32",
|
|
"description": "The total number of items in the list without pagination.",
|
|
"type": "integer"
|
|
},
|
|
"nextSyncToken": {
|
|
"description": "The token that can be used to retrieve changes since the last request.",
|
|
"type": "string"
|
|
},
|
|
"connections": {
|
|
"description": "The list of people that the requestor is connected to.",
|
|
"items": {
|
|
"$ref": "Person"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"totalPeople": {
|
|
"format": "int32",
|
|
"description": "**DEPRECATED** (Please use totalItems)\nThe total number of people in the list without pagination.",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"id": "ListConnectionsResponse"
|
|
},
|
|
"Birthday": {
|
|
"description": "A person's birthday. At least one of the `date` and `text` fields are\nspecified. The `date` and `text` fields typically represent the same\ndate, but are not guaranteed to.",
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {
|
|
"description": "A free-form string representing the user's birthday.",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Metadata about the birthday.",
|
|
"$ref": "FieldMetadata"
|
|
},
|
|
"date": {
|
|
"$ref": "Date",
|
|
"description": "The date of the birthday."
|
|
}
|
|
},
|
|
"id": "Birthday"
|
|
},
|
|
"CreateContactGroupRequest": {
|
|
"description": "A request to create a new contact group.",
|
|
"type": "object",
|
|
"properties": {
|
|
"contactGroup": {
|
|
"$ref": "ContactGroup",
|
|
"description": "The contact group to create."
|
|
}
|
|
},
|
|
"id": "CreateContactGroupRequest"
|
|
},
|
|
"Address": {
|
|
"properties": {
|
|
"type": {
|
|
"description": "The type of the address. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `home`\n* `work`\n* `other`",
|
|
"type": "string"
|
|
},
|
|
"extendedAddress": {
|
|
"description": "The extended address of the address; for example, the apartment number.",
|
|
"type": "string"
|
|
},
|
|
"poBox": {
|
|
"description": "The P.O. box of the address.",
|
|
"type": "string"
|
|
},
|
|
"postalCode": {
|
|
"description": "The postal code of the address.",
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "The region of the address; for example, the state or province.",
|
|
"type": "string"
|
|
},
|
|
"streetAddress": {
|
|
"description": "The street address.",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"$ref": "FieldMetadata",
|
|
"description": "Metadata about the address."
|
|
},
|
|
"countryCode": {
|
|
"description": "The [ISO 3166-1 alpha-2](http://www.iso.org/iso/country_codes.htm) country\ncode of the address.",
|
|
"type": "string"
|
|
},
|
|
"formattedType": {
|
|
"description": "The read-only type of the address translated and formatted in the viewer's\naccount locale or the `Accept-Language` HTTP header locale.",
|
|
"type": "string"
|
|
},
|
|
"city": {
|
|
"description": "The city of the address.",
|
|
"type": "string"
|
|
},
|
|
"formattedValue": {
|
|
"description": "The unstructured value of the address. If this is not set by the user it\nwill be automatically constructed from structured values.",
|
|
"type": "string"
|
|
},
|
|
"country": {
|
|
"description": "The country of the address.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"id": "Address",
|
|
"description": "A person's physical address. May be a P.O. box or street address. All fields\nare optional.",
|
|
"type": "object"
|
|
},
|
|
"ContactGroupMembership": {
|
|
"properties": {
|
|
"contactGroupId": {
|
|
"description": "The contact group ID for the contact group membership. The contact group\nID can be custom or predefined. Possible values include, but are not\nlimited to, the following:\n\n* `myContacts`\n* `starred`\n* A numerical ID for user-created groups.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"id": "ContactGroupMembership",
|
|
"description": "A Google contact group membership.",
|
|
"type": "object"
|
|
},
|
|
"Status": {
|
|
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
|
|
"type": "object",
|
|
"properties": {
|
|
"message": {
|
|
"type": "string",
|
|
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client."
|
|
},
|
|
"details": {
|
|
"description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.",
|
|
"items": {
|
|
"additionalProperties": {
|
|
"description": "Properties of the object. Contains field @type with type URL.",
|
|
"type": "any"
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"code": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"description": "The status code, which should be an enum value of google.rpc.Code."
|
|
}
|
|
},
|
|
"id": "Status"
|
|
},
|
|
"PersonMetadata": {
|
|
"description": "The read-only metadata about a person.",
|
|
"type": "object",
|
|
"properties": {
|
|
"linkedPeopleResourceNames": {
|
|
"description": "Resource names of people linked to this resource.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"previousResourceNames": {
|
|
"description": "Any former resource names this person has had. Populated only for\n[`connections.list`](/people/api/rest/v1/people.connections/list) requests\nthat include a sync token.\n\nThe resource name may change when adding or removing fields that link a\ncontact and profile such as a verified email, verified phone number, or\nprofile URL.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"sources": {
|
|
"items": {
|
|
"$ref": "Source"
|
|
},
|
|
"type": "array",
|
|
"description": "The sources of data for the person."
|
|
},
|
|
"deleted": {
|
|
"description": "True if the person resource has been deleted. Populated only for\n[`connections.list`](/people/api/rest/v1/people.connections/list) requests\nthat include a sync token.",
|
|
"type": "boolean"
|
|
},
|
|
"objectType": {
|
|
"enum": [
|
|
"OBJECT_TYPE_UNSPECIFIED",
|
|
"PERSON",
|
|
"PAGE"
|
|
],
|
|
"description": "**DEPRECATED** (Please use\n`person.metadata.sources.profileMetadata.objectType` instead)\n\nThe type of the person object.",
|
|
"type": "string",
|
|
"enumDescriptions": [
|
|
"Unspecified.",
|
|
"Person.",
|
|
"[Google+ Page.](http://www.google.com/+/brands/)"
|
|
]
|
|
}
|
|
},
|
|
"id": "PersonMetadata"
|
|
},
|
|
"ModifyContactGroupMembersRequest": {
|
|
"description": "A request to modify an existing contact group's members.",
|
|
"type": "object",
|
|
"properties": {
|
|
"resourceNamesToRemove": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"description": "The resource names of the contact people to remove in the form of in the\nform of `people/\u003cperson_id\u003e`."
|
|
},
|
|
"resourceNamesToAdd": {
|
|
"description": "The resource names of the contact people to add in the form of in the form\n`people/\u003cperson_id\u003e`.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"id": "ModifyContactGroupMembersRequest"
|
|
},
|
|
"ContactGroupResponse": {
|
|
"description": "The response for a specific contact group.",
|
|
"type": "object",
|
|
"properties": {
|
|
"requestedResourceName": {
|
|
"description": "The original requested resource name.",
|
|
"type": "string"
|
|
},
|
|
"contactGroup": {
|
|
"$ref": "ContactGroup",
|
|
"description": "The contact group."
|
|
},
|
|
"status": {
|
|
"$ref": "Status",
|
|
"description": "The status of the response."
|
|
}
|
|
},
|
|
"id": "ContactGroupResponse"
|
|
},
|
|
"Url": {
|
|
"properties": {
|
|
"type": {
|
|
"description": "The type of the URL. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `home`\n* `work`\n* `blog`\n* `profile`\n* `homePage`\n* `ftp`\n* `reservations`\n* `appInstallPage`: website for a Google+ application.\n* `other`",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Metadata about the URL.",
|
|
"$ref": "FieldMetadata"
|
|
},
|
|
"value": {
|
|
"description": "The URL.",
|
|
"type": "string"
|
|
},
|
|
"formattedType": {
|
|
"description": "The read-only type of the URL translated and formatted in the viewer's\naccount locale or the `Accept-Language` HTTP header locale.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"id": "Url",
|
|
"description": "A person's associated URLs.",
|
|
"type": "object"
|
|
},
|
|
"ImClient": {
|
|
"description": "A person's instant messaging client.",
|
|
"type": "object",
|
|
"properties": {
|
|
"username": {
|
|
"description": "The user name used in the IM client.",
|
|
"type": "string"
|
|
},
|
|
"formattedProtocol": {
|
|
"description": "The read-only protocol of the IM client formatted in the viewer's account\nlocale or the `Accept-Language` HTTP header locale.",
|
|
"type": "string"
|
|
},
|
|
"formattedType": {
|
|
"description": "The read-only type of the IM client translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"$ref": "FieldMetadata",
|
|
"description": "Metadata about the IM client."
|
|
},
|
|
"type": {
|
|
"description": "The type of the IM client. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `home`\n* `work`\n* `other`",
|
|
"type": "string"
|
|
},
|
|
"protocol": {
|
|
"description": "The protocol of the IM client. The protocol can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `aim`\n* `msn`\n* `yahoo`\n* `skype`\n* `qq`\n* `googleTalk`\n* `icq`\n* `jabber`\n* `netMeeting`",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"id": "ImClient"
|
|
},
|
|
"DomainMembership": {
|
|
"properties": {
|
|
"inViewerDomain": {
|
|
"description": "True if the person is in the viewer's Google Apps domain.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"id": "DomainMembership",
|
|
"description": "A Google Apps Domain membership.",
|
|
"type": "object"
|
|
},
|
|
"Membership": {
|
|
"id": "Membership",
|
|
"description": "A person's read-only membership in a group.",
|
|
"type": "object",
|
|
"properties": {
|
|
"domainMembership": {
|
|
"description": "The domain membership.",
|
|
"$ref": "DomainMembership"
|
|
},
|
|
"contactGroupMembership": {
|
|
"$ref": "ContactGroupMembership",
|
|
"description": "The contact group membership."
|
|
},
|
|
"metadata": {
|
|
"$ref": "FieldMetadata",
|
|
"description": "Metadata about the membership."
|
|
}
|
|
}
|
|
},
|
|
"BatchGetContactGroupsResponse": {
|
|
"description": "The response to a batch get contact groups request.",
|
|
"type": "object",
|
|
"properties": {
|
|
"responses": {
|
|
"description": "The list of responses for each requested contact group resource.",
|
|
"items": {
|
|
"$ref": "ContactGroupResponse"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"id": "BatchGetContactGroupsResponse"
|
|
},
|
|
"RelationshipStatus": {
|
|
"properties": {
|
|
"formattedValue": {
|
|
"description": "The read-only value of the relationship status translated and formatted in\nthe viewer's account locale or the `Accept-Language` HTTP header locale.",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Metadata about the relationship status.",
|
|
"$ref": "FieldMetadata"
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"description": "The relationship status. The value can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `single`\n* `inARelationship`\n* `engaged`\n* `married`\n* `itsComplicated`\n* `openRelationship`\n* `widowed`\n* `inDomesticPartnership`\n* `inCivilUnion`"
|
|
}
|
|
},
|
|
"id": "RelationshipStatus",
|
|
"description": "A person's read-only relationship status.",
|
|
"type": "object"
|
|
},
|
|
"BraggingRights": {
|
|
"id": "BraggingRights",
|
|
"description": "A person's bragging rights.",
|
|
"type": "object",
|
|
"properties": {
|
|
"value": {
|
|
"description": "The bragging rights; for example, `climbed mount everest`.",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Metadata about the bragging rights.",
|
|
"$ref": "FieldMetadata"
|
|
}
|
|
}
|
|
},
|
|
"Organization": {
|
|
"id": "Organization",
|
|
"description": "A person's past or current organization. Overlapping date ranges are\npermitted.",
|
|
"type": "object",
|
|
"properties": {
|
|
"endDate": {
|
|
"$ref": "Date",
|
|
"description": "The end date when the person left the organization."
|
|
},
|
|
"symbol": {
|
|
"description": "The symbol associated with the organization; for example, a stock ticker\nsymbol, abbreviation, or acronym.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the organization.",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Metadata about the organization.",
|
|
"$ref": "FieldMetadata"
|
|
},
|
|
"location": {
|
|
"type": "string",
|
|
"description": "The location of the organization office the person works at."
|
|
},
|
|
"title": {
|
|
"description": "The person's job title at the organization.",
|
|
"type": "string"
|
|
},
|
|
"current": {
|
|
"description": "True if the organization is the person's current organization;\nfalse if the organization is a past organization.",
|
|
"type": "boolean"
|
|
},
|
|
"startDate": {
|
|
"$ref": "Date",
|
|
"description": "The start date when the person joined the organization."
|
|
},
|
|
"formattedType": {
|
|
"description": "The read-only type of the organization translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.",
|
|
"type": "string"
|
|
},
|
|
"domain": {
|
|
"type": "string",
|
|
"description": "The domain name associated with the organization; for example, `google.com`."
|
|
},
|
|
"department": {
|
|
"description": "The person's department at the organization.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "The type of the organization. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `work`\n* `school`",
|
|
"type": "string"
|
|
},
|
|
"phoneticName": {
|
|
"description": "The phonetic name of the organization.",
|
|
"type": "string"
|
|
},
|
|
"jobDescription": {
|
|
"type": "string",
|
|
"description": "The person's job description at the organization."
|
|
}
|
|
}
|
|
},
|
|
"AgeRangeType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"ageRange": {
|
|
"description": "The age range.",
|
|
"type": "string",
|
|
"enumDescriptions": [
|
|
"Unspecified.",
|
|
"Younger than eighteen.",
|
|
"Between eighteen and twenty.",
|
|
"Twenty-one and older."
|
|
],
|
|
"enum": [
|
|
"AGE_RANGE_UNSPECIFIED",
|
|
"LESS_THAN_EIGHTEEN",
|
|
"EIGHTEEN_TO_TWENTY",
|
|
"TWENTY_ONE_OR_OLDER"
|
|
]
|
|
},
|
|
"metadata": {
|
|
"$ref": "FieldMetadata",
|
|
"description": "Metadata about the age range."
|
|
}
|
|
},
|
|
"id": "AgeRangeType",
|
|
"description": "A person's age range."
|
|
},
|
|
"ListContactGroupsResponse": {
|
|
"type": "object",
|
|
"properties": {
|
|
"nextPageToken": {
|
|
"description": "The token that can be used to retrieve the next page of results.",
|
|
"type": "string"
|
|
},
|
|
"nextSyncToken": {
|
|
"description": "The token that can be used to retrieve changes since the last request.",
|
|
"type": "string"
|
|
},
|
|
"totalItems": {
|
|
"format": "int32",
|
|
"description": "The total number of items in the list without pagination.",
|
|
"type": "integer"
|
|
},
|
|
"contactGroups": {
|
|
"description": "The list of contact groups. Members of the contact groups are not\npopulated.",
|
|
"items": {
|
|
"$ref": "ContactGroup"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"id": "ListContactGroupsResponse",
|
|
"description": "The response to a list contact groups request."
|
|
},
|
|
"PersonResponse": {
|
|
"type": "object",
|
|
"properties": {
|
|
"person": {
|
|
"$ref": "Person",
|
|
"description": "The person."
|
|
},
|
|
"status": {
|
|
"description": "The status of the response.",
|
|
"$ref": "Status"
|
|
},
|
|
"httpStatusCode": {
|
|
"format": "int32",
|
|
"description": "**DEPRECATED** (Please use status instead)\n\n[HTTP 1.1 status code]\n(http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).",
|
|
"type": "integer"
|
|
},
|
|
"requestedResourceName": {
|
|
"type": "string",
|
|
"description": "The original requested resource name. May be different than the resource\nname on the returned person.\n\nThe resource name can change when adding or removing fields that link a\ncontact and profile such as a verified email, verified phone number, or a\nprofile URL."
|
|
}
|
|
},
|
|
"id": "PersonResponse",
|
|
"description": "The response for a single person"
|
|
},
|
|
"Relation": {
|
|
"description": "A person's relation to another person.",
|
|
"type": "object",
|
|
"properties": {
|
|
"formattedType": {
|
|
"description": "The type of the relation translated and formatted in the viewer's account\nlocale or the locale specified in the Accept-Language HTTP header.",
|
|
"type": "string"
|
|
},
|
|
"person": {
|
|
"description": "The name of the other person this relation refers to.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "The person's relation to the other person. The type can be custom or predefined.\nPossible values include, but are not limited to, the following values:\n\n* `spouse`\n* `child`\n* `mother`\n* `father`\n* `parent`\n* `brother`\n* `sister`\n* `friend`\n* `relative`\n* `domesticPartner`\n* `manager`\n* `assistant`\n* `referredBy`\n* `partner`",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"$ref": "FieldMetadata",
|
|
"description": "Metadata about the relation."
|
|
}
|
|
},
|
|
"id": "Relation"
|
|
},
|
|
"Occupation": {
|
|
"description": "A person's occupation.",
|
|
"type": "object",
|
|
"properties": {
|
|
"metadata": {
|
|
"$ref": "FieldMetadata",
|
|
"description": "Metadata about the occupation."
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"description": "The occupation; for example, `carpenter`."
|
|
}
|
|
},
|
|
"id": "Occupation"
|
|
},
|
|
"ContactGroup": {
|
|
"description": "A contact group.",
|
|
"type": "object",
|
|
"properties": {
|
|
"groupType": {
|
|
"enumDescriptions": [
|
|
"Unspecified.",
|
|
"User defined contact group.",
|
|
"System defined contact group."
|
|
],
|
|
"enum": [
|
|
"GROUP_TYPE_UNSPECIFIED",
|
|
"USER_CONTACT_GROUP",
|
|
"SYSTEM_CONTACT_GROUP"
|
|
],
|
|
"description": "The read-only contact group type.",
|
|
"type": "string"
|
|
},
|
|
"formattedName": {
|
|
"description": "The read-only name translated and formatted in the viewer's account locale\nor the `Accept-Language` HTTP header locale for system groups names.\nGroup names set by the owner are the same as name.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The contact group name set by the group owner or a system provided name\nfor system groups.",
|
|
"type": "string"
|
|
},
|
|
"memberResourceNames": {
|
|
"description": "The list of contact person resource names that are members of the contact\ngroup. The field is not populated for LIST requests and can only be updated\nthrough the\n[ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify).",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"metadata": {
|
|
"description": "Metadata about the contact group.",
|
|
"$ref": "ContactGroupMetadata"
|
|
},
|
|
"memberCount": {
|
|
"format": "int32",
|
|
"description": "The total number of contacts in the group irrespective of max members in\nspecified in the request.",
|
|
"type": "integer"
|
|
},
|
|
"resourceName": {
|
|
"description": "The resource name for the contact group, assigned by the server. An ASCII\nstring, in the form of `contactGroups/\u003ccontact_group_id\u003e`.",
|
|
"type": "string"
|
|
},
|
|
"etag": {
|
|
"type": "string",
|
|
"description": "The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the\nresource. Used for web cache validation."
|
|
}
|
|
},
|
|
"id": "ContactGroup"
|
|
},
|
|
"Person": {
|
|
"id": "Person",
|
|
"description": "Information about a person merged from various data sources such as the\nauthenticated user's contacts and profile data.\n\nMost fields can have multiple items. The items in a field have no guaranteed\norder, but each non-empty field is guaranteed to have exactly one field with\n`metadata.primary` set to true.",
|
|
"type": "object",
|
|
"properties": {
|
|
"birthdays": {
|
|
"description": "The person's birthdays.",
|
|
"items": {
|
|
"$ref": "Birthday"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"locales": {
|
|
"description": "The person's locale preferences.",
|
|
"items": {
|
|
"$ref": "Locale"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"relationshipInterests": {
|
|
"description": "The person's read-only relationship interests.",
|
|
"items": {
|
|
"$ref": "RelationshipInterest"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"urls": {
|
|
"description": "The person's associated URLs.",
|
|
"items": {
|
|
"$ref": "Url"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"nicknames": {
|
|
"description": "The person's nicknames.",
|
|
"items": {
|
|
"$ref": "Nickname"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"relations": {
|
|
"description": "The person's relations.",
|
|
"items": {
|
|
"$ref": "Relation"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"names": {
|
|
"items": {
|
|
"$ref": "Name"
|
|
},
|
|
"type": "array",
|
|
"description": "The person's names."
|
|
},
|
|
"occupations": {
|
|
"items": {
|
|
"$ref": "Occupation"
|
|
},
|
|
"type": "array",
|
|
"description": "The person's occupations."
|
|
},
|
|
"emailAddresses": {
|
|
"description": "The person's email addresses.",
|
|
"items": {
|
|
"$ref": "EmailAddress"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"organizations": {
|
|
"description": "The person's past or current organizations.",
|
|
"items": {
|
|
"$ref": "Organization"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"etag": {
|
|
"description": "The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the\nresource. Used for web cache validation.",
|
|
"type": "string"
|
|
},
|
|
"braggingRights": {
|
|
"description": "The person's bragging rights.",
|
|
"items": {
|
|
"$ref": "BraggingRights"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"metadata": {
|
|
"$ref": "PersonMetadata",
|
|
"description": "Read-only metadata about the person."
|
|
},
|
|
"residences": {
|
|
"description": "The person's residences.",
|
|
"items": {
|
|
"$ref": "Residence"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"genders": {
|
|
"description": "The person's genders.",
|
|
"items": {
|
|
"$ref": "Gender"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"interests": {
|
|
"description": "The person's interests.",
|
|
"items": {
|
|
"$ref": "Interest"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"resourceName": {
|
|
"description": "The resource name for the person, assigned by the server. An ASCII string\nwith a max length of 27 characters, in the form of `people/\u003cperson_id\u003e`.",
|
|
"type": "string"
|
|
},
|
|
"biographies": {
|
|
"description": "The person's biographies.",
|
|
"items": {
|
|
"$ref": "Biography"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"skills": {
|
|
"description": "The person's skills.",
|
|
"items": {
|
|
"$ref": "Skill"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"relationshipStatuses": {
|
|
"items": {
|
|
"$ref": "RelationshipStatus"
|
|
},
|
|
"type": "array",
|
|
"description": "The person's read-only relationship statuses."
|
|
},
|
|
"photos": {
|
|
"description": "The person's read-only photos.",
|
|
"items": {
|
|
"$ref": "Photo"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"ageRange": {
|
|
"enum": [
|
|
"AGE_RANGE_UNSPECIFIED",
|
|
"LESS_THAN_EIGHTEEN",
|
|
"EIGHTEEN_TO_TWENTY",
|
|
"TWENTY_ONE_OR_OLDER"
|
|
],
|
|
"description": "**DEPRECATED** (Please use `person.ageRanges` instead)**\n\nThe person's read-only age range.",
|
|
"type": "string",
|
|
"enumDescriptions": [
|
|
"Unspecified.",
|
|
"Younger than eighteen.",
|
|
"Between eighteen and twenty.",
|
|
"Twenty-one and older."
|
|
]
|
|
},
|
|
"taglines": {
|
|
"description": "The person's read-only taglines.",
|
|
"items": {
|
|
"$ref": "Tagline"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"ageRanges": {
|
|
"items": {
|
|
"$ref": "AgeRangeType"
|
|
},
|
|
"type": "array",
|
|
"description": "The person's read-only age ranges."
|
|
},
|
|
"addresses": {
|
|
"description": "The person's street addresses.",
|
|
"items": {
|
|
"$ref": "Address"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"events": {
|
|
"items": {
|
|
"$ref": "Event"
|
|
},
|
|
"type": "array",
|
|
"description": "The person's events."
|
|
},
|
|
"memberships": {
|
|
"description": "The person's read-only group memberships.",
|
|
"items": {
|
|
"$ref": "Membership"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"phoneNumbers": {
|
|
"description": "The person's phone numbers.",
|
|
"items": {
|
|
"$ref": "PhoneNumber"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"coverPhotos": {
|
|
"description": "The person's read-only cover photos.",
|
|
"items": {
|
|
"$ref": "CoverPhoto"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"imClients": {
|
|
"description": "The person's instant messaging clients.",
|
|
"items": {
|
|
"$ref": "ImClient"
|
|
},
|
|
"type": "array"
|
|
}
|
|
}
|
|
},
|
|
"UpdateContactGroupRequest": {
|
|
"description": "A request to update an existing contact group. Only the name can be updated.",
|
|
"type": "object",
|
|
"properties": {
|
|
"contactGroup": {
|
|
"$ref": "ContactGroup",
|
|
"description": "The contact group to update."
|
|
}
|
|
},
|
|
"id": "UpdateContactGroupRequest"
|
|
},
|
|
"ContactGroupMetadata": {
|
|
"description": "The read-only metadata about a contact group.",
|
|
"type": "object",
|
|
"properties": {
|
|
"updateTime": {
|
|
"type": "string",
|
|
"format": "google-datetime",
|
|
"description": "The time the group was last updated."
|
|
},
|
|
"deleted": {
|
|
"description": "True if the contact group resource has been deleted. Populated only for\n[`ListContactGroups`](/people/api/rest/v1/contactgroups/list) requests\nthat include a sync token.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"id": "ContactGroupMetadata"
|
|
},
|
|
"Residence": {
|
|
"description": "A person's past or current residence.",
|
|
"type": "object",
|
|
"properties": {
|
|
"current": {
|
|
"description": "True if the residence is the person's current residence;\nfalse if the residence is a past residence.",
|
|
"type": "boolean"
|
|
},
|
|
"metadata": {
|
|
"$ref": "FieldMetadata",
|
|
"description": "Metadata about the residence."
|
|
},
|
|
"value": {
|
|
"description": "The address of the residence.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"id": "Residence"
|
|
},
|
|
"Event": {
|
|
"id": "Event",
|
|
"description": "An event related to the person.",
|
|
"type": "object",
|
|
"properties": {
|
|
"formattedType": {
|
|
"description": "The read-only type of the event translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "The type of the event. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `anniversary`\n* `other`",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"description": "Metadata about the event.",
|
|
"$ref": "FieldMetadata"
|
|
},
|
|
"date": {
|
|
"$ref": "Date",
|
|
"description": "The date of the event."
|
|
}
|
|
}
|
|
},
|
|
"ModifyContactGroupMembersResponse": {
|
|
"id": "ModifyContactGroupMembersResponse",
|
|
"description": "The response to a modify contact group members request.",
|
|
"type": "object",
|
|
"properties": {
|
|
"notFoundResourceNames": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"description": "The contact people resource names that were not found."
|
|
}
|
|
}
|
|
},
|
|
"ProfileMetadata": {
|
|
"description": "The read-only metadata about a profile.",
|
|
"type": "object",
|
|
"properties": {
|
|
"objectType": {
|
|
"enum": [
|
|
"OBJECT_TYPE_UNSPECIFIED",
|
|
"PERSON",
|
|
"PAGE"
|
|
],
|
|
"description": "The profile object type.",
|
|
"type": "string",
|
|
"enumDescriptions": [
|
|
"Unspecified.",
|
|
"Person.",
|
|
"[Google+ Page.](http://www.google.com/+/brands/)"
|
|
]
|
|
}
|
|
},
|
|
"id": "ProfileMetadata"
|
|
},
|
|
"Gender": {
|
|
"type": "object",
|
|
"properties": {
|
|
"metadata": {
|
|
"$ref": "FieldMetadata",
|
|
"description": "Metadata about the gender."
|
|
},
|
|
"value": {
|
|
"description": "The gender for the person. The gender can be custom or predefined.\nPossible values include, but are not limited to, the\nfollowing:\n\n* `male`\n* `female`\n* `other`\n* `unknown`",
|
|
"type": "string"
|
|
},
|
|
"formattedValue": {
|
|
"description": "The read-only value of the gender translated and formatted in the viewer's\naccount locale or the `Accept-Language` HTTP header locale.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"id": "Gender",
|
|
"description": "A person's gender."
|
|
}
|
|
},
|
|
"icons": {
|
|
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
|
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
|
},
|
|
"protocol": "rest",
|
|
"canonicalName": "People Service",
|
|
"auth": {
|
|
"oauth2": {
|
|
"scopes": {
|
|
"https://www.googleapis.com/auth/plus.login": {
|
|
"description": "Know the list of people in your circles, your age range, and language"
|
|
},
|
|
"https://www.googleapis.com/auth/userinfo.profile": {
|
|
"description": "View your basic profile info"
|
|
},
|
|
"https://www.googleapis.com/auth/user.emails.read": {
|
|
"description": "View your email addresses"
|
|
},
|
|
"https://www.googleapis.com/auth/contacts": {
|
|
"description": "Manage your contacts"
|
|
},
|
|
"https://www.googleapis.com/auth/user.addresses.read": {
|
|
"description": "View your street addresses"
|
|
},
|
|
"https://www.googleapis.com/auth/user.phonenumbers.read": {
|
|
"description": "View your phone numbers"
|
|
},
|
|
"https://www.googleapis.com/auth/userinfo.email": {
|
|
"description": "View your email address"
|
|
},
|
|
"https://www.googleapis.com/auth/contacts.readonly": {
|
|
"description": "View your contacts"
|
|
},
|
|
"https://www.googleapis.com/auth/user.birthday.read": {
|
|
"description": "View your complete date of birth"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"rootUrl": "https://people.googleapis.com/",
|
|
"ownerDomain": "google.com",
|
|
"name": "people",
|
|
"batchPath": "batch",
|
|
"title": "Google People API",
|
|
"ownerName": "Google",
|
|
"resources": {
|
|
"contactGroups": {
|
|
"methods": {
|
|
"batchGet": {
|
|
"path": "v1/contactGroups:batchGet",
|
|
"id": "people.contactGroups.batchGet",
|
|
"description": "Get a list of contact groups owned by the authenticated user by specifying\na list of contact group resource names.",
|
|
"httpMethod": "GET",
|
|
"parameterOrder": [],
|
|
"response": {
|
|
"$ref": "BatchGetContactGroupsResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/contacts",
|
|
"https://www.googleapis.com/auth/contacts.readonly"
|
|
],
|
|
"parameters": {
|
|
"maxMembers": {
|
|
"format": "int32",
|
|
"description": "Specifies the maximum number of members to return for each group.",
|
|
"type": "integer",
|
|
"location": "query"
|
|
},
|
|
"resourceNames": {
|
|
"description": "The resource names of the contact groups to get.",
|
|
"type": "string",
|
|
"repeated": true,
|
|
"location": "query"
|
|
}
|
|
},
|
|
"flatPath": "v1/contactGroups:batchGet"
|
|
},
|
|
"delete": {
|
|
"description": "Delete an existing contact group owned by the authenticated user by\nspecifying a contact group resource name.",
|
|
"response": {
|
|
"$ref": "Empty"
|
|
},
|
|
"parameterOrder": [
|
|
"resourceName"
|
|
],
|
|
"httpMethod": "DELETE",
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/contacts"
|
|
],
|
|
"parameters": {
|
|
"resourceName": {
|
|
"location": "path",
|
|
"description": "The resource name of the contact group to delete.",
|
|
"type": "string",
|
|
"required": true,
|
|
"pattern": "^contactGroups/[^/]+$"
|
|
},
|
|
"deleteContacts": {
|
|
"location": "query",
|
|
"description": "Set to true to also delete the contacts in the specified group.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"flatPath": "v1/contactGroups/{contactGroupsId}",
|
|
"id": "people.contactGroups.delete",
|
|
"path": "v1/{+resourceName}"
|
|
},
|
|
"list": {
|
|
"httpMethod": "GET",
|
|
"parameterOrder": [],
|
|
"response": {
|
|
"$ref": "ListContactGroupsResponse"
|
|
},
|
|
"parameters": {
|
|
"pageSize": {
|
|
"location": "query",
|
|
"format": "int32",
|
|
"description": "The maximum number of resources to return.",
|
|
"type": "integer"
|
|
},
|
|
"syncToken": {
|
|
"description": "A sync token, returned by a previous call to `contactgroups.list`.\nOnly resources changed since the sync token was created will be returned.",
|
|
"type": "string",
|
|
"location": "query"
|
|
},
|
|
"pageToken": {
|
|
"description": "The next_page_token value returned from a previous call to\n[ListContactGroups](/people/api/rest/v1/contactgroups/list).\nRequests the next page of resources.",
|
|
"type": "string",
|
|
"location": "query"
|
|
}
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/contacts",
|
|
"https://www.googleapis.com/auth/contacts.readonly"
|
|
],
|
|
"flatPath": "v1/contactGroups",
|
|
"path": "v1/contactGroups",
|
|
"id": "people.contactGroups.list",
|
|
"description": "List all contact groups owned by the authenticated user. Members of the\ncontact groups are not populated."
|
|
},
|
|
"create": {
|
|
"request": {
|
|
"$ref": "CreateContactGroupRequest"
|
|
},
|
|
"description": "Create a new contact group owned by the authenticated user.",
|
|
"response": {
|
|
"$ref": "ContactGroup"
|
|
},
|
|
"parameterOrder": [],
|
|
"httpMethod": "POST",
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/contacts"
|
|
],
|
|
"parameters": {},
|
|
"flatPath": "v1/contactGroups",
|
|
"id": "people.contactGroups.create",
|
|
"path": "v1/contactGroups"
|
|
},
|
|
"get": {
|
|
"response": {
|
|
"$ref": "ContactGroup"
|
|
},
|
|
"parameterOrder": [
|
|
"resourceName"
|
|
],
|
|
"httpMethod": "GET",
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/contacts",
|
|
"https://www.googleapis.com/auth/contacts.readonly"
|
|
],
|
|
"parameters": {
|
|
"maxMembers": {
|
|
"location": "query",
|
|
"format": "int32",
|
|
"description": "Specifies the maximum number of members to return.",
|
|
"type": "integer"
|
|
},
|
|
"resourceName": {
|
|
"location": "path",
|
|
"description": "The resource name of the contact group to get.",
|
|
"type": "string",
|
|
"required": true,
|
|
"pattern": "^contactGroups/[^/]+$"
|
|
}
|
|
},
|
|
"flatPath": "v1/contactGroups/{contactGroupsId}",
|
|
"id": "people.contactGroups.get",
|
|
"path": "v1/{+resourceName}",
|
|
"description": "Get a specific contact group owned by the authenticated user by specifying\na contact group resource name."
|
|
},
|
|
"update": {
|
|
"httpMethod": "PUT",
|
|
"parameterOrder": [
|
|
"resourceName"
|
|
],
|
|
"response": {
|
|
"$ref": "ContactGroup"
|
|
},
|
|
"parameters": {
|
|
"resourceName": {
|
|
"pattern": "^contactGroups/[^/]+$",
|
|
"location": "path",
|
|
"description": "The resource name for the contact group, assigned by the server. An ASCII\nstring, in the form of `contactGroups/\u003ccontact_group_id\u003e`.",
|
|
"type": "string",
|
|
"required": true
|
|
}
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/contacts"
|
|
],
|
|
"flatPath": "v1/contactGroups/{contactGroupsId}",
|
|
"path": "v1/{+resourceName}",
|
|
"id": "people.contactGroups.update",
|
|
"description": "Update the name of an existing contact group owned by the authenticated\nuser.",
|
|
"request": {
|
|
"$ref": "UpdateContactGroupRequest"
|
|
}
|
|
}
|
|
},
|
|
"resources": {
|
|
"members": {
|
|
"methods": {
|
|
"modify": {
|
|
"request": {
|
|
"$ref": "ModifyContactGroupMembersRequest"
|
|
},
|
|
"description": "Modify the members of a contact group owned by the authenticated user.",
|
|
"response": {
|
|
"$ref": "ModifyContactGroupMembersResponse"
|
|
},
|
|
"parameterOrder": [
|
|
"resourceName"
|
|
],
|
|
"httpMethod": "POST",
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/contacts"
|
|
],
|
|
"parameters": {
|
|
"resourceName": {
|
|
"description": "The resource name of the contact group to modify.",
|
|
"type": "string",
|
|
"required": true,
|
|
"pattern": "^contactGroups/[^/]+$",
|
|
"location": "path"
|
|
}
|
|
},
|
|
"flatPath": "v1/contactGroups/{contactGroupsId}/members:modify",
|
|
"id": "people.contactGroups.members.modify",
|
|
"path": "v1/{+resourceName}/members:modify"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"people": {
|
|
"methods": {
|
|
"getBatchGet": {
|
|
"path": "v1/people:batchGet",
|
|
"id": "people.people.getBatchGet",
|
|
"description": "Provides information about a list of specific people by specifying a list\nof requested resource names. Use `people/me` to indicate the authenticated\nuser.\n\u003cbr\u003e\nThe request throws a 400 error if 'personFields' is not specified.",
|
|
"httpMethod": "GET",
|
|
"parameterOrder": [],
|
|
"response": {
|
|
"$ref": "GetPeopleResponse"
|
|
},
|
|
"parameters": {
|
|
"personFields": {
|
|
"location": "query",
|
|
"format": "google-fieldmask",
|
|
"description": "**Required.** A field mask to restrict which fields on each person are\nreturned. Valid values are:\n\n* addresses\n* ageRanges\n* biographies\n* birthdays\n* braggingRights\n* coverPhotos\n* emailAddresses\n* events\n* genders\n* imClients\n* interests\n* locales\n* memberships\n* metadata\n* names\n* nicknames\n* occupations\n* organizations\n* phoneNumbers\n* photos\n* relations\n* relationshipInterests\n* relationshipStatuses\n* residences\n* skills\n* taglines\n* urls",
|
|
"type": "string"
|
|
},
|
|
"requestMask.includeField": {
|
|
"location": "query",
|
|
"format": "google-fieldmask",
|
|
"description": "**Required.** Comma-separated list of person fields to be included in the\nresponse. Each path should start with `person.`: for example,\n`person.names` or `person.photos`.",
|
|
"type": "string"
|
|
},
|
|
"resourceNames": {
|
|
"location": "query",
|
|
"description": "The resource name, such as one returned by\n[`people.connections.list`](/people/api/rest/v1/people.connections/list),\nof one of the people to provide information about. You can include this\nparameter up to 50 times in one request.",
|
|
"type": "string",
|
|
"repeated": true
|
|
}
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/contacts",
|
|
"https://www.googleapis.com/auth/contacts.readonly",
|
|
"https://www.googleapis.com/auth/plus.login",
|
|
"https://www.googleapis.com/auth/user.addresses.read",
|
|
"https://www.googleapis.com/auth/user.birthday.read",
|
|
"https://www.googleapis.com/auth/user.emails.read",
|
|
"https://www.googleapis.com/auth/user.phonenumbers.read",
|
|
"https://www.googleapis.com/auth/userinfo.email",
|
|
"https://www.googleapis.com/auth/userinfo.profile"
|
|
],
|
|
"flatPath": "v1/people:batchGet"
|
|
},
|
|
"get": {
|
|
"httpMethod": "GET",
|
|
"parameterOrder": [
|
|
"resourceName"
|
|
],
|
|
"response": {
|
|
"$ref": "Person"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/contacts",
|
|
"https://www.googleapis.com/auth/contacts.readonly",
|
|
"https://www.googleapis.com/auth/plus.login",
|
|
"https://www.googleapis.com/auth/user.addresses.read",
|
|
"https://www.googleapis.com/auth/user.birthday.read",
|
|
"https://www.googleapis.com/auth/user.emails.read",
|
|
"https://www.googleapis.com/auth/user.phonenumbers.read",
|
|
"https://www.googleapis.com/auth/userinfo.email",
|
|
"https://www.googleapis.com/auth/userinfo.profile"
|
|
],
|
|
"parameters": {
|
|
"personFields": {
|
|
"location": "query",
|
|
"format": "google-fieldmask",
|
|
"description": "**Required.** A field mask to restrict which fields on the person are\nreturned. Valid values are:\n\n* addresses\n* ageRanges\n* biographies\n* birthdays\n* braggingRights\n* coverPhotos\n* emailAddresses\n* events\n* genders\n* imClients\n* interests\n* locales\n* memberships\n* metadata\n* names\n* nicknames\n* occupations\n* organizations\n* phoneNumbers\n* photos\n* relations\n* relationshipInterests\n* relationshipStatuses\n* residences\n* skills\n* taglines\n* urls",
|
|
"type": "string"
|
|
},
|
|
"resourceName": {
|
|
"location": "path",
|
|
"description": "The resource name of the person to provide information about.\n\n- To get information about the authenticated user, specify `people/me`.\n- To get information about a google account, specify `people/\u003caccount_id\u003e`.\n- To get information about a contact, specify the resource name that\n identifies the contact as returned by\n[`people.connections.list`](/people/api/rest/v1/people.connections/list).",
|
|
"type": "string",
|
|
"required": true,
|
|
"pattern": "^people/[^/]+$"
|
|
},
|
|
"requestMask.includeField": {
|
|
"type": "string",
|
|
"location": "query",
|
|
"format": "google-fieldmask",
|
|
"description": "**Required.** Comma-separated list of person fields to be included in the\nresponse. Each path should start with `person.`: for example,\n`person.names` or `person.photos`."
|
|
}
|
|
},
|
|
"flatPath": "v1/people/{peopleId}",
|
|
"path": "v1/{+resourceName}",
|
|
"id": "people.people.get",
|
|
"description": "Provides information about a person by specifying a resource name. Use\n`people/me` to indicate the authenticated user.\n\u003cbr\u003e\nThe request throws a 400 error if 'personFields' is not specified."
|
|
},
|
|
"updateContact": {
|
|
"flatPath": "v1/people/{peopleId}:updateContact",
|
|
"id": "people.people.updateContact",
|
|
"path": "v1/{+resourceName}:updateContact",
|
|
"request": {
|
|
"$ref": "Person"
|
|
},
|
|
"description": "Update contact data for an existing contact person. Any non-contact data\nwill not be modified.\n\nThe request throws a 400 error if `updatePersonFields` is not specified.\n\u003cbr\u003e\nThe request throws a 400 error if `person.metadata.sources` is not\nspecified for the contact to be updated.\n\u003cbr\u003e\nThe request throws a 412 error if `person.metadata.sources.etag` is\ndifferent than the contact's etag, which indicates the contact has changed\nsince its data was read. Clients should get the latest person and re-apply\ntheir updates to the latest person.",
|
|
"response": {
|
|
"$ref": "Person"
|
|
},
|
|
"parameterOrder": [
|
|
"resourceName"
|
|
],
|
|
"httpMethod": "PATCH",
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/contacts"
|
|
],
|
|
"parameters": {
|
|
"updatePersonFields": {
|
|
"location": "query",
|
|
"format": "google-fieldmask",
|
|
"description": "**Required.** A field mask to restrict which fields on the person are\nupdated. Valid values are:\n\n* addresses\n* biographies\n* birthdays\n* braggingRights\n* emailAddresses\n* events\n* genders\n* imClients\n* interests\n* locales\n* names\n* nicknames\n* occupations\n* organizations\n* phoneNumbers\n* relations\n* residences\n* skills\n* urls",
|
|
"type": "string"
|
|
},
|
|
"resourceName": {
|
|
"type": "string",
|
|
"required": true,
|
|
"pattern": "^people/[^/]+$",
|
|
"location": "path",
|
|
"description": "The resource name for the person, assigned by the server. An ASCII string\nwith a max length of 27 characters, in the form of `people/\u003cperson_id\u003e`."
|
|
}
|
|
}
|
|
},
|
|
"createContact": {
|
|
"id": "people.people.createContact",
|
|
"path": "v1/people:createContact",
|
|
"request": {
|
|
"$ref": "Person"
|
|
},
|
|
"description": "Create a new contact and return the person resource for that contact.",
|
|
"response": {
|
|
"$ref": "Person"
|
|
},
|
|
"parameterOrder": [],
|
|
"httpMethod": "POST",
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/contacts"
|
|
],
|
|
"parameters": {
|
|
"parent": {
|
|
"location": "query",
|
|
"description": "The resource name of the owning person resource.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"flatPath": "v1/people:createContact"
|
|
},
|
|
"deleteContact": {
|
|
"flatPath": "v1/people/{peopleId}:deleteContact",
|
|
"id": "people.people.deleteContact",
|
|
"path": "v1/{+resourceName}:deleteContact",
|
|
"description": "Delete a contact person. Any non-contact data will not be deleted.",
|
|
"response": {
|
|
"$ref": "Empty"
|
|
},
|
|
"parameterOrder": [
|
|
"resourceName"
|
|
],
|
|
"httpMethod": "DELETE",
|
|
"parameters": {
|
|
"resourceName": {
|
|
"pattern": "^people/[^/]+$",
|
|
"location": "path",
|
|
"description": "The resource name of the contact to delete.",
|
|
"type": "string",
|
|
"required": true
|
|
}
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/contacts"
|
|
]
|
|
}
|
|
},
|
|
"resources": {
|
|
"connections": {
|
|
"methods": {
|
|
"list": {
|
|
"flatPath": "v1/people/{peopleId}/connections",
|
|
"id": "people.people.connections.list",
|
|
"path": "v1/{+resourceName}/connections",
|
|
"description": "Provides a list of the authenticated user's contacts merged with any\nconnected profiles.\n\u003cbr\u003e\nThe request throws a 400 error if 'personFields' is not specified.",
|
|
"response": {
|
|
"$ref": "ListConnectionsResponse"
|
|
},
|
|
"parameterOrder": [
|
|
"resourceName"
|
|
],
|
|
"httpMethod": "GET",
|
|
"parameters": {
|
|
"syncToken": {
|
|
"location": "query",
|
|
"description": "A sync token, returned by a previous call to `people.connections.list`.\nOnly resources changed since the sync token was created will be returned.",
|
|
"type": "string"
|
|
},
|
|
"personFields": {
|
|
"format": "google-fieldmask",
|
|
"description": "**Required.** A field mask to restrict which fields on each person are\nreturned. Valid values are:\n\n* addresses\n* ageRanges\n* biographies\n* birthdays\n* braggingRights\n* coverPhotos\n* emailAddresses\n* events\n* genders\n* imClients\n* interests\n* locales\n* memberships\n* metadata\n* names\n* nicknames\n* occupations\n* organizations\n* phoneNumbers\n* photos\n* relations\n* relationshipInterests\n* relationshipStatuses\n* residences\n* skills\n* taglines\n* urls",
|
|
"type": "string",
|
|
"location": "query"
|
|
},
|
|
"sortOrder": {
|
|
"enum": [
|
|
"LAST_MODIFIED_ASCENDING",
|
|
"FIRST_NAME_ASCENDING",
|
|
"LAST_NAME_ASCENDING"
|
|
],
|
|
"description": "The order in which the connections should be sorted. Defaults to\n`LAST_MODIFIED_ASCENDING`.",
|
|
"type": "string",
|
|
"location": "query"
|
|
},
|
|
"requestSyncToken": {
|
|
"description": "Whether the response should include a sync token, which can be used to get\nall changes since the last request.",
|
|
"type": "boolean",
|
|
"location": "query"
|
|
},
|
|
"pageToken": {
|
|
"description": "The token of the page to be returned.",
|
|
"type": "string",
|
|
"location": "query"
|
|
},
|
|
"resourceName": {
|
|
"description": "The resource name to return connections for. Only `people/me` is valid.",
|
|
"type": "string",
|
|
"required": true,
|
|
"pattern": "^people/[^/]+$",
|
|
"location": "path"
|
|
},
|
|
"pageSize": {
|
|
"location": "query",
|
|
"format": "int32",
|
|
"description": "The number of connections to include in the response. Valid values are\nbetween 1 and 2000, inclusive. Defaults to 100.",
|
|
"type": "integer"
|
|
},
|
|
"requestMask.includeField": {
|
|
"location": "query",
|
|
"format": "google-fieldmask",
|
|
"description": "**Required.** Comma-separated list of person fields to be included in the\nresponse. Each path should start with `person.`: for example,\n`person.names` or `person.photos`.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/contacts",
|
|
"https://www.googleapis.com/auth/contacts.readonly"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters": {
|
|
"upload_protocol": {
|
|
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
|
"type": "string",
|
|
"location": "query"
|
|
},
|
|
"prettyPrint": {
|
|
"location": "query",
|
|
"description": "Returns response with indentations and line breaks.",
|
|
"default": "true",
|
|
"type": "boolean"
|
|
},
|
|
"fields": {
|
|
"description": "Selector specifying which fields to include in a partial response.",
|
|
"type": "string",
|
|
"location": "query"
|
|
},
|
|
"uploadType": {
|
|
"location": "query",
|
|
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
|
"type": "string"
|
|
},
|
|
"$.xgafv": {
|
|
"type": "string",
|
|
"enumDescriptions": [
|
|
"v1 error format",
|
|
"v2 error format"
|
|
],
|
|
"location": "query",
|
|
"enum": [
|
|
"1",
|
|
"2"
|
|
],
|
|
"description": "V1 error format."
|
|
},
|
|
"callback": {
|
|
"description": "JSONP",
|
|
"type": "string",
|
|
"location": "query"
|
|
},
|
|
"alt": {
|
|
"enum": [
|
|
"json",
|
|
"media",
|
|
"proto"
|
|
],
|
|
"type": "string",
|
|
"enumDescriptions": [
|
|
"Responses with Content-Type of application/json",
|
|
"Media download with context-dependent Content-Type",
|
|
"Responses with Content-Type of application/x-protobuf"
|
|
],
|
|
"location": "query",
|
|
"description": "Data format for response.",
|
|
"default": "json"
|
|
},
|
|
"access_token": {
|
|
"location": "query",
|
|
"description": "OAuth access token.",
|
|
"type": "string"
|
|
},
|
|
"key": {
|
|
"location": "query",
|
|
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
|
"type": "string"
|
|
},
|
|
"quotaUser": {
|
|
"type": "string",
|
|
"location": "query",
|
|
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters."
|
|
},
|
|
"pp": {
|
|
"description": "Pretty-print response.",
|
|
"default": "true",
|
|
"type": "boolean",
|
|
"location": "query"
|
|
},
|
|
"bearer_token": {
|
|
"location": "query",
|
|
"description": "OAuth bearer token.",
|
|
"type": "string"
|
|
},
|
|
"oauth_token": {
|
|
"location": "query",
|
|
"description": "OAuth 2.0 token for the current user.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"version": "v1",
|
|
"baseUrl": "https://people.googleapis.com/",
|
|
"kind": "discovery#restDescription",
|
|
"description": "Provides access to information about profiles and contacts.",
|
|
"servicePath": "",
|
|
"basePath": ""
|
|
}
|