Method: projects.locations.list
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이 서비스에 지원되는 위치 정보를 나열합니다.
HTTP 요청
GET https://gkehub.googleapis.com/v1beta/{name=projects/*}/locations
URL은 gRPC 트랜스코딩 구문을 사용합니다.
경로 매개변수
매개변수 |
name |
string
해당하는 경우 위치 컬렉션을 소유한 리소스입니다.
|
쿼리 매개변수
매개변수 |
filter |
string
결과 범위를 선호하는 하위 집합으로 제한하는 필터입니다. 필터링 언어는 "displayName=tokyo" 와 같은 문자열을 수락하며 AIP-160에 더 자세히 설명되어 있습니다.
|
pageSize |
integer
반환할 최대 결과 수입니다. 설정되지 않은 경우 서비스에 기본값이 선택됩니다.
|
pageToken |
string
응답의 nextPageToken 필드에서 수신된 페이지 토큰입니다. 후속 페이지를 수신하도록 이 페이지 토큰을 전송합니다.
|
응답 본문
성공한 경우 응답 본문에 ListLocationsResponse
의 인스턴스가 포함됩니다.
승인 범위
다음 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.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- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nLists information about the supported locations for this service.\n\n### HTTP request\n\n`GET https://gkehub.googleapis.com/v1beta/{name=projects/*}/locations`\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\nIf successful, the response body contains an instance of [ListLocationsResponse](/kubernetes-engine/fleet-management/docs/reference/rest/Shared.Types/ListLocationsResponse).\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)."]]