mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-06 11:34:34 +01:00
update dependencies
This commit is contained in:
@@ -1840,6 +1840,50 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"media": {
|
||||
"methods": {
|
||||
"upload": {
|
||||
"description": "Uploads a private image and returns an Id to be used in its place.",
|
||||
"flatPath": "walletobjects/v1/privateContent/{issuerId}/uploadPrivateImage",
|
||||
"httpMethod": "POST",
|
||||
"id": "walletobjects.media.upload",
|
||||
"mediaUpload": {
|
||||
"accept": [
|
||||
"*/*"
|
||||
],
|
||||
"protocols": {
|
||||
"simple": {
|
||||
"multipart": true,
|
||||
"path": "/upload/walletobjects/v1/privateContent/{issuerId}/uploadPrivateImage"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"issuerId"
|
||||
],
|
||||
"parameters": {
|
||||
"issuerId": {
|
||||
"description": "The ID of the issuer sending the image.",
|
||||
"format": "int64",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "walletobjects/v1/privateContent/{issuerId}/uploadPrivateImage",
|
||||
"request": {
|
||||
"$ref": "UploadPrivateImageRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "UploadPrivateImageResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/wallet_object.issuer"
|
||||
],
|
||||
"supportsMediaUpload": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"offerclass": {
|
||||
"methods": {
|
||||
"addmessage": {
|
||||
@@ -2556,11 +2600,80 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"walletobjects": {
|
||||
"resources": {
|
||||
"v1": {
|
||||
"resources": {
|
||||
"privateContent": {
|
||||
"methods": {
|
||||
"uploadPrivateData": {
|
||||
"description": "Upload private data (text or URI) and returns an Id to be used in its place.",
|
||||
"flatPath": "walletobjects/v1/privateContent/uploadPrivateData",
|
||||
"httpMethod": "POST",
|
||||
"id": "walletobjects.walletobjects.v1.privateContent.uploadPrivateData",
|
||||
"parameterOrder": [],
|
||||
"parameters": {},
|
||||
"path": "walletobjects/v1/privateContent/uploadPrivateData",
|
||||
"request": {
|
||||
"$ref": "UploadPrivateDataRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "UploadPrivateDataResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/wallet_object.issuer"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20220928",
|
||||
"revision": "20230124",
|
||||
"rootUrl": "https://walletobjects.googleapis.com/",
|
||||
"schemas": {
|
||||
"ActivationOptions": {
|
||||
"description": "ActivationOptions for the class",
|
||||
"id": "ActivationOptions",
|
||||
"properties": {
|
||||
"activationUrl": {
|
||||
"description": "HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users.",
|
||||
"type": "string"
|
||||
},
|
||||
"allowReactivation": {
|
||||
"description": "Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ActivationStatus": {
|
||||
"description": "The activation status of the object. This field includes activation status if valuable supports activation.",
|
||||
"id": "ActivationStatus",
|
||||
"properties": {
|
||||
"state": {
|
||||
"enum": [
|
||||
"UNKNOWN_STATE",
|
||||
"NOT_ACTIVATED",
|
||||
"not_activated",
|
||||
"ACTIVATED",
|
||||
"activated"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"",
|
||||
"Not-Activated, this is the default status",
|
||||
"Legacy alias for `NOT_ACTIVATED`. Deprecated.",
|
||||
"Activated",
|
||||
"Legacy alias for `ACTIVATED`. Deprecated."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"AddMessageRequest": {
|
||||
"description": "Resource used when the AddMessage endpoints are called.",
|
||||
"id": "AddMessageRequest",
|
||||
@@ -2769,6 +2882,36 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Blobstore2Info": {
|
||||
"description": "Information to read/write to blobstore2.",
|
||||
"id": "Blobstore2Info",
|
||||
"properties": {
|
||||
"blobGeneration": {
|
||||
"description": "The blob generation id.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"blobId": {
|
||||
"description": "The blob id, e.g., /blobstore/prod/playground/scotty",
|
||||
"type": "string"
|
||||
},
|
||||
"downloadReadHandle": {
|
||||
"description": "Read handle passed from Bigstore -> Scotty for a GCS download. This is a signed, serialized blobstore2.ReadHandle proto which must never be set outside of Bigstore, and is not applicable to non-GCS media downloads.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"readToken": {
|
||||
"description": "The blob read token. Needed to read blobs that have not been replicated. Might not be available until the final call.",
|
||||
"type": "string"
|
||||
},
|
||||
"uploadMetadataContainer": {
|
||||
"description": "Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a signed, serialized blobstore2.BlobMetadataContainer proto which must never be consumed outside of Bigstore, and is not applicable to non-GCS media uploads.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BoardingAndSeatingInfo": {
|
||||
"id": "BoardingAndSeatingInfo",
|
||||
"properties": {
|
||||
@@ -3010,6 +3153,105 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CompositeMedia": {
|
||||
"description": "A sequence of media data references representing composite data. Introduced to support Bigstore composite objects. For details, visit http://go/bigstore-composites.",
|
||||
"id": "CompositeMedia",
|
||||
"properties": {
|
||||
"blobRef": {
|
||||
"description": "Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will also be represented in this field as v1 BlobRef.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"blobstore2Info": {
|
||||
"$ref": "Blobstore2Info",
|
||||
"description": "Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob."
|
||||
},
|
||||
"cosmoBinaryReference": {
|
||||
"description": "A binary data reference for a media download. Serves as a technology-agnostic binary reference in some Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support JavaScript. This prevents us from including the actual type of this field.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"crc32cHash": {
|
||||
"description": "crc32.c hash for the payload.",
|
||||
"format": "uint32",
|
||||
"type": "integer"
|
||||
},
|
||||
"inline": {
|
||||
"description": "Media data, set if reference_type is INLINE",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"length": {
|
||||
"description": "Size of the data, in bytes",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"md5Hash": {
|
||||
"description": "MD5 hash for the payload.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"objectId": {
|
||||
"$ref": "ObjectId",
|
||||
"description": "Reference to a TI Blob, set if reference_type is BIGSTORE_REF."
|
||||
},
|
||||
"path": {
|
||||
"description": "Path to the data, set if reference_type is PATH",
|
||||
"type": "string"
|
||||
},
|
||||
"referenceType": {
|
||||
"description": "Describes what the field reference contains.",
|
||||
"enum": [
|
||||
"PATH",
|
||||
"BLOB_REF",
|
||||
"INLINE",
|
||||
"BIGSTORE_REF",
|
||||
"COSMO_BINARY_REFERENCE"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Reference contains a GFS path or a local path.",
|
||||
"Reference points to a blobstore object. This could be either a v1 blob_ref or a v2 blobstore2_info. Clients should check blobstore2_info first, since v1 is being deprecated.",
|
||||
"Data is included into this proto buffer",
|
||||
"Reference points to a bigstore object",
|
||||
"Indicates the data is stored in cosmo_binary_reference."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"sha1Hash": {
|
||||
"description": "SHA-1 hash for the payload.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ContentTypeInfo": {
|
||||
"description": "Detailed Content-Type information from Scotty. The Content-Type of the media will typically be filled in by the header or Scotty's best_guess, but this extended information provides the backend with more information so that it can make a better decision if needed. This is only used on media upload requests from Scotty.",
|
||||
"id": "ContentTypeInfo",
|
||||
"properties": {
|
||||
"bestGuess": {
|
||||
"description": "Scotty's best guess of what the content type of the file is.",
|
||||
"type": "string"
|
||||
},
|
||||
"fromBytes": {
|
||||
"description": "The content type of the file derived by looking at specific bytes (i.e. \"magic bytes\") of the actual file.",
|
||||
"type": "string"
|
||||
},
|
||||
"fromFileName": {
|
||||
"description": "The content type of the file derived from the file extension of the original file name used by the client.",
|
||||
"type": "string"
|
||||
},
|
||||
"fromHeader": {
|
||||
"description": "The content type of the file as specified in the request headers, multipart headers, or RUPIO start request.",
|
||||
"type": "string"
|
||||
},
|
||||
"fromUrlPath": {
|
||||
"description": "The content type of the file derived from the file extension of the URL path. The URL path is assumed to represent a file name (which is typically only true for agents that are providing a REST API).",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DateTime": {
|
||||
"id": "DateTime",
|
||||
"properties": {
|
||||
@@ -3043,6 +3285,107 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DeviceContext": {
|
||||
"description": "Device context associated with the object.",
|
||||
"id": "DeviceContext",
|
||||
"properties": {
|
||||
"deviceToken": {
|
||||
"description": "If set, redemption information will only be returned to the given device upon activation of the object. This should not be used as a stable identifier to trace a user's device. It can change across different passes for the same device or even across different activations for the same device. When setting this, callers must also set has_linked_device on the object being activated.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DiffChecksumsResponse": {
|
||||
"description": "Backend response for a Diff get checksums response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.",
|
||||
"id": "DiffChecksumsResponse",
|
||||
"properties": {
|
||||
"checksumsLocation": {
|
||||
"$ref": "CompositeMedia",
|
||||
"description": "Exactly one of these fields must be populated. If checksums_location is filled, the server will return the corresponding contents to the user. If object_location is filled, the server will calculate the checksums based on the content there and return that to the user. For details on the format of the checksums, see http://go/scotty-diff-protocol."
|
||||
},
|
||||
"chunkSizeBytes": {
|
||||
"description": "The chunk size of checksums. Must be a multiple of 256KB.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"objectLocation": {
|
||||
"$ref": "CompositeMedia",
|
||||
"description": "If set, calculate the checksums based on the contents and return them to the caller."
|
||||
},
|
||||
"objectSizeBytes": {
|
||||
"description": "The total size of the server object.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"objectVersion": {
|
||||
"description": "The object version of the object the checksums are being returned for.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DiffDownloadResponse": {
|
||||
"description": "Backend response for a Diff download response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.",
|
||||
"id": "DiffDownloadResponse",
|
||||
"properties": {
|
||||
"objectLocation": {
|
||||
"$ref": "CompositeMedia",
|
||||
"description": "The original object location."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DiffUploadRequest": {
|
||||
"description": "A Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.",
|
||||
"id": "DiffUploadRequest",
|
||||
"properties": {
|
||||
"checksumsInfo": {
|
||||
"$ref": "CompositeMedia",
|
||||
"description": "The location of the checksums for the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received. For details on the format of the checksums, see http://go/scotty-diff-protocol."
|
||||
},
|
||||
"objectInfo": {
|
||||
"$ref": "CompositeMedia",
|
||||
"description": "The location of the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received."
|
||||
},
|
||||
"objectVersion": {
|
||||
"description": "The object version of the object that is the base version the incoming diff script will be applied to. This field will always be filled in.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DiffUploadResponse": {
|
||||
"description": "Backend response for a Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.",
|
||||
"id": "DiffUploadResponse",
|
||||
"properties": {
|
||||
"objectVersion": {
|
||||
"description": "The object version of the object at the server. Must be included in the end notification response. The version in the end notification response must correspond to the new version of the object that is now stored at the server, after the upload.",
|
||||
"type": "string"
|
||||
},
|
||||
"originalObject": {
|
||||
"$ref": "CompositeMedia",
|
||||
"description": "The location of the original file for a diff upload request. Must be filled in if responding to an upload start notification."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DiffVersionResponse": {
|
||||
"description": "Backend response for a Diff get version response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.",
|
||||
"id": "DiffVersionResponse",
|
||||
"properties": {
|
||||
"objectSizeBytes": {
|
||||
"description": "The total size of the server object.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"objectVersion": {
|
||||
"description": "The version of the object stored at the server.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DiscoverableProgram": {
|
||||
"description": "Information about how a class may be discovered and instantiated from within the Android Pay app. This is done by searching for a loyalty or gift card program and scanning or manually entering.",
|
||||
"id": "DiscoverableProgram",
|
||||
@@ -3139,6 +3482,21 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DownloadParameters": {
|
||||
"description": "Parameters specific to media downloads.",
|
||||
"id": "DownloadParameters",
|
||||
"properties": {
|
||||
"allowGzipCompression": {
|
||||
"description": "A boolean to be returned in the response to Scotty. Allows/disallows gzip encoding of the payload content when the server thinks it's advantageous (hence, does not guarantee compression) which allows Scotty to GZip the response to the client.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"ignoreRange": {
|
||||
"description": "Determining whether or not Apiary should skip the inclusion of any Content-Range header on its response to Scotty.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EventDateTime": {
|
||||
"id": "EventDateTime",
|
||||
"properties": {
|
||||
@@ -4519,7 +4877,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"GenericObject": {
|
||||
"description": "Generic Object",
|
||||
"description": "Generic Object Next ID: 119",
|
||||
"id": "GenericObject",
|
||||
"properties": {
|
||||
"appLinkData": {
|
||||
@@ -4532,7 +4890,7 @@
|
||||
},
|
||||
"cardTitle": {
|
||||
"$ref": "LocalizedString",
|
||||
"description": "Required. The title of the pass. This is usually the Business name such as \"XXX Gym\", \"AAA Insurance\". This field is required."
|
||||
"description": "Required. The header of the pass. This is usually the Business name such as \"XXX Gym\", \"AAA Insurance\". This field is required and appears in the header row at the very top of the pass."
|
||||
},
|
||||
"classId": {
|
||||
"description": "Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you.",
|
||||
@@ -4558,7 +4916,7 @@
|
||||
},
|
||||
"header": {
|
||||
"$ref": "LocalizedString",
|
||||
"description": "Required. The header of the pass, such as \"50% off coupon\" or \"Library card\" or \"Voucher\". This field is required."
|
||||
"description": "Required. The title of the pass, such as \"50% off coupon\" or \"Library card\" or \"Voucher\". This field is required and appears in the title row of the pass detail view."
|
||||
},
|
||||
"heroImage": {
|
||||
"$ref": "Image",
|
||||
@@ -4627,7 +4985,7 @@
|
||||
},
|
||||
"subheader": {
|
||||
"$ref": "LocalizedString",
|
||||
"description": "The subheader of the pass, such as location where this pass can be used."
|
||||
"description": "The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view."
|
||||
},
|
||||
"textModulesData": {
|
||||
"description": "Text module data. If `textModulesData` is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object.",
|
||||
@@ -5883,6 +6241,233 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Media": {
|
||||
"description": "A reference to data stored on the filesystem, on GFS or in blobstore.",
|
||||
"id": "Media",
|
||||
"properties": {
|
||||
"algorithm": {
|
||||
"description": "Deprecated, use one of explicit hash type fields instead. Algorithm used for calculating the hash. As of 2011/01/21, \"MD5\" is the only possible value for this field. New values may be added at any time.",
|
||||
"type": "string"
|
||||
},
|
||||
"bigstoreObjectRef": {
|
||||
"description": "Use object_id instead.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"blobRef": {
|
||||
"description": "Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will also be represented in this field as v1 BlobRef.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"blobstore2Info": {
|
||||
"$ref": "Blobstore2Info",
|
||||
"description": "Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob."
|
||||
},
|
||||
"compositeMedia": {
|
||||
"description": "A composite media composed of one or more media objects, set if reference_type is COMPOSITE_MEDIA. The media length field must be set to the sum of the lengths of all composite media objects. Note: All composite media must have length specified.",
|
||||
"items": {
|
||||
"$ref": "CompositeMedia"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"contentType": {
|
||||
"description": "MIME type of the data",
|
||||
"type": "string"
|
||||
},
|
||||
"contentTypeInfo": {
|
||||
"$ref": "ContentTypeInfo",
|
||||
"description": "Extended content type information provided for Scotty uploads."
|
||||
},
|
||||
"cosmoBinaryReference": {
|
||||
"description": "A binary data reference for a media download. Serves as a technology-agnostic binary reference in some Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support JavaScript. This prevents us from including the actual type of this field.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"crc32cHash": {
|
||||
"description": "For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: (WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.) A Hash provided by the agent to be used to verify the data being downloaded. Currently only supported for inline payloads. Further, only crc32c_hash is currently supported.",
|
||||
"format": "uint32",
|
||||
"type": "integer"
|
||||
},
|
||||
"diffChecksumsResponse": {
|
||||
"$ref": "DiffChecksumsResponse",
|
||||
"description": "Set if reference_type is DIFF_CHECKSUMS_RESPONSE."
|
||||
},
|
||||
"diffDownloadResponse": {
|
||||
"$ref": "DiffDownloadResponse",
|
||||
"description": "Set if reference_type is DIFF_DOWNLOAD_RESPONSE."
|
||||
},
|
||||
"diffUploadRequest": {
|
||||
"$ref": "DiffUploadRequest",
|
||||
"description": "Set if reference_type is DIFF_UPLOAD_REQUEST."
|
||||
},
|
||||
"diffUploadResponse": {
|
||||
"$ref": "DiffUploadResponse",
|
||||
"description": "Set if reference_type is DIFF_UPLOAD_RESPONSE."
|
||||
},
|
||||
"diffVersionResponse": {
|
||||
"$ref": "DiffVersionResponse",
|
||||
"description": "Set if reference_type is DIFF_VERSION_RESPONSE."
|
||||
},
|
||||
"downloadParameters": {
|
||||
"$ref": "DownloadParameters",
|
||||
"description": "Parameters for a media download."
|
||||
},
|
||||
"filename": {
|
||||
"description": "Original file name",
|
||||
"type": "string"
|
||||
},
|
||||
"hash": {
|
||||
"description": "Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be populated on Scotty based media uploads and will contain the content of the hash group in the NotificationRequest: http://cs/#google3/uploader/service/proto/upload_listener.proto&q=class:Hash Hex encoded hash value of the uploaded media.",
|
||||
"type": "string"
|
||||
},
|
||||
"hashVerified": {
|
||||
"description": "For Scotty uploads only. If a user sends a hash code and the backend has requested that Scotty verify the upload against the client hash, Scotty will perform the check on behalf of the backend and will reject it if the hashes don't match. This is set to true if Scotty performed this verification.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"inline": {
|
||||
"description": "Media data, set if reference_type is INLINE",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"isPotentialRetry": {
|
||||
"description": "|is_potential_retry| is set false only when Scotty is certain that it has not sent the request before. When a client resumes an upload, this field must be set true in agent calls, because Scotty cannot be certain that it has never sent the request before due to potential failure in the session state persistence.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"length": {
|
||||
"description": "Size of the data, in bytes",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"md5Hash": {
|
||||
"description": "Scotty-provided MD5 hash for an upload.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"mediaId": {
|
||||
"description": "Media id to forward to the operation GetMedia. Can be set if reference_type is GET_MEDIA.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"objectId": {
|
||||
"$ref": "ObjectId",
|
||||
"description": "Reference to a TI Blob, set if reference_type is BIGSTORE_REF."
|
||||
},
|
||||
"path": {
|
||||
"description": "Path to the data, set if reference_type is PATH",
|
||||
"type": "string"
|
||||
},
|
||||
"referenceType": {
|
||||
"description": "Describes what the field reference contains.",
|
||||
"enum": [
|
||||
"PATH",
|
||||
"BLOB_REF",
|
||||
"INLINE",
|
||||
"GET_MEDIA",
|
||||
"COMPOSITE_MEDIA",
|
||||
"BIGSTORE_REF",
|
||||
"DIFF_VERSION_RESPONSE",
|
||||
"DIFF_CHECKSUMS_RESPONSE",
|
||||
"DIFF_DOWNLOAD_RESPONSE",
|
||||
"DIFF_UPLOAD_REQUEST",
|
||||
"DIFF_UPLOAD_RESPONSE",
|
||||
"COSMO_BINARY_REFERENCE",
|
||||
"ARBITRARY_BYTES"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Reference contains a GFS path or a local path.",
|
||||
"Reference points to a blobstore object. This could be either a v1 blob_ref or a v2 blobstore2_info. Clients should check blobstore2_info first, since v1 is being deprecated.",
|
||||
"Data is included into this proto buffer",
|
||||
"Data should be accessed from the current service using the operation GetMedia.",
|
||||
"The content for this media object is stored across multiple partial media objects under the composite_media field.",
|
||||
"Reference points to a bigstore object",
|
||||
"Indicates the data is stored in diff_version_response.",
|
||||
"Indicates the data is stored in diff_checksums_response.",
|
||||
"Indicates the data is stored in diff_download_response.",
|
||||
"Indicates the data is stored in diff_upload_request.",
|
||||
"Indicates the data is stored in diff_upload_response.",
|
||||
"Indicates the data is stored in cosmo_binary_reference.",
|
||||
"Informs Scotty to generate a response payload with the size specified in the length field. The contents of the payload are generated by Scotty and are undefined. This is useful for testing download speeds between the user and Scotty without involving a real payload source. Note: range is not supported when using arbitrary_bytes."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"sha1Hash": {
|
||||
"description": "Scotty-provided SHA1 hash for an upload.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"sha256Hash": {
|
||||
"description": "Scotty-provided SHA256 hash for an upload.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"timestamp": {
|
||||
"description": "Time at which the media data was last updated, in milliseconds since UNIX epoch",
|
||||
"format": "uint64",
|
||||
"type": "string"
|
||||
},
|
||||
"token": {
|
||||
"description": "A unique fingerprint/version id for the media data",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"MediaRequestInfo": {
|
||||
"description": "Extra information added to operations that support Scotty media requests.",
|
||||
"id": "MediaRequestInfo",
|
||||
"properties": {
|
||||
"currentBytes": {
|
||||
"description": "The number of current bytes uploaded or downloaded.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"customData": {
|
||||
"description": "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.",
|
||||
"type": "string"
|
||||
},
|
||||
"diffObjectVersion": {
|
||||
"description": "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.",
|
||||
"type": "string"
|
||||
},
|
||||
"finalStatus": {
|
||||
"description": "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",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"notificationType": {
|
||||
"description": "The type of notification received from Scotty.",
|
||||
"enum": [
|
||||
"START",
|
||||
"PROGRESS",
|
||||
"END",
|
||||
"RESPONSE_SENT",
|
||||
"ERROR"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Such requests signals the start of a request containing media upload. Only the media field(s) in the inserted/updated resource are set. The response should either return an error or succeed. On success, responses don't need to contain anything.",
|
||||
"Such requests signals that the upload has progressed and that the backend might want to access the media file specified in relevant fields in the resource. Only the media field(s) in the inserted/updated resource are set. The response should either return an error or succeed. On success, responses don't need to contain anything.",
|
||||
"Such requests signals the end of a request containing media upload. END should be handled just like normal Insert/Upload requests, that is, they should process the request and return a complete resource in the response. Pointers to media data (a GFS path usually) appear in the relevant fields in the inserted/updated resource. See gdata.Media in data.proto.",
|
||||
"Such requests occur after an END and signal that the response has been sent back to the client. RESPONSE_SENT is only sent to the backend if it is configured to receive them. The response does not need to contain anything.",
|
||||
"Such requests indicate that an error occurred while processing the request. ERROR is only sent to the backend if it is configured to receive them. It is not guaranteed that all errors will result in this notification to the backend, even if the backend requests them. Since these requests are just for informational purposes, the response does not need to contain anything."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"requestId": {
|
||||
"description": "The Scotty request ID.",
|
||||
"type": "string"
|
||||
},
|
||||
"totalBytes": {
|
||||
"description": "The total size of the file.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"totalBytesIsEstimated": {
|
||||
"description": "Whether the total bytes field contains an estimated data.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Message": {
|
||||
"description": "A message that will be displayed with a Valuable",
|
||||
"id": "Message",
|
||||
@@ -6000,6 +6585,26 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ObjectId": {
|
||||
"description": "This is a copy of the tech.blob.ObjectId proto, which could not be used directly here due to transitive closure issues with JavaScript support; see http://b/8801763.",
|
||||
"id": "ObjectId",
|
||||
"properties": {
|
||||
"bucketName": {
|
||||
"description": "The name of the bucket to which this object belongs.",
|
||||
"type": "string"
|
||||
},
|
||||
"generation": {
|
||||
"description": "Generation of the object. Generations are monotonically increasing across writes, allowing them to be be compared to determine which generation is newer. If this is omitted in a request, then you are requesting the live object. See http://go/bigstore-versions",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"objectName": {
|
||||
"description": "The name of the object.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OfferClass": {
|
||||
"id": "OfferClass",
|
||||
"properties": {
|
||||
@@ -6503,6 +7108,36 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"PrivateText": {
|
||||
"description": "Private data for TextModule. This data will be rendered as a TextModule for a pass.",
|
||||
"id": "PrivateText",
|
||||
"properties": {
|
||||
"body": {
|
||||
"$ref": "LocalizedString",
|
||||
"description": "Translated strings for the body."
|
||||
},
|
||||
"header": {
|
||||
"$ref": "LocalizedString",
|
||||
"description": "Translated strings for the header."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"PrivateUri": {
|
||||
"description": "Private data for LinkModule. This data will be rendered as the LinkModule for a pass.",
|
||||
"id": "PrivateUri",
|
||||
"properties": {
|
||||
"description": {
|
||||
"$ref": "LocalizedString",
|
||||
"description": "The URI's title appearing in the app as text and its translated strings. Recommended maximum is 20 characters to ensure the full string is displayed on smaller screens."
|
||||
},
|
||||
"uri": {
|
||||
"description": "The location of a web page, image, or other resource. URIs in the `LinksModuleData` can have different prefixes indicating the type of URI (a link to a web page, a link to a map, a telephone number, or an email address).",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"PurchaseDetails": {
|
||||
"id": "PurchaseDetails",
|
||||
"properties": {
|
||||
@@ -6768,6 +7403,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"RotatingBarcodeTotpDetailsTotpParameters": {
|
||||
"description": "Configuration for the key and value length. See https://www.rfc-editor.org/rfc/rfc4226#section-5.3",
|
||||
"id": "RotatingBarcodeTotpDetailsTotpParameters",
|
||||
"properties": {
|
||||
"key": {
|
||||
@@ -7085,6 +7721,10 @@
|
||||
"TransitClass": {
|
||||
"id": "TransitClass",
|
||||
"properties": {
|
||||
"activationOptions": {
|
||||
"$ref": "ActivationOptions",
|
||||
"description": "Activation options for an activatable ticket."
|
||||
},
|
||||
"allowMultipleUsersPerObject": {
|
||||
"description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.",
|
||||
"type": "boolean"
|
||||
@@ -7411,6 +8051,10 @@
|
||||
"TransitObject": {
|
||||
"id": "TransitObject",
|
||||
"properties": {
|
||||
"activationStatus": {
|
||||
"$ref": "ActivationStatus",
|
||||
"description": "The activation status for the object. Required if the class has `activationOptions` set."
|
||||
},
|
||||
"appLinkData": {
|
||||
"$ref": "AppLinkData",
|
||||
"description": "Optional information about the partner app link."
|
||||
@@ -7457,6 +8101,10 @@
|
||||
"$ref": "LocalizedString",
|
||||
"description": "A custom status to use for the ticket status value when `ticketStatus` does not provide the right option. Both `ticketStatus` and `customTicketStatus` may not be set."
|
||||
},
|
||||
"deviceContext": {
|
||||
"$ref": "DeviceContext",
|
||||
"description": "Device context associated with the object."
|
||||
},
|
||||
"disableExpirationNotification": {
|
||||
"description": "Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers.",
|
||||
"type": "boolean"
|
||||
@@ -7712,6 +8360,65 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UploadPrivateDataRequest": {
|
||||
"description": "Request for sending user private Text or URI by the Issuer.",
|
||||
"id": "UploadPrivateDataRequest",
|
||||
"properties": {
|
||||
"issuerId": {
|
||||
"description": "The ID of the issuer sending the data.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"text": {
|
||||
"$ref": "PrivateText",
|
||||
"description": "Private text data of the user."
|
||||
},
|
||||
"uri": {
|
||||
"$ref": "PrivateUri",
|
||||
"description": "Private URIs of the user."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UploadPrivateDataResponse": {
|
||||
"description": "Response for uploading user private data (text or URIs)",
|
||||
"id": "UploadPrivateDataResponse",
|
||||
"properties": {
|
||||
"privateContentId": {
|
||||
"description": "A 64-bit content id for the private data that was uploaded by the Issuer.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UploadPrivateImageRequest": {
|
||||
"description": "Request to upload user's private images by Issuers to be used in passes.",
|
||||
"id": "UploadPrivateImageRequest",
|
||||
"properties": {
|
||||
"blob": {
|
||||
"$ref": "Media",
|
||||
"description": "A reference to the image payload that was uploaded by Scotty."
|
||||
},
|
||||
"mediaRequestInfo": {
|
||||
"$ref": "MediaRequestInfo",
|
||||
"description": "Extra information about the uploaded media."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UploadPrivateImageResponse": {
|
||||
"description": "Response for uploading the private image",
|
||||
"id": "UploadPrivateImageResponse",
|
||||
"properties": {
|
||||
"privateContentId": {
|
||||
"description": "A 64-bit content id for the image that was uploaded by the Issuer.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Uri": {
|
||||
"id": "Uri",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user