public class Walletobjects.Media extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Walletobjects.Media.Download |
class |
Walletobjects.Media.Upload |
| Constructor and Description |
|---|
Media() |
| Modifier and Type | Method and Description |
|---|---|
Walletobjects.Media.Download |
download(String resourceId)
Downloads rotating barcode values for the transit object referenced by the given object ID.
|
Walletobjects.Media.Upload |
upload(String resourceId,
TransitObjectUploadRotatingBarcodeValuesRequest content)
Uploads rotating barcode values for the transit object referenced by the given object ID.
|
Walletobjects.Media.Upload |
upload(String resourceId,
TransitObjectUploadRotatingBarcodeValuesRequest content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Uploads rotating barcode values for the transit object referenced by the given object ID.
|
public Walletobjects.Media.Download download(String resourceId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resourceId - The unique identifier for an object. This ID must be unique across all objects from an issuer. This
value should follow the format issuer ID. identifier where the former is issued by Google
and latter is chosen by you. Your unique identifier should only include alphanumeric
characters, '.', '_', or '-'.IOExceptionpublic Walletobjects.Media.Upload upload(String resourceId, TransitObjectUploadRotatingBarcodeValuesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resourceId - The unique identifier for an object. This ID must be unique across all objects from an issuer. This
value should follow the format issuer ID. identifier where the former is issued by Google
and latter is chosen by you. Your unique identifier should only include alphanumeric
characters, '.', '_', or '-'.content - the TransitObjectUploadRotatingBarcodeValuesRequestIOExceptionpublic Walletobjects.Media.Upload upload(String resourceId, TransitObjectUploadRotatingBarcodeValuesRequest content, com.google.api.client.http.AbstractInputStreamContent mediaContent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
This method should be used for uploading media content.
resourceId - The unique identifier for an object. This ID must be unique across all objects from an issuer. This
value should follow the format issuer ID. identifier where the former is issued by Google
and latter is chosen by you. Your unique identifier should only include alphanumeric
characters, '.', '_', or '-'.content - the TransitObjectUploadRotatingBarcodeValuesRequest media metadata or null if nonemediaContent - The media HTTP content.IOException - if the initialization of the request failsCopyright © 2011–2025 Google. All rights reserved.