Method: edits.expansionfiles.update
    
    
      
    
    
      
      จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
    
    
      
      บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
    
  
    
  
      
    
  
  
  
  
  
  
    
    
    
    
    
    
      
      
      
        อัปเดตการกำหนดค่าไฟล์สำหรับขยายของ APK ให้อ้างอิงไฟล์สำหรับขยายของ APK อื่น ในการเพิ่มไฟล์สำหรับขยายใหม่ ให้ใช้วิธีexpandfiles.upload
      
      
        
          คำขอ HTTP
          PUT https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}
URL ใช้ไวยากรณ์การแปลง gRPC
        
        
          พารามิเตอร์เส้นทาง
          
            
              
              
            
            
              
                | พารามิเตอร์ | 
            
            
              
                | packageName | string
 ชื่อแพ็กเกจของแอป | 
              
                | editId | string
 ตัวระบุของการแก้ไข | 
              
                | apkVersionCode | integer
 รหัสเวอร์ชันของ APK ที่กำลังอ่านหรือแก้ไขการกำหนดค่าไฟล์สำหรับขยาย | 
              
                | expansionFileType | enum (ExpansionFileType)
 ประเภทไฟล์ของการกำหนดค่าไฟล์ที่กำลังอ่านหรือแก้ไข | 
            
          
        
        
          เนื้อหาของคำขอ
          เนื้อความของคำขอมีอินสแตนซ์ของ ExpansionFile
        
        
          เนื้อหาการตอบกลับ
          หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ ExpansionFile
        
        
          ขอบเขตการให้สิทธิ์
          ต้องใช้ขอบเขต OAuth ต่อไปนี้
          
            - https://www.googleapis.com/auth/androidpublisher
 
  
    
      
      
    
    
      
    
    
  
       
    
    
      
    
  
  
  เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
  อัปเดตล่าสุด 2025-07-26 UTC
  
  
  
    
      [[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-26 UTC"],[],["This document outlines the process of updating an APK's expansion file configuration. It uses a PUT request to a specific URL, including package name, edit ID, APK version code, and expansion file type as path parameters. The request and response bodies both contain an `ExpansionFile` instance. The operation requires authorization via the `https://www.googleapis.com/auth/androidpublisher` OAuth scope and leverages gRPC Transcoding syntax. The content also mentions adding a new expansion file with `expansionfiles.upload`.\n"]]