AuditLog
class AuditLog extends Message
Common audit log format for Google Cloud Platform API operations.
Protobuf type Google\Cloud\Audit\AuditLog
Methods
No description
The name of the API service performing the operation. For example,
"datastore.googleapis.com"
.
The name of the API service performing the operation. For example,
"datastore.googleapis.com"
.
The name of the service method or operation.
The name of the service method or operation.
The resource or collection that is the target of the operation.
The resource or collection that is the target of the operation.
The number of items returned from a List or Query API method, if applicable.
The number of items returned from a List or Query API method, if applicable.
Authentication information.
Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple.
Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple.
Metadata about the operation.
The operation request. This may not include all request parameters, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record.
The operation request. This may not include all request parameters, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record.
The operation response. This may not include all response elements, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record.
The operation response. This may not include all response elements, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record.
Other service-specific data about the request, response, and other activities.
Other service-specific data about the request, response, and other activities.
Details
at line 108
__construct()
at line 120
string
getServiceName()
The name of the API service performing the operation. For example,
"datastore.googleapis.com"
.
Generated from protobuf field string service_name = 7;
at line 132
setServiceName(string $var)
The name of the API service performing the operation. For example,
"datastore.googleapis.com"
.
Generated from protobuf field string service_name = 7;
at line 148
string
getMethodName()
The name of the service method or operation.
For API calls, this should be the name of the API method. For example, "google.datastore.v1.Datastore.RunQuery" "google.logging.v1.LoggingService.DeleteLog"
Generated from protobuf field string method_name = 8;
at line 163
setMethodName(string $var)
The name of the service method or operation.
For API calls, this should be the name of the API method. For example, "google.datastore.v1.Datastore.RunQuery" "google.logging.v1.LoggingService.DeleteLog"
Generated from protobuf field string method_name = 8;
at line 179
string
getResourceName()
The resource or collection that is the target of the operation.
The name is a scheme-less URI, not including the API service name. For example: "shelves/SHELF_ID/books" "shelves/SHELF_ID/books/BOOK_ID"
Generated from protobuf field string resource_name = 11;
at line 194
setResourceName(string $var)
The resource or collection that is the target of the operation.
The name is a scheme-less URI, not including the API service name. For example: "shelves/SHELF_ID/books" "shelves/SHELF_ID/books/BOOK_ID"
Generated from protobuf field string resource_name = 11;
at line 207
int|string
getNumResponseItems()
The number of items returned from a List or Query API method, if applicable.
Generated from protobuf field int64 num_response_items = 12;
at line 219
setNumResponseItems(int|string $var)
The number of items returned from a List or Query API method, if applicable.
Generated from protobuf field int64 num_response_items = 12;
at line 231
Status
getStatus()
The status of the overall operation.
Generated from protobuf field .google.rpc.Status status = 2;
at line 242
setStatus(Status $var)
The status of the overall operation.
Generated from protobuf field .google.rpc.Status status = 2;
at line 254
AuthenticationInfo
getAuthenticationInfo()
Authentication information.
Generated from protobuf field .google.cloud.audit.AuthenticationInfo authentication_info = 3;
at line 265
setAuthenticationInfo(AuthenticationInfo $var)
Authentication information.
Generated from protobuf field .google.cloud.audit.AuthenticationInfo authentication_info = 3;
at line 279
RepeatedField
getAuthorizationInfo()
Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple.
Generated from protobuf field repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
at line 292
setAuthorizationInfo(array|RepeatedField $var)
Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple.
Generated from protobuf field repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
at line 304
RequestMetadata
getRequestMetadata()
Metadata about the operation.
Generated from protobuf field .google.cloud.audit.RequestMetadata request_metadata = 4;
at line 315
setRequestMetadata(RequestMetadata $var)
Metadata about the operation.
Generated from protobuf field .google.cloud.audit.RequestMetadata request_metadata = 4;
at line 332
Struct
getRequest()
The operation request. This may not include all request parameters, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record.
It should never include user-generated data, such as file contents.
When the JSON object represented here has a proto equivalent, the proto
name will be indicated in the @type
property.
Generated from protobuf field .google.protobuf.Struct request = 16;
at line 348
setRequest(Struct $var)
The operation request. This may not include all request parameters, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record.
It should never include user-generated data, such as file contents.
When the JSON object represented here has a proto equivalent, the proto
name will be indicated in the @type
property.
Generated from protobuf field .google.protobuf.Struct request = 16;
at line 365
Struct
getResponse()
The operation response. This may not include all response elements, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record.
It should never include user-generated data, such as file contents.
When the JSON object represented here has a proto equivalent, the proto
name will be indicated in the @type
property.
Generated from protobuf field .google.protobuf.Struct response = 17;
at line 381
setResponse(Struct $var)
The operation response. This may not include all response elements, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record.
It should never include user-generated data, such as file contents.
When the JSON object represented here has a proto equivalent, the proto
name will be indicated in the @type
property.
Generated from protobuf field .google.protobuf.Struct response = 17;
at line 394
Any
getServiceData()
Other service-specific data about the request, response, and other activities.
Generated from protobuf field .google.protobuf.Any service_data = 15;
at line 406
setServiceData(Any $var)
Other service-specific data about the request, response, and other activities.
Generated from protobuf field .google.protobuf.Any service_data = 15;