Method: projects.locations.features.list
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
HTTP 요청
GET https://gkehub.googleapis.com/v1beta/{parent=projects/*/locations/*}/features
URL은 gRPC 트랜스코딩 구문을 사용합니다.
경로 매개변수
매개변수 |
parent |
string
필수 항목입니다. 특성이 나열되는 상위 요소(프로젝트 및 위치)입니다. projects/*/locations/* 형식으로 지정됩니다.
승인을 처리하려면 지정된 리소스 parent 에 대해 다음과 같은 IAM 권한이 필요합니다.
|
쿼리 매개변수
매개변수 |
pageSize |
integer
리소스의 '페이지'를 요청할 때 pageSize 는 반환할 리소스 수를 지정합니다. 지정하지 않거나 0으로 설정된 경우 모든 리소스가 반환됩니다.
|
pageToken |
string
리소스를 계속 나열할 위치에서 목록의 위치를 지정하는 features.list 에 대한 이전 호출로 반환된 토큰입니다.
|
filter |
string
https://google.aip.dev/160에 설명된 구문을 따라 필터 표현식과 일치하는 특성을 나열합니다. 예:
- 'foo-proj' 프로젝트에서 이름이 'servicemesh'인 특성:
name = "projects/foo-proj/locations/global/features/servicemesh"
labels.foo:*
labels.foo = bar
|
orderBy |
string
출력을 비교하고 정렬하는 데 사용할 하나 이상의 필드입니다. https://google.aip.dev/132#ordering을 참조하세요.
|
응답 본문
GkeHub.ListFeatures
메서드에 대한 응답 메시지입니다.
성공한 경우 응답 본문은 다음과 같은 구조의 데이터를 포함합니다.
JSON 표현 |
{
"resources": [
{
object (Feature )
}
],
"nextPageToken": string
} |
필드 |
resources[] |
object (Feature )
일치하는 특성 목록입니다.
|
nextPageToken |
string
features.list 메서드에서 리소스의 다음 페이지를 요청하기 위한 토큰입니다. 빈 문자열 값은 반환할 리소스가 없음을 의미합니다.
|
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/cloud-platform
자세한 내용은 인증 개요를 참조하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-05-23(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-05-23(UTC)"],[],[],null,["# Method: projects.locations.features.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListFeaturesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nLists Features in a given project and location.\n\n### HTTP request\n\n`GET https://gkehub.googleapis.com/v1beta/{parent=projects/*/locations/*}/features`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for the `GkeHub.ListFeatures` method.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]