The request body contains data with the following structure:
JSON representation
{"fullResourceName": string}
Fields
fullResourceName
string
Required. The full resource name to query from the list of auditable services.
The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id my-project will be named //cloudresourcemanager.googleapis.com/projects/my-project.
Response body
A response containing a list of auditable services for a resource.
If successful, the response body contains data with the following structure:
[[["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-21 UTC."],[[["\u003cp\u003eThis endpoint retrieves a list of services that offer optional audit logs, which are not generated by default.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a full resource name to identify the resource for which auditable services are being queried.\u003c/p\u003e\n"],["\u003cp\u003eThe response body includes a list of \u003ccode\u003eAuditableService\u003c/code\u003e objects, each containing the public name of an auditable service.\u003c/p\u003e\n"],["\u003cp\u003eTo use this endpoint, one must have either the \u003ccode\u003ehttps://www.googleapis.com/auth/iam\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a POST request to \u003ccode\u003ehttps://iam.googleapis.com/v1/iamPolicies:queryAuditableServices\u003c/code\u003e, using gRPC Transcoding syntax.\u003c/p\u003e\n"]]],[],null,["# Method: iamPolicies.queryAuditableServices\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.QueryAuditableServicesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [AuditableService](#AuditableService)\n - [JSON representation](#AuditableService.SCHEMA_REPRESENTATION)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nReturns a list of services that allow you to opt into audit logs that are not generated by default.\n\nTo learn more about audit logs, see the [Logging documentation](https://cloud.google.com/logging/docs/audit).\n\n### HTTP request\n\n`POST https://iam.googleapis.com/v1/iamPolicies:queryAuditableServices`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nA response containing a list of auditable services for a resource.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/iam`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\nAuditableService\n----------------\n\nContains information about an auditable service."]]