FetchDocumentsRequest

HomepageDataService.FetchDocuments 메서드의 요청 메시지입니다.

JSON 표현
{
  "homepageDataConfig": string,
  "pageSize": integer,
  "type": enum (Type),
  "disableCache": boolean,

  // Union field request_type can be only one of the following:
  "recommendedDocuments": {
    object (RecommendedDocuments)
  },
  "recentDocuments": {
    object (RecentDocuments)
  },
  "recentEvents": {
    object (RecentEvents)
  },
  "announcements": {
    object (Announcements)
  }
  // End of list of possible types for union field request_type.
}
필드
homepageDataConfig

string

필수 항목. 홈페이지 데이터 구성의 이름입니다. 형식: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/homepageDataConfig

pageSize

integer

반환할 문서의 최대 개수입니다. 허용되는 최댓값은 20입니다.

type

enum (Type)

요청 유형입니다.

disableCache

boolean

선택사항. true인 경우 캐시가 사용되지 않습니다.

통합 필드 request_type. 요청 유형입니다. request_type은 다음 중 하나여야 합니다.
recommendedDocuments

object (RecommendedDocuments)

사용자를 위한 추천 문서를 가져오기 위한 구성입니다.

recentDocuments

object (RecentDocuments)

사용자를 위한 최근 문서를 가져오는 구성입니다.

recentEvents

object (RecentEvents)

사용자를 위한 최근 이벤트를 가져오는 구성입니다.

announcements

object (Announcements)

사용자를 위한 공지를 가져오기 위한 구성입니다.

RecommendedDocuments

사용자를 위한 추천 문서를 가져오기 위한 구성입니다.

JSON 표현
{
  "types": [
    enum (Type)
  ]
}
필드
types[]

enum (Type)

선택사항. 추천 문서에 반환할 문서 유형입니다. 비어 있으면 모든 유형의 문서가 반환됩니다.

RecentDocuments

사용자를 위한 최근 문서를 가져오는 구성입니다.

JSON 표현
{
  "types": [
    enum (Type)
  ]
}
필드
types[]

enum (Type)

선택사항. 최근 문서에 반환할 문서 유형입니다. 비어 있으면 모든 유형의 문서가 반환됩니다.

RecentEvents

이 유형에는 필드가 없습니다.

사용자를 위한 최근 이벤트를 가져오는 구성입니다.

공지사항

사용자를 위한 공지를 가져오기 위한 구성입니다.

JSON 표현
{
  "types": [
    enum (Type)
  ]
}
필드
types[]

enum (Type)

선택사항. 반환할 공지 유형입니다. 비어 있으면 모든 유형의 공지가 반환됩니다.