Show / Hide Table of Contents

Class ApiservingMediaRequestInfo

Extra information added to operations that support Scotty media requests.

Inheritance
object
ApiservingMediaRequestInfo
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.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ApiservingMediaRequestInfo : IDirectResponseSchema

Properties

CurrentBytes

The number of current bytes uploaded or downloaded.

Declaration
[JsonProperty("currentBytes")]
public virtual long? CurrentBytes { get; set; }
Property Value
Type Description
long?

CustomData

Data to be copied to backend requests. Custom data is returned to Scotty in the agent_state field, which Scotty will then provide in subsequent upload notifications.

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

DiffObjectVersion

Set if the http request info is diff encoded. The value of this field is the version number of the base revision. This is corresponding to Apiary's mediaDiffObjectVersion (//depot/google3/java/com/google/api/server/media/variable/DiffObjectVersionVariable.java). See go/esf-scotty-diff-upload for more information.

Declaration
[JsonProperty("diffObjectVersion")]
public virtual string DiffObjectVersion { 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

FinalStatus

The existence of the final_status field indicates that this is the last call to the agent for this request_id. http://google3/uploader/agent/scotty_agent.proto?l=737&rcl=347601929

Declaration
[JsonProperty("finalStatus")]
public virtual int? FinalStatus { get; set; }
Property Value
Type Description
int?

NotificationType

The type of notification received from Scotty.

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

RequestId

The Scotty request ID.

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

RequestReceivedParamsServingInfo

The partition of the Scotty server handling this request. type is uploader_service.RequestReceivedParamsServingInfo LINT.IfChange(request_received_params_serving_info_annotations) LINT.ThenChange()

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

TotalBytes

The total size of the file.

Declaration
[JsonProperty("totalBytes")]
public virtual long? TotalBytes { get; set; }
Property Value
Type Description
long?

TotalBytesIsEstimated

Whether the total bytes field contains an estimated data.

Declaration
[JsonProperty("totalBytesIsEstimated")]
public virtual bool? TotalBytesIsEstimated { get; set; }
Property Value
Type Description
bool?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX