GoogleCloudContentwarehouseV1SetAclRequest

AI Overview😉

  • The potential purpose of this module is to manage access control for documents within Google's Content Warehouse. It sets an Identity and Access Management (IAM) policy for a document, defining who has access to it and under what conditions.
  • This module could impact search results by controlling which documents are accessible to users, and under what conditions. This could lead to more personalized and relevant search results, as users will only see documents they have permission to access. It may also improve the security and integrity of search results by preventing unauthorized access to sensitive documents.
  • To be more favorable for this function, a website could ensure that its documents are properly configured with IAM policies, specifying clear access controls and conditions. This could involve setting up granular permissions, using boolean expressions to define complex access rules, and ensuring that document metadata is accurate and up-to-date. By doing so, the website can help Google's algorithm better understand who should have access to its documents, leading to more accurate and relevant search results.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SetAclRequest (google_api_content_warehouse v0.4.0)

Request message for DocumentService.SetAcl.

Attributes

  • policy (type: GoogleApi.ContentWarehouse.V1.Model.GoogleIamV1Policy.t, default: nil) - Required. REQUIRED: The complete policy to be applied to the resource. The size of the policy is limited to a few 10s of KB. This refers to an Identity and Access (IAM) policy, which specifies access controls for the Document. You can set ACL with condition for projects only. Supported operators are: =, !=, <, <=, >, and >= where the left of the operator is DocumentSchemaId or property name and the right of the operator is a number or a quoted string. You must escape backslash (\) and quote (\") characters. Boolean expressions (AND/OR) are supported up to 3 levels of nesting (for example, "((A AND B AND C) OR D) AND E"), a maximum of 10 comparisons are allowed in the expression. The expression must be < 6000 bytes in length. Sample condition: "DocumentSchemaId = \"some schema id\" OR SchemaId.floatPropertyName >= 10"
  • projectOwner (type: boolean(), default: nil) - For Set Project ACL only. Authorization check for end user will be ignored when project_owner=true.
  • requestMetadata (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1RequestMetadata.t, default: nil) - The meta information collected about the end user, used to enforce access control for the service.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SetAclRequest{
    policy: GoogleApi.ContentWarehouse.V1.Model.GoogleIamV1Policy.t() | nil,
    projectOwner: boolean() | nil,
    requestMetadata:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1RequestMetadata.t()
      | nil
  }

Functions

Link to this function

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.