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 2025-05-30 UTC."],[[["\u003cp\u003eThis page details how to create a new Attestor, using a POST request to the specified URL, \u003ccode\u003ehttps://binaryauthorization.googleapis.com/v1alpha2/{parent=projects/*}/attestors\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eCreating an Attestor requires you to specify a \u003ccode\u003eparent\u003c/code\u003e path parameter, and an \u003ccode\u003eattestorId\u003c/code\u003e query parameter, along with a request body that is an instance of an Attestor.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful 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.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to create an Attestor requires the \u003ccode\u003ebinaryauthorization.attestors.create\u003c/code\u003e IAM permission on the parent resource and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]