[ Web Proxy ]
URL:
Viewing: https://cloud.google.com/service-directory/docs/audit-logging [Back]  [Original]

Service Directory audit logging  |  Google Cloud Documentation Skip to main content
Google Cloud Documentation [Google Cloud Documentation]
Send feedback

Service Directory audit logging Stay organized with collections Save and categorize content based on your preferences.

This document describes audit logging for Service Directory. Google Cloud services generate audit logs that record administrative and access activities within your Google Cloud resources. For more information about Cloud Audit Logs, see the following:

Service name

Service Directory audit logs use the service name servicedirectory.googleapis.com. Filter for this service:

    protoPayload.serviceName="servicedirectory.googleapis.com"
  

Methods by permission type

Each IAM permission has a type property, whose value is an enum that can be one of four values: ADMIN_READ, ADMIN_WRITE, DATA_READ, or DATA_WRITE. When you call a method, Service Directory generates an audit log whose category is dependent on the type property of the permission required to perform the method. Methods that require an IAM permission with the type property value of DATA_READ, DATA_WRITE, or ADMIN_READ generate Data Access audit logs. Methods that require an IAM permission with the type property value of ADMIN_WRITE generate Admin Activity audit logs.

API methods in the following list that are marked with (LRO) are long-running operations (LROs). These methods usually generate two audit log entries: one when the operation starts and another when it ends. For more information see Audit logs for long-running operations.
Permission type Methods
ADMIN_READ google.cloud.location.Locations.GetLocation
google.cloud.location.Locations.ListLocations
google.cloud.servicedirectory.v1.RegistrationService.GetIamPolicy
google.cloud.servicedirectory.v1.RegistrationService.GetNamespace
google.cloud.servicedirectory.v1.RegistrationService.ListNamespaces
google.cloud.servicedirectory.v1beta1.RegistrationService.GetIamPolicy
google.cloud.servicedirectory.v1beta1.RegistrationService.GetNamespace
google.cloud.servicedirectory.v1beta1.RegistrationService.ListNamespaces
ADMIN_WRITE google.cloud.servicedirectory.v1.RegistrationService.CreateNamespace
google.cloud.servicedirectory.v1.RegistrationService.DeleteNamespace
google.cloud.servicedirectory.v1.RegistrationService.SetIamPolicy
google.cloud.servicedirectory.v1.RegistrationService.UpdateNamespace
google.cloud.servicedirectory.v1beta1.RegistrationService.CreateNamespace
google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteNamespace
google.cloud.servicedirectory.v1beta1.RegistrationService.SetIamPolicy
google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateNamespace
DATA_READ google.cloud.servicedirectory.v1.LookupService.ResolveService
google.cloud.servicedirectory.v1.RegistrationService.GetEndpoint
google.cloud.servicedirectory.v1.RegistrationService.GetService
google.cloud.servicedirectory.v1.RegistrationService.ListEndpoints
google.cloud.servicedirectory.v1.RegistrationService.ListServices
google.cloud.servicedirectory.v1beta1.LookupService.ResolveService
google.cloud.servicedirectory.v1beta1.RegistrationService.GetEndpoint
google.cloud.servicedirectory.v1beta1.RegistrationService.GetService
google.cloud.servicedirectory.v1beta1.RegistrationService.ListEndpoints
google.cloud.servicedirectory.v1beta1.RegistrationService.ListServices
DATA_WRITE google.cloud.servicedirectory.v1.RegistrationService.CreateEndpoint
google.cloud.servicedirectory.v1.RegistrationService.CreateService
google.cloud.servicedirectory.v1.RegistrationService.DeleteEndpoint
google.cloud.servicedirectory.v1.RegistrationService.DeleteService
google.cloud.servicedirectory.v1.RegistrationService.UpdateEndpoint
google.cloud.servicedirectory.v1.RegistrationService.UpdateService
google.cloud.servicedirectory.v1beta1.RegistrationService.CreateEndpoint
google.cloud.servicedirectory.v1beta1.RegistrationService.CreateService
google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteEndpoint
google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteService
google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateEndpoint
google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateService

API interface audit logs

For information about how and which permissions are evaluated for each method, see the Identity and Access Management documentation for Service Directory.

google.cloud.location.Locations

The following audit logs are associated with methods belonging to google.cloud.location.Locations.

GetLocation

ListLocations

google.cloud.servicedirectory.v1.LookupService

The following audit logs are associated with methods belonging to google.cloud.servicedirectory.v1.LookupService.

ResolveService

google.cloud.servicedirectory.v1.RegistrationService

The following audit logs are associated with methods belonging to google.cloud.servicedirectory.v1.RegistrationService.

CreateEndpoint

CreateNamespace

CreateService

DeleteEndpoint

DeleteNamespace

DeleteService

GetEndpoint

GetIamPolicy

GetNamespace

GetService

ListEndpoints

ListNamespaces

ListServices

SetIamPolicy

UpdateEndpoint

UpdateNamespace

UpdateService

google.cloud.servicedirectory.v1beta1.LookupService

The following audit logs are associated with methods belonging to google.cloud.servicedirectory.v1beta1.LookupService.

ResolveService

google.cloud.servicedirectory.v1beta1.RegistrationService

The following audit logs are associated with methods belonging to google.cloud.servicedirectory.v1beta1.RegistrationService.

CreateEndpoint

CreateNamespace

CreateService

DeleteEndpoint

DeleteNamespace

DeleteService

GetEndpoint

GetIamPolicy

GetNamespace

GetService

ListEndpoints

ListNamespaces

ListServices

SetIamPolicy

UpdateEndpoint

UpdateNamespace

UpdateService

Methods that don't produce audit logs

A method might not produce audit logs for one or more of the following reasons:

The following methods don't produce audit logs:

Send feedback

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-08-11 UTC.

Need to tell us more? [[["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 2026-08-11 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page