[[["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-08-25 UTC."],[[["\u003cp\u003eThis API endpoint creates a new LogType resource within a specified project, location, and instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is required to define the location for the new log type, following the format \u003ccode\u003eprojects/{project}/locations/{region}/instances/{instance}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003elogTypeId\u003c/code\u003e query parameter, with a length between 4-63 characters and following the format \u003ccode\u003e/[a-z][0-9]-/\u003c/code\u003e, is mandatory for naming the new log type.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should include a LogType object, and upon success, the response will contain the newly created LogType object as well.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this action requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: logTypes.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\n**Full name**: projects.locations.instances.logTypes.create\n\nCreate LogType.\n\n### HTTP request\n\nChoose a location: \nafrica-south1 asia-northeast1 asia-south1 asia-southeast1 asia-southeast2 australia-southeast1 europe-west12 europe-west2 europe-west3 europe-west6 europe-west9 me-central1 me-central2 me-west1 northamerica-northeast2 southamerica-east1 us eu \n\n\u003cbr /\u003e\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [LogType](/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.logTypes#LogType).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [LogType](/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.logTypes#LogType).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `chronicle.logTypes.create`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]