Method: enterprises.devices.patch
    
    
      
    
    
      
      コレクションでコンテンツを整理
    
    
      
      必要に応じて、コンテンツの保存と分類を行います。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
      
      
        
          HTTP リクエスト
          PATCH https://androidmanagement.googleapis.com/v1/{name=enterprises/*/devices/*}
この URL は gRPC Transcoding 構文を使用します。
        
        
          パスパラメータ
          
            
              
              
            
            
              
                | パラメータ | 
              
            
            
              
                name | 
                
                   string 
                  デバイスの名前(enterprises/{enterpriseId}/devices/{deviceId} 形式)。 
                 | 
              
            
          
        
        
          クエリ パラメータ
          
            
              
              
            
            
              
                | パラメータ | 
              
            
            
              
                updateMask | 
                
                   string (FieldMask format) 
                  更新するフィールドを示すフィールド マスク。設定しない場合、変更可能なすべてのフィールドが変更されます。 完全修飾フィールド名のカンマ区切りリスト。例: "user.displayName,photo"。 
                 | 
              
            
          
        
        
          リクエストの本文
          リクエストの本文には Device のインスタンスが含まれます。
        
        
          レスポンスの本文
          成功した場合、レスポンスの本文には Device のインスタンスが含まれます。
        
        
          認可スコープ
          次の OAuth スコープが必要です。
          
            https://www.googleapis.com/auth/androidmanagement 
          
詳細については、OAuth 2.0 Overview をご覧ください。
        
      
      
    
  
  
  
  
 
  
    
    
      
       
    
    
  
  
  特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
  最終更新日 2025-07-26 UTC。
  
  
  
    
      [null,null,["最終更新日 2025-07-26 UTC。"],[],["This document details how to update a device using a PATCH request. The request URL structure is `https://androidmanagement.googleapis.com/v1/{name=enterprises/*/devices/*}`, using gRPC Transcoding.  The `name` path parameter specifies the device. The `updateMask` query parameter indicates which fields to modify.  The request and response bodies use the `Device` object.  Authorization requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope. The user can use the `Try it!` option to test the update.\n"]]