Creates an attestor, and returns a copy of the new attestor. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the attestor already exists.
HTTP request
POST https://binaryauthorization.googleapis.com/v1alpha2/{parent=projects/*}/attestors
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-12 UTC."],[[["This page details how to create a new Attestor, using a POST request to the specified URL, `https://binaryauthorization.googleapis.com/v1alpha2/{parent=projects/*}/attestors`."],["Creating an Attestor requires you to specify a `parent` path parameter, and an `attestorId` query parameter, along with a request body that is an instance of an Attestor."],["Successful requests return a newly created Attestor instance in the response body, while various error codes such as NOT_FOUND, INVALID_ARGUMENT, or ALREADY_EXISTS may occur."],["Authorization to create an Attestor requires the `binaryauthorization.attestors.create` IAM permission on the parent resource and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]