Show / Hide Table of Contents

Class PatchObjectOptions

Options for PatchObject operations.

Inheritance
System.Object
PatchObjectOptions
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Storage.V1
Assembly: Google.Cloud.Storage.V1.dll
Syntax
public sealed class PatchObjectOptions

Properties

EncryptionKey

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.

Declaration
public EncryptionKey EncryptionKey { get; set; }
Property Value
Type Description
EncryptionKey

Generation

If present, selects a specific revision of this object (as opposed to the latest version, the default).

Declaration
public long? Generation { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

IfGenerationMatch

Precondition for patch: the object is only patched if the existing object's generation matches the given value.

Declaration
public long? IfGenerationMatch { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

IfGenerationNotMatch

Precondition for patch: the object is only patched if the existing object's generation does not match the given value.

Declaration
public long? IfGenerationNotMatch { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

IfMetagenerationMatch

Precondition for patch: the object is only patched if the existing object's meta-generation matches the given value.

Declaration
public long? IfMetagenerationMatch { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

IfMetagenerationNotMatch

Precondition for patch: the object is only patched if the existing object's meta-generation does not match the given value.

Declaration
public long? IfMetagenerationNotMatch { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

PredefinedAcl

A pre-defined ACL for simple access control scenarios.

Declaration
public PredefinedObjectAcl? PredefinedAcl { get; set; }
Property Value
Type Description
System.Nullable<PredefinedObjectAcl>

Projection

The projection of the updated object to return.

Declaration
public Projection? Projection { get; set; }
Property Value
Type Description
System.Nullable<Projection>

UserProject

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.

Declaration
public string UserProject { get; set; }
Property Value
Type Description
System.String
Back to top