Method: genericobject.patch
    
    
      
    
    
      
      Tetap teratur dengan koleksi
    
    
      
      Simpan dan kategorikan konten berdasarkan preferensi Anda.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
      
        Mengupdate objek generik yang dirujuk oleh ID objek yang diberikan. Metode ini mendukung semantik patch.
      
      
        
          Permintaan HTTP
          PATCH https://walletobjects.googleapis.com/walletobjects/v1/genericObject/{resourceId}
URL menggunakan sintaksis gRPC Transcoding.
        
        
          Parameter jalur
          
            
              
              
            
            
              
                | Parameter | 
            
            
              
                | resourceId | string
 ID unik untuk objek. ID ini harus unik di semua objek dari penerbit. Nilai ini harus mengikuti format issuerID.identifierdenganissuerIDditerbitkan oleh Google danidentifierdipilih oleh Anda. ID unik hanya dapat berisi karakter alfanumerik,.,_, atau-. | 
            
          
        
        
          Isi permintaan
          Isi permintaan memuat instance GenericObject.
        
        
          Isi respons
          Jika berhasil, isi respons akan berisi instance GenericObject.
        
        
          Cakupan otorisasi
          Memerlukan cakupan OAuth berikut ini:
          
            - https://www.googleapis.com/auth/wallet_object.issuer
 
  
    
    
      
       
    
    
  
  
  Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
  Terakhir diperbarui pada 2025-07-25 UTC.
  
  
  
    
      [null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[],["This describes how to update a generic object using a PATCH request. The request URL is `https://walletobjects.googleapis.com/walletobjects/v1/genericObject/{resourceId}`, with `resourceId` being the unique object identifier in the format `issuerID.identifier`. The request body, an instance of `GenericObject`, is sent to update the object. A successful operation returns the updated `GenericObject` in the response body. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope.\n"]]