// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/audit/audit_log.proto

package com.google.cloud.audit;

public interface AuthorizationInfoOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.cloud.audit.AuthorizationInfo)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * The resource being accessed, as a REST-style string. For example:
   *     bigquery.googlapis.com/projects/PROJECTID/datasets/DATASETID
   * </pre>
   *
   * <code>string resource = 1;</code>
   */
  java.lang.String getResource();
  /**
   * <pre>
   * The resource being accessed, as a REST-style string. For example:
   *     bigquery.googlapis.com/projects/PROJECTID/datasets/DATASETID
   * </pre>
   *
   * <code>string resource = 1;</code>
   */
  com.google.protobuf.ByteString
      getResourceBytes();

  /**
   * <pre>
   * The required IAM permission.
   * </pre>
   *
   * <code>string permission = 2;</code>
   */
  java.lang.String getPermission();
  /**
   * <pre>
   * The required IAM permission.
   * </pre>
   *
   * <code>string permission = 2;</code>
   */
  com.google.protobuf.ByteString
      getPermissionBytes();

  /**
   * <pre>
   * Whether or not authorization for `resource` and `permission`
   * was granted.
   * </pre>
   *
   * <code>bool granted = 3;</code>
   */
  boolean getGranted();
}
