Class ProjectsResource.ApprovalRequestsResource.DismissRequest
Dismisses a request. Returns the updated ApprovalRequest. NOTE: This does not deny access to the resource if another request has been made and approved. It is equivalent in effect to ignoring the request altogether. Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION if the request exists but is not in a pending state.
Inheritance
ProjectsResource.ApprovalRequestsResource.DismissRequest
Inherited Members
Namespace: Google.Apis.AccessApproval.v1
Assembly: Google.Apis.AccessApproval.v1.dll
Syntax
public class ProjectsResource.ApprovalRequestsResource.DismissRequest : AccessApprovalBaseServiceRequest<ApprovalRequest>, IClientServiceRequest<ApprovalRequest>, IClientServiceRequest
Constructors
DismissRequest(IClientService, DismissApprovalRequestMessage, string)
Constructs a new Dismiss request.
Declaration
public DismissRequest(IClientService service, DismissApprovalRequestMessage body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DismissApprovalRequestMessage | 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 dismiss.
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 Dismiss parameter list.
Declaration
protected override void InitParameters()