class ServicesRoles extends Resource (View source)

The "roles" collection of methods.

Typical usage is:

 $servicenetworkingService = new Google\Service\ServiceNetworking(...);
 $roles = $servicenetworkingService->services_roles;

Methods

add(string $parent, AddRolesRequest $postBody, array $optParams = [])

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. (roles.add)

Details

Operation add(string $parent, AddRolesRequest $postBody, array $optParams = [])

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. (roles.add)

Parameters

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'.

AddRolesRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception