Method: iamPolicies.queryAuditableServices Stay organized with collections Save and categorize content based on your preferences.
Returns a list of services that allow you to opt into audit logs that are not generated by default.
To learn more about audit logs, see theLogging documentation.
HTTP request
POST https://iam.googleapis.com/v1/iamPolicies:queryAuditableServices
The URL usesgRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{"fullResourceName":string} |
| Fields | |
|---|---|
fullResourceName |
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 |
Response body
A response containing a list of auditable services for a resource.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{"services":[{object ( |
| Fields | |
|---|---|
services[] |
The auditable services for a resource. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/iamhttps://www.googleapis.com/auth/cloud-platform
For more information, see theAuthentication Overview.
AuditableService
Contains information about an auditable service.
| JSON representation |
|---|
{"name":string} |
| Fields | |
|---|---|
name |
Public name of the service. For example, the service name for IAM is 'iam.googleapis.com'. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-21 UTC.