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 within the Google Cloud Storage V1 library.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eModifyBucketLabelsOptions\u003c/code\u003e is a sealed class that inherits directly from the \u003ccode\u003eObject\u003c/code\u003e class and is found within the \u003ccode\u003eGoogle.Cloud.Storage.V1\u003c/code\u003e namespace, within the \u003ccode\u003eGoogle.Cloud.Storage.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties like \u003ccode\u003eIfMetagenerationMatch\u003c/code\u003e, which enforces a precondition based on the bucket's current meta-generation, and \u003ccode\u003eRetries\u003c/code\u003e, which controls the number of retries if the bucket's metageneration changes during the modification process.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available on the page is version 4.11.0, with accessible links to documentation for versions dating back to 3.4.0.\u003c/p\u003e\n"],["\u003cp\u003eModifying bucket labels requires reading the bucket metadata, and then making another request with new labels, with a metageneration check, and if metageneration has changed, the operation can be retried from the start.\u003c/p\u003e\n"]]],[],null,[]]