# CreateAttestorRequest

- [JSON representation](https://docs.cloud.google.com/binary-authorization/docs/reference/rest/Shared.Types/CreateAttestorRequest#SCHEMA_REPRESENTATION)

Request message for \[BinauthzManagementService.CreateAttestor\]\[\].

| JSON representation |
|---|
| ``` { "parent": string, "attestorId": string, "attestor": { object (`https://docs.cloud.google.com/binary-authorization/docs/reference/rest/Shared.Types/Attestor`) } } ``` |

| Fields ||
|---|---|
| `parent` | `string` Required. The parent of this `https://docs.cloud.google.com/binary-authorization/docs/reference/rest/Shared.Types/Attestor`. |
| `attestorId` | `string` Required. The `https://docs.cloud.google.com/binary-authorization/docs/reference/rest/Shared.Types/Attestor` ID. |
| `attestor` | ``object (`https://docs.cloud.google.com/binary-authorization/docs/reference/rest/Shared.Types/Attestor`)`` Required. The initial `https://docs.cloud.google.com/binary-authorization/docs/reference/rest/Shared.Types/Attestor` value. The service will overwrite the `https://docs.cloud.google.com/binary-authorization/docs/reference/rest/Shared.Types/Attestor#FIELDS.name` field with the resource name, in the format `projects/*/attestors/*`. |