[[["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 \u003ccode\u003eUpdateBucketOptions\u003c/code\u003e class in the Google Cloud Storage v1 API provides options for updating bucket metadata and access control.\u003c/p\u003e\n"],["\u003cp\u003eUsers can specify preconditions for updates, such as matching or not matching a specific meta-generation, using properties like \u003ccode\u003eIfMetagenerationMatch\u003c/code\u003e and \u003ccode\u003eIfMetagenerationNotMatch\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties to set predefined bucket and default object access control lists (ACLs) via \u003ccode\u003ePredefinedAcl\u003c/code\u003e and \u003ccode\u003ePredefinedDefaultObjectAcl\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eCustom retry configurations for API requests can be specified through the \u003ccode\u003eRetryOptions\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eForceNoPreconditions\u003c/code\u003e property allows for updates without any preconditions, and \u003ccode\u003eUserProject\u003c/code\u003e lets you define a specific project to be billed for the update operation.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Storage v1 API - Class UpdateBucketOptions (4.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Storage.V1/latest/Google.Cloud.Storage.V1.UpdateBucketOptions)\n- [4.11.0](/dotnet/docs/reference/Google.Cloud.Storage.V1/4.11.0/Google.Cloud.Storage.V1.UpdateBucketOptions)\n- [4.10.0](/dotnet/docs/reference/Google.Cloud.Storage.V1/4.10.0/Google.Cloud.Storage.V1.UpdateBucketOptions)\n- [4.9.0](/dotnet/docs/reference/Google.Cloud.Storage.V1/4.9.0/Google.Cloud.Storage.V1.UpdateBucketOptions)\n- [4.8.0](/dotnet/docs/reference/Google.Cloud.Storage.V1/4.8.0/Google.Cloud.Storage.V1.UpdateBucketOptions)\n- [4.7.0](/dotnet/docs/reference/Google.Cloud.Storage.V1/4.7.0/Google.Cloud.Storage.V1.UpdateBucketOptions)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Storage.V1/4.6.0/Google.Cloud.Storage.V1.UpdateBucketOptions)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Storage.V1/4.5.0/Google.Cloud.Storage.V1.UpdateBucketOptions)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Storage.V1/4.4.0/Google.Cloud.Storage.V1.UpdateBucketOptions)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Storage.V1/4.3.0/Google.Cloud.Storage.V1.UpdateBucketOptions)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Storage.V1/4.2.0/Google.Cloud.Storage.V1.UpdateBucketOptions)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Storage.V1/4.1.0/Google.Cloud.Storage.V1.UpdateBucketOptions)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Storage.V1/4.0.0/Google.Cloud.Storage.V1.UpdateBucketOptions)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Storage.V1/3.7.0/Google.Cloud.Storage.V1.UpdateBucketOptions)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Storage.V1/3.6.0/Google.Cloud.Storage.V1.UpdateBucketOptions)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Storage.V1/3.5.0/Google.Cloud.Storage.V1.UpdateBucketOptions)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Storage.V1/3.4.0/Google.Cloud.Storage.V1.UpdateBucketOptions) \n\n public sealed class UpdateBucketOptions\n\nReference documentation and code samples for the Google Cloud Storage v1 API class UpdateBucketOptions.\n\nOptions for `UpdateBucket` operations. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateBucketOptions \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Storage.V1](/dotnet/docs/reference/Google.Cloud.Storage.V1/latest/Google.Cloud.Storage.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Storage.V1.dll\n\nProperties\n----------\n\n### ForceNoPreconditions\n\n public bool? ForceNoPreconditions { get; set; }\n\nIf set to true, no other preconditions must be set, and\nthe local metageneration of the bucket being updated is not used\nto create a precondition.\n\n### IfMetagenerationMatch\n\n public long? IfMetagenerationMatch { get; set; }\n\nPrecondition for update: the bucket is only updated if its current\nmeta-generation matches the given value.\n\n### IfMetagenerationNotMatch\n\n public long? IfMetagenerationNotMatch { get; set; }\n\nPrecondition for update: the bucket is only updated if its current\nmeta-generation does not match the given value.\n\n### PredefinedAcl\n\n public PredefinedBucketAcl? PredefinedAcl { get; set; }\n\nA pre-defined ACL of the bucket for simple access control scenarios.\n\n### PredefinedDefaultObjectAcl\n\n public PredefinedObjectAcl? PredefinedDefaultObjectAcl { get; set; }\n\nA pre-defined default ACL for objects created in the bucket, for simple access control scenarios.\n\n### Projection\n\n public Projection? Projection { get; set; }\n\nThe projection of the updated object to return.\n\n### RetryOptions\n\n public RetryOptions RetryOptions { get; set; }\n\nOptions to pass custom retry configuration for each API request.\n\n### UserProject\n\n public string UserProject { get; set; }\n\nIf set, this is the ID of the project which will be billed for the request.\nThe caller must have suitable permissions for the project being billed."]]