APIs for Identity-Aware Proxy Admin configurations.
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
IdentityAwareProxyAdminServiceClient(IdentityAwareProxyAdminServiceClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
IdentityAwareProxyAdminServiceClient const &
|
IdentityAwareProxyAdminServiceClient(IdentityAwareProxyAdminServiceClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
IdentityAwareProxyAdminServiceClient &&
|
IdentityAwareProxyAdminServiceClient(std::shared_ptr< IdentityAwareProxyAdminServiceConnection >, Options)
Parameters | |
---|---|
Name | Description |
connection |
std::shared_ptr< IdentityAwareProxyAdminServiceConnection >
|
opts |
Options
|
Operators
operator=(IdentityAwareProxyAdminServiceClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
IdentityAwareProxyAdminServiceClient const &
|
Returns | |
---|---|
Type | Description |
IdentityAwareProxyAdminServiceClient & |
operator=(IdentityAwareProxyAdminServiceClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
IdentityAwareProxyAdminServiceClient &&
|
Returns | |
---|---|
Type | Description |
IdentityAwareProxyAdminServiceClient & |
Functions
SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &, Options)
Sets the access control policy for an Identity-Aware Proxy protected resource.
Replaces any existing policy. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
Parameters | |
---|---|
Name | Description |
request |
google::iam::v1::SetIamPolicyRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
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) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &, Options)
Gets the access control policy for an Identity-Aware Proxy protected resource.
More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
Parameters | |
---|---|
Name | Description |
request |
google::iam::v1::GetIamPolicyRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
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) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &, Options)
Returns permissions that a caller has on the Identity-Aware Proxy protected resource.
More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
Parameters | |
---|---|
Name | Description |
request |
google::iam::v1::TestIamPermissionsRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
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) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetIapSettings(google::cloud::iap::v1::GetIapSettingsRequest const &, Options)
Gets the IAP settings on a particular IAP protected resource.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::iap::v1::GetIapSettingsRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::iap::v1::IapSettings > | the result of the RPC. The response message type (google.cloud.iap.v1.IapSettings) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateIapSettings(google::cloud::iap::v1::UpdateIapSettingsRequest const &, Options)
Updates the IAP settings on a particular IAP protected resource.
It replaces all fields unless the update_mask
is set.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::iap::v1::UpdateIapSettingsRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::iap::v1::IapSettings > | the result of the RPC. The response message type (google.cloud.iap.v1.IapSettings) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListTunnelDestGroups(std::string const &, Options)
Lists the existing TunnelDestGroups.
To group across all locations, use a -
as the location ID. For example: /v1/projects/123/iap_tunnel/locations/-/destGroups
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Google Cloud Project ID and location. In the following format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::iap::v1::TunnelDestGroup > | a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListTunnelDestGroups(google::cloud::iap::v1::ListTunnelDestGroupsRequest, Options)
Lists the existing TunnelDestGroups.
To group across all locations, use a -
as the location ID. For example: /v1/projects/123/iap_tunnel/locations/-/destGroups
Parameters | |
---|---|
Name | Description |
request |
google::cloud::iap::v1::ListTunnelDestGroupsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::iap::v1::TunnelDestGroup > | a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
CreateTunnelDestGroup(std::string const &, google::cloud::iap::v1::TunnelDestGroup const &, std::string const &, Options)
Creates a new TunnelDestGroup.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Google Cloud Project ID and location. In the following format: |
tunnel_dest_group |
google::cloud::iap::v1::TunnelDestGroup const &
Required. The TunnelDestGroup to create. |
tunnel_dest_group_id |
std::string const &
Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::iap::v1::TunnelDestGroup > | the result of the RPC. The response message type (google.cloud.iap.v1.TunnelDestGroup) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateTunnelDestGroup(google::cloud::iap::v1::CreateTunnelDestGroupRequest const &, Options)
Creates a new TunnelDestGroup.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::iap::v1::CreateTunnelDestGroupRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::iap::v1::TunnelDestGroup > | the result of the RPC. The response message type (google.cloud.iap.v1.TunnelDestGroup) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetTunnelDestGroup(std::string const &, Options)
Retrieves an existing TunnelDestGroup.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the TunnelDestGroup to be fetched. In the following format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::iap::v1::TunnelDestGroup > | the result of the RPC. The response message type (google.cloud.iap.v1.TunnelDestGroup) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetTunnelDestGroup(google::cloud::iap::v1::GetTunnelDestGroupRequest const &, Options)
Retrieves an existing TunnelDestGroup.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::iap::v1::GetTunnelDestGroupRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::iap::v1::TunnelDestGroup > | the result of the RPC. The response message type (google.cloud.iap.v1.TunnelDestGroup) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DeleteTunnelDestGroup(std::string const &, Options)
Deletes a TunnelDestGroup.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the TunnelDestGroup to delete. In the following format: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status | a |
DeleteTunnelDestGroup(google::cloud::iap::v1::DeleteTunnelDestGroupRequest const &, Options)
Deletes a TunnelDestGroup.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::iap::v1::DeleteTunnelDestGroupRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status | a |
UpdateTunnelDestGroup(google::cloud::iap::v1::TunnelDestGroup const &, google::protobuf::FieldMask const &, Options)
Updates a TunnelDestGroup.
Parameters | |
---|---|
Name | Description |
tunnel_dest_group |
google::cloud::iap::v1::TunnelDestGroup const &
Required. The new values for the TunnelDestGroup. |
update_mask |
google::protobuf::FieldMask const &
A field mask that specifies which IAP settings to update. If omitted, then all of the settings are updated. See https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::iap::v1::TunnelDestGroup > | the result of the RPC. The response message type (google.cloud.iap.v1.TunnelDestGroup) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateTunnelDestGroup(google::cloud::iap::v1::UpdateTunnelDestGroupRequest const &, Options)
Updates a TunnelDestGroup.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::iap::v1::UpdateTunnelDestGroupRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::iap::v1::TunnelDestGroup > | the result of the RPC. The response message type (google.cloud.iap.v1.TunnelDestGroup) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |