Sets the access control policy on the specified resource in Google Cloud Source Repositories
A documented Google Cloud Source Repositories operation that changes something in your account. Describe the outcome you want in plain words — HumDay writes the program, proves it, and runs it.
What this operation does
Sets the access control policy on the specified resource.
- POSTChanges data · projects
sourcerepo.googleapis.com/v1/{resource}:setIamPolicy
How HumDay uses it
- You describe the outcome. Not this operation by name — what you want to happen. HumDay works out which operations it needs.
- The contract names it. Before anything is built, you see exactly which Google Cloud Source Repositories operations the program may use, and this is one of them.
- You approve access. Because this one changes data, it cannot run until you have explicitly granted it.
Other Google Cloud Source Repositories operations
- Creates a repo in the given project with the given namePOST · changes data
- Deletes a repoDELETE · changes data
- Updates information about a repoPATCH · changes data
- Synchronize a connected repoPOST · changes data
- Returns permissions that a caller has on the specified resourcePOST · changes data
- Updates the Cloud Source Repositories configuration of the projectPATCH · changes data
- Returns information about a repoGET · reads data
- Gets the access control policy for a resourceGET · reads data
Questions
- Can HumDay sets the access control policy on the specified resource in Google Cloud Source Repositories?
- Yes. This operation is published in Google Cloud Source Repositories's own API description, so HumDay can use it without a hand-built connector — once you have approved it for your automation.
- Will this change my Google Cloud Source Repositories data?
- Yes — this is a POST operation, so it changes something in Google Cloud Source Repositories. HumDay holds anything that writes behind an approval you grant explicitly, and the contract you approve says what it may touch.
- Do I need to write code?
- No. You describe the outcome you want in plain words. HumDay agrees a contract with you, writes the program, and shows you a proof run before anything touches your Google Cloud Source Repositories account.
Where this came from
Read from a published API description for Google Cloud Source Repositories at sourcerepo.googleapis.com/$discovery/rest?version=v1. The description above is the provider’s own wording, not ours. Last published 2023-04-21.