getAttribute()
Home > @gooddata/sdk-backend-spi > IWorkspaceAttributesService > getAttribute
IWorkspaceAttributesService.getAttribute() method
Gets metadata of the attribute.
Signature:
getAttribute(ref: ObjRef, opts?: {
include?: ["dataset"];
}): Promise<IAttributeMetadataObject>;
Parameters
Parameter |
Type |
Description |
---|---|---|
ref |
ref of the attribute to retrieve | |
opts |
{ include?: ["dataset"]; } |
(Optional) options to include additional data |
Returns:
Promise<IAttributeMetadataObject>
promise of attribute metadata object