GKE Hub API (gkehub:v1)

2023-08-05

10 new methods

Additions

    Methods
  • gkehub.projects.locations.scopes.namespaces.patch

      Parameter Order: name

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

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

      Parameters:

        updateMask

          Description: Required. The fields to be updated.

          Format: google-fieldmask

          Location: query

          Type: string

        name

          Description: The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}`

          Type: string

          Required: Yes

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

          Location: path

      Path: v1/{+name}

      HTTP Method: PATCH

      Description: Updates a fleet namespace.

  • gkehub.projects.locations.scopes.namespaces.get

      Path: v1/{+name}

      HTTP Method: GET

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

      Description: Returns the details of a fleet namespace.

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

      Parameters:

        name

          Description: Required. The Namespace resource name in the format `projects/*/locations/*/scopes/*/namespaces/*`.

          Required: Yes

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

          Location: path

          Type: string

      Parameter Order: name

  • gkehub.projects.locations.scopes.namespaces.delete

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

      Description: Deletes a fleet namespace.

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

      Path: v1/{+name}

      HTTP Method: DELETE

      Parameter Order: name

      Parameters:

        name

          Location: path

          Required: Yes

          Type: string

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

          Description: Required. The Namespace resource name in the format `projects/*/locations/*/scopes/*/namespaces/*`.

  • gkehub.projects.locations.scopes.namespaces.create

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

      Path: v1/{+parent}/namespaces

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

      Description: Creates a fleet namespace.

      Parameters:

        scopeNamespaceId

          Type: string

          Location: query

          Description: Required. Client chosen ID for the Namespace. `namespace_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.

        parent

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

          Location: path

          Required: Yes

          Type: string

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

      Parameter Order: parent

      HTTP Method: POST

  • gkehub.projects.locations.scopes.namespaces.list

      HTTP Method: GET

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

      Parameters:

        pageSize

          Location: query

          Type: integer

          Format: int32

          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.

        parent

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

          Location: path

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

          Required: Yes

          Type: string

        pageToken

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

          Location: query

          Type: string

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

      Path: v1/{+parent}/namespaces

      Description: Lists fleet namespaces.

      Parameter Order: parent

  • gkehub.projects.locations.scopes.rbacrolebindings.create

      Parameters:

        rbacrolebindingId

          Description: Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.

          Type: string

          Location: query

        parent

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

          Required: Yes

          Location: path

          Type: string

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

      HTTP Method: POST

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

      Parameter Order: parent

      Path: v1/{+parent}/rbacrolebindings

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

      Description: Creates a Scope RBACRoleBinding.

  • gkehub.projects.locations.scopes.rbacrolebindings.delete

      Parameters:

        name

          Type: string

          Required: Yes

          Description: Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/scopes/*/rbacrolebindings/*`.

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

          Location: path

      Path: v1/{+name}

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

      HTTP Method: DELETE

      Parameter Order: name

      Description: Deletes a Scope RBACRoleBinding.

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

  • gkehub.projects.locations.scopes.rbacrolebindings.list

      Description: Lists all Scope RBACRoleBindings.

      Parameters:

        pageToken

          Type: string

          Location: query

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

        parent

          Required: Yes

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

          Location: path

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

          Type: string

        pageSize

          Format: int32

          Location: query

          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.

          Type: integer

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

      Parameter Order: parent

      Path: v1/{+parent}/rbacrolebindings

      HTTP Method: GET

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

  • gkehub.projects.locations.scopes.rbacrolebindings.get

      Parameter Order: name

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

      Parameters:

        name

          Location: path

          Required: Yes

          Type: string

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

          Description: Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/scopes/*/rbacrolebindings/*`.

      Description: Returns the details of a Scope RBACRoleBinding.

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

      HTTP Method: GET

      Path: v1/{+name}

  • gkehub.projects.locations.scopes.rbacrolebindings.patch

      HTTP Method: PATCH

      Description: Updates a Scope RBACRoleBinding.

      Path: v1/{+name}

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

      Parameters:

        name

          Required: Yes

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

          Description: The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`

          Location: path

          Type: string

        updateMask

          Type: string

          Format: google-fieldmask

          Location: query

          Description: Required. The fields to be updated.

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

      Parameter Order: name