public sealed class PatchObjectOptions
Options for PatchObject
operations.
Inheritance
System.Object > PatchObjectOptionsNamespace
Google.Cloud.Storage.V1Assembly
Google.Cloud.Storage.V1.dll
Properties
EncryptionKey
public EncryptionKey EncryptionKey { get; set; }
The encryption key to use for this operation. If this property is null, the EncryptionKey will be used instead. Use None to remove encryption headers from this request.
Property Value | |
---|---|
Type | Description |
EncryptionKey |
Generation
public long? Generation { get; set; }
If present, selects a specific revision of this object (as opposed to the latest version, the default).
Property Value | |
---|---|
Type | Description |
System.Nullable<System.Int64> |
IfGenerationMatch
public long? IfGenerationMatch { get; set; }
Precondition for patch: the object is only patched if the existing object's generation matches the given value.
Property Value | |
---|---|
Type | Description |
System.Nullable<System.Int64> |
IfGenerationNotMatch
public long? IfGenerationNotMatch { get; set; }
Precondition for patch: the object is only patched if the existing object's generation does not match the given value.
Property Value | |
---|---|
Type | Description |
System.Nullable<System.Int64> |
IfMetagenerationMatch
public long? IfMetagenerationMatch { get; set; }
Precondition for patch: the object is only patched if the existing object's meta-generation matches the given value.
Property Value | |
---|---|
Type | Description |
System.Nullable<System.Int64> |
IfMetagenerationNotMatch
public long? IfMetagenerationNotMatch { get; set; }
Precondition for patch: the object is only patched if the existing object's meta-generation does not match the given value.
Property Value | |
---|---|
Type | Description |
System.Nullable<System.Int64> |
PredefinedAcl
public PredefinedObjectAcl? PredefinedAcl { get; set; }
A pre-defined ACL for simple access control scenarios.
Property Value | |
---|---|
Type | Description |
System.Nullable<PredefinedObjectAcl> |
Projection
public Projection? Projection { get; set; }
The projection of the updated object to return.
Property Value | |
---|---|
Type | Description |
System.Nullable<Projection> |
UserProject
public string UserProject { get; set; }
If set, this is the ID of the project which will be billed for the request. The caller must have suitable permissions for the project being billed.
Property Value | |
---|---|
Type | Description |
System.String |