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_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.
-
#set_private_content_pass_update_notice(set_pass_update_notice_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::SetPassUpdateNoticeResponse
Provide Google with information about awaiting private pass update.
-
#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.
-
#upload_private_content_private_data(upload_private_data_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::UploadPrivateDataResponse
Upload private data (text or URI) and returns an Id to be used in its place.
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_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.
1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1320 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.
1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1533 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.
1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1930 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.
2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2143 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.
2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2482 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.
2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2695 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.
3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3001 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.
3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3214 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.
2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2394 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.
965 966 967 968 969 970 971 972 973 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 965 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.
1142 1143 1144 1145 1146 1147 1148 1149 1150 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1142 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.
1355 1356 1357 1358 1359 1360 1361 1362 1363 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1355 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.
1568 1569 1570 1571 1572 1573 1574 1575 1576 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1568 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.
1742 1743 1744 1745 1746 1747 1748 1749 1750 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1742 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.
1965 1966 1967 1968 1969 1970 1971 1972 1973 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1965 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.
2178 2179 2180 2181 2182 2183 2184 2185 2186 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2178 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.
2517 2518 2519 2520 2521 2522 2523 2524 2525 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2517 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.
2730 2731 2732 2733 2734 2735 2736 2737 2738 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2730 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.
2904 2905 2906 2907 2908 2909 2910 2911 2912 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2904 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.
3036 3037 3038 3039 3040 3041 3042 3043 3044 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3036 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.
3249 3250 3251 3252 3253 3254 3255 3256 3257 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3249 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.
994 995 996 997 998 999 1000 1001 1002 1003 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 994 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.
1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1171 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.
1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1384 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.
1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1597 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.
1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1771 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.
1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1895 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.
1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1994 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.
2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2207 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.
2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2546 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.
2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2759 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.
2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2966 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.
3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3065 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.
3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3278 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.
1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1034 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.
1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1211 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.
1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1424 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.
1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1637 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.
1800 1801 1802 1803 1804 1805 1806 1807 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1800 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.
2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2034 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.
2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2247 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.
2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2586 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.
2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2799 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.
3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3105 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.
3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3318 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.
2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2283 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.
1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1071 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.
1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1248 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.
1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1461 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.
1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1674 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.
1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1831 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.
2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2071 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.
2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2320 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.
2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2623 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.
2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2836 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.
3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3142 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.
3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3355 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 |
#set_private_content_pass_update_notice(set_pass_update_notice_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::SetPassUpdateNoticeResponse
Provide Google with information about awaiting private pass update. This will allow Google to provide the update notification to the device that currently holds this pass.
3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3424 def set_private_content_pass_update_notice(set_pass_update_notice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/privateContent/setPassUpdateNotice', ) command.request_representation = Google::Apis::WalletobjectsV1::SetPassUpdateNoticeRequest::Representation command.request_object = set_pass_update_notice_request_object command.response_representation = Google::Apis::WalletobjectsV1::SetPassUpdateNoticeResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::SetPassUpdateNoticeResponse 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.
1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1107 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.
1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1284 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.
1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1497 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.
1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1710 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.
1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1864 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.
2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2107 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.
2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2356 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.
2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2659 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.
2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2872 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.
2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2935 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.
3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3178 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.
3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3391 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.
2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2440 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 |
#upload_private_content_private_data(upload_private_data_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::WalletobjectsV1::UploadPrivateDataResponse
Upload private data (text or URI) and returns an Id to be used in its place.
3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3454 def upload_private_content_private_data(upload_private_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'walletobjects/v1/privateContent/uploadPrivateData', ) command.request_representation = Google::Apis::WalletobjectsV1::UploadPrivateDataRequest::Representation command.request_object = upload_private_data_request_object command.response_representation = Google::Apis::WalletobjectsV1::UploadPrivateDataResponse::Representation command.response_class = Google::Apis::WalletobjectsV1::UploadPrivateDataResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |