The number of times to retry the modification if the bucket's metageneration changes
in the read/modify/write cycle. If this property is not set, a suitable default is used.
The value must not be negative.
Modifying bucket labels involves reading the bucket metadata in one request,
then sending another request with the new labels, including a metageneration check
to ensure that the bucket hasn't changed between the two requests. If the metageneration
has changed, the overall operation can be retried from the start. This property indicates
the number of retries, so it has a minimum value of 0.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for the Google Cloud Storage v1 API class \u003ccode\u003eModifyBucketLabelsOptions\u003c/code\u003e is 4.11.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eModifyBucketLabelsOptions\u003c/code\u003e are used for operations that alter the labels of a bucket.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eModifyBucketLabelsOptions\u003c/code\u003e includes properties such as \u003ccode\u003eIfMetagenerationMatch\u003c/code\u003e, used as a precondition for modifying labels based on meta-generation, and \u003ccode\u003eRetries\u003c/code\u003e, defining how many times the process can retry if the meta-generation changes.\u003c/p\u003e\n"],["\u003cp\u003eModifying bucket labels involves a two-step process of first reading the bucket metadata and then sending a request to update labels, with a meta-generation check to avoid conflicts.\u003c/p\u003e\n"],["\u003cp\u003eThe page includes documentation and examples of this class for versions dating back to version 3.4.0.\u003c/p\u003e\n"]]],[],null,[]]