Class: Google::Apis::WalletobjectsV1::WalletobjectsService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::WalletobjectsV1::WalletobjectsService
- Defined in:
- lib/google/apis/walletobjects_v1/service.rb
Overview
Google Wallet API
API for issuers to save and manage Google Wallet Objects.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://walletobjects.$UNIVERSE_DOMAIN$/"
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#addmessage_eventticketclass(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketClassAddMessageResponse
Adds a message to the event ticket class referenced by the given class ID.
-
#addmessage_eventticketobject(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketObjectAddMessageResponse
Adds a message to the event ticket object referenced by the given object ID.
-
#addmessage_flightclass(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightClassAddMessageResponse
Adds a message to the flight class referenced by the given class ID.
-
#addmessage_flightobject(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightObjectAddMessageResponse
Adds a message to the flight object referenced by the given object ID.
-
#addmessage_genericclass(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericClassAddMessageResponse
Adds a message to the generic class referenced by the given class ID.
-
#addmessage_genericobject(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericObjectAddMessageResponse
Adds a message to the generic object referenced by the given object ID.
-
#addmessage_giftcardclass(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardClassAddMessageResponse
Adds a message to the gift card class referenced by the given class ID.
-
#addmessage_giftcardobject(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardObjectAddMessageResponse
Adds a message to the gift card object referenced by the given object ID.
-
#addmessage_loyaltyclass(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyClassAddMessageResponse
Adds a message to the loyalty class referenced by the given class ID.
-
#addmessage_loyaltyobject(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyObjectAddMessageResponse
Adds a message to the loyalty object referenced by the given object ID.
-
#addmessage_offerclass(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferClassAddMessageResponse
Adds a message to the offer class referenced by the given class ID.
-
#addmessage_offerobject(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferObjectAddMessageResponse
Adds a message to the offer object referenced by the given object ID.
-
#addmessage_transitclass(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitClassAddMessageResponse
Adds a message to the transit class referenced by the given class ID.
-
#addmessage_transitobject(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitObjectAddMessageResponse
Adds a message to the transit object referenced by the given object ID.
-
#download_medium(resource_id, fields: nil, quota_user: nil, download_dest: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::Media
Downloads rotating barcode values for the transit object referenced by the given object ID.
-
#get_eventticketclass(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketClass
Returns the event ticket class with the given class ID.
-
#get_eventticketobject(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketObject
Returns the event ticket object with the given object ID.
-
#get_flightclass(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightClass
Returns the flight class with the given class ID.
-
#get_flightobject(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightObject
Returns the flight object with the given object ID.
-
#get_genericclass(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericClass
Returns the generic class with the given class ID.
-
#get_genericobject(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericObject
Returns the generic object with the given object ID.
-
#get_giftcardclass(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardClass
Returns the gift card class with the given class ID.
-
#get_giftcardobject(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardObject
Returns the gift card object with the given object ID.
-
#get_issuer(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::Issuer
Returns the issuer with the given issuer ID.
-
#get_loyaltyclass(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyClass
Returns the loyalty class with the given class ID.
-
#get_loyaltyobject(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyObject
Returns the loyalty object with the given object ID.
-
#get_offerclass(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferClass
Returns the offer class with the given class ID.
-
#get_offerobject(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferObject
Returns the offer object with the given object ID.
-
#get_permission(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::Permissions
Returns the permissions for the given issuer id.
-
#get_transitclass(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitClass
Returns the transit class with the given class ID.
-
#get_transitobject(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitObject
Returns the transit object with the given object ID.
-
#initialize ⇒ WalletobjectsService
constructor
A new instance of WalletobjectsService.
-
#insert_eventticketclass(event_ticket_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketClass
Inserts an event ticket class with the given ID and properties.
-
#insert_eventticketobject(event_ticket_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketObject
Inserts an event ticket object with the given ID and properties.
-
#insert_flightclass(flight_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightClass
Inserts an flight class with the given ID and properties.
-
#insert_flightobject(flight_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightObject
Inserts an flight object with the given ID and properties.
-
#insert_genericclass(generic_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericClass
Inserts a generic class with the given ID and properties.
-
#insert_genericobject(generic_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericObject
Inserts a generic object with the given ID and properties.
-
#insert_giftcardclass(gift_card_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardClass
Inserts an gift card class with the given ID and properties.
-
#insert_giftcardobject(gift_card_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardObject
Inserts an gift card object with the given ID and properties.
-
#insert_issuer(issuer_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::Issuer
Inserts an issuer with the given ID and properties.
-
#insert_jwt(jwt_resource_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::JwtInsertResponse
Inserts the resources in the JWT.
-
#insert_loyaltyclass(loyalty_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyClass
Inserts an loyalty class with the given ID and properties.
-
#insert_loyaltyobject(loyalty_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyObject
Inserts an loyalty object with the given ID and properties.
-
#insert_offerclass(offer_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferClass
Inserts an offer class with the given ID and properties.
-
#insert_offerobject(offer_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferObject
Inserts an offer object with the given ID and properties.
-
#insert_smarttap(smart_tap_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::SmartTap
Inserts the smart tap.
-
#insert_transitclass(transit_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitClass
Inserts a transit class with the given ID and properties.
-
#insert_transitobject(transit_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitObject
Inserts an transit object with the given ID and properties.
-
#list_eventticketclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketClassListResponse
Returns a list of all event ticket classes for a given issuer ID.
-
#list_eventticketobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketObjectListResponse
Returns a list of all event ticket objects for a given issuer ID.
-
#list_flightclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightClassListResponse
Returns a list of all flight classes for a given issuer ID.
-
#list_flightobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightObjectListResponse
Returns a list of all flight objects for a given issuer ID.
-
#list_genericclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericClassListResponse
Returns a list of all generic classes for a given issuer ID.
-
#list_genericobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericObjectListResponse
Returns a list of all generic objects for a given issuer ID.
-
#list_giftcardclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardClassListResponse
Returns a list of all gift card classes for a given issuer ID.
-
#list_giftcardobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardObjectListResponse
Returns a list of all gift card objects for a given issuer ID.
-
#list_issuers(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::IssuerListResponse
Returns a list of all issuers shared to the caller.
-
#list_loyaltyclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyClassListResponse
Returns a list of all loyalty classes for a given issuer ID.
-
#list_loyaltyobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyObjectListResponse
Returns a list of all loyalty objects for a given issuer ID.
-
#list_offerclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferClassListResponse
Returns a list of all offer classes for a given issuer ID.
-
#list_offerobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferObjectListResponse
Returns a list of all offer objects for a given issuer ID.
-
#list_transitclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitClassListResponse
Returns a list of all transit classes for a given issuer ID.
-
#list_transitobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitObjectListResponse
Returns a list of all transit objects for a given issuer ID.
-
#modifylinkedofferobjects_eventticketobject(resource_id, modify_linked_offer_objects_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketObject
Modifies linked offer objects for the event ticket object with the given ID.
-
#modifylinkedofferobjects_loyaltyobject(resource_id, modify_linked_offer_objects_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyObject
Modifies linked offer objects for the loyalty object with the given ID.
-
#patch_eventticketclass(resource_id, event_ticket_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketClass
Updates the event ticket class referenced by the given class ID.
-
#patch_eventticketobject(resource_id, event_ticket_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketObject
Updates the event ticket object referenced by the given object ID.
-
#patch_flightclass(resource_id, flight_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightClass
Updates the flight class referenced by the given class ID.
-
#patch_flightobject(resource_id, flight_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightObject
Updates the flight object referenced by the given object ID.
-
#patch_genericclass(resource_id, generic_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericClass
Updates the generic class referenced by the given class ID.
-
#patch_genericobject(resource_id, generic_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericObject
Updates the generic object referenced by the given object ID.
-
#patch_giftcardclass(resource_id, gift_card_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardClass
Updates the gift card class referenced by the given class ID.
-
#patch_giftcardobject(resource_id, gift_card_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardObject
Updates the gift card object referenced by the given object ID.
-
#patch_issuer(resource_id, issuer_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::Issuer
Updates the issuer referenced by the given issuer ID.
-
#patch_loyaltyclass(resource_id, loyalty_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyClass
Updates the loyalty class referenced by the given class ID.
-
#patch_loyaltyobject(resource_id, loyalty_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyObject
Updates the loyalty object referenced by the given object ID.
-
#patch_offerclass(resource_id, offer_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferClass
Updates the offer class referenced by the given class ID.
-
#patch_offerobject(resource_id, offer_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferObject
Updates the offer object referenced by the given object ID.
-
#patch_transitclass(resource_id, transit_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitClass
Updates the transit class referenced by the given class ID.
-
#patch_transitobject(resource_id, transit_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitObject
Updates the transit object referenced by the given object ID.
-
#update_eventticketclass(resource_id, event_ticket_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketClass
Updates the event ticket class referenced by the given class ID.
-
#update_eventticketobject(resource_id, event_ticket_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketObject
Updates the event ticket object referenced by the given object ID.
-
#update_flightclass(resource_id, flight_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightClass
Updates the flight class referenced by the given class ID.
-
#update_flightobject(resource_id, flight_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightObject
Updates the flight object referenced by the given object ID.
-
#update_genericclass(resource_id, generic_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericClass
Updates the Generic class referenced by the given class ID.
-
#update_genericobject(resource_id, generic_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericObject
Updates the generic object referenced by the given object ID.
-
#update_giftcardclass(resource_id, gift_card_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardClass
Updates the gift card class referenced by the given class ID.
-
#update_giftcardobject(resource_id, gift_card_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardObject
Updates the gift card object referenced by the given object ID.
-
#update_issuer(resource_id, issuer_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::Issuer
Updates the issuer referenced by the given issuer ID.
-
#update_loyaltyclass(resource_id, loyalty_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyClass
Updates the loyalty class referenced by the given class ID.
-
#update_loyaltyobject(resource_id, loyalty_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyObject
Updates the loyalty object referenced by the given object ID.
-
#update_offerclass(resource_id, offer_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferClass
Updates the offer class referenced by the given class ID.
-
#update_offerobject(resource_id, offer_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferObject
Updates the offer object referenced by the given object ID.
-
#update_permission(resource_id, permissions_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::Permissions
Updates the permissions for the given issuer.
-
#update_transitclass(resource_id, transit_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitClass
Updates the transit class referenced by the given class ID.
-
#update_transitobject(resource_id, transit_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitObject
Updates the transit object referenced by the given object ID.
-
#upload_medium(resource_id, transit_object_upload_rotating_barcode_values_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitObjectUploadRotatingBarcodeValuesResponse
Uploads rotating barcode values for the transit object referenced by the given object ID.
Constructor Details
#initialize ⇒ WalletobjectsService
Returns a new instance of WalletobjectsService.
47 48 49 50 51 52 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 47 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-walletobjects_v1', client_version: Google::Apis::WalletobjectsV1::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
40 41 42 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 40 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
45 46 47 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 45 def quota_user @quota_user end |
Instance Method Details
#addmessage_eventticketclass(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketClassAddMessageResponse
Adds a message to the event ticket class referenced by the given class ID.
78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 78 def (resource_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/eventTicketClass/{resourceId}/addMessage', ) command.request_representation = Google::Apis::WalletobjectsV1::AddMessageRequest::Representation command.request_object = command.response_representation = Google::Apis::WalletobjectsV1::EventTicketClassAddMessageResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::EventTicketClassAddMessageResponse command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#addmessage_eventticketobject(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketObjectAddMessageResponse
Adds a message to the event ticket object referenced by the given object ID.
291 292 293 294 295 296 297 298 299 300 301 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 291 def (resource_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/eventTicketObject/{resourceId}/addMessage', ) command.request_representation = Google::Apis::WalletobjectsV1::AddMessageRequest::Representation command.request_object = command.response_representation = Google::Apis::WalletobjectsV1::EventTicketObjectAddMessageResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::EventTicketObjectAddMessageResponse command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#addmessage_flightclass(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightClassAddMessageResponse
Adds a message to the flight class referenced by the given class ID.
540 541 542 543 544 545 546 547 548 549 550 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 540 def (resource_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/flightClass/{resourceId}/addMessage', ) command.request_representation = Google::Apis::WalletobjectsV1::AddMessageRequest::Representation command.request_object = command.response_representation = Google::Apis::WalletobjectsV1::FlightClassAddMessageResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::FlightClassAddMessageResponse command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#addmessage_flightobject(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightObjectAddMessageResponse
Adds a message to the flight object referenced by the given object ID.
753 754 755 756 757 758 759 760 761 762 763 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 753 def (resource_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/flightObject/{resourceId}/addMessage', ) command.request_representation = Google::Apis::WalletobjectsV1::AddMessageRequest::Representation command.request_object = command.response_representation = Google::Apis::WalletobjectsV1::FlightObjectAddMessageResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::FlightObjectAddMessageResponse command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#addmessage_genericclass(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericClassAddMessageResponse
Adds a message to the generic class referenced by the given class ID.
966 967 968 969 970 971 972 973 974 975 976 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 966 def (resource_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/genericClass/{resourceId}/addMessage', ) command.request_representation = Google::Apis::WalletobjectsV1::AddMessageRequest::Representation command.request_object = command.response_representation = Google::Apis::WalletobjectsV1::GenericClassAddMessageResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::GenericClassAddMessageResponse command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#addmessage_genericobject(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericObjectAddMessageResponse
Adds a message to the generic object referenced by the given object ID.
1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1179 def (resource_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/genericObject/{resourceId}/addMessage', ) command.request_representation = Google::Apis::WalletobjectsV1::AddMessageRequest::Representation command.request_object = command.response_representation = Google::Apis::WalletobjectsV1::GenericObjectAddMessageResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::GenericObjectAddMessageResponse command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#addmessage_giftcardclass(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardClassAddMessageResponse
Adds a message to the gift card class referenced by the given class ID.
1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1392 def (resource_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/giftCardClass/{resourceId}/addMessage', ) command.request_representation = Google::Apis::WalletobjectsV1::AddMessageRequest::Representation command.request_object = command.response_representation = Google::Apis::WalletobjectsV1::GiftCardClassAddMessageResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::GiftCardClassAddMessageResponse command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#addmessage_giftcardobject(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardObjectAddMessageResponse
Adds a message to the gift card object referenced by the given object ID.
1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1605 def (resource_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/giftCardObject/{resourceId}/addMessage', ) command.request_representation = Google::Apis::WalletobjectsV1::AddMessageRequest::Representation command.request_object = command.response_representation = Google::Apis::WalletobjectsV1::GiftCardObjectAddMessageResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::GiftCardObjectAddMessageResponse command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#addmessage_loyaltyclass(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyClassAddMessageResponse
Adds a message to the loyalty class referenced by the given class ID.
2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2002 def (resource_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/loyaltyClass/{resourceId}/addMessage', ) command.request_representation = Google::Apis::WalletobjectsV1::AddMessageRequest::Representation command.request_object = command.response_representation = Google::Apis::WalletobjectsV1::LoyaltyClassAddMessageResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::LoyaltyClassAddMessageResponse command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#addmessage_loyaltyobject(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyObjectAddMessageResponse
Adds a message to the loyalty object referenced by the given object ID.
2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2215 def (resource_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/loyaltyObject/{resourceId}/addMessage', ) command.request_representation = Google::Apis::WalletobjectsV1::AddMessageRequest::Representation command.request_object = command.response_representation = Google::Apis::WalletobjectsV1::LoyaltyObjectAddMessageResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::LoyaltyObjectAddMessageResponse command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#addmessage_offerclass(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferClassAddMessageResponse
Adds a message to the offer class referenced by the given class ID.
2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2554 def (resource_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/offerClass/{resourceId}/addMessage', ) command.request_representation = Google::Apis::WalletobjectsV1::AddMessageRequest::Representation command.request_object = command.response_representation = Google::Apis::WalletobjectsV1::OfferClassAddMessageResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::OfferClassAddMessageResponse command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#addmessage_offerobject(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferObjectAddMessageResponse
Adds a message to the offer object referenced by the given object ID.
2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2767 def (resource_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/offerObject/{resourceId}/addMessage', ) command.request_representation = Google::Apis::WalletobjectsV1::AddMessageRequest::Representation command.request_object = command.response_representation = Google::Apis::WalletobjectsV1::OfferObjectAddMessageResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::OfferObjectAddMessageResponse command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#addmessage_transitclass(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitClassAddMessageResponse
Adds a message to the transit class referenced by the given class ID.
3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3073 def (resource_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/transitClass/{resourceId}/addMessage', ) command.request_representation = Google::Apis::WalletobjectsV1::AddMessageRequest::Representation command.request_object = command.response_representation = Google::Apis::WalletobjectsV1::TransitClassAddMessageResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::TransitClassAddMessageResponse command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#addmessage_transitobject(resource_id, add_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitObjectAddMessageResponse
Adds a message to the transit object referenced by the given object ID.
3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3286 def (resource_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/transitObject/{resourceId}/addMessage', ) command.request_representation = Google::Apis::WalletobjectsV1::AddMessageRequest::Representation command.request_object = command.response_representation = Google::Apis::WalletobjectsV1::TransitObjectAddMessageResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::TransitObjectAddMessageResponse command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#download_medium(resource_id, fields: nil, quota_user: nil, download_dest: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::Media
Downloads rotating barcode values for the transit object referenced by the given object ID.
2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2466 def download_medium(resource_id, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block) if download_dest.nil? command = make_simple_command(:get, 'walletobjects/v1/transitObject/{resourceId}/downloadRotatingBarcodeValues', ) else command = make_download_command(:get, 'walletobjects/v1/transitObject/{resourceId}/downloadRotatingBarcodeValues', ) command.download_dest = download_dest end command.response_representation = Google::Apis::WalletobjectsV1::Media::Representation command.response_class = Google::Apis::WalletobjectsV1::Media command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_eventticketclass(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketClass
Returns the event ticket class with the given class ID.
113 114 115 116 117 118 119 120 121 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 113 def get_eventticketclass(resource_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/eventTicketClass/{resourceId}', ) command.response_representation = Google::Apis::WalletobjectsV1::EventTicketClass::Representation command.response_class = Google::Apis::WalletobjectsV1::EventTicketClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_eventticketobject(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketObject
Returns the event ticket object with the given object ID.
326 327 328 329 330 331 332 333 334 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 326 def get_eventticketobject(resource_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/eventTicketObject/{resourceId}', ) command.response_representation = Google::Apis::WalletobjectsV1::EventTicketObject::Representation command.response_class = Google::Apis::WalletobjectsV1::EventTicketObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_flightclass(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightClass
Returns the flight class with the given class ID.
575 576 577 578 579 580 581 582 583 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 575 def get_flightclass(resource_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/flightClass/{resourceId}', ) command.response_representation = Google::Apis::WalletobjectsV1::FlightClass::Representation command.response_class = Google::Apis::WalletobjectsV1::FlightClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_flightobject(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightObject
Returns the flight object with the given object ID.
788 789 790 791 792 793 794 795 796 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 788 def get_flightobject(resource_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/flightObject/{resourceId}', ) command.response_representation = Google::Apis::WalletobjectsV1::FlightObject::Representation command.response_class = Google::Apis::WalletobjectsV1::FlightObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_genericclass(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericClass
Returns the generic class with the given class ID.
1001 1002 1003 1004 1005 1006 1007 1008 1009 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1001 def get_genericclass(resource_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/genericClass/{resourceId}', ) command.response_representation = Google::Apis::WalletobjectsV1::GenericClass::Representation command.response_class = Google::Apis::WalletobjectsV1::GenericClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_genericobject(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericObject
Returns the generic object with the given object ID.
1214 1215 1216 1217 1218 1219 1220 1221 1222 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1214 def get_genericobject(resource_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/genericObject/{resourceId}', ) command.response_representation = Google::Apis::WalletobjectsV1::GenericObject::Representation command.response_class = Google::Apis::WalletobjectsV1::GenericObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_giftcardclass(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardClass
Returns the gift card class with the given class ID.
1427 1428 1429 1430 1431 1432 1433 1434 1435 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1427 def get_giftcardclass(resource_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/giftCardClass/{resourceId}', ) command.response_representation = Google::Apis::WalletobjectsV1::GiftCardClass::Representation command.response_class = Google::Apis::WalletobjectsV1::GiftCardClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_giftcardobject(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardObject
Returns the gift card object with the given object ID.
1640 1641 1642 1643 1644 1645 1646 1647 1648 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1640 def get_giftcardobject(resource_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/giftCardObject/{resourceId}', ) command.response_representation = Google::Apis::WalletobjectsV1::GiftCardObject::Representation command.response_class = Google::Apis::WalletobjectsV1::GiftCardObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_issuer(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::Issuer
Returns the issuer with the given issuer ID.
1814 1815 1816 1817 1818 1819 1820 1821 1822 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1814 def get_issuer(resource_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/issuer/{resourceId}', ) command.response_representation = Google::Apis::WalletobjectsV1::Issuer::Representation command.response_class = Google::Apis::WalletobjectsV1::Issuer command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_loyaltyclass(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyClass
Returns the loyalty class with the given class ID.
2037 2038 2039 2040 2041 2042 2043 2044 2045 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2037 def get_loyaltyclass(resource_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/loyaltyClass/{resourceId}', ) command.response_representation = Google::Apis::WalletobjectsV1::LoyaltyClass::Representation command.response_class = Google::Apis::WalletobjectsV1::LoyaltyClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_loyaltyobject(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyObject
Returns the loyalty object with the given object ID.
2250 2251 2252 2253 2254 2255 2256 2257 2258 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2250 def get_loyaltyobject(resource_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/loyaltyObject/{resourceId}', ) command.response_representation = Google::Apis::WalletobjectsV1::LoyaltyObject::Representation command.response_class = Google::Apis::WalletobjectsV1::LoyaltyObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_offerclass(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferClass
Returns the offer class with the given class ID.
2589 2590 2591 2592 2593 2594 2595 2596 2597 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2589 def get_offerclass(resource_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/offerClass/{resourceId}', ) command.response_representation = Google::Apis::WalletobjectsV1::OfferClass::Representation command.response_class = Google::Apis::WalletobjectsV1::OfferClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_offerobject(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferObject
Returns the offer object with the given object ID.
2802 2803 2804 2805 2806 2807 2808 2809 2810 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2802 def get_offerobject(resource_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/offerObject/{resourceId}', ) command.response_representation = Google::Apis::WalletobjectsV1::OfferObject::Representation command.response_class = Google::Apis::WalletobjectsV1::OfferObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_permission(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::Permissions
Returns the permissions for the given issuer id.
2976 2977 2978 2979 2980 2981 2982 2983 2984 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2976 def (resource_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/permissions/{resourceId}', ) command.response_representation = Google::Apis::WalletobjectsV1::Permissions::Representation command.response_class = Google::Apis::WalletobjectsV1::Permissions command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_transitclass(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitClass
Returns the transit class with the given class ID.
3108 3109 3110 3111 3112 3113 3114 3115 3116 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3108 def get_transitclass(resource_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/transitClass/{resourceId}', ) command.response_representation = Google::Apis::WalletobjectsV1::TransitClass::Representation command.response_class = Google::Apis::WalletobjectsV1::TransitClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_transitobject(resource_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitObject
Returns the transit object with the given object ID.
3321 3322 3323 3324 3325 3326 3327 3328 3329 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3321 def get_transitobject(resource_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/transitObject/{resourceId}', ) command.response_representation = Google::Apis::WalletobjectsV1::TransitObject::Representation command.response_class = Google::Apis::WalletobjectsV1::TransitObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_eventticketclass(event_ticket_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketClass
Inserts an event ticket class with the given ID and properties.
142 143 144 145 146 147 148 149 150 151 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 142 def insert_eventticketclass(event_ticket_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/eventTicketClass', ) command.request_representation = Google::Apis::WalletobjectsV1::EventTicketClass::Representation command.request_object = event_ticket_class_object command.response_representation = Google::Apis::WalletobjectsV1::EventTicketClass::Representation command.response_class = Google::Apis::WalletobjectsV1::EventTicketClass command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_eventticketobject(event_ticket_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketObject
Inserts an event ticket object with the given ID and properties.
355 356 357 358 359 360 361 362 363 364 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 355 def insert_eventticketobject(event_ticket_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/eventTicketObject', ) command.request_representation = Google::Apis::WalletobjectsV1::EventTicketObject::Representation command.request_object = event_ticket_object_object command.response_representation = Google::Apis::WalletobjectsV1::EventTicketObject::Representation command.response_class = Google::Apis::WalletobjectsV1::EventTicketObject command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_flightclass(flight_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightClass
Inserts an flight class with the given ID and properties.
604 605 606 607 608 609 610 611 612 613 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 604 def insert_flightclass(flight_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/flightClass', ) command.request_representation = Google::Apis::WalletobjectsV1::FlightClass::Representation command.request_object = flight_class_object command.response_representation = Google::Apis::WalletobjectsV1::FlightClass::Representation command.response_class = Google::Apis::WalletobjectsV1::FlightClass command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_flightobject(flight_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightObject
Inserts an flight object with the given ID and properties.
817 818 819 820 821 822 823 824 825 826 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 817 def insert_flightobject(flight_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/flightObject', ) command.request_representation = Google::Apis::WalletobjectsV1::FlightObject::Representation command.request_object = flight_object_object command.response_representation = Google::Apis::WalletobjectsV1::FlightObject::Representation command.response_class = Google::Apis::WalletobjectsV1::FlightObject command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_genericclass(generic_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericClass
Inserts a generic class with the given ID and properties.
1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1030 def insert_genericclass(generic_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/genericClass', ) command.request_representation = Google::Apis::WalletobjectsV1::GenericClass::Representation command.request_object = generic_class_object command.response_representation = Google::Apis::WalletobjectsV1::GenericClass::Representation command.response_class = Google::Apis::WalletobjectsV1::GenericClass command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_genericobject(generic_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericObject
Inserts a generic object with the given ID and properties.
1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1243 def insert_genericobject(generic_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/genericObject', ) command.request_representation = Google::Apis::WalletobjectsV1::GenericObject::Representation command.request_object = generic_object_object command.response_representation = Google::Apis::WalletobjectsV1::GenericObject::Representation command.response_class = Google::Apis::WalletobjectsV1::GenericObject command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_giftcardclass(gift_card_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardClass
Inserts an gift card class with the given ID and properties.
1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1456 def insert_giftcardclass(gift_card_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/giftCardClass', ) command.request_representation = Google::Apis::WalletobjectsV1::GiftCardClass::Representation command.request_object = gift_card_class_object command.response_representation = Google::Apis::WalletobjectsV1::GiftCardClass::Representation command.response_class = Google::Apis::WalletobjectsV1::GiftCardClass command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_giftcardobject(gift_card_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardObject
Inserts an gift card object with the given ID and properties.
1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1669 def insert_giftcardobject(gift_card_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/giftCardObject', ) command.request_representation = Google::Apis::WalletobjectsV1::GiftCardObject::Representation command.request_object = gift_card_object_object command.response_representation = Google::Apis::WalletobjectsV1::GiftCardObject::Representation command.response_class = Google::Apis::WalletobjectsV1::GiftCardObject command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_issuer(issuer_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::Issuer
Inserts an issuer with the given ID and properties.
1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1843 def insert_issuer(issuer_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/issuer', ) command.request_representation = Google::Apis::WalletobjectsV1::Issuer::Representation command.request_object = issuer_object command.response_representation = Google::Apis::WalletobjectsV1::Issuer::Representation command.response_class = Google::Apis::WalletobjectsV1::Issuer command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_jwt(jwt_resource_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::JwtInsertResponse
Inserts the resources in the JWT.
1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1967 def insert_jwt(jwt_resource_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/jwt', ) command.request_representation = Google::Apis::WalletobjectsV1::JwtResource::Representation command.request_object = jwt_resource_object command.response_representation = Google::Apis::WalletobjectsV1::JwtInsertResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::JwtInsertResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_loyaltyclass(loyalty_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyClass
Inserts an loyalty class with the given ID and properties.
2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2066 def insert_loyaltyclass(loyalty_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/loyaltyClass', ) command.request_representation = Google::Apis::WalletobjectsV1::LoyaltyClass::Representation command.request_object = loyalty_class_object command.response_representation = Google::Apis::WalletobjectsV1::LoyaltyClass::Representation command.response_class = Google::Apis::WalletobjectsV1::LoyaltyClass command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_loyaltyobject(loyalty_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyObject
Inserts an loyalty object with the given ID and properties.
2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2279 def insert_loyaltyobject(loyalty_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/loyaltyObject', ) command.request_representation = Google::Apis::WalletobjectsV1::LoyaltyObject::Representation command.request_object = loyalty_object_object command.response_representation = Google::Apis::WalletobjectsV1::LoyaltyObject::Representation command.response_class = Google::Apis::WalletobjectsV1::LoyaltyObject command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_offerclass(offer_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferClass
Inserts an offer class with the given ID and properties.
2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2618 def insert_offerclass(offer_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/offerClass', ) command.request_representation = Google::Apis::WalletobjectsV1::OfferClass::Representation command.request_object = offer_class_object command.response_representation = Google::Apis::WalletobjectsV1::OfferClass::Representation command.response_class = Google::Apis::WalletobjectsV1::OfferClass command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_offerobject(offer_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferObject
Inserts an offer object with the given ID and properties.
2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2831 def insert_offerobject(offer_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/offerObject', ) command.request_representation = Google::Apis::WalletobjectsV1::OfferObject::Representation command.request_object = offer_object_object command.response_representation = Google::Apis::WalletobjectsV1::OfferObject::Representation command.response_class = Google::Apis::WalletobjectsV1::OfferObject command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_smarttap(smart_tap_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::SmartTap
Inserts the smart tap.
3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3038 def insert_smarttap(smart_tap_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/smartTap', ) command.request_representation = Google::Apis::WalletobjectsV1::SmartTap::Representation command.request_object = smart_tap_object command.response_representation = Google::Apis::WalletobjectsV1::SmartTap::Representation command.response_class = Google::Apis::WalletobjectsV1::SmartTap command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_transitclass(transit_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitClass
Inserts a transit class with the given ID and properties.
3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3137 def insert_transitclass(transit_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/transitClass', ) command.request_representation = Google::Apis::WalletobjectsV1::TransitClass::Representation command.request_object = transit_class_object command.response_representation = Google::Apis::WalletobjectsV1::TransitClass::Representation command.response_class = Google::Apis::WalletobjectsV1::TransitClass command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_transitobject(transit_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitObject
Inserts an transit object with the given ID and properties.
3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3350 def insert_transitobject(transit_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/transitObject', ) command.request_representation = Google::Apis::WalletobjectsV1::TransitObject::Representation command.request_object = transit_object_object command.response_representation = Google::Apis::WalletobjectsV1::TransitObject::Representation command.response_class = Google::Apis::WalletobjectsV1::TransitObject command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_eventticketclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketClassListResponse
Returns a list of all event ticket classes for a given issuer ID.
182 183 184 185 186 187 188 189 190 191 192 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 182 def list_eventticketclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/eventTicketClass', ) command.response_representation = Google::Apis::WalletobjectsV1::EventTicketClassListResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::EventTicketClassListResponse command.query['issuerId'] = issuer_id unless issuer_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_eventticketobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketObjectListResponse
Returns a list of all event ticket objects for a given issuer ID.
395 396 397 398 399 400 401 402 403 404 405 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 395 def list_eventticketobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/eventTicketObject', ) command.response_representation = Google::Apis::WalletobjectsV1::EventTicketObjectListResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::EventTicketObjectListResponse command.query['classId'] = class_id unless class_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_flightclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightClassListResponse
Returns a list of all flight classes for a given issuer ID.
644 645 646 647 648 649 650 651 652 653 654 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 644 def list_flightclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/flightClass', ) command.response_representation = Google::Apis::WalletobjectsV1::FlightClassListResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::FlightClassListResponse command.query['issuerId'] = issuer_id unless issuer_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_flightobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightObjectListResponse
Returns a list of all flight objects for a given issuer ID.
857 858 859 860 861 862 863 864 865 866 867 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 857 def list_flightobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/flightObject', ) command.response_representation = Google::Apis::WalletobjectsV1::FlightObjectListResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::FlightObjectListResponse command.query['classId'] = class_id unless class_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_genericclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericClassListResponse
Returns a list of all generic classes for a given issuer ID.
1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1070 def list_genericclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/genericClass', ) command.response_representation = Google::Apis::WalletobjectsV1::GenericClassListResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::GenericClassListResponse command.query['issuerId'] = issuer_id unless issuer_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_genericobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericObjectListResponse
Returns a list of all generic objects for a given issuer ID.
1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1283 def list_genericobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/genericObject', ) command.response_representation = Google::Apis::WalletobjectsV1::GenericObjectListResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::GenericObjectListResponse command.query['classId'] = class_id unless class_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_giftcardclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardClassListResponse
Returns a list of all gift card classes for a given issuer ID.
1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1496 def list_giftcardclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/giftCardClass', ) command.response_representation = Google::Apis::WalletobjectsV1::GiftCardClassListResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::GiftCardClassListResponse command.query['issuerId'] = issuer_id unless issuer_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_giftcardobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardObjectListResponse
Returns a list of all gift card objects for a given issuer ID.
1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1709 def list_giftcardobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/giftCardObject', ) command.response_representation = Google::Apis::WalletobjectsV1::GiftCardObjectListResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::GiftCardObjectListResponse command.query['classId'] = class_id unless class_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_issuers(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::IssuerListResponse
Returns a list of all issuers shared to the caller.
1872 1873 1874 1875 1876 1877 1878 1879 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1872 def list_issuers(fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/issuer', ) command.response_representation = Google::Apis::WalletobjectsV1::IssuerListResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::IssuerListResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_loyaltyclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyClassListResponse
Returns a list of all loyalty classes for a given issuer ID.
2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2106 def list_loyaltyclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/loyaltyClass', ) command.response_representation = Google::Apis::WalletobjectsV1::LoyaltyClassListResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::LoyaltyClassListResponse command.query['issuerId'] = issuer_id unless issuer_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_loyaltyobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyObjectListResponse
Returns a list of all loyalty objects for a given issuer ID.
2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2319 def list_loyaltyobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/loyaltyObject', ) command.response_representation = Google::Apis::WalletobjectsV1::LoyaltyObjectListResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::LoyaltyObjectListResponse command.query['classId'] = class_id unless class_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_offerclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferClassListResponse
Returns a list of all offer classes for a given issuer ID.
2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2658 def list_offerclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/offerClass', ) command.response_representation = Google::Apis::WalletobjectsV1::OfferClassListResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::OfferClassListResponse command.query['issuerId'] = issuer_id unless issuer_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_offerobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferObjectListResponse
Returns a list of all offer objects for a given issuer ID.
2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2871 def list_offerobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/offerObject', ) command.response_representation = Google::Apis::WalletobjectsV1::OfferObjectListResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::OfferObjectListResponse command.query['classId'] = class_id unless class_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_transitclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitClassListResponse
Returns a list of all transit classes for a given issuer ID.
3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3177 def list_transitclasses(issuer_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/transitClass', ) command.response_representation = Google::Apis::WalletobjectsV1::TransitClassListResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::TransitClassListResponse command.query['issuerId'] = issuer_id unless issuer_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_transitobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitObjectListResponse
Returns a list of all transit objects for a given issuer ID.
3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3390 def list_transitobjects(class_id: nil, max_results: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'walletobjects/v1/transitObject', ) command.response_representation = Google::Apis::WalletobjectsV1::TransitObjectListResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::TransitObjectListResponse command.query['classId'] = class_id unless class_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#modifylinkedofferobjects_eventticketobject(resource_id, modify_linked_offer_objects_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketObject
Modifies linked offer objects for the event ticket object with the given ID.
431 432 433 434 435 436 437 438 439 440 441 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 431 def modifylinkedofferobjects_eventticketobject(resource_id, modify_linked_offer_objects_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/eventTicketObject/{resourceId}/modifyLinkedOfferObjects', ) command.request_representation = Google::Apis::WalletobjectsV1::ModifyLinkedOfferObjectsRequest::Representation command.request_object = modify_linked_offer_objects_request_object command.response_representation = Google::Apis::WalletobjectsV1::EventTicketObject::Representation command.response_class = Google::Apis::WalletobjectsV1::EventTicketObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#modifylinkedofferobjects_loyaltyobject(resource_id, modify_linked_offer_objects_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyObject
Modifies linked offer objects for the loyalty object with the given ID.
2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2355 def modifylinkedofferobjects_loyaltyobject(resource_id, modify_linked_offer_objects_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/loyaltyObject/{resourceId}/modifyLinkedOfferObjects', ) command.request_representation = Google::Apis::WalletobjectsV1::ModifyLinkedOfferObjectsRequest::Representation command.request_object = modify_linked_offer_objects_request_object command.response_representation = Google::Apis::WalletobjectsV1::LoyaltyObject::Representation command.response_class = Google::Apis::WalletobjectsV1::LoyaltyObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_eventticketclass(resource_id, event_ticket_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketClass
Updates the event ticket class referenced by the given class ID. This method supports patch semantics.
219 220 221 222 223 224 225 226 227 228 229 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 219 def patch_eventticketclass(resource_id, event_ticket_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'walletobjects/v1/eventTicketClass/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::EventTicketClass::Representation command.request_object = event_ticket_class_object command.response_representation = Google::Apis::WalletobjectsV1::EventTicketClass::Representation command.response_class = Google::Apis::WalletobjectsV1::EventTicketClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_eventticketobject(resource_id, event_ticket_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketObject
Updates the event ticket object referenced by the given object ID. This method supports patch semantics.
468 469 470 471 472 473 474 475 476 477 478 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 468 def patch_eventticketobject(resource_id, event_ticket_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'walletobjects/v1/eventTicketObject/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::EventTicketObject::Representation command.request_object = event_ticket_object_object command.response_representation = Google::Apis::WalletobjectsV1::EventTicketObject::Representation command.response_class = Google::Apis::WalletobjectsV1::EventTicketObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_flightclass(resource_id, flight_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightClass
Updates the flight class referenced by the given class ID. This method supports patch semantics.
681 682 683 684 685 686 687 688 689 690 691 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 681 def patch_flightclass(resource_id, flight_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'walletobjects/v1/flightClass/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::FlightClass::Representation command.request_object = flight_class_object command.response_representation = Google::Apis::WalletobjectsV1::FlightClass::Representation command.response_class = Google::Apis::WalletobjectsV1::FlightClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_flightobject(resource_id, flight_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightObject
Updates the flight object referenced by the given object ID. This method supports patch semantics.
894 895 896 897 898 899 900 901 902 903 904 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 894 def patch_flightobject(resource_id, flight_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'walletobjects/v1/flightObject/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::FlightObject::Representation command.request_object = flight_object_object command.response_representation = Google::Apis::WalletobjectsV1::FlightObject::Representation command.response_class = Google::Apis::WalletobjectsV1::FlightObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_genericclass(resource_id, generic_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericClass
Updates the generic class referenced by the given class ID. This method supports patch semantics.
1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1107 def patch_genericclass(resource_id, generic_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'walletobjects/v1/genericClass/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::GenericClass::Representation command.request_object = generic_class_object command.response_representation = Google::Apis::WalletobjectsV1::GenericClass::Representation command.response_class = Google::Apis::WalletobjectsV1::GenericClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_genericobject(resource_id, generic_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericObject
Updates the generic object referenced by the given object ID. This method supports patch semantics.
1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1320 def patch_genericobject(resource_id, generic_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'walletobjects/v1/genericObject/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::GenericObject::Representation command.request_object = generic_object_object command.response_representation = Google::Apis::WalletobjectsV1::GenericObject::Representation command.response_class = Google::Apis::WalletobjectsV1::GenericObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_giftcardclass(resource_id, gift_card_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardClass
Updates the gift card class referenced by the given class ID. This method supports patch semantics.
1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1533 def patch_giftcardclass(resource_id, gift_card_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'walletobjects/v1/giftCardClass/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::GiftCardClass::Representation command.request_object = gift_card_class_object command.response_representation = Google::Apis::WalletobjectsV1::GiftCardClass::Representation command.response_class = Google::Apis::WalletobjectsV1::GiftCardClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_giftcardobject(resource_id, gift_card_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardObject
Updates the gift card object referenced by the given object ID. This method supports patch semantics.
1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1746 def patch_giftcardobject(resource_id, gift_card_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'walletobjects/v1/giftCardObject/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::GiftCardObject::Representation command.request_object = gift_card_object_object command.response_representation = Google::Apis::WalletobjectsV1::GiftCardObject::Representation command.response_class = Google::Apis::WalletobjectsV1::GiftCardObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_issuer(resource_id, issuer_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::Issuer
Updates the issuer referenced by the given issuer ID. This method supports patch semantics.
1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1903 def patch_issuer(resource_id, issuer_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'walletobjects/v1/issuer/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::Issuer::Representation command.request_object = issuer_object command.response_representation = Google::Apis::WalletobjectsV1::Issuer::Representation command.response_class = Google::Apis::WalletobjectsV1::Issuer command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_loyaltyclass(resource_id, loyalty_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyClass
Updates the loyalty class referenced by the given class ID. This method supports patch semantics.
2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2143 def patch_loyaltyclass(resource_id, loyalty_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'walletobjects/v1/loyaltyClass/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::LoyaltyClass::Representation command.request_object = loyalty_class_object command.response_representation = Google::Apis::WalletobjectsV1::LoyaltyClass::Representation command.response_class = Google::Apis::WalletobjectsV1::LoyaltyClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_loyaltyobject(resource_id, loyalty_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyObject
Updates the loyalty object referenced by the given object ID. This method supports patch semantics.
2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2392 def patch_loyaltyobject(resource_id, loyalty_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'walletobjects/v1/loyaltyObject/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::LoyaltyObject::Representation command.request_object = loyalty_object_object command.response_representation = Google::Apis::WalletobjectsV1::LoyaltyObject::Representation command.response_class = Google::Apis::WalletobjectsV1::LoyaltyObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_offerclass(resource_id, offer_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferClass
Updates the offer class referenced by the given class ID. This method supports patch semantics.
2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2695 def patch_offerclass(resource_id, offer_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'walletobjects/v1/offerClass/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::OfferClass::Representation command.request_object = offer_class_object command.response_representation = Google::Apis::WalletobjectsV1::OfferClass::Representation command.response_class = Google::Apis::WalletobjectsV1::OfferClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_offerobject(resource_id, offer_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferObject
Updates the offer object referenced by the given object ID. This method supports patch semantics.
2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2908 def patch_offerobject(resource_id, offer_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'walletobjects/v1/offerObject/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::OfferObject::Representation command.request_object = offer_object_object command.response_representation = Google::Apis::WalletobjectsV1::OfferObject::Representation command.response_class = Google::Apis::WalletobjectsV1::OfferObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_transitclass(resource_id, transit_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitClass
Updates the transit class referenced by the given class ID. This method supports patch semantics.
3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3214 def patch_transitclass(resource_id, transit_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'walletobjects/v1/transitClass/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::TransitClass::Representation command.request_object = transit_class_object command.response_representation = Google::Apis::WalletobjectsV1::TransitClass::Representation command.response_class = Google::Apis::WalletobjectsV1::TransitClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_transitobject(resource_id, transit_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitObject
Updates the transit object referenced by the given object ID. This method supports patch semantics.
3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3427 def patch_transitobject(resource_id, transit_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'walletobjects/v1/transitObject/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::TransitObject::Representation command.request_object = transit_object_object command.response_representation = Google::Apis::WalletobjectsV1::TransitObject::Representation command.response_class = Google::Apis::WalletobjectsV1::TransitObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_eventticketclass(resource_id, event_ticket_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketClass
Updates the event ticket class referenced by the given class ID.
255 256 257 258 259 260 261 262 263 264 265 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 255 def update_eventticketclass(resource_id, event_ticket_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'walletobjects/v1/eventTicketClass/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::EventTicketClass::Representation command.request_object = event_ticket_class_object command.response_representation = Google::Apis::WalletobjectsV1::EventTicketClass::Representation command.response_class = Google::Apis::WalletobjectsV1::EventTicketClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_eventticketobject(resource_id, event_ticket_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::EventTicketObject
Updates the event ticket object referenced by the given object ID.
504 505 506 507 508 509 510 511 512 513 514 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 504 def update_eventticketobject(resource_id, event_ticket_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'walletobjects/v1/eventTicketObject/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::EventTicketObject::Representation command.request_object = event_ticket_object_object command.response_representation = Google::Apis::WalletobjectsV1::EventTicketObject::Representation command.response_class = Google::Apis::WalletobjectsV1::EventTicketObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_flightclass(resource_id, flight_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightClass
Updates the flight class referenced by the given class ID.
717 718 719 720 721 722 723 724 725 726 727 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 717 def update_flightclass(resource_id, flight_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'walletobjects/v1/flightClass/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::FlightClass::Representation command.request_object = flight_class_object command.response_representation = Google::Apis::WalletobjectsV1::FlightClass::Representation command.response_class = Google::Apis::WalletobjectsV1::FlightClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_flightobject(resource_id, flight_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::FlightObject
Updates the flight object referenced by the given object ID.
930 931 932 933 934 935 936 937 938 939 940 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 930 def update_flightobject(resource_id, flight_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'walletobjects/v1/flightObject/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::FlightObject::Representation command.request_object = flight_object_object command.response_representation = Google::Apis::WalletobjectsV1::FlightObject::Representation command.response_class = Google::Apis::WalletobjectsV1::FlightObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_genericclass(resource_id, generic_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericClass
Updates the Generic class referenced by the given class ID.
1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1143 def update_genericclass(resource_id, generic_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'walletobjects/v1/genericClass/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::GenericClass::Representation command.request_object = generic_class_object command.response_representation = Google::Apis::WalletobjectsV1::GenericClass::Representation command.response_class = Google::Apis::WalletobjectsV1::GenericClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_genericobject(resource_id, generic_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GenericObject
Updates the generic object referenced by the given object ID.
1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1356 def update_genericobject(resource_id, generic_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'walletobjects/v1/genericObject/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::GenericObject::Representation command.request_object = generic_object_object command.response_representation = Google::Apis::WalletobjectsV1::GenericObject::Representation command.response_class = Google::Apis::WalletobjectsV1::GenericObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_giftcardclass(resource_id, gift_card_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardClass
Updates the gift card class referenced by the given class ID.
1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1569 def update_giftcardclass(resource_id, gift_card_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'walletobjects/v1/giftCardClass/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::GiftCardClass::Representation command.request_object = gift_card_class_object command.response_representation = Google::Apis::WalletobjectsV1::GiftCardClass::Representation command.response_class = Google::Apis::WalletobjectsV1::GiftCardClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_giftcardobject(resource_id, gift_card_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::GiftCardObject
Updates the gift card object referenced by the given object ID.
1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1782 def update_giftcardobject(resource_id, gift_card_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'walletobjects/v1/giftCardObject/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::GiftCardObject::Representation command.request_object = gift_card_object_object command.response_representation = Google::Apis::WalletobjectsV1::GiftCardObject::Representation command.response_class = Google::Apis::WalletobjectsV1::GiftCardObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_issuer(resource_id, issuer_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::Issuer
Updates the issuer referenced by the given issuer ID.
1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1936 def update_issuer(resource_id, issuer_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'walletobjects/v1/issuer/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::Issuer::Representation command.request_object = issuer_object command.response_representation = Google::Apis::WalletobjectsV1::Issuer::Representation command.response_class = Google::Apis::WalletobjectsV1::Issuer command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_loyaltyclass(resource_id, loyalty_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyClass
Updates the loyalty class referenced by the given class ID.
2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2179 def update_loyaltyclass(resource_id, loyalty_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'walletobjects/v1/loyaltyClass/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::LoyaltyClass::Representation command.request_object = loyalty_class_object command.response_representation = Google::Apis::WalletobjectsV1::LoyaltyClass::Representation command.response_class = Google::Apis::WalletobjectsV1::LoyaltyClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_loyaltyobject(resource_id, loyalty_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::LoyaltyObject
Updates the loyalty object referenced by the given object ID.
2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2428 def update_loyaltyobject(resource_id, loyalty_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'walletobjects/v1/loyaltyObject/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::LoyaltyObject::Representation command.request_object = loyalty_object_object command.response_representation = Google::Apis::WalletobjectsV1::LoyaltyObject::Representation command.response_class = Google::Apis::WalletobjectsV1::LoyaltyObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_offerclass(resource_id, offer_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferClass
Updates the offer class referenced by the given class ID.
2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2731 def update_offerclass(resource_id, offer_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'walletobjects/v1/offerClass/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::OfferClass::Representation command.request_object = offer_class_object command.response_representation = Google::Apis::WalletobjectsV1::OfferClass::Representation command.response_class = Google::Apis::WalletobjectsV1::OfferClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_offerobject(resource_id, offer_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::OfferObject
Updates the offer object referenced by the given object ID.
2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2944 def update_offerobject(resource_id, offer_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'walletobjects/v1/offerObject/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::OfferObject::Representation command.request_object = offer_object_object command.response_representation = Google::Apis::WalletobjectsV1::OfferObject::Representation command.response_class = Google::Apis::WalletobjectsV1::OfferObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_permission(resource_id, permissions_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::Permissions
Updates the permissions for the given issuer.
3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3007 def (resource_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'walletobjects/v1/permissions/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::Permissions::Representation command.request_object = command.response_representation = Google::Apis::WalletobjectsV1::Permissions::Representation command.response_class = Google::Apis::WalletobjectsV1::Permissions command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_transitclass(resource_id, transit_class_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitClass
Updates the transit class referenced by the given class ID.
3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3250 def update_transitclass(resource_id, transit_class_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'walletobjects/v1/transitClass/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::TransitClass::Representation command.request_object = transit_class_object command.response_representation = Google::Apis::WalletobjectsV1::TransitClass::Representation command.response_class = Google::Apis::WalletobjectsV1::TransitClass command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_transitobject(resource_id, transit_object_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitObject
Updates the transit object referenced by the given object ID.
3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3463 def update_transitobject(resource_id, transit_object_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'walletobjects/v1/transitObject/{resourceId}', ) command.request_representation = Google::Apis::WalletobjectsV1::TransitObject::Representation command.request_object = transit_object_object command.response_representation = Google::Apis::WalletobjectsV1::TransitObject::Representation command.response_class = Google::Apis::WalletobjectsV1::TransitObject command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#upload_medium(resource_id, transit_object_upload_rotating_barcode_values_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::TransitObjectUploadRotatingBarcodeValuesResponse
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.
2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2512 def upload_medium(resource_id, = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, 'walletobjects/v1/transitObject/{resourceId}/uploadRotatingBarcodeValues', ) else command = make_upload_command(:post, 'walletobjects/v1/transitObject/{resourceId}/uploadRotatingBarcodeValues', ) command.upload_source = upload_source command.upload_content_type = content_type end command.request_representation = Google::Apis::WalletobjectsV1::TransitObjectUploadRotatingBarcodeValuesRequest::Representation command.request_object = command.response_representation = Google::Apis::WalletobjectsV1::TransitObjectUploadRotatingBarcodeValuesResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::TransitObjectUploadRotatingBarcodeValuesResponse command.params['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |