지원되는 쿼리 필터 필드
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
필터 문법에 관한 참고사항은 필터 쿼리를 참고하고 아래의 필터 예시를 검토하세요.
alerts.list
에서 지원되는 필드
필터 필드 |
alertId |
알림 ID를 기준으로 알림을 필터링하는 데 사용해야 합니다.
해당 값은 string 유형이어야 합니다.
|
type |
알림 유형을 기준으로 알림을 필터링하는 데 사용해야 합니다.
해당 값은 string 유형이어야 합니다. 이 필터의 가능한 값은 Alert.type 필드 설명에 나와 있습니다.
|
source |
알림 소스를 기준으로 알림을 필터링하는 데 사용해야 합니다.
해당 값은 string 유형이어야 합니다. 이 필터의 가능한 값은 Alert.type 필드 설명에 나와 있습니다.
|
createTime |
알림 생성 시간을 기준으로 알림을 필터링하는 데 사용해야 합니다.
상응하는 값은 string (Timestamp
format) 유형이어야 합니다. 더 구체적으로는 RFC 3339 날짜-시간 문자열(예: "2018-01-01T00:00:00Z" )이어야 합니다.
|
startTime |
알림 시작 시간을 기준으로 알림을 필터링하는 데 사용해야 합니다.
상응하는 값은 string (Timestamp
format) 유형이어야 합니다. 더 구체적으로는 RFC 3339 날짜-시간 문자열(예: "2018-01-01T00:00:00Z" )이어야 합니다.
|
endTime |
알림 종료 시간을 기준으로 알림을 필터링하는 데 사용해야 합니다.
상응하는 값은 string (Timestamp
format) 유형이어야 합니다. 더 구체적으로는 RFC 3339 날짜-시간 문자열(예: "2018-01-01T00:00:00Z" )이어야 합니다.
|
쿼리 예시 나열
- 2018년 4월 5일 이후에 생성된 모든 알림을 쿼리하려면 다음 단계를 따르세요.
createTime >= "2018-04-05T00:00:00Z"
- 소스 'Gmail 피싱'의 모든 알림을 쿼리하려면 다음 단계를 따르세요.
source:"Gmail phishing"
- 2017년에 시작된 모든 알림을 쿼리하려면 다음 단계를 따르세요.
startTime >= "2017-01-01T00:00:00Z&" AND startTime < "2018-01-01T00:00:00Z"
- 소스 'Gmail 피싱'에서 사용자가 신고한 모든 피싱 알림을 쿼리하려면 다음 단계를 따르세요.
type:"User reported phishing" source:"Gmail phishing"
alerts.feedback.list
에서 지원되는 필드
필터 필드 |
alertId |
알림 ID를 기반으로 알림 의견을 필터링하는 데 사용해야 합니다.
해당 값은 string 유형이어야 합니다.
요청의 alertId 에서 '-' 와일드 카드가 사용될 때 한 번의 호출로 선택한 알림에 대한 의견을 나열하는 데 사용할 수 있습니다.
|
feedbackId |
의견 ID를 기반으로 알림 의견을 필터링하는 데 사용해야 합니다.
해당 값은 string 유형이어야 합니다.
|
의견 목록 쿼리 예시
- ID가
alertId01
또는 alertId02
인 알림의 의견을 쿼리하려면 다음 단계를 따르세요.
alertId = alertId01 OR alertId = alertId02
- 의견 ID가
feedbackId01
인 알림 alertId01
의 의견을 쿼리하려면 다음을 실행합니다.
alertId = alertId01 AND feedbackId = feedbackId01
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-03-25(UTC)
[null,null,["최종 업데이트: 2025-03-25(UTC)"],[],[],null,["# Supported query filter fields\n\nSee [Query filters](/workspace/admin/alertcenter/guides/query-filters) for reference\non filter syntax, and review the filter examples below.\n\nFields supported by `alerts.list`\n---------------------------------\n\n| Filter fields ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `alertId` | Should be used to filter alerts based on alert id. Corresponding value should be of type: `string`. |\n| `type` | Should be used to filter alerts based on alert type. Corresponding value should be of type: `string`. Possible values for this filter are listed in the [`Alert.type` field description](/workspace/admin/alertcenter/reference/rest/v1beta1/alerts#alert-types). |\n| `source` | Should be used to filter alerts based on alert source. Corresponding value should be of type: `string`. Possible values for this filter are listed in the [`Alert.type` field description](/workspace/admin/alertcenter/reference/rest/v1beta1/alerts#alert-types). |\n| `createTime` | Should be used to filter alerts based on alert creation time. Corresponding value should be of type: `string (`[Timestamp](/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)`; more specifically, an [RFC 3339](https://tools.ietf.org/html/rfc3339) date-time string, for example, `\"2018-01-01T00:00:00Z\"` |\n| `startTime` | Should be used to filter alerts based on alert start time. Corresponding value should be of type: `string (`[Timestamp](/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)`; more specifically, an [RFC 3339](https://tools.ietf.org/html/rfc3339) date-time string, for example, `\"2018-01-01T00:00:00Z\"` |\n| `endTime` | Should be used to filter alerts based on alert end time. Corresponding value should be of type: `string (`[Timestamp](/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)`; more specifically, an [RFC 3339](https://tools.ietf.org/html/rfc3339) date-time string, for example, `\"2018-01-01T00:00:00Z\"` |\n\n### List query examples\n\n- To query for all alerts created on or after April 5, 2018: \n `createTime \u003e= \"2018-04-05T00:00:00Z\"`\n- To query for all alerts from the source \"Gmail phishing\": \n `source:\"Gmail phishing\"`\n- To query for all alerts that started in 2017: \n `startTime \u003e= \"2017-01-01T00:00:00Z&\" AND startTime \u003c \"2018-01-01T00:00:00Z\"`\n- To query for all user-reported phishing alerts from the source \"Gmail phishing\": \n `type:\"User reported phishing\" source:\"Gmail phishing\"`\n\nFields supported by `alerts.feedback.list`\n------------------------------------------\n\n| Filter fields ||\n|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `alertId` | Should be used to filter alert feedback based on alert id. Corresponding value should be of type: `string`. Can be used to list feedback for selected alerts in one call when the '-' wildcard is used in request's `alertId`. |\n| `feedbackId` | Should be used to filter alert feedback based on feedback id. Corresponding value should be of type: `string`. |\n\n### Feedback list query examples\n\n- To query feedback of alerts with ids `alertId01` or `alertId02`: \n `alertId = alertId01 OR alertId = alertId02`\n- To query feedback of an alert `alertId01` with feedback id `feedbackId01`: \n `alertId = alertId01 AND feedbackId = feedbackId01`"]]