GKE Hub API (gkehub:v1)

2024-03-22

2 new methods

Additions

    Methods
  • gkehub.projects.locations.scopes.listMemberships

      Path: v1/{+scopeName}:listMemberships

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}:listMemberships

      HTTP Method: GET

      Parameters:

        scopeName

          Description: Required. Name of the Scope, in the format `projects/*/locations/global/scopes/*`, to which the Memberships are bound.

          Pattern: ^projects/[^/]+/locations/[^/]+/scopes/[^/]+$

          Location: path

          Required: Yes

          Type: string

        filter

          Description: Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Currently, filtering can be done only based on Memberships's `name`, `labels`, `create_time`, `update_time`, and `unique_id`.

          Location: query

          Type: string

        pageSize

          Description: Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned. Pagination is currently not supported; therefore, setting this field does not have any impact for now.

          Location: query

          Type: integer

          Format: int32

        pageToken

          Description: Optional. Token returned by previous call to `ListBoundMemberships` which specifies the position in the list from where to continue listing the resources.

          Location: query

          Type: string

      Parameter Order: scopeName

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: Lists Memberships bound to a Scope. The response includes relevant Memberships from all regions.

  • gkehub.projects.locations.scopes.listPermitted

      Path: v1/{+parent}/scopes:listPermitted

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/scopes:listPermitted

      HTTP Method: GET

      Parameters:

        parent

          Description: Required. The parent (project and location) where the Scope will be listed. Specified in the format `projects/*/locations/*`.

          Pattern: ^projects/[^/]+/locations/[^/]+$

          Location: path

          Required: Yes

          Type: string

        pageSize

          Description: Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.

          Location: query

          Type: integer

          Format: int32

        pageToken

          Description: Optional. Token returned by previous call to `ListPermittedScopes` which specifies the position in the list from where to continue listing the resources.

          Location: query

          Type: string

      Parameter Order: parent

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: Lists permitted Scopes.