Show / Hide Table of Contents

Class PutMetadata

Describes options for object metadata update.

Inheritance
object
PutMetadata
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.StorageBatchOperations.v1.Data
Assembly: Google.Apis.StorageBatchOperations.v1.dll
Syntax
public class PutMetadata : IDirectResponseSchema

Properties

CacheControl

Optional. Updates the objects Cache-Control fixed metadata. Unset values in the request are ignored. To clear the metadata, set an empty value. Additionally, the value for Custom-Time can't decrease. For details, see Cache-Control.

Declaration
[JsonProperty("cacheControl")]
public virtual string CacheControl { get; set; }
Property Value
Type Description
string

ContentDisposition

Optional. Updates objects Content-Disposition fixed metadata. Unset values in the request are ignored. To clear the metadata, set an empty value. For details, see Content-Disposition.

Declaration
[JsonProperty("contentDisposition")]
public virtual string ContentDisposition { get; set; }
Property Value
Type Description
string

ContentEncoding

Optional. Updates the objects Content-Encoding fixed metadata. Unset values in the request are ignored. To clear the metadata, set an empty value. For details, see Content-Encoding.

Declaration
[JsonProperty("contentEncoding")]
public virtual string ContentEncoding { get; set; }
Property Value
Type Description
string

ContentLanguage

Optional. Updates the objects Content-Language fixed metadata. Metadata values must use ISO 639-1 language codes. The maximum length for metadata values is 100 characters. Unset values in the request are ignored. To clear the metadata, set an empty value. For details, see Content-Language.

Declaration
[JsonProperty("contentLanguage")]
public virtual string ContentLanguage { get; set; }
Property Value
Type Description
string

ContentType

Optional. Updates objects Content-Type fixed metadata. Unset values in the request are ignored. To clear the metadata, set an empty value. For details, see Content-Type.

Declaration
[JsonProperty("contentType")]
public virtual string ContentType { get; set; }
Property Value
Type Description
string

CustomMetadata

Optional. Updates the object's custom metadata. This operation adds or sets individual custom metadata key-value pairs. Keys specified with empty values have their values cleared. Existing custom metadata keys not included in the request remain unchanged. For details, see Custom metadata.

Declaration
[JsonProperty("customMetadata")]
public virtual IDictionary<string, string> CustomMetadata { get; set; }
Property Value
Type Description
IDictionary<string, string>

CustomTime

Optional. Updates the objects Custom-Time fixed metadata. Unset values in the request are ignored. To clear the metadata, set an empty value. The time must be specified in RFC 3339 format, for example YYYY-MM-DD'T'HH:MM:SS'Z' or YYYY-MM-DD'T'HH:MM:SS.SS'Z'. For details, see Custom-Time.

Declaration
[JsonProperty("customTime")]
public virtual string CustomTime { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

ObjectRetention

Optional. Updates an object's retention configuration. To clear an object's retention, both retentionMode and retainUntilTime must be left unset (omitted). Setting retentionMode to RETENTION_MODE_UNSPECIFIED is treated as a no-op. Unlike an unset field, it doesn't modify or clear the retention settings. An object with LOCKED retention mode can't have its retention cleared or its retainUntilTime reduced. For more information, see Object retention.

Declaration
[JsonProperty("objectRetention")]
public virtual ObjectRetention ObjectRetention { get; set; }
Property Value
Type Description
ObjectRetention

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX