AuditContext provides information that is needed for audit logging.
Generated from protobuf message google.rpc.context.AuditContext
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public clearScrubbedRequest() |
| public clearScrubbedResponse() |
| public getAuditLog() Serialized audit log. Generated from protobuf field bytes audit_log = 1;
|
| public 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. Generated from protobuf field .google.protobuf.Struct scrubbed_request = 2;
|
| public 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. Generated from protobuf field .google.protobuf.Struct scrubbed_response = 3;
|
| public getScrubbedResponseItemCount() Number of scrubbed response items. Generated from protobuf field int32 scrubbed_response_item_count = 4;
|
| public getTargetResource() Audit resource name which is scrubbed. Generated from protobuf field string target_resource = 5;
|
| public hasScrubbedRequest() |
| public hasScrubbedResponse() |
| public setAuditLog( $var) Serialized audit log. Generated from protobuf field bytes audit_log = 1;
|
| public setScrubbedRequest( $var) 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. Generated from protobuf field .google.protobuf.Struct scrubbed_request = 2;
|
| public setScrubbedResponse( $var) 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. Generated from protobuf field .google.protobuf.Struct scrubbed_response = 3;
|
| public setScrubbedResponseItemCount( $var) Number of scrubbed response items. Generated from protobuf field int32 scrubbed_response_item_count = 4;
|
| public setTargetResource( $var) Audit resource name which is scrubbed. Generated from protobuf field string target_resource = 5;
|
| Properties |
| protected $audit_log = '' Serialized audit log. Generated from protobuf field bytes audit_log = 1; |
| protected $scrubbed_request = NULL 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. Generated from protobuf field .google.protobuf.Struct scrubbed_request = 2; |
| protected $scrubbed_response = NULL 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. Generated from protobuf field .google.protobuf.Struct scrubbed_response = 3; |
| protected $scrubbed_response_item_count = 0 Number of scrubbed response items. Generated from protobuf field int32 scrubbed_response_item_count = 4; |
| protected $target_resource = '' Audit resource name which is scrubbed. Generated from protobuf field string target_resource = 5; |
| Methods |