public sealed class ModifyBucketLabelsOptions
Options for operations which modify bucket labels.
Inheritance
System.Object > ModifyBucketLabelsOptionsNamespace
Google.Cloud.Storage.V1Assembly
Google.Cloud.Storage.V1.dll
Properties
IfMetagenerationMatch
public long? IfMetagenerationMatch { get; set; }
Precondition for modification: the labels are only modified if its current meta-generation matches the given value.
Property Value | |
---|---|
Type | Description |
System.Nullable<System.Int64> |
Retries
public int? Retries { get; set; }
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.
Property Value | |
---|---|
Type | Description |
System.Nullable<System.Int32> |
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.