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\u003eThis page details the \u003ccode\u003eModifyBucketLabelsOptions\u003c/code\u003e class, which is used for modifying bucket labels in Google Cloud Storage.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eModifyBucketLabelsOptions\u003c/code\u003e class is 4.11.0, but the page also provides documentation for many previous versions back to 3.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eModifyBucketLabelsOptions\u003c/code\u003e class has two main properties: \u003ccode\u003eIfMetagenerationMatch\u003c/code\u003e, used as a precondition to check the current meta-generation of the labels, and \u003ccode\u003eRetries\u003c/code\u003e, which controls how many times to retry the operation if the bucket's metageneration changes during the read/modify/write cycle.\u003c/p\u003e\n"],["\u003cp\u003eThe ModifyBucketLabelsOptions is a subclass that inherits some methods from the Object class.\u003c/p\u003e\n"]]],[],null,[]]