Method: projects.locations.memberships.features.list
Stay organized with collections
Save and categorize content based on your preferences.
Lists MembershipFeatures in a given project and location.
HTTP request
GET https://gkehub.googleapis.com/v2beta/{parent=projects/*/locations/*/memberships/*}/features
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The parent where the MembershipFeature will be listed. In the format: projects/*/locations/*/memberships/* .
Authorization requires the following IAM permission on the specified resource parent :
gkehub.membershipfeatures.list
|
Query parameters
Parameters |
pageSize |
integer
When requesting a 'page' of resources, pageSize specifies number of resources to return. If unspecified or set to 0, all resources will be returned.
|
pageToken |
string
Token returned by previous call to ListFeatures which specifies the position in the list from where to continue listing the resources.
|
filter |
string
Lists MembershipFeatures that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples:
- Feature with the name "helloworld" in project "foo-proj" and membership "member-bar":
name =
"projects/foo-proj/locations/global/memberships/member-bar/features/helloworld"
- Features that have a label called
foo :
labels.foo:*
- Features that have a label called
foo whose value is bar :
labels.foo = bar
|
orderBy |
string
One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
|
Request body
The request body must be empty.
Response body
Response message for the GkeHubFeature.ListMembershipFeatures
method.
If successful, the response body contains data with the following structure:
JSON representation |
{
"membershipFeatures": [
{
object (MembershipFeature )
}
],
"nextPageToken": string,
"unreachable": [
string
]
} |
Fields |
membershipFeatures[] |
object (MembershipFeature )
The list of matching MembershipFeatures.
|
nextPageToken |
string
A token to request the next page of resources from the features.list method. The value of an empty string means that there are no more resources to return.
|
unreachable[] |
string
List of locations that could not be reached while fetching this list.
|
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-12 UTC."],[],[],null,["# Method: projects.locations.memberships.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.ListMembershipFeaturesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nLists MembershipFeatures in a given project and location.\n\n### HTTP request\n\n`GET https://gkehub.googleapis.com/v2beta/{parent=projects/*/locations/*/memberships/*}/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 `GkeHubFeature.ListMembershipFeatures` 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)."]]