Organization Policy API (orgpolicy:v2)

2021-12-02

1 new method

Additions

    Methods
  • orgpolicy.organizations.customConstraints.patch

      Flat Path : v2/organizations/{organizationsId}/customConstraints/{customConstraintsId}

      Path : v2/{+name}

      Parameter Order : name

      Description : Updates a Custom Constraint. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint does not exist. Note: the supplied policy will perform a full overwrite of all fields.

      Parameters :

        name

          Type : string

          Pattern : ^organizations/[^/]+/customConstraints/[^/]+$

          Location : path

          Description : Immutable. Name of the constraint. This is unique within the organization. Format of the name should be * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example : "organizations/123/customConstraints/custom.createOnlyE2TypeVms"

          Required : Yes

      HTTP Method : PATCH

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