Method: customers.deployments.devices.createSigned
    
    
      
    
    
      
      Zadbaj o dobrą organizację dzięki kolekcji
    
    
      
      Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
    
  
    
  
      
    
  
  
  
  
  
  
    
    
    
    
    
    
      
      
      
        
          Żądanie HTTP
          POST https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/deployments/*}/devices:createSigned
Adres URL używa składni transkodowania gRPC.
        
        
          Parametry ścieżki
          
            
              
              
            
            
              
                | Parametry | 
              
            
            
              
                parent | 
                
                   string 
                  Wymagane. Nazwa zasobu nadrzędnego. 
                 | 
              
            
          
        
        
          Treść żądania
          Treść żądania zawiera dane o następującej strukturze:
          
            
              
                
                  | Zapis JSON | 
                
              
              
                
                  {
  "encodedDevice": string,
  "installerId": string
} | 
                
              
            
          
          
            
              
                
                
              
              
                
                  | Pola | 
                
              
              
                
                  encodedDevice | 
                  
                     string (bytes format) 
                    Wymagane. Token sieciowy JSON podpisany kluczem prywatnym platformy CPI. Ładunek musi być kodowaniem JSON obiektu device. Pole userId musi być ustawione. Ciąg tekstowy zakodowany w formacie Base64. 
                   | 
                
                
                  installerId | 
                  
                     string 
                    Wymagane. Unikalny identyfikator instalatora (CPI ID) z bazy danych certyfikowanych profesjonalnych instalatorów. 
                   | 
                
              
            
          
        
        
          Treść odpowiedzi
          W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Device.
        
        
          Zakresy autoryzacji
          Wymaga następującego zakresu OAuth:
          
            https://www.googleapis.com/auth/sasportal 
          
        
      
    
  
  
  
  
 
  
    
      
      
    
    
      
    
    
  
       
    
    
      
    
  
  
  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.
  
  
  
    
      [[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["This document details how to create a signed device under a specified node or customer. It uses an HTTP POST request to the provided URL, including a `parent` path parameter indicating the resource name. The request body requires a JSON object with `encodedDevice` (a signed JSON Web Token representing the device) and `installerId` (CPI ID). Successful requests return a `Device` instance in the response body, and requests must be authorized with the `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"]]