Class ServicesResource.RolesResource
The "roles" collection of methods.
Inherited Members
Namespace: Google.Apis.ServiceNetworking.v1
Assembly: Google.Apis.ServiceNetworking.v1.dll
Syntax
public class ServicesResource.RolesResource
Constructors
RolesResource(IClientService)
Constructs a new resource.
Declaration
public RolesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Add(AddRolesRequest, string)
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.
Declaration
public virtual ServicesResource.RolesResource.AddRequest Add(AddRolesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
AddRolesRequest | body | The body of the request. |
string | parent | 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'. |
Returns
Type | Description |
---|---|
ServicesResource.RolesResource.AddRequest |