Interface AuditConfigOrBuilder (1.9.1)

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the service field is set.