Interface AuditConfigOrBuilder (1.58.1)

publicinterface AuditConfigOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuditLogConfigs(int index)

publicabstractAuditLogConfiggetAuditLogConfigs(intindex)

The configuration for logging of each type of permission.

repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3;

Parameter
Name Description
index int
Returns
Type Description
AuditLogConfig

getAuditLogConfigsCount()

publicabstractintgetAuditLogConfigsCount()

The configuration for logging of each type of permission.

repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3;

Returns
Type Description
int

getAuditLogConfigsList()

publicabstractList<AuditLogConfig>getAuditLogConfigsList()

The configuration for logging of each type of permission.

repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3;

Returns
Type Description
List<AuditLogConfig>

getAuditLogConfigsOrBuilder(int index)

publicabstractAuditLogConfigOrBuildergetAuditLogConfigsOrBuilder(intindex)

The configuration for logging of each type of permission.

repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3;

Parameter
Name Description
index int
Returns
Type Description
AuditLogConfigOrBuilder

getAuditLogConfigsOrBuilderList()

publicabstractList<?extendsAuditLogConfigOrBuilder>getAuditLogConfigsOrBuilderList()

The configuration for logging of each type of permission.

repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3;

Returns
Type Description
List<? extends com.google.iam.v1.AuditLogConfigOrBuilder>

getService()

publicabstractStringgetService()

Specifies a service that will be enabled for audit logging. For example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a special value that covers all services.

string service = 1;

Returns
Type Description
String

The service.

getServiceBytes()

publicabstractByteStringgetServiceBytes()

Specifies a service that will be enabled for audit logging. For example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a special value that covers all services.

string service = 1;

Returns
Type Description
ByteString

The bytes for service.

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 2025年11月19日 UTC.