public interface SetAclRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getPolicy()
public abstract Policy getPolicy() Required. REQUIRED: The complete policy to be applied to the resource. The size of
the policy is limited to a few 10s of KB.
.google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| com.google.iam.v1.Policy | The policy. |
getPolicyOrBuilder()
public abstract PolicyOrBuilder getPolicyOrBuilder() Required. REQUIRED: The complete policy to be applied to the resource. The size of
the policy is limited to a few 10s of KB.
.google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| com.google.iam.v1.PolicyOrBuilder |
getProjectOwner()
public abstract boolean getProjectOwner()For Set Project ACL only. Authorization check for end user will be ignored when project_owner=true.
bool project_owner = 4;
| Type | Description |
| boolean | The projectOwner. |
getRequestMetadata()
public abstract RequestMetadata getRequestMetadata()The meta information collected about the end user, used to enforce access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
| Type | Description |
| RequestMetadata | The requestMetadata. |
getRequestMetadataOrBuilder()
public abstract RequestMetadataOrBuilder getRequestMetadataOrBuilder()The meta information collected about the end user, used to enforce access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
| Type | Description |
| RequestMetadataOrBuilder |
getResource()
public abstract String getResource()Required. REQUIRED: The resource for which the policy is being requested. Format for document: projects/{project_number}/locations/{location}/documents/{document_id}. Format for project: projects/{project_number}.
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| String | The resource. |
getResourceBytes()
public abstract ByteString getResourceBytes()Required. REQUIRED: The resource for which the policy is being requested. Format for document: projects/{project_number}/locations/{location}/documents/{document_id}. Format for project: projects/{project_number}.
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ByteString | The bytes for resource. |
hasPolicy()
public abstract boolean hasPolicy() Required. REQUIRED: The complete policy to be applied to the resource. The size of
the policy is limited to a few 10s of KB.
.google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| boolean | Whether the policy field is set. |
hasRequestMetadata()
public abstract boolean hasRequestMetadata()The meta information collected about the end user, used to enforce access control for the service.
.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
| Type | Description |
| boolean | Whether the requestMetadata field is set. |