MediaResponseInfo class

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 }

Constructors

MediaResponseInfo({String? customData, String? dataStorageTransform, String? dynamicDropTarget, String? dynamicDropzone, String? requestClass, String? scottyAgentUserId, String? scottyCustomerLog, String? trafficClassField, bool? verifyHashFromHeader})
MediaResponseInfo.fromJson(Map json_)

Properties

customData String?
Data to copy from backend response to the next backend requests.
getter/setter pair
dataStorageTransform String?
Specifies any transformation to be applied to data before persisting it or retrieving from storage.
getter/setter pair
dataStorageTransformAsBytes List<int>
getter/setter pair
dynamicDropTarget String?
Specifies the Scotty Drop Target to use for uploads.
getter/setter pair
dynamicDropTargetAsBytes List<int>
getter/setter pair
dynamicDropzone String?
Specifies the Scotty dropzone to use for uploads.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
requestClass String?
Request class to use for all Blobstore operations for this request. Possible string values are:
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scottyAgentUserId String?
Requester ID passed along to be recorded in the Scotty logs
getter/setter pair
scottyCustomerLog String?
Customer-specific data to be recorded in the Scotty logs type is logs_proto_scotty.CustomerLog
getter/setter pair
scottyCustomerLogAsBytes List<int>
getter/setter pair
trafficClassField String?
Specifies the TrafficClass that Scotty should use for any RPCs to fetch the response bytes.
getter/setter pair
verifyHashFromHeader bool?
Tells Scotty to verify hashes on the agent's behalf by parsing out the X-Goog-Hash header.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited