Class MediaResponseInfo
This message is for backends to pass their scotty media specific fields to ESF. Backend will include this in their response message to ESF. Example: ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse will include apiserving.MediaResponseInfo to tell ESF about data like dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse { optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo media_response_info = 2 }
Implements
Inherited Members
Namespace: Google.Apis.Dfareporting.v3_5.Data
Assembly: Google.Apis.Dfareporting.v3_5.dll
Syntax
public class MediaResponseInfo : IDirectResponseSchema
Properties
CustomData
Data to copy from backend response to the next 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 |
DataStorageTransform
Specifies any transformation to be applied to data before persisting it or retrieving from storage. E.g., encryption options for blobstore2. This should be of the form uploader_service.DataStorageTransform.
Declaration
[JsonProperty("dataStorageTransform")]
public virtual string DataStorageTransform { get; set; }
Property Value
Type | Description |
---|---|
string |
DynamicDropTarget
Specifies the Scotty Drop Target to use for uploads. If present in a media response, Scotty does not upload to a standard drop zone. Instead, Scotty saves the upload directly to the location specified in this drop target. Unlike drop zones, the drop target is the final storage location for an upload. So, the agent does not need to clone the blob at the end of the upload. The agent is responsible for garbage collecting any orphaned blobs that may occur due to aborted uploads. For more information, see the drop target design doc here: http://goto/ScottyDropTarget This field will be preferred to dynamicDropzone. If provided, the identified field in the response must be of the type uploader.agent.DropTarget.
Declaration
[JsonProperty("dynamicDropTarget")]
public virtual string DynamicDropTarget { get; set; }
Property Value
Type | Description |
---|---|
string |
DynamicDropzone
Specifies the Scotty dropzone to use for uploads.
Declaration
[JsonProperty("dynamicDropzone")]
public virtual string DynamicDropzone { 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 |
RequestClass
Request class to use for all Blobstore operations for this request.
Declaration
[JsonProperty("requestClass")]
public virtual string RequestClass { get; set; }
Property Value
Type | Description |
---|---|
string |
ScottyAgentUserId
Requester ID passed along to be recorded in the Scotty logs
Declaration
[JsonProperty("scottyAgentUserId")]
public virtual long? ScottyAgentUserId { get; set; }
Property Value
Type | Description |
---|---|
long? |
ScottyCustomerLog
Customer-specific data to be recorded in the Scotty logs type is logs_proto_scotty.CustomerLog
Declaration
[JsonProperty("scottyCustomerLog")]
public virtual string ScottyCustomerLog { get; set; }
Property Value
Type | Description |
---|---|
string |
TrafficClassField
Specifies the TrafficClass that Scotty should use for any RPCs to fetch the response bytes. Will override the traffic class GTOS of the incoming http request. This is a temporary field to facilitate whitelisting and experimentation by the bigstore agent only. For instance, this does not apply to RTMP reads. WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.
Declaration
[JsonProperty("trafficClassField")]
public virtual string TrafficClassField { get; set; }
Property Value
Type | Description |
---|---|
string |
VerifyHashFromHeader
Tells Scotty to verify hashes on the agent's behalf by parsing out the X-Goog-Hash header.
Declaration
[JsonProperty("verifyHashFromHeader")]
public virtual bool? VerifyHashFromHeader { get; set; }
Property Value
Type | Description |
---|---|
bool? |