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
public interface AuditConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuditLogConfig
getAuditLogConfigs(int index)
The configuration for logging of each type of permission.int
getAuditLogConfigsCount()
The configuration for logging of each type of permission.List<AuditLogConfig>
getAuditLogConfigsList()
The configuration for logging of each type of permission.AuditLogConfigOrBuilder
getAuditLogConfigsOrBuilder(int index)
The configuration for logging of each type of permission.List<? extends AuditLogConfigOrBuilder>
getAuditLogConfigsOrBuilderList()
The configuration for logging of each type of permission.String
getExemptedMembers(int index)
This is deprecated and has no effect.com.google.protobuf.ByteString
getExemptedMembersBytes(int index)
This is deprecated and has no effect.int
getExemptedMembersCount()
This is deprecated and has no effect.List<String>
getExemptedMembersList()
This is deprecated and has no effect.String
getService()
Specifies a service that will be enabled for audit logging.com.google.protobuf.ByteString
getServiceBytes()
Specifies a service that will be enabled for audit logging.boolean
hasService()
Specifies a service that will be enabled for audit logging.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAuditLogConfigsList
List<AuditLogConfig> getAuditLogConfigsList()
The configuration for logging of each type of permission.
repeated .google.cloud.compute.v1.AuditLogConfig audit_log_configs = 488420626;
-
getAuditLogConfigs
AuditLogConfig getAuditLogConfigs(int index)
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
AuditLogConfigOrBuilder getAuditLogConfigsOrBuilder(int index)
The configuration for logging of each type of permission.
repeated .google.cloud.compute.v1.AuditLogConfig audit_log_configs = 488420626;
-
getExemptedMembersList
List<String> getExemptedMembersList()
This is deprecated and has no effect. Do not use.
repeated string exempted_members = 232615576;
- Returns:
- A list containing the exemptedMembers.
-
getExemptedMembersCount
int getExemptedMembersCount()
This is deprecated and has no effect. Do not use.
repeated string exempted_members = 232615576;
- Returns:
- The count of exemptedMembers.
-
getExemptedMembers
String getExemptedMembers(int index)
This is deprecated and has no effect. Do not use.
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)
This is deprecated and has no effect. Do not use.
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.
-
-