All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.audit.AuthorizationInfoOrBuilder Maven / Gradle / Ivy

/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/audit/audit_log.proto

// Protobuf Java Version: 3.25.3
package com.google.cloud.audit;

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

  /**
   *
   *
   * 
   * The resource being accessed, as a REST-style or cloud resource string.
   * For example:
   *
   *     bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID
   * or
   *     projects/PROJECTID/datasets/DATASETID
   * 
* * string resource = 1; * * @return The resource. */ java.lang.String getResource(); /** * * *
   * The resource being accessed, as a REST-style or cloud resource string.
   * For example:
   *
   *     bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID
   * or
   *     projects/PROJECTID/datasets/DATASETID
   * 
* * string resource = 1; * * @return The bytes for resource. */ com.google.protobuf.ByteString getResourceBytes(); /** * * *
   * The required IAM permission.
   * 
* * string permission = 2; * * @return The permission. */ java.lang.String getPermission(); /** * * *
   * The required IAM permission.
   * 
* * string permission = 2; * * @return The bytes for permission. */ com.google.protobuf.ByteString getPermissionBytes(); /** * * *
   * Whether or not authorization for `resource` and `permission`
   * was granted.
   * 
* * bool granted = 3; * * @return The granted. */ boolean getGranted(); /** * * *
   * Resource attributes used in IAM condition evaluation. This field contains
   * resource attributes like resource type and resource name.
   *
   * To get the whole view of the attributes used in IAM
   * condition evaluation, the user must also look into
   * `AuditLog.request_metadata.request_attributes`.
   * 
* * .google.rpc.context.AttributeContext.Resource resource_attributes = 5; * * @return Whether the resourceAttributes field is set. */ boolean hasResourceAttributes(); /** * * *
   * Resource attributes used in IAM condition evaluation. This field contains
   * resource attributes like resource type and resource name.
   *
   * To get the whole view of the attributes used in IAM
   * condition evaluation, the user must also look into
   * `AuditLog.request_metadata.request_attributes`.
   * 
* * .google.rpc.context.AttributeContext.Resource resource_attributes = 5; * * @return The resourceAttributes. */ com.google.rpc.context.AttributeContext.Resource getResourceAttributes(); /** * * *
   * Resource attributes used in IAM condition evaluation. This field contains
   * resource attributes like resource type and resource name.
   *
   * To get the whole view of the attributes used in IAM
   * condition evaluation, the user must also look into
   * `AuditLog.request_metadata.request_attributes`.
   * 
* * .google.rpc.context.AttributeContext.Resource resource_attributes = 5; */ com.google.rpc.context.AttributeContext.ResourceOrBuilder getResourceAttributesOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy