Class FoldersResource.ApprovalRequestsResource.InvalidateRequest
Invalidates an existing ApprovalRequest. Returns the updated ApprovalRequest. NOTE: This does not deny access to the resource if another request has been made and approved. It only invalidates a single approval. Returns FAILED_PRECONDITION if the request exists but is not in an approved state.
Inheritance
FoldersResource.ApprovalRequestsResource.InvalidateRequest
Inherited Members
Namespace: Google.Apis.AccessApproval.v1
Assembly: Google.Apis.AccessApproval.v1.dll
Syntax
public class FoldersResource.ApprovalRequestsResource.InvalidateRequest : AccessApprovalBaseServiceRequest<ApprovalRequest>, IClientServiceRequest<ApprovalRequest>, IClientServiceRequest
Constructors
InvalidateRequest(IClientService, InvalidateApprovalRequestMessage, string)
Constructs a new Invalidate request.
Declaration
public InvalidateRequest(IClientService service, InvalidateApprovalRequestMessage body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
InvalidateApprovalRequestMessage | body | |
string | name |
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
Name
Name of the ApprovalRequest to invalidate.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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 Invalidate parameter list.
Declaration
protected override void InitParameters()