Package com.google.rpc.context
Interface AuditContextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuditContext
,AuditContext.Builder
public interface AuditContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteString
Serialized audit log.com.google.protobuf.Struct
An API request message that is scrubbed based on the method annotation.com.google.protobuf.StructOrBuilder
An API request message that is scrubbed based on the method annotation.com.google.protobuf.Struct
An API response message that is scrubbed based on the method annotation.int
Number of scrubbed response items.com.google.protobuf.StructOrBuilder
An API response message that is scrubbed based on the method annotation.Audit resource name which is scrubbed.com.google.protobuf.ByteString
Audit resource name which is scrubbed.boolean
An API request message that is scrubbed based on the method annotation.boolean
An API response message that is scrubbed based on the method annotation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAuditLog
com.google.protobuf.ByteString getAuditLog()Serialized audit log.
bytes audit_log = 1;
- Returns:
- The auditLog.
-
hasScrubbedRequest
boolean hasScrubbedRequest()An API request message that is scrubbed based on the method annotation. This field should only be filled if audit_log field is present. Service Control will use this to assemble a complete log for Cloud Audit Logs and Google internal audit logs.
.google.protobuf.Struct scrubbed_request = 2;
- Returns:
- Whether the scrubbedRequest field is set.
-
getScrubbedRequest
com.google.protobuf.Struct getScrubbedRequest()An API request message that is scrubbed based on the method annotation. This field should only be filled if audit_log field is present. Service Control will use this to assemble a complete log for Cloud Audit Logs and Google internal audit logs.
.google.protobuf.Struct scrubbed_request = 2;
- Returns:
- The scrubbedRequest.
-
getScrubbedRequestOrBuilder
com.google.protobuf.StructOrBuilder getScrubbedRequestOrBuilder()An API request message that is scrubbed based on the method annotation. This field should only be filled if audit_log field is present. Service Control will use this to assemble a complete log for Cloud Audit Logs and Google internal audit logs.
.google.protobuf.Struct scrubbed_request = 2;
-
hasScrubbedResponse
boolean hasScrubbedResponse()An API response message that is scrubbed based on the method annotation. This field should only be filled if audit_log field is present. Service Control will use this to assemble a complete log for Cloud Audit Logs and Google internal audit logs.
.google.protobuf.Struct scrubbed_response = 3;
- Returns:
- Whether the scrubbedResponse field is set.
-
getScrubbedResponse
com.google.protobuf.Struct getScrubbedResponse()An API response message that is scrubbed based on the method annotation. This field should only be filled if audit_log field is present. Service Control will use this to assemble a complete log for Cloud Audit Logs and Google internal audit logs.
.google.protobuf.Struct scrubbed_response = 3;
- Returns:
- The scrubbedResponse.
-
getScrubbedResponseOrBuilder
com.google.protobuf.StructOrBuilder getScrubbedResponseOrBuilder()An API response message that is scrubbed based on the method annotation. This field should only be filled if audit_log field is present. Service Control will use this to assemble a complete log for Cloud Audit Logs and Google internal audit logs.
.google.protobuf.Struct scrubbed_response = 3;
-
getScrubbedResponseItemCount
int getScrubbedResponseItemCount()Number of scrubbed response items.
int32 scrubbed_response_item_count = 4;
- Returns:
- The scrubbedResponseItemCount.
-
getTargetResource
String getTargetResource()Audit resource name which is scrubbed.
string target_resource = 5;
- Returns:
- The targetResource.
-
getTargetResourceBytes
com.google.protobuf.ByteString getTargetResourceBytes()Audit resource name which is scrubbed.
string target_resource = 5;
- Returns:
- The bytes for targetResource.
-