Skip to content

Commit b3880c3

Browse files
chore(people): update the api
#### people:v1 The following keys were added: - resources.contactGroups.methods.batchGet.parameters.groupFields (Total Keys: 3) - resources.contactGroups.methods.get.parameters.groupFields (Total Keys: 3) - resources.contactGroups.methods.list.parameters.groupFields (Total Keys: 3) - resources.otherContacts.methods.search (Total Keys: 15) - resources.people.methods.searchContacts (Total Keys: 15) - schemas.ContactGroup.properties.clientData (Total Keys: 2) - schemas.CreateContactGroupRequest.properties.readGroupFields (Total Keys: 2) - schemas.GroupClientData (Total Keys: 4) - schemas.SearchResponse (Total Keys: 4) - schemas.SearchResult (Total Keys: 3) - schemas.UpdateContactGroupRequest.properties.readGroupFields (Total Keys: 2) - schemas.UpdateContactGroupRequest.properties.updateGroupFields (Total Keys: 2)
1 parent 560eb5f commit b3880c3

File tree

5 files changed

+4794
-2861
lines changed

5 files changed

+4794
-2861
lines changed

docs/dyn/people_v1.contactGroups.html

Lines changed: 61 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ <h2>Instance Methods</h2>
8080
<p class="firstline">Returns the members Resource.</p>
8181

8282
<p class="toc_element">
83-
<code><a href="#batchGet">batchGet(maxMembers=None, resourceNames=None, x__xgafv=None)</a></code></p>
83+
<code><a href="#batchGet">batchGet(groupFields=None, maxMembers=None, resourceNames=None, x__xgafv=None)</a></code></p>
8484
<p class="firstline">Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names.</p>
8585
<p class="toc_element">
8686
<code><a href="#close">close()</a></code></p>
@@ -92,10 +92,10 @@ <h2>Instance Methods</h2>
9292
<code><a href="#delete">delete(resourceName, deleteContacts=None, x__xgafv=None)</a></code></p>
9393
<p class="firstline">Delete an existing contact group owned by the authenticated user by specifying a contact group resource name.</p>
9494
<p class="toc_element">
95-
<code><a href="#get">get(resourceName, maxMembers=None, x__xgafv=None)</a></code></p>
95+
<code><a href="#get">get(resourceName, groupFields=None, maxMembers=None, x__xgafv=None)</a></code></p>
9696
<p class="firstline">Get a specific contact group owned by the authenticated user by specifying a contact group resource name.</p>
9797
<p class="toc_element">
98-
<code><a href="#list">list(pageSize=None, pageToken=None, syncToken=None, x__xgafv=None)</a></code></p>
98+
<code><a href="#list">list(groupFields=None, pageSize=None, pageToken=None, syncToken=None, x__xgafv=None)</a></code></p>
9999
<p class="firstline">List all contact groups owned by the authenticated user. Members of the contact groups are not populated.</p>
100100
<p class="toc_element">
101101
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -105,10 +105,11 @@ <h2>Instance Methods</h2>
105105
<p class="firstline">Update the name of an existing contact group owned by the authenticated user.</p>
106106
<h3>Method Details</h3>
107107
<div class="method">
108-
<code class="details" id="batchGet">batchGet(maxMembers=None, resourceNames=None, x__xgafv=None)</code>
108+
<code class="details" id="batchGet">batchGet(groupFields=None, maxMembers=None, resourceNames=None, x__xgafv=None)</code>
109109
<pre>Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names.
110110

