How to set the branch policy in Google cloud source repository, developers not allowed to push the code to the master branch, also how to create a Pull Request.
As you've mentioned, there is no documentation to accomplish this approach of not allowing someone to push to the master
or in general to any branch like in GitHub.
Actually, the security setting only admitted by Cloud Source Repositories are described here but the permissions are basically "You can write to a repo", "You can view the repo" or "You can't access the repo" and that's all.
Regarding the Pull Request, I think this is also not possible with Cloud Source Repositories, then, I would suggest to go with GitHub if those settings are important for your workflow and then you can mirror the repo from GitHub to CloudSource repositories.
Finally, there are already some Feature Requests for this two specific questions, Pull Requests and Permissions at branch level. You may want to upvote those Feature Requests and add a comment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With