Class GoogleCloudContentwarehouseV1SetAclRequest
Request message for DocumentService.SetAcl.
Implements
Inherited Members
Namespace: Google.Apis.Contentwarehouse.v1.Data
Assembly: Google.Apis.Contentwarehouse.v1.dll
Syntax
public class GoogleCloudContentwarehouseV1SetAclRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Policy
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"
Declaration
[JsonProperty("policy")]
public virtual GoogleIamV1Policy Policy { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleIamV1Policy |
ProjectOwner
For Set Project ACL only. Authorization check for end user will be ignored when project_owner=true.
Declaration
[JsonProperty("projectOwner")]
public virtual bool? ProjectOwner { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
RequestMetadata
The meta information collected about the end user, used to enforce access control for the service.
Declaration
[JsonProperty("requestMetadata")]
public virtual GoogleCloudContentwarehouseV1RequestMetadata RequestMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudContentwarehouseV1RequestMetadata |