Service Directory API (servicedirectory:v1beta1)

2022-07-30

3 new methods

Additions

    Methods
  • servicedirectory.projects.locations.registrationPolicies.setIamPolicy

      Path: v1beta1/{+resource}:setIamPolicy

      Parameter Order: resource

      Parameters:

        resource

          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.

          Location: path

          Type: string

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

          Required: Yes

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

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/registrationPolicies/{registrationPoliciesId}:setIamPolicy

      HTTP Method: POST

      Description: Sets the IAM Policy for a resource

  • servicedirectory.projects.locations.registrationPolicies.getIamPolicy

      Description: Gets the IAM Policy for a resource

      Path: v1beta1/{+resource}:getIamPolicy

      Parameter Order: resource

      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.

          Type: string

          Required: Yes

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

          Location: path

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/registrationPolicies/{registrationPoliciesId}:getIamPolicy

      HTTP Method: POST

  • servicedirectory.projects.locations.registrationPolicies.testIamPermissions

      Parameter Order: resource

      Path: v1beta1/{+resource}:testIamPermissions

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

      Parameters:

        resource

          Type: string

          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

          Location: path

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

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/registrationPolicies/{registrationPoliciesId}:testIamPermissions

      HTTP Method: POST

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