Method: projects.locations.featureGroups.list

Lists FeatureGroups in a given project and location.

Endpoint

get https://{service-endpoint}/v1/{parent}/featureGroups

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

parent string

Required. The resource name of the Location to list FeatureGroups. Format: projects/{project}/locations/{location}

Query parameters

filter string

Lists the FeatureGroups that match the filter expression. The following fields are supported:

  • createTime: Supports =, !=, <, >, <=, and >= comparisons. Values must be in RFC 3339 format.
  • updateTime: Supports =, !=, <, >, <=, and >= comparisons. Values must be in RFC 3339 format.
  • labels: Supports key-value equality and key presence.

Examples:

  • createTime > "2020-01-01" OR updateTime > "2020-01-01" FeatureGroups created or updated after 2020-01-01.
  • labels.env = "prod" FeatureGroups with label "env" set to "prod".
pageSize integer

The maximum number of FeatureGroups to return. The service may return fewer than this value. If unspecified, at most 100 FeatureGroups will be returned. The maximum value is 100; any value greater than 100 will be coerced to 100.

pageToken string

A page token, received from a previous [FeatureGroupAdminService.ListFeatureGroups][] call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to [FeatureGroupAdminService.ListFeatureGroups][] must match the call that provided the page token.

orderBy string

A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported Fields:

  • createTime
  • updateTime

Request body

The request body must be empty.

Response body

Response message for FeatureRegistryService.ListFeatureGroups.

If successful, the response body contains data with the following structure:

Fields
featureGroups[] object (FeatureGroup)

The FeatureGroups matching the request.

nextPageToken string

A token, which can be sent as ListFeatureGroupsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

JSON representation
{
  "featureGroups": [
    {
      object (FeatureGroup)
    }
  ],
  "nextPageToken": string
}