ResourceInterface.setMetadata() method
Set custom metadata for this resource.
Signature:
setMetadata<T extends KeyValueObject = KeyValueObject>(metadata: T): ResourceInterface<TOptions, TSources>;
Parameters
Parameter |
Type |
Description |
---|---|---|
metadata |
T |
ResourceInterface<TOptions, TSources>