Method: users.spaces.getSpaceReadState
    
    
      
    
    
      
      コレクションでコンテンツを整理
    
    
      
      必要に応じて、コンテンツの保存と分類を行います。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
      
        スペース内のユーザーの既読ステータスの詳細を返します。既読と未読のメッセージを識別するために使用されます。例については、ユーザーのスペースの読み取り状態の詳細を取得するをご覧ください。
次のいずれかの承認スコープによるユーザー認証が必要です。
        
          - https://www.googleapis.com/auth/chat.users.readstate.readonly
- https://www.googleapis.com/auth/chat.users.readstate
HTTP リクエスト
          GET https://chat.googleapis.com/v1/{name=users/*/spaces/*/spaceReadState}
この URL は gRPC Transcoding 構文を使用します。
        
        
          パスパラメータ
          
            
              
              
            
            
              
                | パラメータ | 
            
            
              
                | name | string
 必須。取得するスペースの読み取り状態のリソース名。 呼び出し元のユーザーの読み取りステータスの取得のみをサポートします。 呼び出し元のユーザーを参照するには、次のいずれかを設定します。 
                    meエイリアス。例:users/me/spaces/{space}/spaceReadState
Workspace のメールアドレス。例: users/user@example.com/spaces/{space}/spaceReadStateユーザー ID。例: users/123456789/spaces/{space}/spaceReadState 形式: users/{user}/spaces/{space}/spaceReadState | 
            
          
        
        
          リクエストの本文
          リクエストの本文は空にする必要があります。
        
        
          レスポンスの本文
          成功した場合、レスポンスの本文には SpaceReadState のインスタンスが含まれます。
        
        
          認可スコープ
          以下のいずれかの OAuth スコープが必要です。
          
            - https://www.googleapis.com/auth/chat.users.readstate
- https://www.googleapis.com/auth/chat.users.readstate.readonly
詳しくは、認可ガイドをご覧ください。
        
      
      
    
  
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
  最終更新日 2025-07-25 UTC。
  
  
  
    
      [null,null,["最終更新日 2025-07-25 UTC。"],[],["This resource retrieves a user's read state within a specific space to determine read/unread messages. It uses a `GET` HTTP request to `https://chat.googleapis.com/v1/{name=users/*/spaces/*/spaceReadState}`, employing gRPC Transcoding syntax. The `name` path parameter, which is required, identifies the user and space. The request body must be empty, while a successful response returns a `SpaceReadState` instance. User authentication with specified OAuth scopes is necessary.\n"]]