Class AuditLog
Common audit log format for Google Cloud Platform API operations.
Implements
Inherited Members
Namespace: Google.Apis.ServiceControl.v2.Data
Assembly: Google.Apis.ServiceControl.v2.dll
Syntax
public class AuditLog : IDirectResponseSchema
Properties
AuthenticationInfo
Authentication information.
Declaration
[JsonProperty("authenticationInfo")]
public virtual AuthenticationInfo AuthenticationInfo { get; set; }
Property Value
Type | Description |
---|---|
AuthenticationInfo |
AuthorizationInfo
Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple.
Declaration
[JsonProperty("authorizationInfo")]
public virtual IList<AuthorizationInfo> AuthorizationInfo { get; set; }
Property Value
Type | Description |
---|---|
IList<AuthorizationInfo> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Metadata
Other service-specific data about the request, response, and other information associated with the current audited event.
Declaration
[JsonProperty("metadata")]
public virtual IDictionary<string, object> Metadata { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
MethodName
The name of the service method or operation. For API calls, this should be the name of the API method. For example, "google.cloud.bigquery.v2.TableService.InsertTable" "google.logging.v2.ConfigServiceV2.CreateSink"
Declaration
[JsonProperty("methodName")]
public virtual string MethodName { get; set; }
Property Value
Type | Description |
---|---|
string |
NumResponseItems
The number of items returned from a List or Query API method, if applicable.
Declaration
[JsonProperty("numResponseItems")]
public virtual long? NumResponseItems { get; set; }
Property Value
Type | Description |
---|---|
long? |
PolicyViolationInfo
Indicates the policy violations for this request. If the request is denied by the policy, violation information will be logged here.
Declaration
[JsonProperty("policyViolationInfo")]
public virtual PolicyViolationInfo PolicyViolationInfo { get; set; }
Property Value
Type | Description |
---|---|
PolicyViolationInfo |
Request
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.
Declaration
[JsonProperty("request")]
public virtual IDictionary<string, object> Request { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
RequestMetadata
Metadata about the operation.
Declaration
[JsonProperty("requestMetadata")]
public virtual RequestMetadata RequestMetadata { get; set; }
Property Value
Type | Description |
---|---|
RequestMetadata |
ResourceLocation
The resource location information.
Declaration
[JsonProperty("resourceLocation")]
public virtual ResourceLocation ResourceLocation { get; set; }
Property Value
Type | Description |
---|---|
ResourceLocation |
ResourceName
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: "projects/PROJECT_ID/zones/us-central1-a/instances" "projects/PROJECT_ID/datasets/DATASET_ID"
Declaration
[JsonProperty("resourceName")]
public virtual string ResourceName { get; set; }
Property Value
Type | Description |
---|---|
string |
ResourceOriginalState
The resource's original state before mutation. Present only for operations which have successfully modified
the targeted resource(s). In general, this field should contain all changed fields, except those that are
already been included in request
, response
, metadata
or service_data
fields. When the JSON object
represented here has a proto equivalent, the proto name will be indicated in the @type
property.
Declaration
[JsonProperty("resourceOriginalState")]
public virtual IDictionary<string, object> ResourceOriginalState { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
Response
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.
Declaration
[JsonProperty("response")]
public virtual IDictionary<string, object> Response { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
ServiceData
Deprecated. Use the metadata
field instead. Other service-specific data about the request, response, and
other activities.
Declaration
[JsonProperty("serviceData")]
public virtual IDictionary<string, object> ServiceData { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
ServiceName
The name of the API service performing the operation. For example, "compute.googleapis.com"
.
Declaration
[JsonProperty("serviceName")]
public virtual string ServiceName { get; set; }
Property Value
Type | Description |
---|---|
string |
Status
The status of the overall operation.
Declaration
[JsonProperty("status")]
public virtual Status Status { get; set; }
Property Value
Type | Description |
---|---|
Status |