Class AuthorizationInfo (1.1.0)

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

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
Boolean

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
AttributeContext.Types.Resource