Show / Hide Table of Contents

Class TransitobjectResource

The "transitobject" collection of methods.

Inheritance
object
TransitobjectResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Walletobjects.v1
Assembly: Google.Apis.Walletobjects.v1.dll
Syntax
public class TransitobjectResource

Constructors

TransitobjectResource(IClientService)

Constructs a new resource.

Declaration
public TransitobjectResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Addmessage(AddMessageRequest, string)

Adds a message to the transit object referenced by the given object ID.

Declaration
public virtual TransitobjectResource.AddmessageRequest Addmessage(AddMessageRequest body, string resourceId)
Parameters
Type Name Description
AddMessageRequest body

The body of the request.

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

Returns
Type Description
TransitobjectResource.AddmessageRequest

Get(string)

Returns the transit object with the given object ID.

Declaration
public virtual TransitobjectResource.GetRequest Get(string resourceId)
Parameters
Type Name Description
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 '-'.

Returns
Type Description
TransitobjectResource.GetRequest

Insert(TransitObject)

Inserts an transit object with the given ID and properties.

Declaration
public virtual TransitobjectResource.InsertRequest Insert(TransitObject body)
Parameters
Type Name Description
TransitObject body

The body of the request.

Returns
Type Description
TransitobjectResource.InsertRequest

List()

Returns a list of all transit objects for a given issuer ID.

Declaration
public virtual TransitobjectResource.ListRequest List()
Returns
Type Description
TransitobjectResource.ListRequest

Patch(TransitObject, string)

Updates the transit object referenced by the given object ID. This method supports patch semantics.

Declaration
public virtual TransitobjectResource.PatchRequest Patch(TransitObject body, string resourceId)
Parameters
Type Name Description
TransitObject body

The body of the request.

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

Returns
Type Description
TransitobjectResource.PatchRequest

Update(TransitObject, string)

Updates the transit object referenced by the given object ID.

Declaration
public virtual TransitobjectResource.UpdateRequest Update(TransitObject body, string resourceId)
Parameters
Type Name Description
TransitObject body

The body of the request.

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

Returns
Type Description
TransitobjectResource.UpdateRequest
In this article
Back to top Generated by DocFX