v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13101838.5 KB
projects

Adds new grantees to a data policy. The new grantees will be added to the existing grantees. If the request contains a duplicate grantee, the grantee will be ignored. If the request contains a grantee that already exists, the grantee will be ignored.

post/v2/{+dataPolicy}:addGrantees

Path parameters

dataPolicystring required

Required. Resource name of this data policy, in the format of projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.

Request body

granteesstring[]

Required. IAM principal that should be granted Fine Grained Access to the underlying data goverened by the data policy. The target data policy is determined by the data_policy field. Uses the IAM V2 principal syntax. Supported principal types: * User * Group * Service account

Response

Successful response