v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1325131186.2 KB
services

Service producers can use this method to add roles in the shared VPC host project. Each role is bound to the provided member. Each role must be selected from within an allowlisted set of roles. Each role is applied at only the granularity specified in the allowlist.

post/v1/{+parent}/roles:add

Path parameters

parentstring required

Required. This is in a form services/{service} where {service} is the name of the private access management service. For example 'service-peering.example.com'.

Request body

consumerNetworkstring

Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is a project number, as in '12345' {network} is a network name.

Response

Successful response