class Media extends Resource (View source)

The "media" collection of methods.

Typical usage is:

 $walletobjectsService = new Google\Service\Walletobjects(...);
 $media = $walletobjectsService->media;

Methods

download(string $resourceId, array $optParams = [])

Downloads rotating barcode values for the transit object referenced by the given object ID. (media.download)

upload(string $resourceId, TransitObjectUploadRotatingBarcodeValuesRequest $postBody, array $optParams = [])

Uploads rotating barcode values for the transit object referenced by the given object ID. Note the max upload size is specified in google3/production/config/cdd/apps-upload/customers/payments-consumer- passes/config.gcl and enforced by Scotty. (media.upload)

Details

Media download(string $resourceId, array $optParams = [])

Downloads rotating barcode values for the transit object referenced by the given object ID. (media.download)

Parameters

string $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 '-'.

array $optParams

Optional parameters.

Return Value

Media

Exceptions

Exception

TransitObjectUploadRotatingBarcodeValuesResponse upload(string $resourceId, TransitObjectUploadRotatingBarcodeValuesRequest $postBody, array $optParams = [])

Uploads rotating barcode values for the transit object referenced by the given object ID. Note the max upload size is specified in google3/production/config/cdd/apps-upload/customers/payments-consumer- passes/config.gcl and enforced by Scotty. (media.upload)

Parameters

string $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 '-'.

TransitObjectUploadRotatingBarcodeValuesRequest $postBody
array $optParams

Optional parameters.

Return Value

TransitObjectUploadRotatingBarcodeValuesResponse

Exceptions

Exception