Reference documentation and code samples for the Chronicle V1 API class Google::Backstory::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).
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cloud
def cloud() -> ::Google::Backstory::Cloud
Returns
- (::Google::Backstory::Cloud) — Cloud metadata attributes such as project ID, account ID, or organizational hierarchy.
#cloud=
def cloud=(value) -> ::Google::Backstory::Cloud
Parameter
- value (::Google::Backstory::Cloud) — Cloud metadata attributes such as project ID, account ID, or organizational hierarchy.
Returns
- (::Google::Backstory::Cloud) — Cloud metadata attributes such as project ID, account ID, or organizational hierarchy.
#creation_time
def creation_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Time the resource or entity was created or provisioned.
#creation_time=
def creation_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Time the resource or entity was created or provisioned.
Returns
- (::Google::Protobuf::Timestamp) — Time the resource or entity was created or provisioned.
#labels
def labels() -> ::Array<::Google::Backstory::Label>
Returns
- (::Array<::Google::Backstory::Label>) — 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.
#labels=
def labels=(value) -> ::Array<::Google::Backstory::Label>
Parameter
- value (::Array<::Google::Backstory::Label>) — 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.
Returns
- (::Array<::Google::Backstory::Label>) — 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.
#last_update_time
def last_update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Time the resource or entity was last updated.
#last_update_time=
def last_update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Time the resource or entity was last updated.
Returns
- (::Google::Protobuf::Timestamp) — Time the resource or entity was last updated.
#permissions
def permissions() -> ::Array<::Google::Backstory::Permission>
Returns
- (::Array<::Google::Backstory::Permission>) — System permissions for IAM entity (human principal, service account, group).
#permissions=
def permissions=(value) -> ::Array<::Google::Backstory::Permission>
Parameter
- value (::Array<::Google::Backstory::Permission>) — System permissions for IAM entity (human principal, service account, group).
Returns
- (::Array<::Google::Backstory::Permission>) — System permissions for IAM entity (human principal, service account, group).
#roles
def roles() -> ::Array<::Google::Backstory::Role>
Returns
- (::Array<::Google::Backstory::Role>) — System IAM roles to be assumed by resources to use the role's permissions for access control.
#roles=
def roles=(value) -> ::Array<::Google::Backstory::Role>
Parameter
- value (::Array<::Google::Backstory::Role>) — System IAM roles to be assumed by resources to use the role's permissions for access control.
Returns
- (::Array<::Google::Backstory::Role>) — System IAM roles to be assumed by resources to use the role's permissions for access control.