Google Cloud Audit API - Class AuthorizationInfo (2.2.0)

public sealed class AuthorizationInfo : IMessage<AuthorizationInfo>, IEquatable<AuthorizationInfo>, IDeepCloneable<AuthorizationInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Audit API class AuthorizationInfo.

Authorization information for the operation.

Inheritance

object > AuthorizationInfo

Namespace

Google.Cloud.Audit

Assembly

Google.Cloud.Audit.dll

Constructors

AuthorizationInfo()

public AuthorizationInfo()

AuthorizationInfo(AuthorizationInfo)

public AuthorizationInfo(AuthorizationInfo other)
Parameter
NameDescription
otherAuthorizationInfo

Properties

Granted

public bool Granted { get; set; }

Whether or not authorization for resource and permission was granted.

Property Value
TypeDescription
bool

Permission

public string Permission { get; set; }

The required IAM permission.

Property Value
TypeDescription
string

Resource

public string Resource { get; set; }

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

Property Value
TypeDescription
string

ResourceAttributes

public AttributeContext.Types.Resource ResourceAttributes { get; set; }

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.

Property Value
TypeDescription
AttributeContextTypesResource