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。"],[],["To update an album, use a `PATCH` request to the specified URL, including the `album.id` as a path parameter. The `updateMask` query parameter is required to specify fields to update, which can be `title` or `coverPhotoMediaItemId`. The request body contains the album data. The response body returns the updated album. Authorization requires the `https://www.googleapis.com/auth/photoslibrary.edit.appcreateddata` scope. The provided album must have been created by the developer via the API and owned by the user.\n"]]