Class ProjectsResource.SetAclRequest
Sets the access control policy for a resource. Replaces any existing policy.
Inheritance
ProjectsResource.SetAclRequest
Inherited Members
Namespace: Google.Apis.Contentwarehouse.v1
Assembly: Google.Apis.Contentwarehouse.v1.dll
Syntax
public class ProjectsResource.SetAclRequest : ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1SetAclResponse>, IClientServiceRequest<GoogleCloudContentwarehouseV1SetAclResponse>, IClientServiceRequest
Constructors
SetAclRequest(IClientService, GoogleCloudContentwarehouseV1SetAclRequest, string)
Constructs a new SetAcl request.
Declaration
public SetAclRequest(IClientService service, GoogleCloudContentwarehouseV1SetAclRequest body, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudContentwarehouseV1SetAclRequest | body | |
| string | resource |
Properties
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
Resource
Required. REQUIRED: The resource for which the policy is being requested. Format for document: projects/{project_number}/locations/{location}/documents/{document_id}. Format for collection: projects/{project_number}/locations/{location}/collections/{collection_id}. Format for project: projects/{project_number}.
Declaration
[RequestParameter("resource", RequestParameterType.Path)]
public virtual string Resource { get; }
Property Value
| Type | Description |
|---|---|
| string |
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 SetAcl parameter list.
Declaration
protected override void InitParameters()