blob: ddec42dab3dec1c0c4c9221e4030034ba4c60485 [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_v1beta1.html">Cloud Identity API</a> . <a href="cloudidentity_v1beta1.groups.html">groups</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="cloudidentity_v1beta1.groups.memberships.html">memberships()</a></code>
79</p>
80<p class="firstline">Returns the memberships Resource.</p>
81
82<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070083 <code><a href="#close">close()</a></code></p>
84<p class="firstline">Close httplib2 connections.</p>
85<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070086 <code><a href="#create">create(body=None, initialGroupConfig=None, x__xgafv=None)</a></code></p>
87<p class="firstline">Creates a `Group`.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070088<p class="toc_element">
89 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070090<p class="firstline">Deletes a `Group`.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070091<p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070093<p class="firstline">Retrieves a `Group`.</p>
94<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080095 <code><a href="#list">list(pageSize=None, pageToken=None, parent=None, view=None, x__xgafv=None)</a></code></p>
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -070096<p class="firstline">Lists the `Group` resources under a customer or namespace.</p>
Dan O'Mearadd494642020-05-01 07:42:23 -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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700100<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800101 <code><a href="#lookup">lookup(groupKey_id=None, groupKey_namespace=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700102<p class="firstline">Looks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a `Group` by its `EntityKey`.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700103<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700104 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
105<p class="firstline">Updates a `Group`.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700106<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800107 <code><a href="#search">search(pageSize=None, pageToken=None, query=None, view=None, x__xgafv=None)</a></code></p>
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700108<p class="firstline">Searches for `Group` resources matching a specified query.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700109<p class="toc_element">
110 <code><a href="#search_next">search_next(previous_request, previous_response)</a></code></p>
111<p class="firstline">Retrieves the next page of results.</p>
112<h3>Method Details</h3>
113<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700114 <code class="details" id="close">close()</code>
115 <pre>Close httplib2 connections.</pre>
116</div>
117
118<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700119 <code class="details" id="create">create(body=None, initialGroupConfig=None, x__xgafv=None)</code>
120 <pre>Creates a `Group`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700121
122Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700123 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700124 The object takes the form of:
125
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700126{ # A group within the Cloud Identity Groups API. A `Group` is a collection of entities, where each entity is either a user, another group, or a service account.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800127 &quot;additionalGroupKeys&quot;: [ # Additional entity key aliases for a Group.
128 { # A unique identifier for an entity in the Cloud Identity Groups API. An entity can represent either a group with an optional `namespace` or a user without a `namespace`. The combination of `id` and `namespace` must be unique; however, the same `id` can be used with different `namespace`s.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800129 &quot;id&quot;: &quot;A String&quot;, # The ID of the entity. For Google-managed entities, the `id` must be the email address of an existing group or user. For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source&#x27;s requirements. Must be unique within a `namespace`.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700130 &quot;namespace&quot;: &quot;A String&quot;, # The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source_id}`.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800131 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800132 ],
133 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the `Group` was created.
134 &quot;description&quot;: &quot;A String&quot;, # An extended description to help users determine the purpose of a `Group`. Must not be longer than 4,096 characters.
135 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the `Group`.
136 &quot;dynamicGroupMetadata&quot;: { # Dynamic group metadata like queries and status. # Optional. Dynamic group metadata like queries and status.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800137 &quot;queries&quot;: [ # Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 100 dynamic groups.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800138 { # Defines a query on a resource.
139 &quot;query&quot;: &quot;A String&quot;, # Query that determines the memberships of the dynamic group. Examples: All users with at least one `organizations.department` of engineering. `user.organizations.exists(org, org.department==&#x27;engineering&#x27;)` All users with at least one location that has `area` of `foo` and `building_id` of `bar`. `user.locations.exists(loc, loc.area==&#x27;foo&#x27; &amp;&amp; loc.building_id==&#x27;bar&#x27;)`
140 &quot;resourceType&quot;: &quot;A String&quot;,
141 },
142 ],
143 &quot;status&quot;: { # The current status of a dynamic group along with timestamp. # Output only. Status of the dynamic group.
144 &quot;status&quot;: &quot;A String&quot;, # Status of the dynamic group.
145 &quot;statusTime&quot;: &quot;A String&quot;, # The latest time at which the dynamic group is guaranteed to be in the given status. If status is `UP_TO_DATE`, the latest time at which the dynamic group was confirmed to be up-to-date. If status is `UPDATING_MEMBERSHIPS`, the time at which dynamic group was created.
146 },
147 },
148 &quot;groupKey&quot;: { # A unique identifier for an entity in the Cloud Identity Groups API. An entity can represent either a group with an optional `namespace` or a user without a `namespace`. The combination of `id` and `namespace` must be unique; however, the same `id` can be used with different `namespace`s. # Required. Immutable. The `EntityKey` of the `Group`.
149 &quot;id&quot;: &quot;A String&quot;, # The ID of the entity. For Google-managed entities, the `id` must be the email address of an existing group or user. For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source&#x27;s requirements. Must be unique within a `namespace`.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700150 &quot;namespace&quot;: &quot;A String&quot;, # The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source_id}`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800151 },
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700152 &quot;labels&quot;: { # Required. One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of `cloudidentity.googleapis.com/groups.discussion_forum` and an empty value. Existing Google Groups can have an additional label with a key of `cloudidentity.googleapis.com/groups.security` and an empty value added to them. **This is an immutable change and the security label cannot be removed once added.** Dynamic groups have a label with a key of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups for Cloud Search have a label with a key of `system/groups/external` and an empty value.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800153 &quot;a_key&quot;: &quot;A String&quot;,
154 },
155 &quot;name&quot;: &quot;A String&quot;, # Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group_id}`.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700156 &quot;parent&quot;: &quot;A String&quot;, # Required. Immutable. The resource name of the entity under which this `Group` resides in the Cloud Identity resource hierarchy. Must be of the form `identitysources/{identity_source_id}` for external- identity-mapped groups or `customers/{customer_id}` for Google Groups. The `customer_id` must begin with &quot;C&quot; (for example, &#x27;C046psxkn&#x27;).
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700157 &quot;posixGroups&quot;: [ # Optional. The POSIX groups associated with the `Group`.
158 { # POSIX Group definition to represent a group in a POSIX compliant system.
159 &quot;gid&quot;: &quot;A String&quot;, # GID of the POSIX group.
160 &quot;name&quot;: &quot;A String&quot;, # Name of the POSIX group.
161 &quot;systemId&quot;: &quot;A String&quot;, # System identifier for which group name and gid apply to. If not specified it will default to empty value.
162 },
163 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800164 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the `Group` was last updated.
165}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700166
Dan O'Mearadd494642020-05-01 07:42:23 -0700167 initialGroupConfig: string, Required. The initial configuration option for the `Group`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700168 Allowed values
169 INITIAL_GROUP_CONFIG_UNSPECIFIED - Default. Should not be used.
170 WITH_INITIAL_OWNER - The end user making the request will be added as the initial owner of the `Group`.
171 EMPTY - An empty group is created without any initial owners. This can only be used by admins of the domain.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700172 x__xgafv: string, V1 error format.
173 Allowed values
174 1 - v1 error format
175 2 - v2 error format
176
177Returns:
178 An object of the form:
179
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700180 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800181 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
182 &quot;error&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 error result of the operation in case of failure or cancellation.
183 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
184 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
185 {
186 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
187 },
188 ],
189 &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.
190 },
191 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
192 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
193 },
194 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
195 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
196 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
197 },
198}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700199</div>
200
201<div class="method">
202 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700203 <pre>Deletes a `Group`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700204
205Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700206 name: string, Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group` to retrieve. Must be of the form `groups/{group_id}`. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700207 x__xgafv: string, V1 error format.
208 Allowed values
209 1 - v1 error format
210 2 - v2 error format
211
212Returns:
213 An object of the form:
214
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700215 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800216 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
217 &quot;error&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 error result of the operation in case of failure or cancellation.
218 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
219 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
220 {
221 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
222 },
223 ],
224 &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.
225 },
226 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
227 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
228 },
229 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
230 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
231 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
232 },
233}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700234</div>
235
236<div class="method">
237 <code class="details" id="get">get(name, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700238 <pre>Retrieves a `Group`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700239
240Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700241 name: string, Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group` to retrieve. Must be of the form `groups/{group_id}`. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700242 x__xgafv: string, V1 error format.
243 Allowed values
244 1 - v1 error format
245 2 - v2 error format
246
247Returns:
248 An object of the form:
249
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700250 { # A group within the Cloud Identity Groups API. A `Group` is a collection of entities, where each entity is either a user, another group, or a service account.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800251 &quot;additionalGroupKeys&quot;: [ # Additional entity key aliases for a Group.
252 { # A unique identifier for an entity in the Cloud Identity Groups API. An entity can represent either a group with an optional `namespace` or a user without a `namespace`. The combination of `id` and `namespace` must be unique; however, the same `id` can be used with different `namespace`s.
253 &quot;id&quot;: &quot;A String&quot;, # The ID of the entity. For Google-managed entities, the `id` must be the email address of an existing group or user. For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source&#x27;s requirements. Must be unique within a `namespace`.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700254 &quot;namespace&quot;: &quot;A String&quot;, # The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source_id}`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800255 },
256 ],
257 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the `Group` was created.
258 &quot;description&quot;: &quot;A String&quot;, # An extended description to help users determine the purpose of a `Group`. Must not be longer than 4,096 characters.
259 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the `Group`.
260 &quot;dynamicGroupMetadata&quot;: { # Dynamic group metadata like queries and status. # Optional. Dynamic group metadata like queries and status.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800261 &quot;queries&quot;: [ # Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 100 dynamic groups.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800262 { # Defines a query on a resource.
263 &quot;query&quot;: &quot;A String&quot;, # Query that determines the memberships of the dynamic group. Examples: All users with at least one `organizations.department` of engineering. `user.organizations.exists(org, org.department==&#x27;engineering&#x27;)` All users with at least one location that has `area` of `foo` and `building_id` of `bar`. `user.locations.exists(loc, loc.area==&#x27;foo&#x27; &amp;&amp; loc.building_id==&#x27;bar&#x27;)`
264 &quot;resourceType&quot;: &quot;A String&quot;,
265 },
266 ],
267 &quot;status&quot;: { # The current status of a dynamic group along with timestamp. # Output only. Status of the dynamic group.
268 &quot;status&quot;: &quot;A String&quot;, # Status of the dynamic group.
269 &quot;statusTime&quot;: &quot;A String&quot;, # The latest time at which the dynamic group is guaranteed to be in the given status. If status is `UP_TO_DATE`, the latest time at which the dynamic group was confirmed to be up-to-date. If status is `UPDATING_MEMBERSHIPS`, the time at which dynamic group was created.
270 },
271 },
272 &quot;groupKey&quot;: { # A unique identifier for an entity in the Cloud Identity Groups API. An entity can represent either a group with an optional `namespace` or a user without a `namespace`. The combination of `id` and `namespace` must be unique; however, the same `id` can be used with different `namespace`s. # Required. Immutable. The `EntityKey` of the `Group`.
273 &quot;id&quot;: &quot;A String&quot;, # The ID of the entity. For Google-managed entities, the `id` must be the email address of an existing group or user. For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source&#x27;s requirements. Must be unique within a `namespace`.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700274 &quot;namespace&quot;: &quot;A String&quot;, # The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source_id}`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800275 },
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700276 &quot;labels&quot;: { # Required. One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of `cloudidentity.googleapis.com/groups.discussion_forum` and an empty value. Existing Google Groups can have an additional label with a key of `cloudidentity.googleapis.com/groups.security` and an empty value added to them. **This is an immutable change and the security label cannot be removed once added.** Dynamic groups have a label with a key of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups for Cloud Search have a label with a key of `system/groups/external` and an empty value.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800277 &quot;a_key&quot;: &quot;A String&quot;,
278 },
279 &quot;name&quot;: &quot;A String&quot;, # Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group_id}`.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700280 &quot;parent&quot;: &quot;A String&quot;, # Required. Immutable. The resource name of the entity under which this `Group` resides in the Cloud Identity resource hierarchy. Must be of the form `identitysources/{identity_source_id}` for external- identity-mapped groups or `customers/{customer_id}` for Google Groups. The `customer_id` must begin with &quot;C&quot; (for example, &#x27;C046psxkn&#x27;).
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700281 &quot;posixGroups&quot;: [ # Optional. The POSIX groups associated with the `Group`.
282 { # POSIX Group definition to represent a group in a POSIX compliant system.
283 &quot;gid&quot;: &quot;A String&quot;, # GID of the POSIX group.
284 &quot;name&quot;: &quot;A String&quot;, # Name of the POSIX group.
285 &quot;systemId&quot;: &quot;A String&quot;, # System identifier for which group name and gid apply to. If not specified it will default to empty value.
286 },
287 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800288 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the `Group` was last updated.
289}</pre>
290</div>
291
292<div class="method">
293 <code class="details" id="list">list(pageSize=None, pageToken=None, parent=None, view=None, x__xgafv=None)</code>
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700294 <pre>Lists the `Group` resources under a customer or namespace.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800295
296Args:
297 pageSize: integer, The maximum number of results to return. Note that the number of results returned may be less than this value even if there are more available results. To fetch all results, clients must continue calling this method repeatedly until the response no longer contains a `next_page_token`. If unspecified, defaults to 200 for `View.BASIC` and to 50 for `View.FULL`. Must not be greater than 1000 for `View.BASIC` or 500 for `View.FULL`.
298 pageToken: string, The `next_page_token` value returned from a previous list request, if any.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700299 parent: string, Required. The parent resource under which to list all `Group` resources. Must be of the form `identitysources/{identity_source_id}` for external- identity-mapped groups or `customers/{customer_id}` for Google Groups. The `customer_id` must begin with &quot;C&quot; (for example, &#x27;C046psxkn&#x27;).
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800300 view: string, The level of detail to be returned. If unspecified, defaults to `View.BASIC`.
301 Allowed values
302 VIEW_UNSPECIFIED - Default. Should not be used.
303 BASIC - Only basic resource information is returned.
304 FULL - All resource information is returned.
305 x__xgafv: string, V1 error format.
306 Allowed values
307 1 - v1 error format
308 2 - v2 error format
309
310Returns:
311 An object of the form:
312
313 { # The response message for GroupsService.ListGroups.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700314 &quot;groups&quot;: [ # The `Group` resources under the specified `parent`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800315 { # A group within the Cloud Identity Groups API. A `Group` is a collection of entities, where each entity is either a user, another group, or a service account.
316 &quot;additionalGroupKeys&quot;: [ # Additional entity key aliases for a Group.
317 { # A unique identifier for an entity in the Cloud Identity Groups API. An entity can represent either a group with an optional `namespace` or a user without a `namespace`. The combination of `id` and `namespace` must be unique; however, the same `id` can be used with different `namespace`s.
318 &quot;id&quot;: &quot;A String&quot;, # The ID of the entity. For Google-managed entities, the `id` must be the email address of an existing group or user. For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source&#x27;s requirements. Must be unique within a `namespace`.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700319 &quot;namespace&quot;: &quot;A String&quot;, # The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source_id}`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800320 },
321 ],
322 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the `Group` was created.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800323 &quot;description&quot;: &quot;A String&quot;, # An extended description to help users determine the purpose of a `Group`. Must not be longer than 4,096 characters.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800324 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the `Group`.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800325 &quot;dynamicGroupMetadata&quot;: { # Dynamic group metadata like queries and status. # Optional. Dynamic group metadata like queries and status.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800326 &quot;queries&quot;: [ # Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 100 dynamic groups.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800327 { # Defines a query on a resource.
328 &quot;query&quot;: &quot;A String&quot;, # Query that determines the memberships of the dynamic group. Examples: All users with at least one `organizations.department` of engineering. `user.organizations.exists(org, org.department==&#x27;engineering&#x27;)` All users with at least one location that has `area` of `foo` and `building_id` of `bar`. `user.locations.exists(loc, loc.area==&#x27;foo&#x27; &amp;&amp; loc.building_id==&#x27;bar&#x27;)`
329 &quot;resourceType&quot;: &quot;A String&quot;,
330 },
331 ],
332 &quot;status&quot;: { # The current status of a dynamic group along with timestamp. # Output only. Status of the dynamic group.
333 &quot;status&quot;: &quot;A String&quot;, # Status of the dynamic group.
334 &quot;statusTime&quot;: &quot;A String&quot;, # The latest time at which the dynamic group is guaranteed to be in the given status. If status is `UP_TO_DATE`, the latest time at which the dynamic group was confirmed to be up-to-date. If status is `UPDATING_MEMBERSHIPS`, the time at which dynamic group was created.
335 },
336 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800337 &quot;groupKey&quot;: { # A unique identifier for an entity in the Cloud Identity Groups API. An entity can represent either a group with an optional `namespace` or a user without a `namespace`. The combination of `id` and `namespace` must be unique; however, the same `id` can be used with different `namespace`s. # Required. Immutable. The `EntityKey` of the `Group`.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800338 &quot;id&quot;: &quot;A String&quot;, # The ID of the entity. For Google-managed entities, the `id` must be the email address of an existing group or user. For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source&#x27;s requirements. Must be unique within a `namespace`.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700339 &quot;namespace&quot;: &quot;A String&quot;, # The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source_id}`.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800340 },
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700341 &quot;labels&quot;: { # Required. One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of `cloudidentity.googleapis.com/groups.discussion_forum` and an empty value. Existing Google Groups can have an additional label with a key of `cloudidentity.googleapis.com/groups.security` and an empty value added to them. **This is an immutable change and the security label cannot be removed once added.** Dynamic groups have a label with a key of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups for Cloud Search have a label with a key of `system/groups/external` and an empty value.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800342 &quot;a_key&quot;: &quot;A String&quot;,
343 },
344 &quot;name&quot;: &quot;A String&quot;, # Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group_id}`.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700345 &quot;parent&quot;: &quot;A String&quot;, # Required. Immutable. The resource name of the entity under which this `Group` resides in the Cloud Identity resource hierarchy. Must be of the form `identitysources/{identity_source_id}` for external- identity-mapped groups or `customers/{customer_id}` for Google Groups. The `customer_id` must begin with &quot;C&quot; (for example, &#x27;C046psxkn&#x27;).
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700346 &quot;posixGroups&quot;: [ # Optional. The POSIX groups associated with the `Group`.
347 { # POSIX Group definition to represent a group in a POSIX compliant system.
348 &quot;gid&quot;: &quot;A String&quot;, # GID of the POSIX group.
349 &quot;name&quot;: &quot;A String&quot;, # Name of the POSIX group.
350 &quot;systemId&quot;: &quot;A String&quot;, # System identifier for which group name and gid apply to. If not specified it will default to empty value.
351 },
352 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800353 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the `Group` was last updated.
354 },
355 ],
356 &quot;nextPageToken&quot;: &quot;A String&quot;, # A continuation token to retrieve the next page of results, or empty if there are no more results available.
357}</pre>
Dan O'Mearadd494642020-05-01 07:42:23 -0700358</div>
359
360<div class="method">
361 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
362 <pre>Retrieves the next page of results.
363
364Args:
365 previous_request: The request for the previous page. (required)
366 previous_response: The response from the request for the previous page. (required)
367
368Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700369 A request object that you can call &#x27;execute()&#x27; on to request the next
Dan O'Mearadd494642020-05-01 07:42:23 -0700370 page. Returns None if there are no more items in the collection.
371 </pre>
372</div>
373
374<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800375 <code class="details" id="lookup">lookup(groupKey_id=None, groupKey_namespace=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700376 <pre>Looks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a `Group` by its `EntityKey`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700377
378Args:
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800379 groupKey_id: string, The ID of the entity. For Google-managed entities, the `id` must be the email address of an existing group or user. For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source&#x27;s requirements. Must be unique within a `namespace`.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700380 groupKey_namespace: string, The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source_id}`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700381 x__xgafv: string, V1 error format.
382 Allowed values
383 1 - v1 error format
384 2 - v2 error format
385
386Returns:
387 An object of the form:
388
Dan O'Mearadd494642020-05-01 07:42:23 -0700389 { # The response message for GroupsService.LookupGroupName.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800390 &quot;name&quot;: &quot;A String&quot;, # Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the looked-up `Group`.
391}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700392</div>
393
394<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700395 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
396 <pre>Updates a `Group`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700397
398Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700399 name: string, Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group_id}`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700400 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700401 The object takes the form of:
402
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700403{ # A group within the Cloud Identity Groups API. A `Group` is a collection of entities, where each entity is either a user, another group, or a service account.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800404 &quot;additionalGroupKeys&quot;: [ # Additional entity key aliases for a Group.
405 { # A unique identifier for an entity in the Cloud Identity Groups API. An entity can represent either a group with an optional `namespace` or a user without a `namespace`. The combination of `id` and `namespace` must be unique; however, the same `id` can be used with different `namespace`s.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800406 &quot;id&quot;: &quot;A String&quot;, # The ID of the entity. For Google-managed entities, the `id` must be the email address of an existing group or user. For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source&#x27;s requirements. Must be unique within a `namespace`.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700407 &quot;namespace&quot;: &quot;A String&quot;, # The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source_id}`.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800408 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800409 ],
410 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the `Group` was created.
411 &quot;description&quot;: &quot;A String&quot;, # An extended description to help users determine the purpose of a `Group`. Must not be longer than 4,096 characters.
412 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the `Group`.
413 &quot;dynamicGroupMetadata&quot;: { # Dynamic group metadata like queries and status. # Optional. Dynamic group metadata like queries and status.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800414 &quot;queries&quot;: [ # Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 100 dynamic groups.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800415 { # Defines a query on a resource.
416 &quot;query&quot;: &quot;A String&quot;, # Query that determines the memberships of the dynamic group. Examples: All users with at least one `organizations.department` of engineering. `user.organizations.exists(org, org.department==&#x27;engineering&#x27;)` All users with at least one location that has `area` of `foo` and `building_id` of `bar`. `user.locations.exists(loc, loc.area==&#x27;foo&#x27; &amp;&amp; loc.building_id==&#x27;bar&#x27;)`
417 &quot;resourceType&quot;: &quot;A String&quot;,
418 },
419 ],
420 &quot;status&quot;: { # The current status of a dynamic group along with timestamp. # Output only. Status of the dynamic group.
421 &quot;status&quot;: &quot;A String&quot;, # Status of the dynamic group.
422 &quot;statusTime&quot;: &quot;A String&quot;, # The latest time at which the dynamic group is guaranteed to be in the given status. If status is `UP_TO_DATE`, the latest time at which the dynamic group was confirmed to be up-to-date. If status is `UPDATING_MEMBERSHIPS`, the time at which dynamic group was created.
423 },
424 },
425 &quot;groupKey&quot;: { # A unique identifier for an entity in the Cloud Identity Groups API. An entity can represent either a group with an optional `namespace` or a user without a `namespace`. The combination of `id` and `namespace` must be unique; however, the same `id` can be used with different `namespace`s. # Required. Immutable. The `EntityKey` of the `Group`.
426 &quot;id&quot;: &quot;A String&quot;, # The ID of the entity. For Google-managed entities, the `id` must be the email address of an existing group or user. For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source&#x27;s requirements. Must be unique within a `namespace`.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700427 &quot;namespace&quot;: &quot;A String&quot;, # The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source_id}`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800428 },
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700429 &quot;labels&quot;: { # Required. One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of `cloudidentity.googleapis.com/groups.discussion_forum` and an empty value. Existing Google Groups can have an additional label with a key of `cloudidentity.googleapis.com/groups.security` and an empty value added to them. **This is an immutable change and the security label cannot be removed once added.** Dynamic groups have a label with a key of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups for Cloud Search have a label with a key of `system/groups/external` and an empty value.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800430 &quot;a_key&quot;: &quot;A String&quot;,
431 },
432 &quot;name&quot;: &quot;A String&quot;, # Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group_id}`.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700433 &quot;parent&quot;: &quot;A String&quot;, # Required. Immutable. The resource name of the entity under which this `Group` resides in the Cloud Identity resource hierarchy. Must be of the form `identitysources/{identity_source_id}` for external- identity-mapped groups or `customers/{customer_id}` for Google Groups. The `customer_id` must begin with &quot;C&quot; (for example, &#x27;C046psxkn&#x27;).
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700434 &quot;posixGroups&quot;: [ # Optional. The POSIX groups associated with the `Group`.
435 { # POSIX Group definition to represent a group in a POSIX compliant system.
436 &quot;gid&quot;: &quot;A String&quot;, # GID of the POSIX group.
437 &quot;name&quot;: &quot;A String&quot;, # Name of the POSIX group.
438 &quot;systemId&quot;: &quot;A String&quot;, # System identifier for which group name and gid apply to. If not specified it will default to empty value.
439 },
440 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800441 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the `Group` was last updated.
442}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700443
yoshi-code-bota933dad2021-07-06 00:26:24 -0700444 updateMask: string, Required. The names of fields to update. May only contain the following fields: `display_name`, `description`, `labels`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700445 x__xgafv: string, V1 error format.
446 Allowed values
447 1 - v1 error format
448 2 - v2 error format
449
450Returns:
451 An object of the form:
452
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700453 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800454 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
455 &quot;error&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 error result of the operation in case of failure or cancellation.
456 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
457 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
458 {
459 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
460 },
461 ],
462 &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.
463 },
464 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
465 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
466 },
467 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
468 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
469 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
470 },
471}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700472</div>
473
474<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800475 <code class="details" id="search">search(pageSize=None, pageToken=None, query=None, view=None, x__xgafv=None)</code>
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700476 <pre>Searches for `Group` resources matching a specified query.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700477
478Args:
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800479 pageSize: integer, The maximum number of results to return. Note that the number of results returned may be less than this value even if there are more available results. To fetch all results, clients must continue calling this method repeatedly until the response no longer contains a `next_page_token`. If unspecified, defaults to 200 for `GroupView.BASIC` and to 50 for `GroupView.FULL`. Must not be greater than 1000 for `GroupView.BASIC` or 500 for `GroupView.FULL`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700480 pageToken: string, The `next_page_token` value returned from a previous search request, if any.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700481 query: string, Required. The search query. Must be specified in [Common Expression Language](https://opensource.google/projects/cel). May only contain equality operators on the parent and inclusion operators on labels (e.g., `parent == &#x27;customers/{customer_id}&#x27; &amp;&amp; &#x27;cloudidentity.googleapis.com/groups.discussion_forum&#x27; in labels`). The `customer_id` must begin with &quot;C&quot; (for example, &#x27;C046psxkn&#x27;).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700482 view: string, The level of detail to be returned. If unspecified, defaults to `View.BASIC`.
483 Allowed values
484 BASIC - Default. Only basic resource information is returned.
485 FULL - All resource information is returned.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700486 x__xgafv: string, V1 error format.
487 Allowed values
488 1 - v1 error format
489 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700490
491Returns:
492 An object of the form:
493
Dan O'Mearadd494642020-05-01 07:42:23 -0700494 { # The response message for GroupsService.SearchGroups.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700495 &quot;groups&quot;: [ # The `Group` resources that match the search query.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800496 { # A group within the Cloud Identity Groups API. A `Group` is a collection of entities, where each entity is either a user, another group, or a service account.
497 &quot;additionalGroupKeys&quot;: [ # Additional entity key aliases for a Group.
498 { # A unique identifier for an entity in the Cloud Identity Groups API. An entity can represent either a group with an optional `namespace` or a user without a `namespace`. The combination of `id` and `namespace` must be unique; however, the same `id` can be used with different `namespace`s.
499 &quot;id&quot;: &quot;A String&quot;, # The ID of the entity. For Google-managed entities, the `id` must be the email address of an existing group or user. For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source&#x27;s requirements. Must be unique within a `namespace`.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700500 &quot;namespace&quot;: &quot;A String&quot;, # The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source_id}`.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800501 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800502 ],
503 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the `Group` was created.
504 &quot;description&quot;: &quot;A String&quot;, # An extended description to help users determine the purpose of a `Group`. Must not be longer than 4,096 characters.
505 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the `Group`.
506 &quot;dynamicGroupMetadata&quot;: { # Dynamic group metadata like queries and status. # Optional. Dynamic group metadata like queries and status.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800507 &quot;queries&quot;: [ # Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 100 dynamic groups.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800508 { # Defines a query on a resource.
509 &quot;query&quot;: &quot;A String&quot;, # Query that determines the memberships of the dynamic group. Examples: All users with at least one `organizations.department` of engineering. `user.organizations.exists(org, org.department==&#x27;engineering&#x27;)` All users with at least one location that has `area` of `foo` and `building_id` of `bar`. `user.locations.exists(loc, loc.area==&#x27;foo&#x27; &amp;&amp; loc.building_id==&#x27;bar&#x27;)`
510 &quot;resourceType&quot;: &quot;A String&quot;,
511 },
512 ],
513 &quot;status&quot;: { # The current status of a dynamic group along with timestamp. # Output only. Status of the dynamic group.
514 &quot;status&quot;: &quot;A String&quot;, # Status of the dynamic group.
515 &quot;statusTime&quot;: &quot;A String&quot;, # The latest time at which the dynamic group is guaranteed to be in the given status. If status is `UP_TO_DATE`, the latest time at which the dynamic group was confirmed to be up-to-date. If status is `UPDATING_MEMBERSHIPS`, the time at which dynamic group was created.
516 },
517 },
518 &quot;groupKey&quot;: { # A unique identifier for an entity in the Cloud Identity Groups API. An entity can represent either a group with an optional `namespace` or a user without a `namespace`. The combination of `id` and `namespace` must be unique; however, the same `id` can be used with different `namespace`s. # Required. Immutable. The `EntityKey` of the `Group`.
519 &quot;id&quot;: &quot;A String&quot;, # The ID of the entity. For Google-managed entities, the `id` must be the email address of an existing group or user. For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source&#x27;s requirements. Must be unique within a `namespace`.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700520 &quot;namespace&quot;: &quot;A String&quot;, # The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source_id}`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800521 },
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700522 &quot;labels&quot;: { # Required. One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of `cloudidentity.googleapis.com/groups.discussion_forum` and an empty value. Existing Google Groups can have an additional label with a key of `cloudidentity.googleapis.com/groups.security` and an empty value added to them. **This is an immutable change and the security label cannot be removed once added.** Dynamic groups have a label with a key of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups for Cloud Search have a label with a key of `system/groups/external` and an empty value.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800523 &quot;a_key&quot;: &quot;A String&quot;,
524 },
525 &quot;name&quot;: &quot;A String&quot;, # Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group_id}`.
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700526 &quot;parent&quot;: &quot;A String&quot;, # Required. Immutable. The resource name of the entity under which this `Group` resides in the Cloud Identity resource hierarchy. Must be of the form `identitysources/{identity_source_id}` for external- identity-mapped groups or `customers/{customer_id}` for Google Groups. The `customer_id` must begin with &quot;C&quot; (for example, &#x27;C046psxkn&#x27;).
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700527 &quot;posixGroups&quot;: [ # Optional. The POSIX groups associated with the `Group`.
528 { # POSIX Group definition to represent a group in a POSIX compliant system.
529 &quot;gid&quot;: &quot;A String&quot;, # GID of the POSIX group.
530 &quot;name&quot;: &quot;A String&quot;, # Name of the POSIX group.
531 &quot;systemId&quot;: &quot;A String&quot;, # System identifier for which group name and gid apply to. If not specified it will default to empty value.
532 },
533 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800534 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the `Group` was last updated.
535 },
536 ],
537 &quot;nextPageToken&quot;: &quot;A String&quot;, # A continuation token to retrieve the next page of results, or empty if there are no more results available.
538}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700539</div>
540
541<div class="method">
542 <code class="details" id="search_next">search_next(previous_request, previous_response)</code>
543 <pre>Retrieves the next page of results.
544
545Args:
546 previous_request: The request for the previous page. (required)
547 previous_response: The response from the request for the previous page. (required)
548
549Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700550 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700551 page. Returns None if there are no more items in the collection.
552 </pre>
553</div>
554
555</body></html>