blob: dcc41038a53ecf65e28d1f32e317b0bed195491f [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="cloudidentity_v1.html">Cloud Identity API</a> . <a href="cloudidentity_v1.groups.html">groups</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="cloudidentity_v1.groups.memberships.html">memberships()</a></code>
79</p>
80<p class="firstline">Returns the memberships Resource.</p>
81
82<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070083 <code><a href="#create">create(body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070084<p class="firstline">Creates a Group.</p>
85<p class="toc_element">
86 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
87<p class="firstline">Deletes a Group.</p>
88<p class="toc_element">
89 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
90<p class="firstline">Retrieves a Group.</p>
91<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070092 <code><a href="#list">list(pageSize=None, view=None, parent=None, pageToken=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070093<p class="firstline">Lists groups within a customer or a domain.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070094<p class="toc_element">
95 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
96<p class="firstline">Retrieves the next page of results.</p>
97<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070098 <code><a href="#lookup">lookup(groupKey_id=None, groupKey_namespace=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070099<p class="firstline">Looks up [resource</p>
100<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700101 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700102<p class="firstline">Updates a Group.</p>
103<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700104 <code><a href="#search">search(query=None, view=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700105<p class="firstline">Searches for Groups.</p>
106<p class="toc_element">
107 <code><a href="#search_next">search_next(previous_request, previous_response)</a></code></p>
108<p class="firstline">Retrieves the next page of results.</p>
109<h3>Method Details</h3>
110<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700111 <code class="details" id="create">create(body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700112 <pre>Creates a Group.
113
114Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700115 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700116 The object takes the form of:
117
118{ # Resource representing a Group.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700119 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the Group was last updated.
120 # Output only.
Bu Sun Kim65020912020-05-20 12:08:20 -0700121 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the Group was created.
122 # Output only.
Bu Sun Kim65020912020-05-20 12:08:20 -0700123 &quot;name&quot;: &quot;A String&quot;, # Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the
124 # Group in the format: `groups/{group_id}`, where group_id is the unique ID
125 # assigned to the Group.
126 #
127 # Must be left blank while creating a Group.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700128 &quot;description&quot;: &quot;A String&quot;, # An extended description to help users determine the purpose of a Group. For
129 # example, you can include information about who should join the Group, the
130 # types of messages to send to the Group, links to FAQs about the Group, or
131 # related Groups. Maximum length is 4,096 characters.
132 &quot;parent&quot;: &quot;A String&quot;, # Required. Immutable. The entity under which this Group resides in Cloud Identity resource
133 # hierarchy. Must be set when creating a Group, read-only afterwards.
134 #
135 # Currently allowed types: `identitysources`.
136 &quot;labels&quot;: { # Required. `Required`. Labels for Group resource.
137 # For creating Groups under a namespace, set label key to
138 # &#x27;labels/system/groups/external&#x27; and label value as empty.
139 &quot;a_key&quot;: &quot;A String&quot;,
140 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700141 &quot;groupKey&quot;: { # An EntityKey uniquely identifies an Entity. Namespaces are used to provide # Required. Immutable. EntityKey of the Group.
142 #
143 # Must be set when creating a Group, read-only afterwards.
144 # isolation for IDs. A single ID can be reused across namespaces but the
145 # combination of a namespace and an ID must be unique.
146 &quot;id&quot;: &quot;A String&quot;, # The ID of the entity within the given namespace. The ID must be unique
147 # within its namespace.
148 &quot;namespace&quot;: &quot;A String&quot;, # Namespaces provide isolation for IDs, so an ID only needs to be unique
149 # within its namespace.
150 #
151 # Namespaces are currently only created as part of IdentitySource creation
152 # from Admin Console. A namespace `&quot;identitysources/{identity_source_id}&quot;` is
153 # created corresponding to every Identity Source `identity_source_id`.
154 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700155 &quot;displayName&quot;: &quot;A String&quot;, # The Group&#x27;s display name.
Bu Sun Kim65020912020-05-20 12:08:20 -0700156 }
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700157
158 x__xgafv: string, V1 error format.
159 Allowed values
160 1 - v1 error format
161 2 - v2 error format
162
163Returns:
164 An object of the form:
165
166 { # This resource represents a long-running operation that is the result of a
167 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700168 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700169 # method returns no data on success, such as `Delete`, the response is
170 # `google.protobuf.Empty`. If the original method is standard
171 # `Get`/`Create`/`Update`, the response should be the resource. For other
172 # methods, the response should have the type `XxxResponse`, where `Xxx`
173 # is the original method name. For example, if the original method name
174 # is `TakeSnapshot()`, the inferred response type is
175 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700176 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700177 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700178 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
179 # If `true`, the operation is completed, and either `error` or `response` is
180 # available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700181 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
182 # contains progress information and common metadata such as create time.
183 # Some services might not provide such metadata. Any method that returns a
184 # long-running operation should document the metadata type, if any.
185 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
186 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700187 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
188 # originally returns it. If you use the default HTTP mapping, the
189 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700190 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
191 # different programming environments, including REST APIs and RPC APIs. It is
192 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
193 # three pieces of data: error code, error message, and error details.
194 #
195 # You can find out more about this error model and how to work with it in the
196 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim65020912020-05-20 12:08:20 -0700197 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
198 # message types for APIs to use.
199 {
200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
201 },
202 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700203 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
204 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
205 # user-facing error message should be localized and sent in the
206 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700207 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700208 }</pre>
209</div>
210
211<div class="method">
212 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
213 <pre>Deletes a Group.
214
215Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700216 name: string, Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700217Group in the format: `groups/{group_id}`, where `group_id` is the unique ID
218assigned to the Group. (required)
219 x__xgafv: string, V1 error format.
220 Allowed values
221 1 - v1 error format
222 2 - v2 error format
223
224Returns:
225 An object of the form:
226
227 { # This resource represents a long-running operation that is the result of a
228 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700229 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700230 # method returns no data on success, such as `Delete`, the response is
231 # `google.protobuf.Empty`. If the original method is standard
232 # `Get`/`Create`/`Update`, the response should be the resource. For other
233 # methods, the response should have the type `XxxResponse`, where `Xxx`
234 # is the original method name. For example, if the original method name
235 # is `TakeSnapshot()`, the inferred response type is
236 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700237 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700238 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700239 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
240 # If `true`, the operation is completed, and either `error` or `response` is
241 # available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700242 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
243 # contains progress information and common metadata such as create time.
244 # Some services might not provide such metadata. Any method that returns a
245 # long-running operation should document the metadata type, if any.
246 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
247 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700248 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
249 # originally returns it. If you use the default HTTP mapping, the
250 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700251 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
252 # different programming environments, including REST APIs and RPC APIs. It is
253 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
254 # three pieces of data: error code, error message, and error details.
255 #
256 # You can find out more about this error model and how to work with it in the
257 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim65020912020-05-20 12:08:20 -0700258 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
259 # message types for APIs to use.
260 {
261 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
262 },
263 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700264 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
265 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
266 # user-facing error message should be localized and sent in the
267 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700268 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700269 }</pre>
270</div>
271
272<div class="method">
273 <code class="details" id="get">get(name, x__xgafv=None)</code>
274 <pre>Retrieves a Group.
275
276Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700277 name: string, Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700278Group in the format: `groups/{group_id}`, where `group_id` is the unique ID
279assigned to the Group. (required)
280 x__xgafv: string, V1 error format.
281 Allowed values
282 1 - v1 error format
283 2 - v2 error format
284
285Returns:
286 An object of the form:
287
288 { # Resource representing a Group.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700289 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the Group was last updated.
290 # Output only.
Bu Sun Kim65020912020-05-20 12:08:20 -0700291 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the Group was created.
292 # Output only.
Bu Sun Kim65020912020-05-20 12:08:20 -0700293 &quot;name&quot;: &quot;A String&quot;, # Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the
294 # Group in the format: `groups/{group_id}`, where group_id is the unique ID
295 # assigned to the Group.
296 #
297 # Must be left blank while creating a Group.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700298 &quot;description&quot;: &quot;A String&quot;, # An extended description to help users determine the purpose of a Group. For
299 # example, you can include information about who should join the Group, the
300 # types of messages to send to the Group, links to FAQs about the Group, or
301 # related Groups. Maximum length is 4,096 characters.
302 &quot;parent&quot;: &quot;A String&quot;, # Required. Immutable. The entity under which this Group resides in Cloud Identity resource
303 # hierarchy. Must be set when creating a Group, read-only afterwards.
304 #
305 # Currently allowed types: `identitysources`.
306 &quot;labels&quot;: { # Required. `Required`. Labels for Group resource.
307 # For creating Groups under a namespace, set label key to
308 # &#x27;labels/system/groups/external&#x27; and label value as empty.
309 &quot;a_key&quot;: &quot;A String&quot;,
310 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700311 &quot;groupKey&quot;: { # An EntityKey uniquely identifies an Entity. Namespaces are used to provide # Required. Immutable. EntityKey of the Group.
312 #
313 # Must be set when creating a Group, read-only afterwards.
314 # isolation for IDs. A single ID can be reused across namespaces but the
315 # combination of a namespace and an ID must be unique.
316 &quot;id&quot;: &quot;A String&quot;, # The ID of the entity within the given namespace. The ID must be unique
317 # within its namespace.
318 &quot;namespace&quot;: &quot;A String&quot;, # Namespaces provide isolation for IDs, so an ID only needs to be unique
319 # within its namespace.
320 #
321 # Namespaces are currently only created as part of IdentitySource creation
322 # from Admin Console. A namespace `&quot;identitysources/{identity_source_id}&quot;` is
323 # created corresponding to every Identity Source `identity_source_id`.
324 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700325 &quot;displayName&quot;: &quot;A String&quot;, # The Group&#x27;s display name.
Bu Sun Kim65020912020-05-20 12:08:20 -0700326 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700327</div>
328
329<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700330 <code class="details" id="list">list(pageSize=None, view=None, parent=None, pageToken=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700331 <pre>Lists groups within a customer or a domain.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700332
333Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700334 pageSize: integer, The default page size is 200 (max 1000) for the BASIC view, and 50
335(max 500) for the FULL view.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700336 view: string, Group resource view to be returned. Defaults to [View.BASIC]().
Bu Sun Kim65020912020-05-20 12:08:20 -0700337 parent: string, Required. Customer ID to list all groups from.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700338 pageToken: string, The next_page_token value returned from a previous list request, if any.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700339 x__xgafv: string, V1 error format.
340 Allowed values
341 1 - v1 error format
342 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700343
344Returns:
345 An object of the form:
346
347 { # Response message for ListGroups operation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700348 &quot;groups&quot;: [ # Groups returned in response to list request.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700349 # The results are not sorted.
350 { # Resource representing a Group.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700351 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the Group was last updated.
352 # Output only.
Bu Sun Kim65020912020-05-20 12:08:20 -0700353 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the Group was created.
354 # Output only.
Bu Sun Kim65020912020-05-20 12:08:20 -0700355 &quot;name&quot;: &quot;A String&quot;, # Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the
356 # Group in the format: `groups/{group_id}`, where group_id is the unique ID
357 # assigned to the Group.
358 #
359 # Must be left blank while creating a Group.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700360 &quot;description&quot;: &quot;A String&quot;, # An extended description to help users determine the purpose of a Group. For
361 # example, you can include information about who should join the Group, the
362 # types of messages to send to the Group, links to FAQs about the Group, or
363 # related Groups. Maximum length is 4,096 characters.
364 &quot;parent&quot;: &quot;A String&quot;, # Required. Immutable. The entity under which this Group resides in Cloud Identity resource
365 # hierarchy. Must be set when creating a Group, read-only afterwards.
366 #
367 # Currently allowed types: `identitysources`.
368 &quot;labels&quot;: { # Required. `Required`. Labels for Group resource.
369 # For creating Groups under a namespace, set label key to
370 # &#x27;labels/system/groups/external&#x27; and label value as empty.
371 &quot;a_key&quot;: &quot;A String&quot;,
372 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700373 &quot;groupKey&quot;: { # An EntityKey uniquely identifies an Entity. Namespaces are used to provide # Required. Immutable. EntityKey of the Group.
374 #
375 # Must be set when creating a Group, read-only afterwards.
376 # isolation for IDs. A single ID can be reused across namespaces but the
377 # combination of a namespace and an ID must be unique.
378 &quot;id&quot;: &quot;A String&quot;, # The ID of the entity within the given namespace. The ID must be unique
379 # within its namespace.
380 &quot;namespace&quot;: &quot;A String&quot;, # Namespaces provide isolation for IDs, so an ID only needs to be unique
381 # within its namespace.
382 #
383 # Namespaces are currently only created as part of IdentitySource creation
384 # from Admin Console. A namespace `&quot;identitysources/{identity_source_id}&quot;` is
385 # created corresponding to every Identity Source `identity_source_id`.
386 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700387 &quot;displayName&quot;: &quot;A String&quot;, # The Group&#x27;s display name.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700388 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700389 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700390 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or empty if there are no
391 # more results available for listing.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700392 }</pre>
393</div>
394
395<div class="method">
396 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
397 <pre>Retrieves the next page of results.
398
399Args:
400 previous_request: The request for the previous page. (required)
401 previous_response: The response from the request for the previous page. (required)
402
403Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700404 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700405 page. Returns None if there are no more items in the collection.
406 </pre>
407</div>
408
409<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700410 <code class="details" id="lookup">lookup(groupKey_id=None, groupKey_namespace=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700411 <pre>Looks up [resource
412name](https://cloud.google.com/apis/design/resource_names) of a Group by
413its EntityKey.
414
415Args:
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700416 groupKey_id: string, The ID of the entity within the given namespace. The ID must be unique
417within its namespace.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700418 groupKey_namespace: string, Namespaces provide isolation for IDs, so an ID only needs to be unique
419within its namespace.
420
421Namespaces are currently only created as part of IdentitySource creation
Bu Sun Kim65020912020-05-20 12:08:20 -0700422from Admin Console. A namespace `&quot;identitysources/{identity_source_id}&quot;` is
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700423created corresponding to every Identity Source `identity_source_id`.
424 x__xgafv: string, V1 error format.
425 Allowed values
426 1 - v1 error format
427 2 - v2 error format
428
429Returns:
430 An object of the form:
431
432 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700433 &quot;name&quot;: &quot;A String&quot;, # [Resource name](https://cloud.google.com/apis/design/resource_names) of the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700434 # Group in the format: `groups/{group_id}`, where `group_id` is the unique ID
435 # assigned to the Group.
436 }</pre>
437</div>
438
439<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700440 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700441 <pre>Updates a Group.
442
443Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700444 name: string, Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700445Group in the format: `groups/{group_id}`, where group_id is the unique ID
446assigned to the Group.
447
448Must be left blank while creating a Group. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700449 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700450 The object takes the form of:
451
452{ # Resource representing a Group.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700453 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the Group was last updated.
454 # Output only.
Bu Sun Kim65020912020-05-20 12:08:20 -0700455 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the Group was created.
456 # Output only.
Bu Sun Kim65020912020-05-20 12:08:20 -0700457 &quot;name&quot;: &quot;A String&quot;, # Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the
458 # Group in the format: `groups/{group_id}`, where group_id is the unique ID
459 # assigned to the Group.
460 #
461 # Must be left blank while creating a Group.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700462 &quot;description&quot;: &quot;A String&quot;, # An extended description to help users determine the purpose of a Group. For
463 # example, you can include information about who should join the Group, the
464 # types of messages to send to the Group, links to FAQs about the Group, or
465 # related Groups. Maximum length is 4,096 characters.
466 &quot;parent&quot;: &quot;A String&quot;, # Required. Immutable. The entity under which this Group resides in Cloud Identity resource
467 # hierarchy. Must be set when creating a Group, read-only afterwards.
468 #
469 # Currently allowed types: `identitysources`.
470 &quot;labels&quot;: { # Required. `Required`. Labels for Group resource.
471 # For creating Groups under a namespace, set label key to
472 # &#x27;labels/system/groups/external&#x27; and label value as empty.
473 &quot;a_key&quot;: &quot;A String&quot;,
474 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700475 &quot;groupKey&quot;: { # An EntityKey uniquely identifies an Entity. Namespaces are used to provide # Required. Immutable. EntityKey of the Group.
476 #
477 # Must be set when creating a Group, read-only afterwards.
478 # isolation for IDs. A single ID can be reused across namespaces but the
479 # combination of a namespace and an ID must be unique.
480 &quot;id&quot;: &quot;A String&quot;, # The ID of the entity within the given namespace. The ID must be unique
481 # within its namespace.
482 &quot;namespace&quot;: &quot;A String&quot;, # Namespaces provide isolation for IDs, so an ID only needs to be unique
483 # within its namespace.
484 #
485 # Namespaces are currently only created as part of IdentitySource creation
486 # from Admin Console. A namespace `&quot;identitysources/{identity_source_id}&quot;` is
487 # created corresponding to every Identity Source `identity_source_id`.
488 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700489 &quot;displayName&quot;: &quot;A String&quot;, # The Group&#x27;s display name.
Bu Sun Kim65020912020-05-20 12:08:20 -0700490 }
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700491
Dan O'Mearadd494642020-05-01 07:42:23 -0700492 updateMask: string, Required. Editable fields: `display_name`, `description`
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700493 x__xgafv: string, V1 error format.
494 Allowed values
495 1 - v1 error format
496 2 - v2 error format
497
498Returns:
499 An object of the form:
500
501 { # This resource represents a long-running operation that is the result of a
502 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700503 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700504 # method returns no data on success, such as `Delete`, the response is
505 # `google.protobuf.Empty`. If the original method is standard
506 # `Get`/`Create`/`Update`, the response should be the resource. For other
507 # methods, the response should have the type `XxxResponse`, where `Xxx`
508 # is the original method name. For example, if the original method name
509 # is `TakeSnapshot()`, the inferred response type is
510 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700511 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700512 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700513 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
514 # If `true`, the operation is completed, and either `error` or `response` is
515 # available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700516 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
517 # contains progress information and common metadata such as create time.
518 # Some services might not provide such metadata. Any method that returns a
519 # long-running operation should document the metadata type, if any.
520 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
521 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700522 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
523 # originally returns it. If you use the default HTTP mapping, the
524 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700525 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
526 # different programming environments, including REST APIs and RPC APIs. It is
527 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
528 # three pieces of data: error code, error message, and error details.
529 #
530 # You can find out more about this error model and how to work with it in the
531 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim65020912020-05-20 12:08:20 -0700532 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
533 # message types for APIs to use.
534 {
535 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
536 },
537 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700538 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
539 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
540 # user-facing error message should be localized and sent in the
541 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700542 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700543 }</pre>
544</div>
545
546<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700547 <code class="details" id="search">search(query=None, view=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700548 <pre>Searches for Groups.
549
550Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700551 query: string, Required. `Required`. Query string for performing search on groups. Users can search
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700552on parent and label attributes of groups.
Bu Sun Kim65020912020-05-20 12:08:20 -0700553EXACT match (&#x27;==&#x27;) is supported on parent, and CONTAINS match (&#x27;in&#x27;) is
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700554supported on labels.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700555 view: string, Group resource view to be returned. Defaults to [View.BASIC]().
556 pageSize: integer, The default page size is 200 (max 1000) for the BASIC view, and 50
557(max 500) for the FULL view.
558 pageToken: string, The next_page_token value returned from a previous search request, if any.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700559 x__xgafv: string, V1 error format.
560 Allowed values
561 1 - v1 error format
562 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700563
564Returns:
565 An object of the form:
566
567 {
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700568 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or empty if there are no
569 # more results available for specified query.
Bu Sun Kim65020912020-05-20 12:08:20 -0700570 &quot;groups&quot;: [ # List of Groups satisfying the search query.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700571 { # Resource representing a Group.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700572 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the Group was last updated.
573 # Output only.
Bu Sun Kim65020912020-05-20 12:08:20 -0700574 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the Group was created.
575 # Output only.
Bu Sun Kim65020912020-05-20 12:08:20 -0700576 &quot;name&quot;: &quot;A String&quot;, # Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the
577 # Group in the format: `groups/{group_id}`, where group_id is the unique ID
578 # assigned to the Group.
579 #
580 # Must be left blank while creating a Group.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700581 &quot;description&quot;: &quot;A String&quot;, # An extended description to help users determine the purpose of a Group. For
582 # example, you can include information about who should join the Group, the
583 # types of messages to send to the Group, links to FAQs about the Group, or
584 # related Groups. Maximum length is 4,096 characters.
585 &quot;parent&quot;: &quot;A String&quot;, # Required. Immutable. The entity under which this Group resides in Cloud Identity resource
586 # hierarchy. Must be set when creating a Group, read-only afterwards.
587 #
588 # Currently allowed types: `identitysources`.
589 &quot;labels&quot;: { # Required. `Required`. Labels for Group resource.
590 # For creating Groups under a namespace, set label key to
591 # &#x27;labels/system/groups/external&#x27; and label value as empty.
592 &quot;a_key&quot;: &quot;A String&quot;,
593 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700594 &quot;groupKey&quot;: { # An EntityKey uniquely identifies an Entity. Namespaces are used to provide # Required. Immutable. EntityKey of the Group.
595 #
596 # Must be set when creating a Group, read-only afterwards.
597 # isolation for IDs. A single ID can be reused across namespaces but the
598 # combination of a namespace and an ID must be unique.
599 &quot;id&quot;: &quot;A String&quot;, # The ID of the entity within the given namespace. The ID must be unique
600 # within its namespace.
601 &quot;namespace&quot;: &quot;A String&quot;, # Namespaces provide isolation for IDs, so an ID only needs to be unique
602 # within its namespace.
603 #
604 # Namespaces are currently only created as part of IdentitySource creation
605 # from Admin Console. A namespace `&quot;identitysources/{identity_source_id}&quot;` is
606 # created corresponding to every Identity Source `identity_source_id`.
607 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700608 &quot;displayName&quot;: &quot;A String&quot;, # The Group&#x27;s display name.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700609 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700610 ],
611 }</pre>
612</div>
613
614<div class="method">
615 <code class="details" id="search_next">search_next(previous_request, previous_response)</code>
616 <pre>Retrieves the next page of results.
617
618Args:
619 previous_request: The request for the previous page. (required)
620 previous_response: The response from the request for the previous page. (required)
621
622Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700623 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700624 page. Returns None if there are no more items in the collection.
625 </pre>
626</div>
627
628</body></html>