Package com.google.cloud.compute.v1
Interface AuditConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuditConfig,AuditConfig.Builder
@Generated
public interface AuditConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAuditLogConfigs(int index) The configuration for logging of each type of permission.intThe configuration for logging of each type of permission.The configuration for logging of each type of permission.getAuditLogConfigsOrBuilder(int index) The configuration for logging of each type of permission.List<? extends AuditLogConfigOrBuilder>The configuration for logging of each type of permission.getExemptedMembers(int index) repeated string exempted_members = 232615576;com.google.protobuf.ByteStringgetExemptedMembersBytes(int index) repeated string exempted_members = 232615576;intrepeated string exempted_members = 232615576;repeated string exempted_members = 232615576;Specifies a service that will be enabled for audit logging.com.google.protobuf.ByteStringSpecifies a service that will be enabled for audit logging.booleanSpecifies a service that will be enabled for audit logging.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAuditLogConfigsList
List<AuditLogConfig> getAuditLogConfigsList()The configuration for logging of each type of permission.
repeated .google.cloud.compute.v1.AuditLogConfig audit_log_configs = 488420626; -
getAuditLogConfigs
The configuration for logging of each type of permission.
repeated .google.cloud.compute.v1.AuditLogConfig audit_log_configs = 488420626; -
getAuditLogConfigsCount
int getAuditLogConfigsCount()The configuration for logging of each type of permission.
repeated .google.cloud.compute.v1.AuditLogConfig audit_log_configs = 488420626; -
getAuditLogConfigsOrBuilderList
List<? extends AuditLogConfigOrBuilder> getAuditLogConfigsOrBuilderList()The configuration for logging of each type of permission.
repeated .google.cloud.compute.v1.AuditLogConfig audit_log_configs = 488420626; -
getAuditLogConfigsOrBuilder
The configuration for logging of each type of permission.
repeated .google.cloud.compute.v1.AuditLogConfig audit_log_configs = 488420626; -
getExemptedMembersList
repeated string exempted_members = 232615576;- Returns:
- A list containing the exemptedMembers.
-
getExemptedMembersCount
int getExemptedMembersCount()repeated string exempted_members = 232615576;- Returns:
- The count of exemptedMembers.
-
getExemptedMembers
repeated string exempted_members = 232615576;- Parameters:
index- The index of the element to return.- Returns:
- The exemptedMembers at the given index.
-
getExemptedMembersBytes
com.google.protobuf.ByteString getExemptedMembersBytes(int index) repeated string exempted_members = 232615576;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the exemptedMembers at the given index.
-
hasService
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:
- Whether the service field is set.
-
getService
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:
- The service.
-
getServiceBytes
com.google.protobuf.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:
- The bytes for service.
-