[SDK reference](../../../index.md) / [V1](../../index.md) / [Projects](../index.md) / [WithProjectSetIamPolicy](index.md)

# WithProjectSetIamPolicyRequestBuilder

**Kind:** class  
**Namespace:** `Egulu.Sdk.V1.Projects.WithProjectSetIamPolicy`  
**Request path:** `/v1/projects/{project}:setIamPolicy`  

Builds and executes requests for operations under \v1\projects\{project}:setIamPolicy

## Methods

| Signature | Description |
|---|---|
| `Task<Models.DirectoryNamespace.IamPolicy?> PostAsync(Models.DirectoryNamespace.SetIamPolicyRequest body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)` | Only an owner may call it. A stale etag answers 412. |
