Class RewriteResponse
A rewrite response.
Inheritance
System.Object
RewriteResponse
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Storage.v1.Data
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class RewriteResponse : IDirectResponseSchema
Properties
Done
true if the copy is finished; otherwise, false if the copy is in progress. This property is always present in the response.
Declaration
[JsonProperty("done")]
public virtual bool? Done { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Kind
The kind of item this is.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ObjectSize
The total size of the object being copied in bytes. This property is always present in the response.
Declaration
[JsonProperty("objectSize")]
public virtual long? ObjectSize { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Resource
A resource containing the metadata for the copied-to object. This property is present in the response only when copying completes.
Declaration
[JsonProperty("resource")]
public virtual Object Resource { get; set; }
Property Value
Type | Description |
---|---|
Object |
RewriteToken
A token to use in subsequent requests to continue copying data. This token is present in the response only when there is more data to copy.
Declaration
[JsonProperty("rewriteToken")]
public virtual string RewriteToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TotalBytesRewritten
The total bytes written so far, which can be used to provide a waiting user with a progress indicator. This property is always present in the response.
Declaration
[JsonProperty("totalBytesRewritten")]
public virtual long? TotalBytesRewritten { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Implements
Google.Apis.Requests.IDirectResponseSchema