Interface AuditLogOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AuditLog, AuditLog.Builder

public interface AuditLogOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getServiceName

      String getServiceName()
       The name of the API service performing the operation. For example,
       `"compute.googleapis.com"`.
       
      string service_name = 7;
      Returns:
      The serviceName.
    • getServiceNameBytes

      com.google.protobuf.ByteString getServiceNameBytes()
       The name of the API service performing the operation. For example,
       `"compute.googleapis.com"`.
       
      string service_name = 7;
      Returns:
      The bytes for serviceName.
    • getMethodName

      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.cloud.bigquery.v2.TableService.InsertTable"
           "google.logging.v2.ConfigServiceV2.CreateSink"
       
      string method_name = 8;
      Returns:
      The methodName.
    • getMethodNameBytes

      com.google.protobuf.ByteString getMethodNameBytes()
       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"
       
      string method_name = 8;
      Returns:
      The bytes for methodName.
    • getResourceName

      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:
           "projects/PROJECT_ID/zones/us-central1-a/instances"
           "projects/PROJECT_ID/datasets/DATASET_ID"
       
      string resource_name = 11;
      Returns:
      The resourceName.
    • getResourceNameBytes

      com.google.protobuf.ByteString getResourceNameBytes()
       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"
       
      string resource_name = 11;
      Returns:
      The bytes for resourceName.
    • hasResourceLocation

      boolean hasResourceLocation()
       The resource location information.
       
      .google.cloud.audit.ResourceLocation resource_location = 20;
      Returns:
      Whether the resourceLocation field is set.
    • getResourceLocation

      ResourceLocation getResourceLocation()
       The resource location information.
       
      .google.cloud.audit.ResourceLocation resource_location = 20;
      Returns:
      The resourceLocation.
    • getResourceLocationOrBuilder

      ResourceLocationOrBuilder getResourceLocationOrBuilder()
       The resource location information.
       
      .google.cloud.audit.ResourceLocation resource_location = 20;
    • hasResourceOriginalState

      boolean hasResourceOriginalState()
       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.
       
      .google.protobuf.Struct resource_original_state = 19;
      Returns:
      Whether the resourceOriginalState field is set.
    • getResourceOriginalState

      Struct getResourceOriginalState()
       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.
       
      .google.protobuf.Struct resource_original_state = 19;
      Returns:
      The resourceOriginalState.
    • getResourceOriginalStateOrBuilder

      StructOrBuilder getResourceOriginalStateOrBuilder()
       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.
       
      .google.protobuf.Struct resource_original_state = 19;
    • getNumResponseItems

      long getNumResponseItems()
       The number of items returned from a List or Query API method,
       if applicable.
       
      int64 num_response_items = 12;
      Returns:
      The numResponseItems.
    • hasStatus

      boolean hasStatus()
       The status of the overall operation.
       
      .google.rpc.Status status = 2;
      Returns:
      Whether the status field is set.
    • getStatus

      Status getStatus()
       The status of the overall operation.
       
      .google.rpc.Status status = 2;
      Returns:
      The status.
    • getStatusOrBuilder

      StatusOrBuilder getStatusOrBuilder()
       The status of the overall operation.
       
      .google.rpc.Status status = 2;
    • hasAuthenticationInfo

      boolean hasAuthenticationInfo()
       Authentication information.
       
      .google.cloud.audit.AuthenticationInfo authentication_info = 3;
      Returns:
      Whether the authenticationInfo field is set.
    • getAuthenticationInfo

      AuthenticationInfo getAuthenticationInfo()
       Authentication information.
       
      .google.cloud.audit.AuthenticationInfo authentication_info = 3;
      Returns:
      The authenticationInfo.
    • getAuthenticationInfoOrBuilder

      AuthenticationInfoOrBuilder getAuthenticationInfoOrBuilder()
       Authentication information.
       
      .google.cloud.audit.AuthenticationInfo authentication_info = 3;
    • getAuthorizationInfoList

      List<AuthorizationInfo> getAuthorizationInfoList()
       Authorization information. If there are multiple
       resources or permissions involved, then there is
       one AuthorizationInfo element for each {resource, permission} tuple.
       
      repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
    • getAuthorizationInfo

      AuthorizationInfo getAuthorizationInfo(int index)
       Authorization information. If there are multiple
       resources or permissions involved, then there is
       one AuthorizationInfo element for each {resource, permission} tuple.
       
      repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
    • getAuthorizationInfoCount

      int getAuthorizationInfoCount()
       Authorization information. If there are multiple
       resources or permissions involved, then there is
       one AuthorizationInfo element for each {resource, permission} tuple.
       
      repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
    • getAuthorizationInfoOrBuilderList

      List<? extends AuthorizationInfoOrBuilder> getAuthorizationInfoOrBuilderList()
       Authorization information. If there are multiple
       resources or permissions involved, then there is
       one AuthorizationInfo element for each {resource, permission} tuple.
       
      repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
    • getAuthorizationInfoOrBuilder

      AuthorizationInfoOrBuilder getAuthorizationInfoOrBuilder(int index)
       Authorization information. If there are multiple
       resources or permissions involved, then there is
       one AuthorizationInfo element for each {resource, permission} tuple.
       
      repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
    • hasRequestMetadata

      boolean hasRequestMetadata()
       Metadata about the operation.
       
      .google.cloud.audit.RequestMetadata request_metadata = 4;
      Returns:
      Whether the requestMetadata field is set.
    • getRequestMetadata

      RequestMetadata getRequestMetadata()
       Metadata about the operation.
       
      .google.cloud.audit.RequestMetadata request_metadata = 4;
      Returns:
      The requestMetadata.
    • getRequestMetadataOrBuilder

      RequestMetadataOrBuilder getRequestMetadataOrBuilder()
       Metadata about the operation.
       
      .google.cloud.audit.RequestMetadata request_metadata = 4;
    • hasRequest

      boolean hasRequest()
       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.
       
      .google.protobuf.Struct request = 16;
      Returns:
      Whether the request field is set.
    • getRequest

      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.
       
      .google.protobuf.Struct request = 16;
      Returns:
      The request.
    • getRequestOrBuilder

      StructOrBuilder getRequestOrBuilder()
       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.
       
      .google.protobuf.Struct request = 16;
    • hasResponse

      boolean hasResponse()
       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.
       
      .google.protobuf.Struct response = 17;
      Returns:
      Whether the response field is set.
    • getResponse

      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.
       
      .google.protobuf.Struct response = 17;
      Returns:
      The response.
    • getResponseOrBuilder

      StructOrBuilder getResponseOrBuilder()
       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.
       
      .google.protobuf.Struct response = 17;
    • hasMetadata

      boolean hasMetadata()
       Other service-specific data about the request, response, and other
       information associated with the current audited event.
       
      .google.protobuf.Struct metadata = 18;
      Returns:
      Whether the metadata field is set.
    • getMetadata

      Struct getMetadata()
       Other service-specific data about the request, response, and other
       information associated with the current audited event.
       
      .google.protobuf.Struct metadata = 18;
      Returns:
      The metadata.
    • getMetadataOrBuilder

      StructOrBuilder getMetadataOrBuilder()
       Other service-specific data about the request, response, and other
       information associated with the current audited event.
       
      .google.protobuf.Struct metadata = 18;
    • hasServiceData

      @Deprecated boolean hasServiceData()
      Deprecated.
       Deprecated. Use the `metadata` field instead.
       Other service-specific data about the request, response, and other
       activities.
       
      .google.protobuf.Any service_data = 15 [deprecated = true];
      Returns:
      Whether the serviceData field is set.
    • getServiceData

      @Deprecated Any getServiceData()
      Deprecated.
       Deprecated. Use the `metadata` field instead.
       Other service-specific data about the request, response, and other
       activities.
       
      .google.protobuf.Any service_data = 15 [deprecated = true];
      Returns:
      The serviceData.
    • getServiceDataOrBuilder

      @Deprecated AnyOrBuilder getServiceDataOrBuilder()
      Deprecated.
       Deprecated. Use the `metadata` field instead.
       Other service-specific data about the request, response, and other
       activities.
       
      .google.protobuf.Any service_data = 15 [deprecated = true];