Skip to content

Commit 7a20953

Browse files
feat(people): update the api
#### people:v1 The following keys were added: - schemas.ListOtherContactsResponse.properties.totalSize (Total Keys: 2)
1 parent ecadf55 commit 7a20953

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

docs/dyn/people_v1.otherContacts.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1829,6 +1829,7 @@ <h3>Method Details</h3>
18291829
],
18301830
},
18311831
],
1832+
&quot;totalSize&quot;: 42, # The total number of other contacts in the list without pagination.
18321833
}</pre>
18331834
</div>
18341835

@@ -1851,7 +1852,7 @@ <h3>Method Details</h3>
18511852
<pre>Provides a list of contacts in the authenticated user&#x27;s other contacts that matches the search query. The query matches on a contact&#x27;s `names`, `emailAddresses`, and `phoneNumbers` fields that are from the OTHER_CONTACT source.
18521853

18531854
Args:
1854-
pageSize: integer, Optional. The number of results to return. Defaults to 10 if field is not set, or set to 0.
1855+
pageSize: integer, Optional. The number of results to return. Defaults to 10 if field is not set, or set to 0. Values greater than 10 will be capped to 10.
18551856
query: string, Required. The plain-text query for the request. The query is used to match prefix phrases of the fields on a person. For example, a person with name &quot;foo name&quot; matches queries such as &quot;f&quot;, &quot;fo&quot;, &quot;foo&quot;, &quot;foo n&quot;, &quot;nam&quot;, etc., but not &quot;oo n&quot;.
18561857
readMask: string, Required. A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas. Valid values are: * emailAddresses * names * phoneNumbers
18571858
x__xgafv: string, V1 error format.

docs/dyn/people_v1.people.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8858,7 +8858,7 @@ <h3>Method Details</h3>
88588858
<pre>Provides a list of contacts in the authenticated user&#x27;s grouped contacts that matches the search query. The query matches on a contact&#x27;s `names`, `nickNames`, `emailAddresses`, `phoneNumbers`, and `organizations` fields that are from the CONTACT&quot; source.
88598859

88608860
Args:
8861-
pageSize: integer, Optional. The number of results to return.
8861+
pageSize: integer, Optional. The number of results to return. Defaults to 10 if field is not set, or set to 0. Values greater than 10 will be capped to 10.
88628862
query: string, Required. The plain-text query for the request. The query is used to match prefix phrases of the fields on a person. For example, a person with name &quot;foo name&quot; matches queries such as &quot;f&quot;, &quot;fo&quot;, &quot;foo&quot;, &quot;foo n&quot;, &quot;nam&quot;, etc., but not &quot;oo n&quot;.
88638863
readMask: string, Required. A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas. Valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined
88648864
sources: string, Optional. A mask of what source types to return. Defaults to READ_SOURCE_TYPE_CONTACT if not set. (repeated)

googleapiclient/discovery_cache/documents/people.v1.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@
445445
"parameterOrder": [],
446446
"parameters": {
447447
"pageSize": {
448-
"description": "Optional. The number of results to return. Defaults to 10 if field is not set, or set to 0.",
448+
"description": "Optional. The number of results to return. Defaults to 10 if field is not set, or set to 0. Values greater than 10 will be capped to 10.",
449449
"format": "int32",
450450
"location": "query",
451451
"type": "integer"
@@ -853,7 +853,7 @@
853853
"parameterOrder": [],
854854
"parameters": {
855855
"pageSize": {
856-
"description": "Optional. The number of results to return.",
856+
"description": "Optional. The number of results to return. Defaults to 10 if field is not set, or set to 0. Values greater than 10 will be capped to 10.",
857857
"format": "int32",
858858
"location": "query",
859859
"type": "integer"
@@ -1154,7 +1154,7 @@
11541154
}
11551155
}
11561156
},
1157-
"revision": "20210408",
1157+
"revision": "20210420",
11581158
"rootUrl": "https://people.googleapis.com/",
11591159
"schemas": {
11601160
"Address": {
@@ -2044,6 +2044,11 @@
20442044
"$ref": "Person"
20452045
},
20462046
"type": "array"
2047+
},
2048+
"totalSize": {
2049+
"description": "The total number of other contacts in the list without pagination.",
2050+
"format": "int32",
2051+
"type": "integer"
20472052
}
20482053
},
20492054
"type": "object"

0 commit comments

Comments
 (0)