Interface AuditConfigOrBuilder (1.63.0)

public interface AuditConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuditLogConfigs(int index)

public abstract AuditLogConfig getAuditLogConfigs(int index)

The configuration for logging of each type of permission.

repeated .google.cloud.compute.v1.AuditLogConfig audit_log_configs = 488420626;

Parameter
Name Description
index int
Returns
Type Description
AuditLogConfig

getAuditLogConfigsCount()

public abstract int getAuditLogConfigsCount()

The configuration for logging of each type of permission.

repeated .google.cloud.compute.v1.AuditLogConfig audit_log_configs = 488420626;

Returns
Type Description
int

getAuditLogConfigsList()

public abstract List<AuditLogConfig> getAuditLogConfigsList()

The configuration for logging of each type of permission.

repeated .google.cloud.compute.v1.AuditLogConfig audit_log_configs = 488420626;

Returns
Type Description
List<AuditLogConfig>

getAuditLogConfigsOrBuilder(int index)

public abstract AuditLogConfigOrBuilder getAuditLogConfigsOrBuilder(int index)

The configuration for logging of each type of permission.

repeated .google.cloud.compute.v1.AuditLogConfig audit_log_configs = 488420626;

Parameter
Name Description
index int
Returns
Type Description
AuditLogConfigOrBuilder

getAuditLogConfigsOrBuilderList()

public abstract List<? extends AuditLogConfigOrBuilder> getAuditLogConfigsOrBuilderList()

The configuration for logging of each type of permission.

repeated .google.cloud.compute.v1.AuditLogConfig audit_log_configs = 488420626;

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

getExemptedMembers(int index)

public abstract String getExemptedMembers(int index)

This is deprecated and has no effect. Do not use.

repeated string exempted_members = 232615576;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The exemptedMembers at the given index.

getExemptedMembersBytes(int index)

public abstract ByteString getExemptedMembersBytes(int index)

This is deprecated and has no effect. Do not use.

repeated string exempted_members = 232615576;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the exemptedMembers at the given index.

getExemptedMembersCount()

public abstract int getExemptedMembersCount()

This is deprecated and has no effect. Do not use.

repeated string exempted_members = 232615576;

Returns
Type Description
int

The count of exemptedMembers.

getExemptedMembersList()

public abstract List<String> getExemptedMembersList()

This is deprecated and has no effect. Do not use.

repeated string exempted_members = 232615576;

Returns
Type Description
List<String>

A list containing the exemptedMembers.

getService()

public abstract String getService()

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.

optional string service = 373540533;

Returns
Type Description
String

The service.

getServiceBytes()

public abstract ByteString getServiceBytes()

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.

optional string service = 373540533;

Returns
Type Description
ByteString

The bytes for service.

hasService()

public abstract boolean hasService()

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.

optional string service = 373540533;

Returns
Type Description
boolean

Whether the service field is set.