Method: accounts.invitations.list
    
    
      
    
    
      
      使用集合让一切井井有条
    
    
      
      根据您的偏好保存内容并对其进行分类。
    
  
    
  
      
    
  
  
  
  
  
  
    
    
    
    
    
    
      
      
      
      
      
        
          HTTP 请求
          GET https://mybusiness.googleapis.com/v4/{parent=accounts/*}/invitations
网址采用 gRPC 转码语法。
        
        
          路径参数
          
            
              
                | 参数 | 
            
            
              
                | parent | string
 从中检索邀请列表的账号的名称。 | 
            
          
        
        
          查询参数
          
            
              
                | 参数 | 
            
            
              
                | targetType | enum (TargetType)
 指定应在响应中显示的目标类型。 | 
            
          
        
        
        
          响应正文
          如果成功,响应正文将包含结构如下的数据:
          
            
              AccessControl.ListInvitations 的响应消息。
            
            
              
                
                  
                    | JSON 表示法 | 
                
                
                  
                    | {
  "invitations": [
    {
      object (Invitation)
    }
  ]
} | 
                
              
            
            
              
                
                  
                    | 字段 | 
                
                
                  
                    | invitations[] | object (Invitation)
 该账号待处理的营业地点邀请集合。此处列出的邀请数不能超过 1000。 | 
                
              
            
          
        
        
          授权范围
          需要以下 OAuth 范围之一:
          
            - https://www.googleapis.com/auth/plus.business.manage
- https://www.googleapis.com/auth/business.manage
如需了解详情,请参阅 OAuth 2.0 概览。
        
      
      
        TargetType
        
        
          
            
              
                | 枚举 | 
            
            
              
                | ALL | 列出针对所有目标类型的邀请。这是默认值。 | 
              
                | ACCOUNTS_ONLY | 仅针对“账号”类型的目标列出邀请。 | 
              
                | LOCATIONS_ONLY | 仅列出针对“地理位置”类型的目标的邀请。 | 
            
          
        
      
    
  
  
  
  
 
  
    
      
      
    
    
      
    
    
  
       
    
    
      
    
  
  
  如未另行说明,那么本页面中的内容已根据知识共享署名 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 document outlines the process of listing pending invitations for a specified account using the deprecated API.  It uses a `GET` request to `https://mybusiness.googleapis.com/v4/{parent=accounts/*}/invitations`. The `parent` path parameter specifies the account. The `targetType` query parameter filters invitation types.  An empty request body is required. The response returns a JSON array of `invitations`, each represented as an object. The request needs either the `plus.business.manage` or `business.manage` authorization scope. Three types are available: ALL, ACCOUNTS_ONLY and LOCATIONS_ONLY.\n"]]