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.
Implements
IMessageAuthorizationInfo, IEquatableAuthorizationInfo, IDeepCloneableAuthorizationInfo, IBufferMessage, IMessageNamespace
Google.Cloud.AuditAssembly
Google.Cloud.Audit.dll
Constructors
AuthorizationInfo()
public AuthorizationInfo()
AuthorizationInfo(AuthorizationInfo)
public AuthorizationInfo(AuthorizationInfo other)
Parameter | |
---|---|
Name | Description |
other | AuthorizationInfo |
Properties
Granted
public bool Granted { get; set; }
Whether or not authorization for resource
and permission
was granted.
Property Value | |
---|---|
Type | Description |
bool |
Permission
public string Permission { get; set; }
The required IAM permission.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
AttributeContextTypesResource |