Returns a list of services that support service level audit logging configuration for the given resource.
HTTP request
POST https://iam.googleapis.com/v1/iamPolicies:queryAuditableServices
The URL uses gRPC 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
If successful, the response body contains data with the following structure:
A response containing a list of auditable services for a resource.
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/iam
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication 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 Cloud IAM is 'iam.googleapis.com'. |