Method: iamPolicies.queryAuditableServices

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 Google API HTTP annotation syntax.

Request body

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

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(AuditableService)
    }
  ]
}
Fields
services[]

object(AuditableService)

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

string

Public name of the service. For example, the service name for Cloud IAM is 'iam.googleapis.com'.

Try it!

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Identity and Access Management