Method: genericclass.patch
    
    
      
    
    
      
      Zadbaj o dobrą organizację dzięki kolekcji
    
    
      
      Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
      
        Aktualizuje klasę ogólną, do której odwołuje się podany identyfikator klasy. Ta metoda obsługuje semantykę poprawki.
      
      
        
          Żądanie HTTP
          PATCH https://walletobjects.googleapis.com/walletobjects/v1/genericClass/{resourceId}
Adres URL używa składni transkodowania gRPC.
        
        
          Parametry ścieżki
          
            
              
              
            
            
              
                | Parametry | 
            
            
              
                | resourceId | string
 Unikalny identyfikator klasy. Ten identyfikator musi być unikalny wśród wszystkich klas wydawcy. Ta wartość musi mieć format issuerID.identifier, gdzieissuerIDjest wystawiany przez Google iidentifierjest wybierany przez Ciebie. Może on zawierać tylko znaki alfanumeryczne oraz.,_i-. | 
            
          
        
        
          Treść żądania
          Treść żądania zawiera wystąpienie elementu GenericClass.
        
        
          Treść odpowiedzi
          W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu GenericClass.
        
        
          Zakresy autoryzacji
          Wymaga następującego zakresu OAuth:
          
            - https://www.googleapis.com/auth/wallet_object.issuer
 
  
    
    
      
       
    
    
  
  
  O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
  Ostatnia aktualizacja: 2025-07-25 UTC.
  
  
  
    
      [null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["This document details updating a generic class using a PATCH request to a specific URL: `https://walletobjects.googleapis.com/walletobjects/v1/genericClass/{resourceId}`.  The `resourceId` parameter in the URL path identifies the class to be updated. The request body utilizes a `GenericClass` instance, and the successful response also returns a `GenericClass` instance. The operation requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization.\n"]]