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.
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.
45 46 47 48 49 50 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 45 def initialize super('https://walletobjects.googleapis.com/', '', 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.
38 39 40 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 38 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.
43 44 45 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 43 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.
76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 76 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.
289 290 291 292 293 294 295 296 297 298 299 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 289 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.
538 539 540 541 542 543 544 545 546 547 548 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 538 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.
751 752 753 754 755 756 757 758 759 760 761 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 751 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.
1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1318 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.
1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1531 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.
1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1928 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.
2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2141 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.
2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2480 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.
2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2693 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.
2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2999 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.
3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3212 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.
2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2392 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.
111 112 113 114 115 116 117 118 119 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 111 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.
324 325 326 327 328 329 330 331 332 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 324 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.
573 574 575 576 577 578 579 580 581 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 573 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.
786 787 788 789 790 791 792 793 794 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 786 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.
963 964 965 966 967 968 969 970 971 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 963 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.
1140 1141 1142 1143 1144 1145 1146 1147 1148 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1140 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.
1353 1354 1355 1356 1357 1358 1359 1360 1361 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1353 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.
1566 1567 1568 1569 1570 1571 1572 1573 1574 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1566 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.
1740 1741 1742 1743 1744 1745 1746 1747 1748 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1740 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.
1963 1964 1965 1966 1967 1968 1969 1970 1971 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1963 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.
2176 2177 2178 2179 2180 2181 2182 2183 2184 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2176 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.
2515 2516 2517 2518 2519 2520 2521 2522 2523 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2515 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.
2728 2729 2730 2731 2732 2733 2734 2735 2736 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2728 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.
2902 2903 2904 2905 2906 2907 2908 2909 2910 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2902 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.
3034 3035 3036 3037 3038 3039 3040 3041 3042 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3034 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.
3247 3248 3249 3250 3251 3252 3253 3254 3255 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3247 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.
140 141 142 143 144 145 146 147 148 149 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 140 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.
353 354 355 356 357 358 359 360 361 362 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 353 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.
602 603 604 605 606 607 608 609 610 611 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 602 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.
815 816 817 818 819 820 821 822 823 824 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 815 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.
992 993 994 995 996 997 998 999 1000 1001 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 992 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.
1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1169 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.
1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1382 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.
1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1595 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.
1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1769 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.
1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1893 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.
1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1992 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.
2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2205 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.
2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2544 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.
2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2757 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.
2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2964 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.
3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3063 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.
3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3276 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.
180 181 182 183 184 185 186 187 188 189 190 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 180 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.
393 394 395 396 397 398 399 400 401 402 403 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 393 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.
642 643 644 645 646 647 648 649 650 651 652 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 642 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.
855 856 857 858 859 860 861 862 863 864 865 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 855 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.
1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1032 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.
1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1209 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.
1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1422 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.
1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1635 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.
1798 1799 1800 1801 1802 1803 1804 1805 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1798 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.
2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2032 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.
2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2245 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.
2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2584 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.
2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2797 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.
3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3103 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.
3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3316 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.
429 430 431 432 433 434 435 436 437 438 439 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 429 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.
2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2281 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.
217 218 219 220 221 222 223 224 225 226 227 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 217 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.
466 467 468 469 470 471 472 473 474 475 476 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 466 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.
679 680 681 682 683 684 685 686 687 688 689 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 679 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.
892 893 894 895 896 897 898 899 900 901 902 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 892 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.
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1069 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.
1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1246 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.
1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1459 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.
1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1672 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.
1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1829 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.
2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2069 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.
2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2318 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.
2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2621 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.
2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2834 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.
3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3140 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.
3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3353 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.
3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3422 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.
253 254 255 256 257 258 259 260 261 262 263 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 253 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.
502 503 504 505 506 507 508 509 510 511 512 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 502 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.
715 716 717 718 719 720 721 722 723 724 725 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 715 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.
928 929 930 931 932 933 934 935 936 937 938 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 928 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.
1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1105 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.
1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1282 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.
1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1495 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.
1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1708 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.
1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 1862 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.
2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2105 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.
2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2354 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.
2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2657 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.
2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2870 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.
2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2933 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.
3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3176 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.
3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3389 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.
2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 2438 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.
3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 |
# File 'lib/google/apis/walletobjects_v1/service.rb', line 3452 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 |