Debian Codegraph @

docs/dyn/people_v1.contactGroups.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="people_v1.html">People API</a> . <a href="people_v1.contactGroups.html">contactGroups</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="people_v1.contactGroups.members.html">members()</a></code>
79 </p>
80 <p class="firstline">Returns the members Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#batchGet">batchGet(groupFields=None, maxMembers=None, resourceNames=None, x__xgafv=None)</a></code></p>
84 <p class="firstline">Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names.</p>
85 <p class="toc_element">
86 <code><a href="#close">close()</a></code></p>
87 <p class="firstline">Close httplib2 connections.</p>
88 <p class="toc_element">
89 <code><a href="#create">create(body=None, x__xgafv=None)</a></code></p>
90 <p class="firstline">Create a new contact group owned by the authenticated user. Created contact group names must be unique to the users contact groups. Attempting to create a group with a duplicate name will return a HTTP 409 error. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.</p>
91 <p class="toc_element">
92 <code><a href="#delete">delete(resourceName, deleteContacts=None, x__xgafv=None)</a></code></p>
93 <p class="firstline">Delete an existing contact group owned by the authenticated user by specifying a contact group resource name. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.</p>
94 <p class="toc_element">
95 <code><a href="#get">get(resourceName, groupFields=None, maxMembers=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Get a specific contact group owned by the authenticated user by specifying a contact group resource name.</p>
97 <p class="toc_element">
98 <code><a href="#list">list(groupFields=None, pageSize=None, pageToken=None, syncToken=None, x__xgafv=None)</a></code></p>
99 <p class="firstline">List all contact groups owned by the authenticated user. Members of the contact groups are not populated.</p>
100 <p class="toc_element">
101 <code><a href="#list_next">list_next()</a></code></p>
102 <p class="firstline">Retrieves the next page of results.</p>
103 <p class="toc_element">
104 <code><a href="#update">update(resourceName, body=None, x__xgafv=None)</a></code></p>
105 <p class="firstline">Update the name of an existing contact group owned by the authenticated user. Updated contact group names must be unique to the users contact groups. Attempting to create a group with a duplicate name will return a HTTP 409 error. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.</p>
106 <h3>Method Details</h3>
107 <div class="method">
108 <code class="details" id="batchGet">batchGet(groupFields=None, maxMembers=None, resourceNames=None, x__xgafv=None)</code>
109 <pre>Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names.
110
111 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
113 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.
114 resourceNames: string, Required. The resource names of the contact groups to get. There is a maximum of 200 resource names. (repeated)
115 x__xgafv: string, V1 error format.
116 Allowed values
117 1 - v1 error format
118 2 - v2 error format
119
120 Returns:
121 An object of the form:
122
123 { # The response to a batch get contact groups request.
124 &quot;responses&quot;: [ # The list of responses for each requested contact group resource.
125 { # The response for a specific contact group.
126 &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.
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 ],
133 &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.
134 &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.
135 &quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
136 &quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
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.
138 &quot;A String&quot;,
139 ],
140 &quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
141 &quot;deleted&quot;: True or False, # Output only. True if the contact group resource has been deleted. Populated only for [`ListContactGroups`](/people/api/rest/v1/contactgroups/list) requests that include a sync token.
142 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the group was last updated.
143 },
144 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups. For [`contactGroups.create`](/people/api/rest/v1/contactGroups/create) or [`contactGroups.update`](/people/api/rest/v1/contactGroups/update) the name must be unique to the users contact groups. Attempting to create a group with a duplicate name will return a HTTP 409 error.
145 &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}`.
146 },
147 &quot;requestedResourceName&quot;: &quot;A String&quot;, # The original requested resource name.
148 &quot;status&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The status of the response.
149 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
150 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
151 {
152 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
153 },
154 ],
155 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
156 },
157 },
158 ],
159 }</pre>
160 </div>
161
162 <div class="method">
163 <code class="details" id="close">close()</code>
164 <pre>Close httplib2 connections.</pre>
165 </div>
166
167 <div class="method">
168 <code class="details" id="create">create(body=None, x__xgafv=None)</code>
169 <pre>Create a new contact group owned by the authenticated user. Created contact group names must be unique to the users contact groups. Attempting to create a group with a duplicate name will return a HTTP 409 error. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.
170
171 Args:
172 body: object, The request body.
173 The object takes the form of:
174
175 { # A request to create a new contact group.
176 &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.
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 ],
183 &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.
184 &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.
185 &quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
186 &quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
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.
188 &quot;A String&quot;,
189 ],
190 &quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
191 &quot;deleted&quot;: True or False, # Output only. True if the contact group resource has been deleted. Populated only for [`ListContactGroups`](/people/api/rest/v1/contactgroups/list) requests that include a sync token.
192 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the group was last updated.
193 },
194 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups. For [`contactGroups.create`](/people/api/rest/v1/contactGroups/create) or [`contactGroups.update`](/people/api/rest/v1/contactGroups/update) the name must be unique to the users contact groups. Attempting to create a group with a duplicate name will return a HTTP 409 error.
195 &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}`.
196 },
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
198 }
199
200 x__xgafv: string, V1 error format.
201 Allowed values
202 1 - v1 error format
203 2 - v2 error format
204
205 Returns:
206 An object of the form:
207
208 { # 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.
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 ],
215 &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.
216 &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.
217 &quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
218 &quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
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.
220 &quot;A String&quot;,
221 ],
222 &quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
223 &quot;deleted&quot;: True or False, # Output only. True if the contact group resource has been deleted. Populated only for [`ListContactGroups`](/people/api/rest/v1/contactgroups/list) requests that include a sync token.
224 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the group was last updated.
225 },
226 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups. For [`contactGroups.create`](/people/api/rest/v1/contactGroups/create) or [`contactGroups.update`](/people/api/rest/v1/contactGroups/update) the name must be unique to the users contact groups. Attempting to create a group with a duplicate name will return a HTTP 409 error.
227 &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}`.
228 }</pre>
229 </div>
230
231 <div class="method">
232 <code class="details" id="delete">delete(resourceName, deleteContacts=None, x__xgafv=None)</code>
233 <pre>Delete an existing contact group owned by the authenticated user by specifying a contact group resource name. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.
234
235 Args:
236 resourceName: string, Required. The resource name of the contact group to delete. (required)
237 deleteContacts: boolean, Optional. Set to true to also delete the contacts in the specified group.
238 x__xgafv: string, V1 error format.
239 Allowed values
240 1 - v1 error format
241 2 - v2 error format
242
243 Returns:
244 An object of the form:
245
246 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
247 }</pre>
248 </div>
249
250 <div class="method">
251 <code class="details" id="get">get(resourceName, groupFields=None, maxMembers=None, x__xgafv=None)</code>
252 <pre>Get a specific contact group owned by the authenticated user by specifying a contact group resource name.
253
254 Args:
255 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
257 maxMembers: integer, Optional. Specifies the maximum number of members to return. Defaults to 0 if not set, which will return zero members.
258 x__xgafv: string, V1 error format.
259 Allowed values
260 1 - v1 error format
261 2 - v2 error format
262
263 Returns:
264 An object of the form:
265
266 { # 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.
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 ],
273 &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.
274 &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.
275 &quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
276 &quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
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.
278 &quot;A String&quot;,
279 ],
280 &quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
281 &quot;deleted&quot;: True or False, # Output only. True if the contact group resource has been deleted. Populated only for [`ListContactGroups`](/people/api/rest/v1/contactgroups/list) requests that include a sync token.
282 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the group was last updated.
283 },
284 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups. For [`contactGroups.create`](/people/api/rest/v1/contactGroups/create) or [`contactGroups.update`](/people/api/rest/v1/contactGroups/update) the name must be unique to the users contact groups. Attempting to create a group with a duplicate name will return a HTTP 409 error.
285 &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}`.
286 }</pre>
287 </div>
288
289 <div class="method">
290 <code class="details" id="list">list(groupFields=None, pageSize=None, pageToken=None, syncToken=None, x__xgafv=None)</code>
291 <pre>List all contact groups owned by the authenticated user. Members of the contact groups are not populated.
292
293 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
295 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.
296 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.
297 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.
298 x__xgafv: string, V1 error format.
299 Allowed values
300 1 - v1 error format
301 2 - v2 error format
302
303 Returns:
304 An object of the form:
305
306 { # The response to a list contact groups request.
307 &quot;contactGroups&quot;: [ # The list of contact groups. Members of the contact groups are not populated.
308 { # 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.
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 ],
315 &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.
316 &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.
317 &quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
318 &quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
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.
320 &quot;A String&quot;,
321 ],
322 &quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
323 &quot;deleted&quot;: True or False, # Output only. True if the contact group resource has been deleted. Populated only for [`ListContactGroups`](/people/api/rest/v1/contactgroups/list) requests that include a sync token.
324 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the group was last updated.
325 },
326 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups. For [`contactGroups.create`](/people/api/rest/v1/contactGroups/create) or [`contactGroups.update`](/people/api/rest/v1/contactGroups/update) the name must be unique to the users contact groups. Attempting to create a group with a duplicate name will return a HTTP 409 error.
327 &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}`.
328 },
329 ],
330 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token that can be used to retrieve the next page of results.
331 &quot;nextSyncToken&quot;: &quot;A String&quot;, # The token that can be used to retrieve changes since the last request.
332 &quot;totalItems&quot;: 42, # The total number of items in the list without pagination.
333 }</pre>
334 </div>
335
336 <div class="method">
337 <code class="details" id="list_next">list_next()</code>
338 <pre>Retrieves the next page of results.
339
340 Args:
341 previous_request: The request for the previous page. (required)
342 previous_response: The response from the request for the previous page. (required)
343
344 Returns:
345 A request object that you can call &#x27;execute()&#x27; on to request the next
346 page. Returns None if there are no more items in the collection.
347 </pre>
348 </div>
349
350 <div class="method">
351 <code class="details" id="update">update(resourceName, body=None, x__xgafv=None)</code>
352 <pre>Update the name of an existing contact group owned by the authenticated user. Updated contact group names must be unique to the users contact groups. Attempting to create a group with a duplicate name will return a HTTP 409 error. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.
353
354 Args:
355 resourceName: string, The resource name for the contact group, assigned by the server. An ASCII string, in the form of `contactGroups/{contact_group_id}`. (required)
356 body: object, The request body.
357 The object takes the form of:
358
359 { # A request to update an existing user contact group. All updated fields will be replaced.
360 &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.
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 ],
367 &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.
368 &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.
369 &quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
370 &quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
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.
372 &quot;A String&quot;,
373 ],
374 &quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
375 &quot;deleted&quot;: True or False, # Output only. True if the contact group resource has been deleted. Populated only for [`ListContactGroups`](/people/api/rest/v1/contactgroups/list) requests that include a sync token.
376 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the group was last updated.
377 },
378 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups. For [`contactGroups.create`](/people/api/rest/v1/contactGroups/create) or [`contactGroups.update`](/people/api/rest/v1/contactGroups/update) the name must be unique to the users contact groups. Attempting to create a group with a duplicate name will return a HTTP 409 error.
379 &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}`.
380 },
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
383 }
384
385 x__xgafv: string, V1 error format.
386 Allowed values
387 1 - v1 error format
388 2 - v2 error format
389
390 Returns:
391 An object of the form:
392
393 { # 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.
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 ],
400 &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.
401 &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.
402 &quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
403 &quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
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.
405 &quot;A String&quot;,
406 ],
407 &quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
408 &quot;deleted&quot;: True or False, # Output only. True if the contact group resource has been deleted. Populated only for [`ListContactGroups`](/people/api/rest/v1/contactgroups/list) requests that include a sync token.
409 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the group was last updated.
410 },
411 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups. For [`contactGroups.create`](/people/api/rest/v1/contactGroups/create) or [`contactGroups.update`](/people/api/rest/v1/contactGroups/update) the name must be unique to the users contact groups. Attempting to create a group with a duplicate name will return a HTTP 409 error.
412 &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}`.
413 }</pre>
414 </div>
415
416 </body></html>