Class ProjectsResource.LocationsResource.DataPoliciesResource.AddGranteesRequest
Adds new grantees to a data policy. The new grantees will be added to the existing grantees. If the request contains a duplicate grantee, the grantee will be ignored. If the request contains a grantee that already exists, the grantee will be ignored.
Inheritance
ProjectsResource.LocationsResource.DataPoliciesResource.AddGranteesRequest
Inherited Members
Namespace: Google.Apis.BigQueryDataPolicyService.v2
Assembly: Google.Apis.BigQueryDataPolicyService.v2.dll
Syntax
public class ProjectsResource.LocationsResource.DataPoliciesResource.AddGranteesRequest : BigQueryDataPolicyServiceBaseServiceRequest<DataPolicy>, IClientServiceRequest<DataPolicy>, IClientServiceRequest
Constructors
AddGranteesRequest(IClientService, AddGranteesRequest, string)
Constructs a new AddGrantees request.
Declaration
public AddGranteesRequest(IClientService service, AddGranteesRequest body, string dataPolicy)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| AddGranteesRequest | body | |
| string | dataPolicy |
Properties
DataPolicy
Required. Resource name of this data policy, in the format of
projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.
Declaration
[RequestParameter("dataPolicy", RequestParameterType.Path)]
public virtual string DataPolicy { get; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes AddGrantees parameter list.
Declaration
protected override void InitParameters()