Class MediaResource.UploadRequest
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.
Inheritance
MediaResource.UploadRequest
Implements
Inherited Members
Namespace: Google.Apis.Walletobjects.v1
Assembly: Google.Apis.Walletobjects.v1.dll
Syntax
public class MediaResource.UploadRequest : WalletobjectsBaseServiceRequest<TransitObjectUploadRotatingBarcodeValuesResponse>, IClientServiceRequest<TransitObjectUploadRotatingBarcodeValuesResponse>, IClientServiceRequest
Constructors
UploadRequest(IClientService, TransitObjectUploadRotatingBarcodeValuesRequest, string)
Constructs a new Upload request.
Declaration
public UploadRequest(IClientService service, TransitObjectUploadRotatingBarcodeValuesRequest body, string resourceId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
TransitObjectUploadRotatingBarcodeValuesRequest | body | |
string | resourceId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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 '-'.
Declaration
[RequestParameter("resourceId", RequestParameterType.Path)]
public virtual string ResourceId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Upload parameter list.
Declaration
protected override void InitParameters()