Class Attribute
Attribute is a container for generic entity attributes including common attributes across core entities (such as, user or asset). For example, Cloud is a generic entity attribute since it can apply to an asset (for example, a VM) or a user (for example, an identity service account).
Implements
Namespace: Google.Backstory
Assembly: Google.Backstory.dll
Syntax
public sealed class Attribute : IMessage<Attribute>, IEquatable<Attribute>, IDeepCloneable<Attribute>, IBufferMessage, IMessage
Constructors
Attribute()
Declaration
public Attribute()
Attribute(Attribute)
Declaration
public Attribute(Attribute other)
Parameters
| Type | Name | Description |
|---|---|---|
| Attribute | other |
Properties
Cloud
Cloud metadata attributes such as project ID, account ID, or organizational hierarchy.
Declaration
public Cloud Cloud { get; set; }
Property Value
| Type | Description |
|---|---|
| Cloud |
CreationTime
Time the resource or entity was created or provisioned.
Declaration
public Timestamp CreationTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
Labels
Set of labels for the entity. Should only be used for product labels (for example, Google Cloud resource labels or Azure AD sensitivity labels. Should not be used for arbitrary key-value mappings.
Declaration
public RepeatedField<Label> Labels { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<Label> |
LastUpdateTime
Time the resource or entity was last updated.
Declaration
public Timestamp LastUpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
Permissions
System permissions for IAM entity (human principal, service account, group).
Declaration
public RepeatedField<Permission> Permissions { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<Permission> |
Roles
System IAM roles to be assumed by resources to use the role's permissions for access control.
Declaration
public RepeatedField<Role> Roles { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<Role> |