111111
Args:
112+
groupFields: string, Optional. A field mask to restrict which fields on the group are returned. Defaults to `metadata`, `groupType`, `memberCount`, and `name` if not set or set to empty. Valid fields are: * clientData * groupType * memberCount * metadata * name
112113
maxMembers: integer, Optional. Specifies the maximum number of members to return for each group. Defaults to 0 if not set, which will return zero members.
113114
resourceNames: string, Required. The resource names of the contact groups to get. (repeated)
114115
x__xgafv: string, V1 error format.
@@ -123,11 +124,17 @@ <h3>Method Details</h3>
123124
&quot;responses&quot;: [ # The list of responses for each requested contact group resource.
124125
{ # The response for a specific contact group.
125126
&quot;contactGroup&quot;: { # A contact group. # The contact group.
127+
&quot;clientData&quot;: [ # The group&#x27;s client data.
128+
{ # Arbitrary client data that is populated by clients. Duplicate keys and values are allowed. LINT.IfChange(GroupClientData)
129+
&quot;key&quot;: &quot;A String&quot;, # The client specified key of the client data.
130+
&quot;value&quot;: &quot;A String&quot;, # The client specified value of the client data.
131+
},
132+
],
126133
&quot;etag&quot;: &quot;A String&quot;, # The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource. Used for web cache validation.
127134
&quot;formattedName&quot;: &quot;A String&quot;, # Output only. The name translated and formatted in the viewer&#x27;s account locale or the `Accept-Language` HTTP header locale for system groups names. Group names set by the owner are the same as name.
128135
&quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
129136
&quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
130-
&quot;memberResourceNames&quot;: [ # Output only. The list of contact person resource names that are members of the contact group. The field is not populated for LIST requests and can only be updated through the [ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify).
137+
&quot;memberResourceNames&quot;: [ # Output only. The list of contact person resource names that are members of the contact group. The field is only populated for GET requests and will only return as many members as `maxMembers` in the get request.
131138
&quot;A String&quot;,
132139
],
133140
&quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
@@ -167,11 +174,17 @@ <h3>Method Details</h3>
167174

168175
{ # A request to create a new contact group.
169176
&quot;contactGroup&quot;: { # A contact group. # Required. The contact group to create.
177+
&quot;clientData&quot;: [ # The group&#x27;s client data.
178+
{ # Arbitrary client data that is populated by clients. Duplicate keys and values are allowed. LINT.IfChange(GroupClientData)
179+
&quot;key&quot;: &quot;A String&quot;, # The client specified key of the client data.
180+
&quot;value&quot;: &quot;A String&quot;, # The client specified value of the client data.
181+
},
182+
],
170183
&quot;etag&quot;: &quot;A String&quot;, # The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource. Used for web cache validation.
171184
&quot;formattedName&quot;: &quot;A String&quot;, # Output only. The name translated and formatted in the viewer&#x27;s account locale or the `Accept-Language` HTTP header locale for system groups names. Group names set by the owner are the same as name.
172185
&quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
173186
&quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
174-
&quot;memberResourceNames&quot;: [ # Output only. The list of contact person resource names that are members of the contact group. The field is not populated for LIST requests and can only be updated through the [ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify).
187+
&quot;memberResourceNames&quot;: [ # Output only. The list of contact person resource names that are members of the contact group. The field is only populated for GET requests and will only return as many members as `maxMembers` in the get request.
175188
&quot;A String&quot;,
176189
],
177190
&quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
@@ -181,6 +194,7 @@ <h3>Method Details</h3>
181194
&quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups.
182195
&quot;resourceName&quot;: &quot;A String&quot;, # The resource name for the contact group, assigned by the server. An ASCII string, in the form of `contactGroups/{contact_group_id}`.
183196
},
197+
&quot;readGroupFields&quot;: &quot;A String&quot;, # Optional. A field mask to restrict which fields on the group are returned. Defaults to `metadata`, `groupType`, and `name` if not set or set to empty. Valid fields are: * clientData * groupType * metadata * name
184198
}
185199

186200
x__xgafv: string, V1 error format.
@@ -192,11 +206,17 @@ <h3>Method Details</h3>
192206
An object of the form:
193207

194208
{ # A contact group.
209+
&quot;clientData&quot;: [ # The group&#x27;s client data.
210+
{ # Arbitrary client data that is populated by clients. Duplicate keys and values are allowed. LINT.IfChange(GroupClientData)
211+
&quot;key&quot;: &quot;A String&quot;, # The client specified key of the client data.
212+
&quot;value&quot;: &quot;A String&quot;, # The client specified value of the client data.
213+
},
214+
],
195215
&quot;etag&quot;: &quot;A String&quot;, # The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource. Used for web cache validation.
196216
&quot;formattedName&quot;: &quot;A String&quot;, # Output only. The name translated and formatted in the viewer&#x27;s account locale or the `Accept-Language` HTTP header locale for system groups names. Group names set by the owner are the same as name.
197217
&quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
198218
&quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
199-
&quot;memberResourceNames&quot;: [ # Output only. The list of contact person resource names that are members of the contact group. The field is not populated for LIST requests and can only be updated through the [ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify).
219+
&quot;memberResourceNames&quot;: [ # Output only. The list of contact person resource names that are members of the contact group. The field is only populated for GET requests and will only return as many members as `maxMembers` in the get request.
200220
&quot;A String&quot;,
201221
],
202222
&quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
@@ -228,11 +248,12 @@ <h3>Method Details</h3>
228248
</div>
229249

230250
<div class="method">
231-
<code class="details" id="get">get(resourceName, maxMembers=None, x__xgafv=None)</code>
251+
<code class="details" id="get">get(resourceName, groupFields=None, maxMembers=None, x__xgafv=None)</code>
232252
<pre>Get a specific contact group owned by the authenticated user by specifying a contact group resource name.
233253

234254
Args:
235255
resourceName: string, Required. The resource name of the contact group to get. (required)
256+
groupFields: string, Optional. A field mask to restrict which fields on the group are returned. Defaults to `metadata`, `groupType`, `memberCount`, and `name` if not set or set to empty. Valid fields are: * clientData * groupType * memberCount * metadata * name
236257
maxMembers: integer, Optional. Specifies the maximum number of members to return. Defaults to 0 if not set, which will return zero members.
237258
x__xgafv: string, V1 error format.
238259
Allowed values
@@ -243,11 +264,17 @@ <h3>Method Details</h3>
243264
An object of the form:
244265

245266
{ # A contact group.
267+
&quot;clientData&quot;: [ # The group&#x27;s client data.
268+
{ # Arbitrary client data that is populated by clients. Duplicate keys and values are allowed. LINT.IfChange(GroupClientData)
269+
&quot;key&quot;: &quot;A String&quot;, # The client specified key of the client data.
270+
&quot;value&quot;: &quot;A String&quot;, # The client specified value of the client data.
271+
},
272+
],
246273
&quot;etag&quot;: &quot;A String&quot;, # The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource. Used for web cache validation.
247274
&quot;formattedName&quot;: &quot;A String&quot;, # Output only. The name translated and formatted in the viewer&#x27;s account locale or the `Accept-Language` HTTP header locale for system groups names. Group names set by the owner are the same as name.
248275
&quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
249276
&quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
250-
&quot;memberResourceNames&quot;: [ # Output only. The list of contact person resource names that are members of the contact group. The field is not populated for LIST requests and can only be updated through the [ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify).
277+
&quot;memberResourceNames&quot;: [ # Output only. The list of contact person resource names that are members of the contact group. The field is only populated for GET requests and will only return as many members as `maxMembers` in the get request.
251278
&quot;A String&quot;,
252279
],
253280
&quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
@@ -260,10 +287,11 @@ <h3>Method Details</h3>
260287
</div>
261288

262289
<div class="method">
263-
<code class="details" id="list">list(pageSize=None, pageToken=None, syncToken=None, x__xgafv=None)</code>
290+
<code class="details" id="list">list(groupFields=None, pageSize=None, pageToken=None, syncToken=None, x__xgafv=None)</code>
264291
<pre>List all contact groups owned by the authenticated user. Members of the contact groups are not populated.
265292

266293
Args:
294+
groupFields: string, Optional. A field mask to restrict which fields on the group are returned. Defaults to `metadata`, `groupType`, `memberCount`, and `name` if not set or set to empty. Valid fields are: * clientData * groupType * memberCount * metadata * name
267295
pageSize: integer, Optional. The maximum number of resources to return. Valid values are between 1 and 1000, inclusive. Defaults to 30 if not set or set to 0.
268296
pageToken: string, Optional. The next_page_token value returned from a previous call to [ListContactGroups](/people/api/rest/v1/contactgroups/list). Requests the next page of resources.
269297
syncToken: string, Optional. A sync token, returned by a previous call to `contactgroups.list`. Only resources changed since the sync token was created will be returned.
@@ -278,11 +306,17 @@ <h3>Method Details</h3>
278306
{ # The response to a list contact groups request.
279307
&quot;contactGroups&quot;: [ # The list of contact groups. Members of the contact groups are not populated.
280308
{ # A contact group.
309+
&quot;clientData&quot;: [ # The group&#x27;s client data.
310+
{ # Arbitrary client data that is populated by clients. Duplicate keys and values are allowed. LINT.IfChange(GroupClientData)
311+
&quot;key&quot;: &quot;A String&quot;, # The client specified key of the client data.
312+
&quot;value&quot;: &quot;A String&quot;, # The client specified value of the client data.
313+
},
314+
],
281315
&quot;etag&quot;: &quot;A String&quot;, # The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource. Used for web cache validation.
282316
&quot;formattedName&quot;: &quot;A String&quot;, # Output only. The name translated and formatted in the viewer&#x27;s account locale or the `Accept-Language` HTTP header locale for system groups names. Group names set by the owner are the same as name.
283317
&quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
284318
&quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
285-
&quot;memberResourceNames&quot;: [ # Output only. The list of contact person resource names that are members of the contact group. The field is not populated for LIST requests and can only be updated through the [ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify).
319+
&quot;memberResourceNames&quot;: [ # Output only. The list of contact person resource names that are members of the contact group. The field is only populated for GET requests and will only return as many members as `maxMembers` in the get request.
286320
&quot;A String&quot;,
287321
],
288322
&quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
@@ -324,11 +358,17 @@ <h3>Method Details</h3>
324358

325359
{ # A request to update an existing user contact group. All updated fields will be replaced.
326360
&quot;contactGroup&quot;: { # A contact group. # Required. The contact group to update.
361+
&quot;clientData&quot;: [ # The group&#x27;s client data.
362+
{ # Arbitrary client data that is populated by clients. Duplicate keys and values are allowed. LINT.IfChange(GroupClientData)
363+
&quot;key&quot;: &quot;A String&quot;, # The client specified key of the client data.
364+
&quot;value&quot;: &quot;A String&quot;, # The client specified value of the client data.
365+
},
366+
],
327367
&quot;etag&quot;: &quot;A String&quot;, # The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource. Used for web cache validation.
328368
&quot;formattedName&quot;: &quot;A String&quot;, # Output only. The name translated and formatted in the viewer&#x27;s account locale or the `Accept-Language` HTTP header locale for system groups names. Group names set by the owner are the same as name.
329369
&quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
330370
&quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
331-
&quot;memberResourceNames&quot;: [ # Output only. The list of contact person resource names that are members of the contact group. The field is not populated for LIST requests and can only be updated through the [ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify).
371+
&quot;memberResourceNames&quot;: [ # Output only. The list of contact person resource names that are members of the contact group. The field is only populated for GET requests and will only return as many members as `maxMembers` in the get request.
332372
&quot;A String&quot;,
333373
],
334374
&quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
@@ -338,6 +378,8 @@ <h3>Method Details</h3>
338378
&quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups.
339379
&quot;resourceName&quot;: &quot;A String&quot;, # The resource name for the contact group, assigned by the server. An ASCII string, in the form of `contactGroups/{contact_group_id}`.
340380
},
381+
&quot;readGroupFields&quot;: &quot;A String&quot;, # Optional. A field mask to restrict which fields on the group are returned. Defaults to `metadata`, `groupType`, and `name` if not set or set to empty. Valid fields are: * clientData * groupType * memberCount * metadata * name
382+
&quot;updateGroupFields&quot;: &quot;A String&quot;, # Optional. A field mask to restrict which fields on the group are updated. Multiple fields can be specified by separating them with commas. Defaults to `name` if not set or set to empty. Updated fields are replaced. Valid values are: * clientData * name
341383
}
342384

343385
x__xgafv: string, V1 error format.
@@ -349,11 +391,17 @@ <h3>Method Details</h3>
349391
An object of the form:
350392

351393
{ # A contact group.
394+
&quot;clientData&quot;: [ # The group&#x27;s client data.
395+
{ # Arbitrary client data that is populated by clients. Duplicate keys and values are allowed. LINT.IfChange(GroupClientData)
396+
&quot;key&quot;: &quot;A String&quot;, # The client specified key of the client data.
397+
&quot;value&quot;: &quot;A String&quot;, # The client specified value of the client data.
398+
},
399+
],
352400
&quot;etag&quot;: &quot;A String&quot;, # The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource. Used for web cache validation.
353401
&quot;formattedName&quot;: &quot;A String&quot;, # Output only. The name translated and formatted in the viewer&#x27;s account locale or the `Accept-Language` HTTP header locale for system groups names. Group names set by the owner are the same as name.
354402
&quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
355403
&quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
356-
&quot;memberResourceNames&quot;: [ # Output only. The list of contact person resource names that are members of the contact group. The field is not populated for LIST requests and can only be updated through the [ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify).
404+
&quot;memberResourceNames&quot;: [ # Output only. The list of contact person resource names that are members of the contact group. The field is only populated for GET requests and will only return as many members as `maxMembers` in the get request.
357405
&quot;A String&quot;,
358406
],
359407
&quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.

0 commit comments

Comments
 (0)