blob: 9394f3e76c6203f592b2827b858211e76af3311c [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070083 <code><a href="#batchGet">batchGet(resourceNames=None, maxMembers=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084<p class="firstline">Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070085<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070086 <code><a href="#create">create(body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070087<p class="firstline">Create a new contact group owned by the authenticated user.</p>
88<p class="toc_element">
89 <code><a href="#delete">delete(resourceName, deleteContacts=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070090<p class="firstline">Delete an existing contact group owned by the authenticated user by specifying a contact group resource name.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070091<p class="toc_element">
92 <code><a href="#get">get(resourceName, maxMembers=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070093<p class="firstline">Get a specific contact group owned by the authenticated user by specifying a contact group resource name.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070094<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070095 <code><a href="#list">list(syncToken=None, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070096<p class="firstline">List all contact groups owned by the authenticated user. Members of the contact groups are not populated.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070097<p class="toc_element">
98 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
99<p class="firstline">Retrieves the next page of results.</p>
100<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700101 <code><a href="#update">update(resourceName, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700102<p class="firstline">Update the name of an existing contact group owned by the authenticated user.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700103<h3>Method Details</h3>
104<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700105 <code class="details" id="batchGet">batchGet(resourceNames=None, maxMembers=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700106 <pre>Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700107
108Args:
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700109 resourceNames: string, Required. The resource names of the contact groups to get. (repeated)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700110 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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700111 x__xgafv: string, V1 error format.
112 Allowed values
113 1 - v1 error format
114 2 - v2 error format
115
116Returns:
117 An object of the form:
118
119 { # The response to a batch get contact groups request.
Bu Sun Kim65020912020-05-20 12:08:20 -0700120 &quot;responses&quot;: [ # The list of responses for each requested contact group resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700121 { # The response for a specific contact group.
Bu Sun Kim65020912020-05-20 12:08:20 -0700122 &quot;requestedResourceName&quot;: &quot;A String&quot;, # The original requested resource name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700123 &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.
124 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700125 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700126 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700127 },
128 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700129 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700130 &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.
131 },
132 &quot;contactGroup&quot;: { # A contact group. # The contact group.
133 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups.
134 &quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
135 &quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
136 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the group was last updated.
137 &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.
138 },
139 &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.
140 &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).
141 &quot;A String&quot;,
142 ],
143 &quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
144 &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}`.
145 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700146 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700147 },
148 ],
149 }</pre>
150</div>
151
152<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700153 <code class="details" id="create">create(body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700154 <pre>Create a new contact group owned by the authenticated user.
155
156Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700157 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700158 The object takes the form of:
159
160{ # A request to create a new contact group.
Bu Sun Kim65020912020-05-20 12:08:20 -0700161 &quot;contactGroup&quot;: { # A contact group. # Required. The contact group to create.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700162 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups.
163 &quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
164 &quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
165 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the group was last updated.
166 &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.
167 },
168 &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.
169 &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).
Bu Sun Kim65020912020-05-20 12:08:20 -0700170 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700171 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700172 &quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
173 &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}`.
174 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700175 },
176 }
177
178 x__xgafv: string, V1 error format.
179 Allowed values
180 1 - v1 error format
181 2 - v2 error format
182
183Returns:
184 An object of the form:
185
186 { # A contact group.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700187 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups.
188 &quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
189 &quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
190 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the group was last updated.
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 },
193 &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.
194 &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).
Bu Sun Kim65020912020-05-20 12:08:20 -0700195 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700196 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700197 &quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
198 &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}`.
199 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700200 }</pre>
201</div>
202
203<div class="method">
204 <code class="details" id="delete">delete(resourceName, deleteContacts=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700205 <pre>Delete an existing contact group owned by the authenticated user by specifying a contact group resource name.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700206
207Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700208 resourceName: string, Required. The resource name of the contact group to delete. (required)
209 deleteContacts: boolean, Optional. Set to true to also delete the contacts in the specified group.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700210 x__xgafv: string, V1 error format.
211 Allowed values
212 1 - v1 error format
213 2 - v2 error format
214
215Returns:
216 An object of the form:
217
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700218 { # 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); } The JSON representation for `Empty` is empty JSON object `{}`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700219 }</pre>
220</div>
221
222<div class="method">
223 <code class="details" id="get">get(resourceName, maxMembers=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700224 <pre>Get a specific contact group owned by the authenticated user by specifying a contact group resource name.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700225
226Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700227 resourceName: string, Required. The resource name of the contact group to get. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700228 maxMembers: integer, Optional. Specifies the maximum number of members to return. Defaults to 0 if not set, which will return zero members.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700229 x__xgafv: string, V1 error format.
230 Allowed values
231 1 - v1 error format
232 2 - v2 error format
233
234Returns:
235 An object of the form:
236
237 { # A contact group.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700238 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups.
239 &quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
240 &quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
241 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the group was last updated.
242 &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.
243 },
244 &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.
245 &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).
Bu Sun Kim65020912020-05-20 12:08:20 -0700246 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700247 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700248 &quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
249 &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}`.
250 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700251 }</pre>
252</div>
253
254<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700255 <code class="details" id="list">list(syncToken=None, pageToken=None, pageSize=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700256 <pre>List all contact groups owned by the authenticated user. Members of the contact groups are not populated.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700257
258Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700259 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.
260 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.
261 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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700262 x__xgafv: string, V1 error format.
263 Allowed values
264 1 - v1 error format
265 2 - v2 error format
266
267Returns:
268 An object of the form:
269
270 { # The response to a list contact groups request.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700271 &quot;nextSyncToken&quot;: &quot;A String&quot;, # The token that can be used to retrieve changes since the last request.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700272 &quot;totalItems&quot;: 42, # The total number of items in the list without pagination.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700273 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token that can be used to retrieve the next page of results.
274 &quot;contactGroups&quot;: [ # The list of contact groups. Members of the contact groups are not populated.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700275 { # A contact group.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700276 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups.
277 &quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
278 &quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
279 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the group was last updated.
280 &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.
281 },
282 &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.
283 &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).
Bu Sun Kim65020912020-05-20 12:08:20 -0700284 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700285 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700286 &quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
287 &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}`.
288 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700289 },
290 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700291 }</pre>
292</div>
293
294<div class="method">
295 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
296 <pre>Retrieves the next page of results.
297
298Args:
299 previous_request: The request for the previous page. (required)
300 previous_response: The response from the request for the previous page. (required)
301
302Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700303 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700304 page. Returns None if there are no more items in the collection.
305 </pre>
306</div>
307
308<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700309 <code class="details" id="update">update(resourceName, body=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700310 <pre>Update the name of an existing contact group owned by the authenticated user.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700311
312Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700313 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)
Dan O'Mearadd494642020-05-01 07:42:23 -0700314 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700315 The object takes the form of:
316
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700317{ # A request to update an existing user contact group. All updated fields will be replaced.
Bu Sun Kim65020912020-05-20 12:08:20 -0700318 &quot;contactGroup&quot;: { # A contact group. # Required. The contact group to update.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700319 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups.
320 &quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
321 &quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
322 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the group was last updated.
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 },
325 &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.
326 &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).
Bu Sun Kim65020912020-05-20 12:08:20 -0700327 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700328 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700329 &quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
330 &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}`.
331 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700332 },
333 }
334
335 x__xgafv: string, V1 error format.
336 Allowed values
337 1 - v1 error format
338 2 - v2 error format
339
340Returns:
341 An object of the form:
342
343 { # A contact group.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700344 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups.
345 &quot;groupType&quot;: &quot;A String&quot;, # Output only. The contact group type.
346 &quot;metadata&quot;: { # The metadata about a contact group. # Output only. Metadata about the contact group.
347 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the group was last updated.
348 &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.
349 },
350 &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.
351 &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).
Bu Sun Kim65020912020-05-20 12:08:20 -0700352 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700353 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700354 &quot;memberCount&quot;: 42, # Output only. The total number of contacts in the group irrespective of max members in specified in the request.
355 &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}`.
356 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700357 }</pre>
358</div>
359
360</body></html>