3.15.0-rc 3.14.2 (latest) 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 2.48.0-rc 2.47.1 2.46.0 2.45.0 2.44.0 2.43.0 2.42.0 2.41.0 2.40.0 2.39.0 2.38.0 2.37.0 2.36.0 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.0 2.29.0 2.28.0 2.27.0 2.26.0 2.25.1 2.24.0 2.23.0 2.22.1 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.1 2.14.0 2.13.0 2.12.0 2.11.0 API for setting \[access levels\] \[google.identity.accesscontextmanager.v1.AccessLevel\] and \[service perimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] for Google Cloud projects.
Each organization has one \[access policy\] \[google.identity.accesscontextmanager.v1.AccessPolicy\] that contains the \[access levels\] \[google.identity.accesscontextmanager.v1.AccessLevel\] and \[service perimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\]. This \[access policy\] \[google.identity.accesscontextmanager.v1.AccessPolicy\] is applicable to all resources in the organization. AccessPolicies

###### Equality

Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal `std::shared_ptr<*Connection>` objects compare equal. Objects that compare equal share the same underlying resources.

###### Performance

Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.

###### Thread Safety

Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.

## Constructors

### AccessContextManagerClient(AccessContextManagerClient const \&)

Copy and move support

| **Parameter** ||
|---|---|
| **Name** | **Description** |
|   | `AccessContextManagerClient const &` |

### AccessContextManagerClient(AccessContextManagerClient \&\&)

Copy and move support

| **Parameter** ||
|---|---|
| **Name** | **Description** |
|   | `AccessContextManagerClient &&` |

### AccessContextManagerClient(std::shared_ptr\< AccessContextManagerConnection \>, Options)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `connection` | `std::shared_ptr< AccessContextManagerConnection >` |
| `opts` | `Options` |

## Operators

### operator=(AccessContextManagerClient const \&)

Copy and move support

| **Parameter** ||
|---|---|
| **Name** | **Description** |
|   | `AccessContextManagerClient const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AccessContextManagerClient &` |   |

### operator=(AccessContextManagerClient \&\&)

Copy and move support

| **Parameter** ||
|---|---|
| **Name** | **Description** |
|   | `AccessContextManagerClient &&` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AccessContextManagerClient &` |   |

## Functions

### ListAccessPolicies(google::identity::accesscontextmanager::v1::ListAccessPoliciesRequest, Options)

Lists all \[access policies\] [google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36) in an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::ListAccessPoliciesRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.ListAccessPoliciesRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L475). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::identity::accesscontextmanager::v1::AccessPolicy >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.md.txt) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt)`<T>` contains elements of type [google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GetAccessPolicy(std::string const \&, Options)

Returns an \[access policy\] [google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36) based on the name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. Resource name for the access policy to get. Format `accessPolicies/{policy_id}` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::identity::accesscontextmanager::v1::AccessPolicy >` | the result of the RPC. The response message type ([google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) contains the error details. |

### GetAccessPolicy(google::identity::accesscontextmanager::v1::GetAccessPolicyRequest const \&, Options)

Returns an \[access policy\] [google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36) based on the name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::GetAccessPolicyRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.GetAccessPolicyRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L507). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::identity::accesscontextmanager::v1::AccessPolicy >` | the result of the RPC. The response message type ([google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) contains the error details. |

### CreateAccessPolicy(google::identity::accesscontextmanager::v1::AccessPolicy const \&, Options)

Creates an access policy.
This method fails if the organization already has an access policy. The long-running operation has a successful status after the access policy propagates to long-lasting storage. Syntactic and basic semantic errors are returned in `metadata` as a BadRequest proto.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::AccessPolicy const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessPolicy > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateAccessPolicy(NoAwaitTag, google::identity::accesscontextmanager::v1::AccessPolicy const \&, Options)

Creates an access policy.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::identity::accesscontextmanager::v1::AccessPolicy const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateAccessPolicy(google::longrunning::Operation const \&, Options)

Creates an access policy.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessPolicy > >` |   |

### UpdateAccessPolicy(google::identity::accesscontextmanager::v1::AccessPolicy const \&, google::protobuf::FieldMask const \&, Options)

Updates an \[access policy\] [google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36).
The long-running operation from this RPC has a successful status after the changes to the \[access policy\] [google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36) propagate to long-lasting storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `policy` | `google::identity::accesscontextmanager::v1::AccessPolicy const &` Required. The updated AccessPolicy. |
| `update_mask` | `google::protobuf::FieldMask const &` Required. Mask to control which fields get updated. Must be non-empty. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessPolicy > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateAccessPolicy(NoAwaitTag, google::identity::accesscontextmanager::v1::AccessPolicy const \&, google::protobuf::FieldMask const \&, Options)

Updates an \[access policy\] [google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `policy` | `google::identity::accesscontextmanager::v1::AccessPolicy const &` |
| `update_mask` | `google::protobuf::FieldMask const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateAccessPolicy(google::identity::accesscontextmanager::v1::UpdateAccessPolicyRequest const \&, Options)

Updates an \[access policy\] [google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36).
The long-running operation from this RPC has a successful status after the changes to the \[access policy\] [google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36) propagate to long-lasting storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::UpdateAccessPolicyRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.UpdateAccessPolicyRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L520). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessPolicy > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateAccessPolicy(NoAwaitTag, google::identity::accesscontextmanager::v1::UpdateAccessPolicyRequest const \&, Options)

Updates an \[access policy\] [google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::identity::accesscontextmanager::v1::UpdateAccessPolicyRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateAccessPolicy(google::longrunning::Operation const \&, Options)

Updates an \[access policy\] [google.identity.accesscontextmanager.v1.AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36).
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessPolicy > >` |   |

### DeleteAccessPolicy(std::string const \&, Options)

Deletes an \[access policy\] \[google.identity.accesscontextmanager.v1.AccessPolicy\] based on the resource name.
The long-running operation has a successful status after the \[access policy\] \[google.identity.accesscontextmanager.v1.AccessPolicy\] is removed from long-lasting storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. Resource name for the access policy to delete. Format `accessPolicies/{policy_id}` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.AccessContextManagerOperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L984) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteAccessPolicy(NoAwaitTag, std::string const \&, Options)

Deletes an \[access policy\] \[google.identity.accesscontextmanager.v1.AccessPolicy\] based on the resource name.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteAccessPolicy(google::identity::accesscontextmanager::v1::DeleteAccessPolicyRequest const \&, Options)

Deletes an \[access policy\] \[google.identity.accesscontextmanager.v1.AccessPolicy\] based on the resource name.
The long-running operation has a successful status after the \[access policy\] \[google.identity.accesscontextmanager.v1.AccessPolicy\] is removed from long-lasting storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::DeleteAccessPolicyRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.DeleteAccessPolicyRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L529). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.AccessContextManagerOperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L984) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteAccessPolicy(NoAwaitTag, google::identity::accesscontextmanager::v1::DeleteAccessPolicyRequest const \&, Options)

Deletes an \[access policy\] \[google.identity.accesscontextmanager.v1.AccessPolicy\] based on the resource name.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::identity::accesscontextmanager::v1::DeleteAccessPolicyRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteAccessPolicy(google::longrunning::Operation const \&, Options)

Deletes an \[access policy\] \[google.identity.accesscontextmanager.v1.AccessPolicy\] based on the resource name.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >` |   |

### ListAccessLevels(std::string const \&, Options)

Lists all \[access levels\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) for an access policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. Resource name for the access policy to list \[Access Levels\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) from. Format: `accessPolicies/{policy_id}` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::identity::accesscontextmanager::v1::AccessLevel >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.md.txt) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt)`<T>` contains elements of type [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListAccessLevels(google::identity::accesscontextmanager::v1::ListAccessLevelsRequest, Options)

Lists all \[access levels\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) for an access policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::ListAccessLevelsRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.ListAccessLevelsRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L542). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::identity::accesscontextmanager::v1::AccessLevel >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.md.txt) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt)`<T>` contains elements of type [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GetAccessLevel(std::string const \&, Options)

Gets an \[access level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) based on the resource name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. Resource name for the \[Access Level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36). Format: `accessPolicies/{policy_id}/accessLevels/{access_level_id}` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::identity::accesscontextmanager::v1::AccessLevel >` | the result of the RPC. The response message type ([google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) contains the error details. |

### GetAccessLevel(google::identity::accesscontextmanager::v1::GetAccessLevelRequest const \&, Options)

Gets an \[access level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) based on the resource name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::GetAccessLevelRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.GetAccessLevelRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L583). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::identity::accesscontextmanager::v1::AccessLevel >` | the result of the RPC. The response message type ([google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) contains the error details. |

### CreateAccessLevel(std::string const \&, google::identity::accesscontextmanager::v1::AccessLevel const \&, Options)

Creates an \[access level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36).
The long-running operation from this RPC has a successful status after the \[access level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) propagates to long-lasting storage. If \[access levels\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) contain errors, an error response is returned for the first error encountered.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. Resource name for the access policy which owns this \[Access Level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36). Format: `accessPolicies/{policy_id}` |
| `access_level` | `google::identity::accesscontextmanager::v1::AccessLevel const &` Required. The \[Access Level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) to create. Syntactic correctness of the \[Access Level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) is a precondition for creation. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessLevel > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateAccessLevel(NoAwaitTag, std::string const \&, google::identity::accesscontextmanager::v1::AccessLevel const \&, Options)

Creates an \[access level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `parent` | `std::string const &` |
| `access_level` | `google::identity::accesscontextmanager::v1::AccessLevel const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateAccessLevel(google::identity::accesscontextmanager::v1::CreateAccessLevelRequest const \&, Options)

Creates an \[access level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36).
The long-running operation from this RPC has a successful status after the \[access level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) propagates to long-lasting storage. If \[access levels\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) contain errors, an error response is returned for the first error encountered.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::CreateAccessLevelRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.CreateAccessLevelRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L608). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessLevel > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateAccessLevel(NoAwaitTag, google::identity::accesscontextmanager::v1::CreateAccessLevelRequest const \&, Options)

Creates an \[access level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::identity::accesscontextmanager::v1::CreateAccessLevelRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateAccessLevel(google::longrunning::Operation const \&, Options)

Creates an \[access level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36).
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessLevel > >` |   |

### UpdateAccessLevel(google::identity::accesscontextmanager::v1::AccessLevel const \&, google::protobuf::FieldMask const \&, Options)

Updates an \[access level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36).
The long-running operation from this RPC has a successful status after the changes to the \[access level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) propagate to long-lasting storage. If \[access levels\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) contain errors, an error response is returned for the first error encountered.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `access_level` | `google::identity::accesscontextmanager::v1::AccessLevel const &` Required. The updated \[Access Level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36). Syntactic correctness of the \[Access Level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) is a precondition for creation. |
| `update_mask` | `google::protobuf::FieldMask const &` Required. Mask to control which fields get updated. Must be non-empty. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessLevel > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateAccessLevel(NoAwaitTag, google::identity::accesscontextmanager::v1::AccessLevel const \&, google::protobuf::FieldMask const \&, Options)

Updates an \[access level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `access_level` | `google::identity::accesscontextmanager::v1::AccessLevel const &` |
| `update_mask` | `google::protobuf::FieldMask const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateAccessLevel(google::identity::accesscontextmanager::v1::UpdateAccessLevelRequest const \&, Options)

Updates an \[access level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36).
The long-running operation from this RPC has a successful status after the changes to the \[access level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) propagate to long-lasting storage. If \[access levels\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) contain errors, an error response is returned for the first error encountered.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::UpdateAccessLevelRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.UpdateAccessLevelRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L629). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessLevel > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateAccessLevel(NoAwaitTag, google::identity::accesscontextmanager::v1::UpdateAccessLevelRequest const \&, Options)

Updates an \[access level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::identity::accesscontextmanager::v1::UpdateAccessLevelRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateAccessLevel(google::longrunning::Operation const \&, Options)

Updates an \[access level\] [google.identity.accesscontextmanager.v1.AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36).
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessLevel > >` |   |

### DeleteAccessLevel(std::string const \&, Options)

Deletes an \[access level\] \[google.identity.accesscontextmanager.v1.AccessLevel\] based on the resource name.
The long-running operation from this RPC has a successful status after the \[access level\] \[google.identity.accesscontextmanager.v1.AccessLevel\] has been removed from long-lasting storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. Resource name for the \[Access Level\] \[google.identity.accesscontextmanager.v1.AccessLevel\]. Format: `accessPolicies/{policy_id}/accessLevels/{access_level_id}` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.AccessContextManagerOperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L984) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteAccessLevel(NoAwaitTag, std::string const \&, Options)

Deletes an \[access level\] \[google.identity.accesscontextmanager.v1.AccessLevel\] based on the resource name.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteAccessLevel(google::identity::accesscontextmanager::v1::DeleteAccessLevelRequest const \&, Options)

Deletes an \[access level\] \[google.identity.accesscontextmanager.v1.AccessLevel\] based on the resource name.
The long-running operation from this RPC has a successful status after the \[access level\] \[google.identity.accesscontextmanager.v1.AccessLevel\] has been removed from long-lasting storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::DeleteAccessLevelRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.DeleteAccessLevelRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L642). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.AccessContextManagerOperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L984) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteAccessLevel(NoAwaitTag, google::identity::accesscontextmanager::v1::DeleteAccessLevelRequest const \&, Options)

Deletes an \[access level\] \[google.identity.accesscontextmanager.v1.AccessLevel\] based on the resource name.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::identity::accesscontextmanager::v1::DeleteAccessLevelRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteAccessLevel(google::longrunning::Operation const \&, Options)

Deletes an \[access level\] \[google.identity.accesscontextmanager.v1.AccessLevel\] based on the resource name.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >` |   |

### ReplaceAccessLevels(google::identity::accesscontextmanager::v1::ReplaceAccessLevelsRequest const \&, Options)

Replaces all existing \[access levels\] \[google.identity.accesscontextmanager.v1.AccessLevel\] in an \[access policy\] \[google.identity.accesscontextmanager.v1.AccessPolicy\] with the \[access levels\] \[google.identity.accesscontextmanager.v1.AccessLevel\] provided.
This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. If the replacement contains errors, an error response is returned for the first error encountered. Upon error, the replacement is cancelled, and existing \[access levels\] \[google.identity.accesscontextmanager.v1.AccessLevel\] are not affected. The Operation.response field contains ReplaceAccessLevelsResponse. Removing \[access levels\] \[google.identity.accesscontextmanager.v1.AccessLevel\] contained in existing \[service perimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] result in an error.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::ReplaceAccessLevelsRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.ReplaceAccessLevelsRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L658). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::ReplaceAccessLevelsResponse > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.ReplaceAccessLevelsResponse](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L691) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ReplaceAccessLevels(NoAwaitTag, google::identity::accesscontextmanager::v1::ReplaceAccessLevelsRequest const \&, Options)

Replaces all existing \[access levels\] \[google.identity.accesscontextmanager.v1.AccessLevel\] in an \[access policy\] \[google.identity.accesscontextmanager.v1.AccessPolicy\] with the \[access levels\] \[google.identity.accesscontextmanager.v1.AccessLevel\] provided.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::identity::accesscontextmanager::v1::ReplaceAccessLevelsRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### ReplaceAccessLevels(google::longrunning::Operation const \&, Options)

Replaces all existing \[access levels\] \[google.identity.accesscontextmanager.v1.AccessLevel\] in an \[access policy\] \[google.identity.accesscontextmanager.v1.AccessPolicy\] with the \[access levels\] \[google.identity.accesscontextmanager.v1.AccessLevel\] provided.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::ReplaceAccessLevelsResponse > >` |   |

### ListServicePerimeters(std::string const \&, Options)

Lists all \[service perimeters\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) for an access policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. Resource name for the access policy to list \[Service Perimeters\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) from. Format: `accessPolicies/{policy_id}` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::identity::accesscontextmanager::v1::ServicePerimeter >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.md.txt) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt)`<T>` contains elements of type [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListServicePerimeters(google::identity::accesscontextmanager::v1::ListServicePerimetersRequest, Options)

Lists all \[service perimeters\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) for an access policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::ListServicePerimetersRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.ListServicePerimetersRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L698). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::identity::accesscontextmanager::v1::ServicePerimeter >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.md.txt) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt)`<T>` contains elements of type [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GetServicePerimeter(std::string const \&, Options)

Gets a \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) based on the resource name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. Resource name for the \[Service Perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41). Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id}` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::identity::accesscontextmanager::v1::ServicePerimeter >` | the result of the RPC. The response message type ([google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) contains the error details. |

### GetServicePerimeter(google::identity::accesscontextmanager::v1::GetServicePerimeterRequest const \&, Options)

Gets a \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) based on the resource name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::GetServicePerimeterRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.GetServicePerimeterRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L734). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::identity::accesscontextmanager::v1::ServicePerimeter >` | the result of the RPC. The response message type ([google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) contains the error details. |

### CreateServicePerimeter(std::string const \&, google::identity::accesscontextmanager::v1::ServicePerimeter const \&, Options)

Creates a \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41).
The long-running operation from this RPC has a successful status after the \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) propagates to long-lasting storage. If a \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) contains errors, an error response is returned for the first error encountered.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. Resource name for the access policy which owns this \[Service Perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41). Format: `accessPolicies/{policy_id}` |
| `service_perimeter` | `google::identity::accesscontextmanager::v1::ServicePerimeter const &` Required. The \[Service Perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) to create. Syntactic correctness of the \[Service Perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) is a precondition for creation. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::ServicePerimeter > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateServicePerimeter(NoAwaitTag, std::string const \&, google::identity::accesscontextmanager::v1::ServicePerimeter const \&, Options)

Creates a \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `parent` | `std::string const &` |
| `service_perimeter` | `google::identity::accesscontextmanager::v1::ServicePerimeter const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateServicePerimeter(google::identity::accesscontextmanager::v1::CreateServicePerimeterRequest const \&, Options)

Creates a \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41).
The long-running operation from this RPC has a successful status after the \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) propagates to long-lasting storage. If a \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) contains errors, an error response is returned for the first error encountered.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::CreateServicePerimeterRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.CreateServicePerimeterRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L749). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::ServicePerimeter > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateServicePerimeter(NoAwaitTag, google::identity::accesscontextmanager::v1::CreateServicePerimeterRequest const \&, Options)

Creates a \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::identity::accesscontextmanager::v1::CreateServicePerimeterRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateServicePerimeter(google::longrunning::Operation const \&, Options)

Creates a \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41).
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::ServicePerimeter > >` |   |

### UpdateServicePerimeter(google::identity::accesscontextmanager::v1::ServicePerimeter const \&, google::protobuf::FieldMask const \&, Options)

Updates a \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41).
The long-running operation from this RPC has a successful status after the \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) propagates to long-lasting storage. If a \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) contains errors, an error response is returned for the first error encountered.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `service_perimeter` | `google::identity::accesscontextmanager::v1::ServicePerimeter const &` Required. The updated `ServicePerimeter`. Syntactic correctness of the `ServicePerimeter` is a precondition for creation. |
| `update_mask` | `google::protobuf::FieldMask const &` Required. Mask to control which fields get updated. Must be non-empty. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::ServicePerimeter > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateServicePerimeter(NoAwaitTag, google::identity::accesscontextmanager::v1::ServicePerimeter const \&, google::protobuf::FieldMask const \&, Options)

Updates a \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `service_perimeter` | `google::identity::accesscontextmanager::v1::ServicePerimeter const &` |
| `update_mask` | `google::protobuf::FieldMask const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateServicePerimeter(google::identity::accesscontextmanager::v1::UpdateServicePerimeterRequest const \&, Options)

Updates a \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41).
The long-running operation from this RPC has a successful status after the \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) propagates to long-lasting storage. If a \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) contains errors, an error response is returned for the first error encountered.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::UpdateServicePerimeterRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.UpdateServicePerimeterRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L770). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::ServicePerimeter > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateServicePerimeter(NoAwaitTag, google::identity::accesscontextmanager::v1::UpdateServicePerimeterRequest const \&, Options)

Updates a \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::identity::accesscontextmanager::v1::UpdateServicePerimeterRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateServicePerimeter(google::longrunning::Operation const \&, Options)

Updates a \[service perimeter\] [google.identity.accesscontextmanager.v1.ServicePerimeter](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/service_perimeter.proto#L41).
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::ServicePerimeter > >` |   |

### DeleteServicePerimeter(std::string const \&, Options)

Deletes a \[service perimeter\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] based on the resource name.
The long-running operation from this RPC has a successful status after the \[service perimeter\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] is removed from long-lasting storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. Resource name for the \[Service Perimeter\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\]. Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.AccessContextManagerOperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L984) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteServicePerimeter(NoAwaitTag, std::string const \&, Options)

Deletes a \[service perimeter\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] based on the resource name.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteServicePerimeter(google::identity::accesscontextmanager::v1::DeleteServicePerimeterRequest const \&, Options)

Deletes a \[service perimeter\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] based on the resource name.
The long-running operation from this RPC has a successful status after the \[service perimeter\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] is removed from long-lasting storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::DeleteServicePerimeterRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.DeleteServicePerimeterRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L780). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.AccessContextManagerOperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L984) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteServicePerimeter(NoAwaitTag, google::identity::accesscontextmanager::v1::DeleteServicePerimeterRequest const \&, Options)

Deletes a \[service perimeter\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] based on the resource name.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::identity::accesscontextmanager::v1::DeleteServicePerimeterRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteServicePerimeter(google::longrunning::Operation const \&, Options)

Deletes a \[service perimeter\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] based on the resource name.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >` |   |

### ReplaceServicePerimeters(google::identity::accesscontextmanager::v1::ReplaceServicePerimetersRequest const \&, Options)

Replace all existing \[service perimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] in an \[access policy\] \[google.identity.accesscontextmanager.v1.AccessPolicy\] with the \[service perimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] provided.
This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. Replacements containing errors result in an error response for the first error encountered. Upon an error, replacement are cancelled and existing \[service perimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] are not affected. The Operation.response field contains ReplaceServicePerimetersResponse.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::ReplaceServicePerimetersRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.ReplaceServicePerimetersRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L796). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::ReplaceServicePerimetersResponse > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.ReplaceServicePerimetersResponse](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L829) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ReplaceServicePerimeters(NoAwaitTag, google::identity::accesscontextmanager::v1::ReplaceServicePerimetersRequest const \&, Options)

Replace all existing \[service perimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] in an \[access policy\] \[google.identity.accesscontextmanager.v1.AccessPolicy\] with the \[service perimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] provided.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::identity::accesscontextmanager::v1::ReplaceServicePerimetersRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### ReplaceServicePerimeters(google::longrunning::Operation const \&, Options)

Replace all existing \[service perimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] in an \[access policy\] \[google.identity.accesscontextmanager.v1.AccessPolicy\] with the \[service perimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] provided.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::ReplaceServicePerimetersResponse > >` |   |

### CommitServicePerimeters(google::identity::accesscontextmanager::v1::CommitServicePerimetersRequest const \&, Options)

Commits the dry-run specification for all the \[service perimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] in an [access policy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36).
A commit operation on a service perimeter involves copying its `spec` field to the `status` field of the service perimeter. Only \[service perimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] with `use_explicit_dry_run_spec` field set to true are affected by a commit operation. The long-running operation from this RPC has a successful status after the dry-run specifications for all the \[service perimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] have been committed. If a commit fails, it causes the long-running operation to return an error response and the entire commit operation is cancelled. When successful, the Operation.response field contains CommitServicePerimetersResponse. The `dry_run` and the `spec` fields are cleared after a successful commit operation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::CommitServicePerimetersRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.CommitServicePerimetersRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L838). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::CommitServicePerimetersResponse > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.CommitServicePerimetersResponse](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L865) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CommitServicePerimeters(NoAwaitTag, google::identity::accesscontextmanager::v1::CommitServicePerimetersRequest const \&, Options)

Commits the dry-run specification for all the \[service perimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] in an [access policy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::identity::accesscontextmanager::v1::CommitServicePerimetersRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CommitServicePerimeters(google::longrunning::Operation const \&, Options)

Commits the dry-run specification for all the \[service perimeters\] \[google.identity.accesscontextmanager.v1.ServicePerimeter\] in an [access policy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36).
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::CommitServicePerimetersResponse > >` |   |

### ListGcpUserAccessBindings(std::string const \&, Options)

Lists all \[GcpUserAccessBindings\] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33) for a Google Cloud organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. Example: "organizations/256" |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::identity::accesscontextmanager::v1::GcpUserAccessBinding >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.md.txt) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt)`<T>` contains elements of type [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListGcpUserAccessBindings(google::identity::accesscontextmanager::v1::ListGcpUserAccessBindingsRequest, Options)

Lists all \[GcpUserAccessBindings\] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33) for a Google Cloud organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::ListGcpUserAccessBindingsRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.ListGcpUserAccessBindingsRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L889). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::identity::accesscontextmanager::v1::GcpUserAccessBinding >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.md.txt) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt)`<T>` contains elements of type [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GetGcpUserAccessBinding(std::string const \&, Options)

Gets the \[GcpUserAccessBinding\] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33) with the given name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N" |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBinding >` | the result of the RPC. The response message type ([google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) contains the error details. |

### GetGcpUserAccessBinding(google::identity::accesscontextmanager::v1::GetGcpUserAccessBindingRequest const \&, Options)

Gets the \[GcpUserAccessBinding\] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33) with the given name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::GetGcpUserAccessBindingRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.GetGcpUserAccessBindingRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L922). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBinding >` | the result of the RPC. The response message type ([google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) contains the error details. |

### CreateGcpUserAccessBinding(std::string const \&, google::identity::accesscontextmanager::v1::GcpUserAccessBinding const \&, Options)

Creates a \[GcpUserAccessBinding\] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33).
If the client specifies a \[name\] \[google.identity.accesscontextmanager.v1.GcpUserAccessBinding.name\], the server ignores it. Fails if a resource already exists with the same \[group_key\] \[google.identity.accesscontextmanager.v1.GcpUserAccessBinding.group_key\]. Completion of this long-running operation does not necessarily signify that the new binding is deployed onto all affected users, which may take more time.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. Example: "organizations/256" |
| `gcp_user_access_binding` | `google::identity::accesscontextmanager::v1::GcpUserAccessBinding const &` Required. \[GcpUserAccessBinding\] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33) |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBinding > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateGcpUserAccessBinding(NoAwaitTag, std::string const \&, google::identity::accesscontextmanager::v1::GcpUserAccessBinding const \&, Options)

Creates a \[GcpUserAccessBinding\] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `parent` | `std::string const &` |
| `gcp_user_access_binding` | `google::identity::accesscontextmanager::v1::GcpUserAccessBinding const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateGcpUserAccessBinding(google::identity::accesscontextmanager::v1::CreateGcpUserAccessBindingRequest const \&, Options)

Creates a \[GcpUserAccessBinding\] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33).
If the client specifies a \[name\] \[google.identity.accesscontextmanager.v1.GcpUserAccessBinding.name\], the server ignores it. Fails if a resource already exists with the same \[group_key\] \[google.identity.accesscontextmanager.v1.GcpUserAccessBinding.group_key\]. Completion of this long-running operation does not necessarily signify that the new binding is deployed onto all affected users, which may take more time.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::CreateGcpUserAccessBindingRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.CreateGcpUserAccessBindingRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L934). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBinding > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateGcpUserAccessBinding(NoAwaitTag, google::identity::accesscontextmanager::v1::CreateGcpUserAccessBindingRequest const \&, Options)

Creates a \[GcpUserAccessBinding\] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::identity::accesscontextmanager::v1::CreateGcpUserAccessBindingRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateGcpUserAccessBinding(google::longrunning::Operation const \&, Options)

Creates a \[GcpUserAccessBinding\] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33).
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBinding > >` |   |

### UpdateGcpUserAccessBinding(google::identity::accesscontextmanager::v1::GcpUserAccessBinding const \&, google::protobuf::FieldMask const \&, Options)

Updates a \[GcpUserAccessBinding\] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33).
Completion of this long-running operation does not necessarily signify that the changed binding is deployed onto all affected users, which may take more time.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gcp_user_access_binding` | `google::identity::accesscontextmanager::v1::GcpUserAccessBinding const &` Required. \[GcpUserAccessBinding\] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33) |
| `update_mask` | `google::protobuf::FieldMask const &` Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and must always be: update_mask { paths: "access_levels" } |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBinding > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateGcpUserAccessBinding(NoAwaitTag, google::identity::accesscontextmanager::v1::GcpUserAccessBinding const \&, google::protobuf::FieldMask const \&, Options)

Updates a \[GcpUserAccessBinding\] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `gcp_user_access_binding` | `google::identity::accesscontextmanager::v1::GcpUserAccessBinding const &` |
| `update_mask` | `google::protobuf::FieldMask const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateGcpUserAccessBinding(google::identity::accesscontextmanager::v1::UpdateGcpUserAccessBindingRequest const \&, Options)

Updates a \[GcpUserAccessBinding\] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33).
Completion of this long-running operation does not necessarily signify that the changed binding is deployed onto all affected users, which may take more time.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::UpdateGcpUserAccessBindingRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.UpdateGcpUserAccessBindingRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L950). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBinding > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateGcpUserAccessBinding(NoAwaitTag, google::identity::accesscontextmanager::v1::UpdateGcpUserAccessBindingRequest const \&, Options)

Updates a \[GcpUserAccessBinding\] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::identity::accesscontextmanager::v1::UpdateGcpUserAccessBindingRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateGcpUserAccessBinding(google::longrunning::Operation const \&, Options)

Updates a \[GcpUserAccessBinding\] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto#L33).
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBinding > >` |   |

### DeleteGcpUserAccessBinding(std::string const \&, Options)

