Method: accounts.brands.patch
    
    
      
    
    
      
      使用集合让一切井井有条
    
    
      
      根据您的偏好保存内容并对其进行分类。
    
  
    
  
      
    
  
  
  
  
  
  
    
    
    
    
    
    
      
      
      
      
        
          HTTP 请求
          PATCH https://travelpartner.googleapis.com/v3/{brand.name=accounts/*/brands/*}
网址采用 gRPC 转码语法。
        
        
          路径参数
          
            
              
              
            
            
              
                | 参数 | 
              
            
            
              
                brand.name | 
                
                   string 
                  品牌的资源名称,格式为 accounts/{account_id}/brands/{brandId}。brandId 应与用于着陆页匹配并在媒体资源列表中使用的合作伙伴的品牌标识符一致。 
                 | 
              
            
          
        
        
          查询参数
          
            
              
              
            
            
              
                | 参数 | 
              
            
            
              
                updateMask | 
                
                   string (FieldMask format) 
                  必需,要更新的字段。只能更新 displayNames 和 icon_id 字段。使用以下示例 URI 中所示的语法,并在请求正文中提供新值。 请求 URI 和请求正文示例: 
                 PATCH https://travelpartner.googleapis.com/v3/accounts/123456789/
brands/my-brand?updateMask=brand.display_names
 
                  {
   "displayNames": [{
     "language": "en"
     "text": "Gilles' Gites"
   }]
 }
 
                  上述信息足以构成 URI 和请求正文。以下语句是系统自动生成的关于 FieldMask 格式的补充信息。 这是完全限定的字段名称的逗号分隔列表。示例:"user.displayName,photo"。 
                 | 
              
            
          
        
        
        
          响应正文
          如果成功,响应正文将包含一个 Brand 实例。
        
        
          授权范围
          需要以下 OAuth 作用域:
          
            https://www.googleapis.com/auth/travelpartner 
          
如需了解详情,请参阅 OAuth 2.0 概览。
        
      
    
  
  
  
  
 
  
    
      
      
    
    
      
    
    
  
       
         
  
       
    
    
      
    
  
  
  保留所有权利。Java 是 Oracle 和/或其关联公司的注册商标。
  最后更新时间 (UTC):2022-08-23。
  
  
    
    
    
      
  
    
  
  
    
      [[["易于理解","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):2022-08-23。"],[],[]]