Debian Codegraph @

docs/dyn/discoveryengine_v1alpha.projects.locations.identityMappingStores.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="discoveryengine_v1alpha.html">Discovery Engine API</a> . <a href="discoveryengine_v1alpha.projects.html">projects</a> . <a href="discoveryengine_v1alpha.projects.locations.html">locations</a> . <a href="discoveryengine_v1alpha.projects.locations.identityMappingStores.html">identityMappingStores</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="discoveryengine_v1alpha.projects.locations.identityMappingStores.operations.html">operations()</a></code>
79 </p>
80 <p class="firstline">Returns the operations Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, cmekConfigName=None, disableCmek=None, identityMappingStoreId=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a new Identity Mapping Store.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes the Identity Mapping Store.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Gets the Identity Mapping Store.</p>
94 <p class="toc_element">
95 <code><a href="#importIdentityMappings">importIdentityMappings(identityMappingStore, body=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Imports a list of Identity Mapping Entries to an Identity Mapping Store.</p>
97 <p class="toc_element">
98 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
99 <p class="firstline">Lists all Identity Mapping Stores.</p>
100 <p class="toc_element">
101 <code><a href="#listIdentityMappings">listIdentityMappings(identityMappingStore, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Lists Identity Mappings in an Identity Mapping Store.</p>
103 <p class="toc_element">
104 <code><a href="#listIdentityMappings_next">listIdentityMappings_next()</a></code></p>
105 <p class="firstline">Retrieves the next page of results.</p>
106 <p class="toc_element">
107 <code><a href="#list_next">list_next()</a></code></p>
108 <p class="firstline">Retrieves the next page of results.</p>
109 <p class="toc_element">
110 <code><a href="#purgeIdentityMappings">purgeIdentityMappings(identityMappingStore, body=None, x__xgafv=None)</a></code></p>
111 <p class="firstline">Purges specified or all Identity Mapping Entries from an Identity Mapping Store.</p>
112 <h3>Method Details</h3>
113 <div class="method">
114 <code class="details" id="close">close()</code>
115 <pre>Close httplib2 connections.</pre>
116 </div>
117
118 <div class="method">
119 <code class="details" id="create">create(parent, body=None, cmekConfigName=None, disableCmek=None, identityMappingStoreId=None, x__xgafv=None)</code>
120 <pre>Creates a new Identity Mapping Store.
121
122 Args:
123 parent: string, Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. (required)
124 body: object, The request body.
125 The object takes the form of:
126
127 { # Identity Mapping Store which contains Identity Mapping Entries.
128 &quot;cmekConfig&quot;: { # Configurations used to enable CMEK data encryption with Cloud KMS keys. # Output only. CMEK-related information for the Identity Mapping Store.
129 &quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
130 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
131 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
132 &quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
133 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
134 &quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
135 &quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
136 { # Metadata for single-regional CMEKs.
137 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
138 },
139 ],
140 &quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
141 },
142 &quot;idpConfig&quot;: { # Identity Provider Config. # Output only. The identity provider configuration this is bound to translate the identity mapping entries within.
143 &quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
144 &quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
145 },
146 &quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
147 },
148 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Input only. The KMS key to be used to protect this Identity Mapping Store at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Identity Mapping Store will be protected by the KMS key, as indicated in the cmek_config field.
149 &quot;name&quot;: &quot;A String&quot;, # Immutable. The full resource name of the identity mapping store. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
150 }
151
152 cmekConfigName: string, Resource name of the CmekConfig to use for protecting this Identity Mapping Store.
153 disableCmek: boolean, Identity Mapping Store without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.
154 identityMappingStoreId: string, Required. The ID of the Identity Mapping Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.
155 x__xgafv: string, V1 error format.
156 Allowed values
157 1 - v1 error format
158 2 - v2 error format
159
160 Returns:
161 An object of the form:
162
163 { # Identity Mapping Store which contains Identity Mapping Entries.
164 &quot;cmekConfig&quot;: { # Configurations used to enable CMEK data encryption with Cloud KMS keys. # Output only. CMEK-related information for the Identity Mapping Store.
165 &quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
166 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
167 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
168 &quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
169 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
170 &quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
171 &quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
172 { # Metadata for single-regional CMEKs.
173 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
174 },
175 ],
176 &quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
177 },
178 &quot;idpConfig&quot;: { # Identity Provider Config. # Output only. The identity provider configuration this is bound to translate the identity mapping entries within.
179 &quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
180 &quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
181 },
182 &quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
183 },
184 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Input only. The KMS key to be used to protect this Identity Mapping Store at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Identity Mapping Store will be protected by the KMS key, as indicated in the cmek_config field.
185 &quot;name&quot;: &quot;A String&quot;, # Immutable. The full resource name of the identity mapping store. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
186 }</pre>
187 </div>
188
189 <div class="method">
190 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
191 <pre>Deletes the Identity Mapping Store.
192
193 Args:
194 name: string, Required. The name of the Identity Mapping Store to delete. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` (required)
195 x__xgafv: string, V1 error format.
196 Allowed values
197 1 - v1 error format
198 2 - v2 error format
199
200 Returns:
201 An object of the form:
202
203 { # This resource represents a long-running operation that is the result of a network API call.
204 &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.
205 &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.
206 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
207 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
208 {
209 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
210 },
211 ],
212 &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.
213 },
214 &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.
215 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
216 },
217 &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}`.
218 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
219 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
220 },
221 }</pre>
222 </div>
223
224 <div class="method">
225 <code class="details" id="get">get(name, x__xgafv=None)</code>
226 <pre>Gets the Identity Mapping Store.
227
228 Args:
229 name: string, Required. The name of the Identity Mapping Store to get. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` (required)
230 x__xgafv: string, V1 error format.
231 Allowed values
232 1 - v1 error format
233 2 - v2 error format
234
235 Returns:
236 An object of the form:
237
238 { # Identity Mapping Store which contains Identity Mapping Entries.
239 &quot;cmekConfig&quot;: { # Configurations used to enable CMEK data encryption with Cloud KMS keys. # Output only. CMEK-related information for the Identity Mapping Store.
240 &quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
241 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
242 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
243 &quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
244 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
245 &quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
246 &quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
247 { # Metadata for single-regional CMEKs.
248 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
249 },
250 ],
251 &quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
252 },
253 &quot;idpConfig&quot;: { # Identity Provider Config. # Output only. The identity provider configuration this is bound to translate the identity mapping entries within.
254 &quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
255 &quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
256 },
257 &quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
258 },
259 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Input only. The KMS key to be used to protect this Identity Mapping Store at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Identity Mapping Store will be protected by the KMS key, as indicated in the cmek_config field.
260 &quot;name&quot;: &quot;A String&quot;, # Immutable. The full resource name of the identity mapping store. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
261 }</pre>
262 </div>
263
264 <div class="method">
265 <code class="details" id="importIdentityMappings">importIdentityMappings(identityMappingStore, body=None, x__xgafv=None)</code>
266 <pre>Imports a list of Identity Mapping Entries to an Identity Mapping Store.
267
268 Args:
269 identityMappingStore: string, Required. The name of the Identity Mapping Store to import Identity Mapping Entries to. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` (required)
270 body: object, The request body.
271 The object takes the form of:
272
273 { # Request message for IdentityMappingStoreService.ImportIdentityMappings
274 &quot;inlineSource&quot;: { # The inline source to import identity mapping entries from. # The inline source to import identity mapping entries from.
275 &quot;identityMappingEntries&quot;: [ # A maximum of 10000 entries can be imported at one time
276 { # Identity Mapping Entry that maps an external identity to an internal identity.
277 &quot;externalIdentity&quot;: &quot;A String&quot;, # Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters.
278 &quot;externalIdentityName&quot;: &quot;A String&quot;, # Optional. The name of the external identity.
279 &quot;groupId&quot;: &quot;A String&quot;, # Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config.
280 &quot;userId&quot;: &quot;A String&quot;, # User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider, user_id is the mapped user identifier configured during the workforcepool config.
281 },
282 ],
283 },
284 }
285
286 x__xgafv: string, V1 error format.
287 Allowed values
288 1 - v1 error format
289 2 - v2 error format
290
291 Returns:
292 An object of the form:
293
294 { # This resource represents a long-running operation that is the result of a network API call.
295 &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.
296 &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.
297 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
298 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
299 {
300 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
301 },
302 ],
303 &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.
304 },
305 &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.
306 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
307 },
308 &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}`.
309 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
310 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
311 },
312 }</pre>
313 </div>
314
315 <div class="method">
316 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
317 <pre>Lists all Identity Mapping Stores.
318
319 Args:
320 parent: string, Required. The parent of the Identity Mapping Stores to list. Format: `projects/{project}/locations/{location}`. (required)
321 pageSize: integer, Maximum number of IdentityMappingStores to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000.
322 pageToken: string, A page token, received from a previous `ListIdentityMappingStores` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIdentityMappingStores` must match the call that provided the page token.
323 x__xgafv: string, V1 error format.
324 Allowed values
325 1 - v1 error format
326 2 - v2 error format
327
328 Returns:
329 An object of the form:
330
331 { # Response message for IdentityMappingStoreService.ListIdentityMappingStores
332 &quot;identityMappingStores&quot;: [ # The Identity Mapping Stores.
333 { # Identity Mapping Store which contains Identity Mapping Entries.
334 &quot;cmekConfig&quot;: { # Configurations used to enable CMEK data encryption with Cloud KMS keys. # Output only. CMEK-related information for the Identity Mapping Store.
335 &quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
336 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
337 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
338 &quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
339 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
340 &quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
341 &quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
342 { # Metadata for single-regional CMEKs.
343 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
344 },
345 ],
346 &quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
347 },
348 &quot;idpConfig&quot;: { # Identity Provider Config. # Output only. The identity provider configuration this is bound to translate the identity mapping entries within.
349 &quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
350 &quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
351 },
352 &quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
353 },
354 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Input only. The KMS key to be used to protect this Identity Mapping Store at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Identity Mapping Store will be protected by the KMS key, as indicated in the cmek_config field.
355 &quot;name&quot;: &quot;A String&quot;, # Immutable. The full resource name of the identity mapping store. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
356 },
357 ],
358 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
359 }</pre>
360 </div>
361
362 <div class="method">
363 <code class="details" id="listIdentityMappings">listIdentityMappings(identityMappingStore, pageSize=None, pageToken=None, x__xgafv=None)</code>
364 <pre>Lists Identity Mappings in an Identity Mapping Store.
365
366 Args:
367 identityMappingStore: string, Required. The name of the Identity Mapping Store to list Identity Mapping Entries in. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` (required)
368 pageSize: integer, Maximum number of IdentityMappings to return. If unspecified, defaults to 2000. The maximum allowed value is 10000. Values above 10000 will be coerced to 10000.
369 pageToken: string, A page token, received from a previous `ListIdentityMappings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIdentityMappings` must match the call that provided the page token.
370 x__xgafv: string, V1 error format.
371 Allowed values
372 1 - v1 error format
373 2 - v2 error format
374
375 Returns:
376 An object of the form:
377
378 { # Response message for IdentityMappingStoreService.ListIdentityMappings
379 &quot;identityMappingEntries&quot;: [ # The Identity Mapping Entries.
380 { # Identity Mapping Entry that maps an external identity to an internal identity.
381 &quot;externalIdentity&quot;: &quot;A String&quot;, # Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters.
382 &quot;externalIdentityName&quot;: &quot;A String&quot;, # Optional. The name of the external identity.
383 &quot;groupId&quot;: &quot;A String&quot;, # Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config.
384 &quot;userId&quot;: &quot;A String&quot;, # User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider, user_id is the mapped user identifier configured during the workforcepool config.
385 },
386 ],
387 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
388 }</pre>
389 </div>
390
391 <div class="method">
392 <code class="details" id="listIdentityMappings_next">listIdentityMappings_next()</code>
393 <pre>Retrieves the next page of results.
394
395 Args:
396 previous_request: The request for the previous page. (required)
397 previous_response: The response from the request for the previous page. (required)
398
399 Returns:
400 A request object that you can call &#x27;execute()&#x27; on to request the next
401 page. Returns None if there are no more items in the collection.
402 </pre>
403 </div>
404
405 <div class="method">
406 <code class="details" id="list_next">list_next()</code>
407 <pre>Retrieves the next page of results.
408
409 Args:
410 previous_request: The request for the previous page. (required)
411 previous_response: The response from the request for the previous page. (required)
412
413 Returns:
414 A request object that you can call &#x27;execute()&#x27; on to request the next
415 page. Returns None if there are no more items in the collection.
416 </pre>
417 </div>
418
419 <div class="method">
420 <code class="details" id="purgeIdentityMappings">purgeIdentityMappings(identityMappingStore, body=None, x__xgafv=None)</code>
421 <pre>Purges specified or all Identity Mapping Entries from an Identity Mapping Store.
422
423 Args:
424 identityMappingStore: string, Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` (required)
425 body: object, The request body.
426 The object takes the form of:
427
428 { # Request message for IdentityMappingStoreService.PurgeIdentityMappings
429 &quot;filter&quot;: &quot;A String&quot;, # Filter matching identity mappings to purge. The eligible field for filtering is: * `update_time`: in ISO 8601 &quot;zulu&quot; format. * `external_id` Examples: * Deleting all identity mappings updated in a time range: `update_time &gt; &quot;2012-04-23T18:25:43.511Z&quot; AND update_time &lt; &quot;2012-04-23T18:30:43.511Z&quot;` * Deleting all identity mappings for a given external_id: `external_id = &quot;id1&quot;` * Deleting all identity mappings inside an identity mapping store: `*` The filtering fields are assumed to have an implicit AND. Should not be used with source. An error will be thrown, if both are provided.
430 &quot;force&quot;: True or False, # Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any identity mappings. This field is only supported for purge with filter. For input source this field is ignored and data will be purged regardless of the value of this field.
431 &quot;inlineSource&quot;: { # The inline source to purge identity mapping entries from. # The inline source to purge identity mapping entries from.
432 &quot;identityMappingEntries&quot;: [ # A maximum of 10000 entries can be purged at one time
433 { # Identity Mapping Entry that maps an external identity to an internal identity.
434 &quot;externalIdentity&quot;: &quot;A String&quot;, # Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters.
435 &quot;externalIdentityName&quot;: &quot;A String&quot;, # Optional. The name of the external identity.
436 &quot;groupId&quot;: &quot;A String&quot;, # Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config.
437 &quot;userId&quot;: &quot;A String&quot;, # User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider, user_id is the mapped user identifier configured during the workforcepool config.
438 },
439 ],
440 },
441 }
442
443 x__xgafv: string, V1 error format.
444 Allowed values
445 1 - v1 error format
446 2 - v2 error format
447
448 Returns:
449 An object of the form:
450
451 { # This resource represents a long-running operation that is the result of a network API call.
452 &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.
453 &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.
454 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
455 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
456 {
457 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
458 },
459 ],
460 &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.
461 },
462 &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.
463 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
464 },
465 &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}`.
466 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
467 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
468 },
469 }</pre>
470 </div>
471
472 </body></html>