Method: customers.devices.list
    
    
      
    
    
      
      使用集合让一切井井有条
    
    
      
      根据您的偏好保存内容并对其进行分类。
    
  
    
  
      
    
  
  
  
  
  
  
    
    
    
    
    
    
      
      
      
        
          HTTP 请求
          GET https://sasportal.googleapis.com/v1alpha1/{parent=customers/*}/devices
网址采用 gRPC 转码语法。
        
        
          路径参数
          
            
              
              
            
            
              
                | 参数 | 
            
            
              
                | parent | string
 必需。父级资源的名称。 | 
            
          
        
        
          查询参数
          
            
              
              
            
            
              
                | 参数 | 
            
            
              
                | pageSize | integer
 响应中可返回的设备数量上限。如果为空或为零,则列出所有设备。必须介于 [0, 1000] 范围内。 | 
              
                | pageToken | string
 从上一次调用 devices.list返回的分页令牌,指示此列表应从什么位置继续。 | 
              
                | filter | string
 过滤表达式。过滤器的格式应为以下格式之一:“sn=123454”或“displayName=MyDevice”。sn 对应于设备的序列号。过滤条件不区分大小写。 | 
            
          
        
        
        
          响应正文
          如果成功,则响应正文包含一个 ListDevicesResponse 实例。
        
        
          授权作用域
          需要以下 OAuth 范围:
          
            - https://www.googleapis.com/auth/sasportal
 
  
    
      
      
    
    
      
    
    
  
       
    
    
      
    
  
  
  如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
  最后更新时间 (UTC):2025-07-25。
  
  
  
    
      [[["易于理解","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"]],["最后更新时间 (UTC):2025-07-25。"],[],["This outlines the process of listing devices under a specified parent (customer or node) via an API call. The key actions involve sending a `GET` request to a specific URL, using the `parent` path parameter to identify the customer or node. Optional query parameters include `pageSize`, `pageToken`, and `filter` for controlling the number of devices, pagination, and filtering by serial number or display name respectively. The request body must be empty, and the successful response is a `ListDevicesResponse`. An authorization scope is required.\n"]]