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/v1beta1/{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 endpoint creates a new Attestor within a specified project, returning a copy of the newly created Attestor upon success.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses a POST method to a specific URL structure that includes a project as a path parameter, in addition to the requirement of an attestor ID as a query parameter.\u003c/p\u003e\n"],["\u003cp\u003eCreating an Attestor requires the \u003ccode\u003ebinaryauthorization.attestors.create\u003c/code\u003e IAM permission on the specified project and utilizes the request body for the Attestor instance details.\u003c/p\u003e\n"],["\u003cp\u003eThe request must include the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for proper authorization.\u003c/p\u003e\n"],["\u003cp\u003ePossible error responses include NOT_FOUND if the project does not exist, INVALID_ARGUMENT if the request is malformed, or ALREADY_EXISTS if an Attestor with the same ID is already present.\u003c/p\u003e\n"]]],[],null,[]]