Method: projects.versions.read
    
    
      
    
    
      
      使用集合让一切井井有条
    
    
      
      根据您的偏好保存内容并对其进行分类。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
      
      
        
          HTTP 请求
          POST https://actions.googleapis.com/v2/{name=projects/*/versions/*}:read
网址采用 gRPC 转码语法。
        
        
          路径参数
          
            
              
                | 参数 | 
            
            
              
                | name | string
 必需。版本资源的名称,格式为 projects/{project}/versions/{version}。{project}是与项目关联的 Cloud 项目 ID,{version}是正在读取的版本的标识符。 | 
            
          
        
        
          请求正文
          请求正文中包含结构如下的数据:
          
            
              
                
                  | JSON 表示法 | 
              
              
                
                  | {
  "clientSecretEncryptionKeyVersion": string
} | 
              
            
          
          
            
              
                
                  | 字段 | 
              
              
                
                  | clientSecretEncryptionKeyVersion | string
 可选。用于加密账号关联 OAuth 客户端密钥的加密密钥版本。如果未指定,则使用主密钥版本进行加密。仅适用于通过客户端密钥进行账号关联的项目。 | 
              
            
          
        
        
          响应正文
          如果成功,响应正文将包含结构如下的数据:
          
            
              Versions.read 的流式 RPC 响应。
            
            
              
                
                  
                    | JSON 表示法 | 
                
                
                  
                    | {
  "files": {
    object (Files)
  }
} | 
                
              
            
            
              
                
                  
                    | 字段 | 
                
                
                  
                    | files | object (Files)
 一次从服务器发送的文件列表。 | 
                
              
            
          
        
      
    
  
  
  
  
 
  
    
    
      
       
    
    
  
  
  如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
  最后更新时间 (UTC):2025-07-26。
  
  
  
    
      [null,null,["最后更新时间 (UTC):2025-07-26。"],[],["This documentation details reading the content of a project version via an HTTP POST request to a specific URL, using gRPC Transcoding syntax. The request requires a `name` path parameter indicating the project and version. The request body optionally includes a `clientSecretEncryptionKeyVersion` for projects with account linking. A successful response contains a `files` field with a list of files from the server in JSON format. The request retrieves data associated with a specified project version.\n"]]