- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- DirectorySource
- MemberCheck
Checks members for Engine.feature_policies against the project's directory, as EngineService.UpdateEngine does when it saves them, and saves nothing.
HTTP request
POST https://discoveryengine.googleapis.com/v1alpha/{name=projects/*/locations/*/collections/*/engines/*}:checkFeaturePolicyMembers The URLs use gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The engine resource name. Format: |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"members": [
{
object ( |
| Fields | |
|---|---|
members[] |
Required. The members to check, in the form a policy takes them. At least 1 and at most 100. |
Response body
Response for EngineService.CheckFeaturePolicyMembers method.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "directorySource": enum ( |
| Fields | |
|---|---|
directorySource |
Where the project's groups are looked up. |
memberChecks[] |
One result per requested member, in request order. Members are checked independently, so two emails for the same Google group both pass. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/discoveryengine.readwritehttps://www.googleapis.com/auth/discoveryengine.serving.readwrite
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
discoveryengine.engines.update
For more information, see the IAM documentation.
DirectorySource
Where the project's groups are looked up. Computed from the project's identity setup on each request.
| Enums | |
|---|---|
DIRECTORY_SOURCE_UNSPECIFIED |
The source couldn't be determined; every group is CHECK_FAILED. |
GOOGLE |
Google identity (Workspace or Cloud Identity). Groups are emails. |
SCIM |
Workforce Identity Federation with SCIM groups in the project's workforce pool. |
NONE |
Workforce Identity Federation without SCIM groups: no directory to check against. |
MemberCheck
The result for one requested member.
| JSON representation |
|---|
{ "member": { object ( |
| Fields | |
|---|---|
member |
The member as |
status |
OK when the member is valid and, for a group, in the directory. Otherwise INVALID_ARGUMENT for a malformed member or a group the directory doesn't have, and UNAVAILABLE for a Google group the directory couldn't be asked about. |