Skip to content

Commit

Permalink
fix(people): update the API
Browse files Browse the repository at this point in the history
#### people:v1

The following keys were changed:
- resources.otherContacts.methods.search.description
- resources.people.methods.batchCreateContacts.description
- resources.people.methods.batchDeleteContacts.description
- resources.people.methods.batchUpdateContacts.description
- resources.people.methods.searchContacts.description
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 5, 2021
1 parent 87a9f5f commit a1eeb4e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions discovery/people-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@
]
},
"search": {
"description": "Provides a list of contacts in the authenticated user's other contacts that matches the search query.",
"description": "Provides a list of contacts in the authenticated user's other contacts that matches the search query. The query matches on a contact's `names`, `emailAddresses`, and `phoneNumbers` fields that are from the OTHER_CONTACT source.",
"flatPath": "v1/otherContacts:search",
"httpMethod": "GET",
"id": "people.otherContacts.search",
Expand Down Expand Up @@ -475,7 +475,7 @@
"people": {
"methods": {
"batchCreateContacts": {
"description": "Create a batch of new contacts and return the PersonResponses for the newly created contacts.",
"description": "Create a batch of new contacts and return the PersonResponses for the newly created contacts. Limited to 10 parallel requests per user.",
"flatPath": "v1/people:batchCreateContacts",
"httpMethod": "POST",
"id": "people.people.batchCreateContacts",
Expand All @@ -493,7 +493,7 @@
]
},
"batchDeleteContacts": {
"description": "Delete a batch of contacts. Any non-contact data will not be deleted.",
"description": "Delete a batch of contacts. Any non-contact data will not be deleted. Limited to 10 parallel requests per user.",
"flatPath": "v1/people:batchDeleteContacts",
"httpMethod": "POST",
"id": "people.people.batchDeleteContacts",
Expand All @@ -511,7 +511,7 @@
]
},
"batchUpdateContacts": {
"description": "Update a batch of contacts and return a map of resource names to PersonResponses for the updated contacts.",
"description": "Update a batch of contacts and return a map of resource names to PersonResponses for the updated contacts. Limited to 10 parallel requests per user.",
"flatPath": "v1/people:batchUpdateContacts",
"httpMethod": "POST",
"id": "people.people.batchUpdateContacts",
Expand Down Expand Up @@ -846,7 +846,7 @@
]
},
"searchContacts": {
"description": "Provides a list of contacts in the authenticated user's grouped contacts that matches the search query.",
"description": "Provides a list of contacts in the authenticated user's grouped contacts that matches the search query. The query matches on a contact's `names`, `nickNames`, `emailAddresses`, `phoneNumbers`, and `organizations` fields that are from the CONTACT\" source.",
"flatPath": "v1/people:searchContacts",
"httpMethod": "GET",
"id": "people.people.searchContacts",
Expand Down Expand Up @@ -1136,7 +1136,7 @@
}
}
},
"revision": "20210322",
"revision": "20210330",
"rootUrl": "https://people.googleapis.com/",
"schemas": {
"Address": {
Expand Down
10 changes: 5 additions & 5 deletions src/apis/people/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3038,7 +3038,7 @@ export namespace people_v1 {
}

/**
* Provides a list of contacts in the authenticated user's other contacts that matches the search query.
* Provides a list of contacts in the authenticated user's other contacts that matches the search query. The query matches on a contact's `names`, `emailAddresses`, and `phoneNumbers` fields that are from the OTHER_CONTACT source.
* @example
* ```js
* // Before running the sample:
Expand Down Expand Up @@ -3231,7 +3231,7 @@ export namespace people_v1 {
}

/**
* Create a batch of new contacts and return the PersonResponses for the newly created contacts.
* Create a batch of new contacts and return the PersonResponses for the newly created contacts. Limited to 10 parallel requests per user.
* @example
* ```js
* // Before running the sample:
Expand Down Expand Up @@ -3374,7 +3374,7 @@ export namespace people_v1 {
}

/**
* Delete a batch of contacts. Any non-contact data will not be deleted.
* Delete a batch of contacts. Any non-contact data will not be deleted. Limited to 10 parallel requests per user.
* @example
* ```js
* // Before running the sample:
Expand Down Expand Up @@ -3506,7 +3506,7 @@ export namespace people_v1 {
}

/**
* Update a batch of contacts and return a map of resource names to PersonResponses for the updated contacts.
* Update a batch of contacts and return a map of resource names to PersonResponses for the updated contacts. Limited to 10 parallel requests per user.
* @example
* ```js
* // Before running the sample:
Expand Down Expand Up @@ -4613,7 +4613,7 @@ export namespace people_v1 {
}

/**
* Provides a list of contacts in the authenticated user's grouped contacts that matches the search query.
* Provides a list of contacts in the authenticated user's grouped contacts that matches the search query. The query matches on a contact's `names`, `nickNames`, `emailAddresses`, `phoneNumbers`, and `organizations` fields that are from the CONTACT" source.
* @example
* ```js
* // Before running the sample:
Expand Down

0 comments on commit a1eeb4e

Please sign in to comment.