refactor: deprecate bucket.setLabels #2141
Labels
api: storage
Issues related to the googleapis/nodejs-storage API.
next major: breaking change
this is a change that we should wait to bundle into the next major version
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: cleanup
An internal cleanup or hygiene concern.
bucket.setLabels
is nothing more than a wrapper aroundbucket.setMetadata
. There was a recent customer issue where the customer was chaining calls tosetLabels
andsetMetadata
when in fact this could be accomplished in a single call. We should deprecatesetLabels
and instead document how to achieve the same functionality utilizingsetMetadata
.The text was updated successfully, but these errors were encountered: