Reference documentation and code samples for the Access Approval v1 API class AccessApproval.
This API allows a customer to manage accesses to cloud resources by
Google personnel. It defines the following resource model:
The API has a collection of
[ApprovalRequest][google.cloud.accessapproval.v1.ApprovalRequest]
resources, named approvalRequests/{approval_request}
The API has top-level settings per Project/Folder/Organization, named
accessApprovalSettings
The service also periodically emails a list of recipients, defined at the
Project/Folder/Organization level in the accessApprovalSettings, when there
is a pending ApprovalRequest for them to act on. The ApprovalRequests can
also optionally be published to a Pub/Sub topic owned by the customer
(contact support if you would like to enable Pub/Sub notifications).
Note: Using Access Approval functionality will mean that Google may not be
able to meet the SLAs for your chosen products, as any support response times
may be dramatically increased. As such the SLAs do not apply to any service
disruption to the extent impacted by Customer's use of Access Approval. Do
not enable Access Approval for projects where you may require high service
availability and rapid response by Google Cloud Support.
After a request is approved or dismissed, no further action may be taken on
it. Requests with the requested_expiration in the past or with no activity
for 14 days are considered dismissed. When an approval expires, the request
is considered dismissed.
If a request is not approved or dismissed, we call it pending.
public static void BindService(ServiceBinderBase serviceBinder, AccessApproval.AccessApprovalBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the Google Cloud Access Approval v1 API, which manages accesses to cloud resources by Google personnel.\u003c/p\u003e\n"],["\u003cp\u003eThe API includes a collection of \u003ccode\u003eApprovalRequest\u003c/code\u003e resources and top-level \u003ccode\u003eaccessApprovalSettings\u003c/code\u003e for each Project, Folder, or Organization.\u003c/p\u003e\n"],["\u003cp\u003eThe service sends emails to designated recipients about pending \u003ccode\u003eApprovalRequest\u003c/code\u003e actions and can publish \u003ccode\u003eApprovalRequests\u003c/code\u003e to a customer-owned Pub/Sub topic.\u003c/p\u003e\n"],["\u003cp\u003eApproval is needed for Google personnel to access resources, with some exceptions, and requests can be approved, dismissed, or become inactive after 14 days.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 2.5.0, with several older versions, including 2.4.0, 2.3.0, 2.2.0, 2.1.0, 2.0.0, 1.4.0, 1.3.0, 1.2.0, 1.1.0, and 1.0.0, also available.\u003c/p\u003e\n"]]],[],null,["# Access Approval v1 API - Class AccessApproval (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.AccessApproval.V1/latest/Google.Cloud.AccessApproval.V1.AccessApproval)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.AccessApproval.V1/2.4.0/Google.Cloud.AccessApproval.V1.AccessApproval)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.AccessApproval.V1/2.3.0/Google.Cloud.AccessApproval.V1.AccessApproval)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.AccessApproval.V1/2.2.0/Google.Cloud.AccessApproval.V1.AccessApproval)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.AccessApproval.V1/2.1.0/Google.Cloud.AccessApproval.V1.AccessApproval)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.AccessApproval.V1/2.0.0/Google.Cloud.AccessApproval.V1.AccessApproval)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.AccessApproval.V1/1.4.0/Google.Cloud.AccessApproval.V1.AccessApproval)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.AccessApproval.V1/1.3.0/Google.Cloud.AccessApproval.V1.AccessApproval)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.AccessApproval.V1/1.2.0/Google.Cloud.AccessApproval.V1.AccessApproval)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.AccessApproval.V1/1.1.0/Google.Cloud.AccessApproval.V1.AccessApproval)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.AccessApproval.V1/1.0.0/Google.Cloud.AccessApproval.V1.AccessApproval) \n\n public static class AccessApproval\n\nReference documentation and code samples for the Access Approval v1 API class AccessApproval.\n\nThis API allows a customer to manage accesses to cloud resources by\nGoogle personnel. It defines the following resource model:\n\n- The API has a collection of \\[ApprovalRequest\\]\\[google.cloud.accessapproval.v1.ApprovalRequest\\] resources, named `approvalRequests/{approval_request}`\n- The API has top-level settings per Project/Folder/Organization, named `accessApprovalSettings`\n\nThe service also periodically emails a list of recipients, defined at the\nProject/Folder/Organization level in the accessApprovalSettings, when there\nis a pending ApprovalRequest for them to act on. The ApprovalRequests can\nalso optionally be published to a Pub/Sub topic owned by the customer\n(contact support if you would like to enable Pub/Sub notifications).\n\nApprovalRequests can be approved or dismissed. Google personnel can only\naccess the indicated resource or resources if the request is approved\n(subject to some exclusions:\n\u003chttps://cloud.google.com/access-approval/docs/overview#exclusions\u003e).\n\nNote: Using Access Approval functionality will mean that Google may not be\nable to meet the SLAs for your chosen products, as any support response times\nmay be dramatically increased. As such the SLAs do not apply to any service\ndisruption to the extent impacted by Customer's use of Access Approval. Do\nnot enable Access Approval for projects where you may require high service\navailability and rapid response by Google Cloud Support.\n\nAfter a request is approved or dismissed, no further action may be taken on\nit. Requests with the requested_expiration in the past or with no activity\nfor 14 days are considered dismissed. When an approval expires, the request\nis considered dismissed.\n\nIf a request is not approved or dismissed, we call it pending. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AccessApproval \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AccessApproval.V1](/dotnet/docs/reference/Google.Cloud.AccessApproval.V1/latest/Google.Cloud.AccessApproval.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.AccessApproval.V1.dll\n\nMethods\n-------\n\n### BindService(AccessApprovalBase)\n\n public static ServerServiceDefinition BindService(AccessApproval.AccessApprovalBase serviceImpl)\n\nCreates service definition that can be registered with a server\n\n### BindService(ServiceBinderBase, AccessApprovalBase)\n\n public static void BindService(ServiceBinderBase serviceBinder, AccessApproval.AccessApprovalBase serviceImpl)\n\nRegister service method with a service binder with or without implementation. Useful when customizing the service binding logic.\nNote: this method is part of an experimental API that can change or be removed without any prior notice."]]