Deletes a \[GcpUserAccessBinding\] \[google.identity.accesscontextmanager.v1.GcpUserAccessBinding\].
Completion of this long-running operation does not necessarily signify that the binding deletion is deployed onto all affected users, which may take more time.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N" |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBindingOperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.GcpUserAccessBindingOperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L979) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteGcpUserAccessBinding(NoAwaitTag, std::string const \&, Options)

Deletes a \[GcpUserAccessBinding\] \[google.identity.accesscontextmanager.v1.GcpUserAccessBinding\].
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteGcpUserAccessBinding(google::identity::accesscontextmanager::v1::DeleteGcpUserAccessBindingRequest const \&, Options)

Deletes a \[GcpUserAccessBinding\] \[google.identity.accesscontextmanager.v1.GcpUserAccessBinding\].
Completion of this long-running operation does not necessarily signify that the binding deletion is deployed onto all affected users, which may take more time.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::identity::accesscontextmanager::v1::DeleteGcpUserAccessBindingRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.identity.accesscontextmanager.v1.DeleteGcpUserAccessBindingRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L966). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBindingOperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.md.txt) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.identity.accesscontextmanager.v1.GcpUserAccessBindingOperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_context_manager.proto#L979) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteGcpUserAccessBinding(NoAwaitTag, google::identity::accesscontextmanager::v1::DeleteGcpUserAccessBindingRequest const \&, Options)

Deletes a \[GcpUserAccessBinding\] \[google.identity.accesscontextmanager.v1.GcpUserAccessBinding\].
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.md.txt) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::identity::accesscontextmanager::v1::DeleteGcpUserAccessBindingRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteGcpUserAccessBinding(google::longrunning::Operation const \&, Options)

Deletes a \[GcpUserAccessBinding\] \[google.identity.accesscontextmanager.v1.GcpUserAccessBinding\].
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBindingOperationMetadata > >` |   |

### SetIamPolicy(google::iam::v1::SetIamPolicyRequest const \&, Options)

Sets the IAM policy for the specified Access Context Manager [access policy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36).
This method replaces the existing IAM policy on the access policy. The IAM policy controls the set of users who can perform specific operations on the Access Context Manager [access policy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::iam::v1::SetIamPolicyRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.iam.v1.SetIamPolicyRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/iam/v1/iam_policy.proto#L100). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::iam::v1::Policy >` | the result of the RPC. The response message type ([google.iam.v1.Policy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/iam/v1/policy.proto#L102)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) contains the error details. |

### GetIamPolicy(google::iam::v1::GetIamPolicyRequest const \&, Options)

Gets the IAM policy for the specified Access Context Manager [access policy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::iam::v1::GetIamPolicyRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.iam.v1.GetIamPolicyRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/iam/v1/iam_policy.proto#L123). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::iam::v1::Policy >` | the result of the RPC. The response message type ([google.iam.v1.Policy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/iam/v1/policy.proto#L102)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) contains the error details. |

### TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const \&, Options)

Returns the IAM permissions that the caller has on the specified Access Context Manager resource.
The resource can be an [AccessPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_policy.proto#L36), [AccessLevel](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/identity/accesscontextmanager/v1/access_level.proto#L36), or \[ServicePerimeter\]\[google.identity.accesscontextmanager.v1.ServicePerimeter \]. This method does not support other resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::iam::v1::TestIamPermissionsRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.iam.v1.TestIamPermissionsRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/iam/v1/iam_policy.proto#L137). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::iam::v1::TestIamPermissionsResponse >` | the result of the RPC. The response message type ([google.iam.v1.TestIamPermissionsResponse](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/iam/v1/iam_policy.proto#L153)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) contains the error details. |

### GetOperation(std::string const \&, Options)

Gets the latest state of a long-running operation.
Clients can use this method to poll the operation result at intervals as recommended by the API service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` The name of the operation resource. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` | the result of the RPC. The response message type ([google.longrunning.Operation](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/longrunning/operations.proto#L121)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) contains the error details. |

### GetOperation(google::longrunning::GetOperationRequest const \&, Options)

Gets the latest state of a long-running operation.
Clients can use this method to poll the operation result at intervals as recommended by the API service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::longrunning::GetOperationRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.longrunning.GetOperationRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/longrunning/operations.proto#L160). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` | the result of the RPC. The response message type ([google.longrunning.Operation](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/longrunning/operations.proto#L121)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.md.txt) contains the error details. |