Service Directory API (servicedirectory:v1beta1)

2023-02-21

3 new methods

Additions

    Methods
  • servicedirectory.projects.locations.namespaces.workloads.setIamPolicy

      Parameters :

        resource

          Required : Yes

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

          Location : path

          Type : string

          Description : REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

      Description : Sets the IAM Policy for a resource

      Flat Path : v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/workloads/{workloadsId}:setIamPolicy

      Path : v1beta1/{+resource}:setIamPolicy

      HTTP Method : POST

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

      Parameter Order : resource

  • servicedirectory.projects.locations.namespaces.workloads.testIamPermissions

      Flat Path : v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/workloads/{workloadsId}:testIamPermissions

      Path : v1beta1/{+resource}:testIamPermissions

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

      Parameter Order : resource

      Description : Tests IAM permissions for a resource (namespace, service or service workload only).

      HTTP Method : POST

      Parameters :

        resource

          Location : path

          Type : string

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

          Description : REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

          Required : Yes

  • servicedirectory.projects.locations.namespaces.workloads.getIamPolicy

      Flat Path : v1beta1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/workloads/{workloadsId}:getIamPolicy

      Description : Gets the IAM Policy for a resource

      HTTP Method : POST

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

      Parameters :

        resource

          Description : REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

          Required : Yes

          Type : string

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

          Location : path

      Parameter Order : resource

      Path : v1beta1/{+resource}:getIamPolicy