GoogleCloudContentwarehouseV1SetAclRequest

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SetAclRequest


Table of Contents ▼

Jump to a specific part of the page:

Description

Request message for DocumentService.SetAcl.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. policy (type: GoogleApi.ContentWarehouse.V1.Model.GoogleIamV1Policy, 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"
  2. projectOwner (type: boolean(), default: nil)
    - For Set Project ACL only. Authorization check for end user will be ignored when project_owner=true.
  3. requestMetadata (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1RequestMetadata, default: nil)
    - The meta information collected about the end user, used to enforce access control for the service.

Type

@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
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SetAclRequest