Google Photos Library API の以前のドキュメントを表示しています。
         
     
  
  
  
    
  
  
  
    
      Method: albums.patch
    
    
      
    
    
      
      コレクションでコンテンツを整理
    
    
      
      必要に応じて、コンテンツの保存と分類を行います。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
      
        指定された id でアルバムを更新します。アルバムの id、title、coverPhotoMediaItemId フィールドのみが読み取られます。アルバムは、デベロッパーによって API で作成され、ユーザーがオーナーである必要があります。
      
      
        
          HTTP リクエスト
          PATCH https://photoslibrary.googleapis.com/v1/albums/{album.id}
この URL は gRPC Transcoding 構文を使用します。
        
        
          パスパラメータ
          
            
              
              
            
            
              
                | パラメータ | 
            
            
              
                | album.id | string
 アルバムの識別子。これは、セッション間でこのアルバムを識別するために使用できる永続的な ID です。 | 
            
          
        
        
          クエリ パラメータ
          
            
              
              
            
            
              
                | パラメータ | 
            
            
              
                | updateMask | string (FieldMaskformat)
 必須。指定されたアルバムのどのフィールドを更新するかを指定します。有効な値は titleとcoverPhotoMediaItemIdのみです。 完全修飾フィールド名のカンマ区切りリスト。例: "user.displayName,photo"。 | 
            
          
        
        
          リクエストの本文
          リクエストの本文には Album のインスタンスが含まれます。
        
        
          レスポンスの本文
          成功した場合、レスポンスの本文には Album のインスタンスが含まれます。
        
        
          認可スコープ
          次の OAuth スコープが必要です。
          
            - https://www.googleapis.com/auth/photoslibrary.edit.appcreateddata
 
  
    
    
      
       
    
    
  
  
  特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
  最終更新日 2025-07-25 UTC。
  
  
  
    
      [null,null,["最終更新日 2025-07-25 UTC。"],[],["This describes updating an album using a PATCH request to `https://photoslibrary.googleapis.com/v1/albums/{album.id}`.  The `album.id` path parameter identifies the target album. The `updateMask` query parameter, with values `title` or `coverPhotoMediaItemId`, specifies which album fields to update. The request body contains the updated album information, while the successful response body returns the updated album. This operation requires the `https://www.googleapis.com/auth/photoslibrary.edit.appcreateddata` authorization scope. Only albums created via the API and owned by the user can be modified.\n"]]