Method: transitclass.insert

Inserts a transit class with the given ID and properties.

POST https://walletobjects.googleapis.com/walletobjects/v1/transitClass

The URL uses gRPC Transcoding syntax.

The request body contains an instance of TransitClass.

If successful, the response body contains a newly created instance of TransitClass.

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/wallet_object.issuer