Class ProjectsResource.FetchAclRequest
Gets the access control policy for a resource. Returns NOT_FOUND error if the resource does not exist. Returns an empty policy if the resource exists but does not have a policy set.
Inheritance
ProjectsResource.FetchAclRequest
Implements
Inherited Members
Namespace: Google.Apis.Contentwarehouse.v1
Assembly: Google.Apis.Contentwarehouse.v1.dll
Syntax
public class ProjectsResource.FetchAclRequest : ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1FetchAclResponse>, IClientServiceRequest<GoogleCloudContentwarehouseV1FetchAclResponse>, IClientServiceRequest
Constructors
FetchAclRequest(IClientService, GoogleCloudContentwarehouseV1FetchAclRequest, string)
Constructs a new FetchAcl request.
Declaration
public FetchAclRequest(IClientService service, GoogleCloudContentwarehouseV1FetchAclRequest body, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudContentwarehouseV1FetchAclRequest | 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 FetchAcl parameter list.
Declaration
protected override void InitParameters()