blob: 04ac9906af309c5cf50ddb86a52572934118a139 [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">
yoshi-code-botb6dc1b92021-03-02 11:49:08 -080083 <code><a href="#batchGet">batchGet(groupFields=None, maxMembers=None, resourceNames=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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070086 <code><a href="#close">close()</a></code></p>
87<p class="firstline">Close httplib2 connections.</p>
88<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070089 <code><a href="#create">create(body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070090<p class="firstline">Create a new contact group owned by the authenticated user.</p>
91<p class="toc_element">
92 <code><a href="#delete">delete(resourceName, deleteContacts=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070093<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 -070094<p class="toc_element">
yoshi-code-botb6dc1b92021-03-02 11:49:08 -080095 <code><a href="#get">get(resourceName, groupFields=None, maxMembers=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070096<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 -070097<p class="toc_element">
yoshi-code-botb6dc1b92021-03-02 11:49:08 -080098 <code><a href="#list">list(groupFields=None, pageSize=None, pageToken=None, syncToken=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070099<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 -0700100<p class="toc_element">
101 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
102<p class="firstline">Retrieves the next page of results.</p>
103<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700104 <code><a href="#update">update(resourceName, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700105<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 -0700106<h3>Method Details</h3>
107<div class="method">
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800108 <code class="details" id="batchGet">batchGet(groupFields=None, maxMembers=None, resourceNames=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700109 <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 -0700110
111Args:
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800112 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
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700113 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800114 resourceNames: string, Required. The resource names of the contact groups to get. (repeated)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700115 x__xgafv: string, V1 error format.
116 Allowed values
117 1 - v1 error format
118 2 - v2 error format
119
120Returns:
121 An object of the form:
122
123 { # The response to a batch get contact groups request.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800124 &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.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800127 &quot;clientData&quot;: [ # The group&#x27;s client data.
yoshi-code-bot69706592021-03-03 03:54:02 -0800128 { # Arbitrary client data that is populated by clients. Duplicate keys and values are allowed.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800129 &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 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800133 &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.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800137 &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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800138 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800143 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800144 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups.
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}`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700146 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800147 &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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700160</div>
161
162<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700163 <code class="details" id="close">close()</code>
164 <pre>Close httplib2 connections.</pre>
165</div>
166
167<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700168 <code class="details" id="create">create(body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700169 <pre>Create a new contact group owned by the authenticated user.
170
171Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700172 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700173 The object takes the form of:
174
175{ # A request to create a new contact group.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800176 &quot;contactGroup&quot;: { # A contact group. # Required. The contact group to create.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800177 &quot;clientData&quot;: [ # The group&#x27;s client data.
yoshi-code-bot69706592021-03-03 03:54:02 -0800178 { # Arbitrary client data that is populated by clients. Duplicate keys and values are allowed.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800179 &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 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800183 &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.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800187 &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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800188 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700193 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800194 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups.
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 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800197 &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
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800198}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700199
200 x__xgafv: string, V1 error format.
201 Allowed values
202 1 - v1 error format
203 2 - v2 error format
204
205Returns:
206 An object of the form:
207
208 { # A contact group.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800209 &quot;clientData&quot;: [ # The group&#x27;s client data.
yoshi-code-bot69706592021-03-03 03:54:02 -0800210 { # Arbitrary client data that is populated by clients. Duplicate keys and values are allowed.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800211 &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 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800215 &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.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800219 &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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800220 &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.
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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700229</div>
230
231<div class="method">
232 <code class="details" id="delete">delete(resourceName, deleteContacts=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700233 <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 -0700234
235Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700236 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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700238 x__xgafv: string, V1 error format.
239 Allowed values
240 1 - v1 error format
241 2 - v2 error format
242
243Returns:
244 An object of the form:
245
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700246 { # 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 `{}`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800247}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700248</div>
249
250<div class="method">
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800251 <code class="details" id="get">get(resourceName, groupFields=None, maxMembers=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700252 <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 -0700253
254Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700255 resourceName: string, Required. The resource name of the contact group to get. (required)
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800256 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
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700257 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 -0700258 x__xgafv: string, V1 error format.
259 Allowed values
260 1 - v1 error format
261 2 - v2 error format
262
263Returns:
264 An object of the form:
265
266 { # A contact group.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800267 &quot;clientData&quot;: [ # The group&#x27;s client data.
yoshi-code-bot69706592021-03-03 03:54:02 -0800268 { # Arbitrary client data that is populated by clients. Duplicate keys and values are allowed.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800269 &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 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800273 &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.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800277 &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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800278 &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.
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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700287</div>
288
289<div class="method">
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800290 <code class="details" id="list">list(groupFields=None, pageSize=None, pageToken=None, syncToken=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700291 <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 -0700292
293Args:
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800294 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
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800295 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 Kimd059ad82020-07-22 17:02:09 -0700296 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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800297 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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700298 x__xgafv: string, V1 error format.
299 Allowed values
300 1 - v1 error format
301 2 - v2 error format
302
303Returns:
304 An object of the form:
305
306 { # The response to a list contact groups request.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800307 &quot;contactGroups&quot;: [ # The list of contact groups. Members of the contact groups are not populated.
308 { # A contact group.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800309 &quot;clientData&quot;: [ # The group&#x27;s client data.
yoshi-code-bot69706592021-03-03 03:54:02 -0800310 { # Arbitrary client data that is populated by clients. Duplicate keys and values are allowed.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800311 &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 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800315 &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.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800319 &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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800320 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700325 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800326 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups.
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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700334</div>
335
336<div class="method">
337 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
338 <pre>Retrieves the next page of results.
339
340Args:
341 previous_request: The request for the previous page. (required)
342 previous_response: The response from the request for the previous page. (required)
343
344Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700345 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700346 page. Returns None if there are no more items in the collection.
347 </pre>
348</div>
349
350<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700351 <code class="details" id="update">update(resourceName, body=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700352 <pre>Update the name of an existing contact group owned by the authenticated user.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700353
354Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700355 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 -0700356 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700357 The object takes the form of:
358
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700359{ # A request to update an existing user contact group. All updated fields will be replaced.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800360 &quot;contactGroup&quot;: { # A contact group. # Required. The contact group to update.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800361 &quot;clientData&quot;: [ # The group&#x27;s client data.
yoshi-code-bot69706592021-03-03 03:54:02 -0800362 { # Arbitrary client data that is populated by clients. Duplicate keys and values are allowed.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800363 &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 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800367 &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.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800371 &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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800372 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700377 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800378 &quot;name&quot;: &quot;A String&quot;, # The contact group name set by the group owner or a system provided name for system groups.
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 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800381 &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
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800383}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700384
385 x__xgafv: string, V1 error format.
386 Allowed values
387 1 - v1 error format
388 2 - v2 error format
389
390Returns:
391 An object of the form:
392
393 { # A contact group.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800394 &quot;clientData&quot;: [ # The group&#x27;s client data.
yoshi-code-bot69706592021-03-03 03:54:02 -0800395 { # Arbitrary client data that is populated by clients. Duplicate keys and values are allowed.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800396 &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 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800400 &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.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800404 &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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800405 &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.
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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700414</div>
415
416</body></html>