Cloud Identity-Aware Proxy v1 API - Class IdentityAwareProxyAdminServiceClientImpl (2.7.0)

public sealed class IdentityAwareProxyAdminServiceClientImpl : IdentityAwareProxyAdminServiceClient

Reference documentation and code samples for the Cloud Identity-Aware Proxy v1 API class IdentityAwareProxyAdminServiceClientImpl.

IdentityAwareProxyAdminService client wrapper implementation, for convenient use.

Inheritance

object > IdentityAwareProxyAdminServiceClient > IdentityAwareProxyAdminServiceClientImpl

Namespace

Google.Cloud.Iap.V1

Assembly

Google.Cloud.Iap.V1.dll

Remarks

APIs for Identity-Aware Proxy Admin configurations.

Constructors

IdentityAwareProxyAdminServiceClientImpl(IdentityAwareProxyAdminServiceClient, IdentityAwareProxyAdminServiceSettings, ILogger)

public IdentityAwareProxyAdminServiceClientImpl(IdentityAwareProxyAdminService.IdentityAwareProxyAdminServiceClient grpcClient, IdentityAwareProxyAdminServiceSettings settings, ILogger logger)

Constructs a client wrapper for the IdentityAwareProxyAdminService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient IdentityAwareProxyAdminServiceIdentityAwareProxyAdminServiceClient

The underlying gRPC client.

settings IdentityAwareProxyAdminServiceSettings

The base IdentityAwareProxyAdminServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override IdentityAwareProxyAdminService.IdentityAwareProxyAdminServiceClient GrpcClient { get; }

The underlying gRPC IdentityAwareProxyAdminService client

Property Value
Type Description
IdentityAwareProxyAdminServiceIdentityAwareProxyAdminServiceClient
Overrides

Methods

CreateTunnelDestGroup(CreateTunnelDestGroupRequest, CallSettings)

public override TunnelDestGroup CreateTunnelDestGroup(CreateTunnelDestGroupRequest request, CallSettings callSettings = null)

Creates a new TunnelDestGroup.

Parameters
Name Description
request CreateTunnelDestGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TunnelDestGroup

The RPC response.

Overrides

CreateTunnelDestGroupAsync(CreateTunnelDestGroupRequest, CallSettings)

public override Task<TunnelDestGroup> CreateTunnelDestGroupAsync(CreateTunnelDestGroupRequest request, CallSettings callSettings = null)

Creates a new TunnelDestGroup.

Parameters
Name Description
request CreateTunnelDestGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskTunnelDestGroup

A Task containing the RPC response.

Overrides

DeleteTunnelDestGroup(DeleteTunnelDestGroupRequest, CallSettings)

public override void DeleteTunnelDestGroup(DeleteTunnelDestGroupRequest request, CallSettings callSettings = null)

Deletes a TunnelDestGroup.

Parameters
Name Description
request DeleteTunnelDestGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteTunnelDestGroupAsync(DeleteTunnelDestGroupRequest, CallSettings)

public override Task DeleteTunnelDestGroupAsync(DeleteTunnelDestGroupRequest request, CallSettings callSettings = null)

Deletes a TunnelDestGroup.

Parameters
Name Description
request DeleteTunnelDestGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

GetIamPolicy(GetIamPolicyRequest, CallSettings)

public override Policy GetIamPolicy(GetIamPolicyRequest request, CallSettings callSettings = null)

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 GetIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Policy

The RPC response.

Overrides

GetIamPolicyAsync(GetIamPolicyRequest, CallSettings)

public override Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallSettings callSettings = null)

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 GetIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPolicy

A Task containing the RPC response.

Overrides

GetIapSettings(GetIapSettingsRequest, CallSettings)

public override IapSettings GetIapSettings(GetIapSettingsRequest request, CallSettings callSettings = null)

Gets the IAP settings on a particular IAP protected resource.

Parameters
Name Description
request GetIapSettingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
IapSettings

The RPC response.

Overrides

GetIapSettingsAsync(GetIapSettingsRequest, CallSettings)

public override Task<IapSettings> GetIapSettingsAsync(GetIapSettingsRequest request, CallSettings callSettings = null)

Gets the IAP settings on a particular IAP protected resource.

Parameters
Name Description
request GetIapSettingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskIapSettings

A Task containing the RPC response.

Overrides

GetTunnelDestGroup(GetTunnelDestGroupRequest, CallSettings)

public override TunnelDestGroup GetTunnelDestGroup(GetTunnelDestGroupRequest request, CallSettings callSettings = null)

Retrieves an existing TunnelDestGroup.

Parameters
Name Description
request GetTunnelDestGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TunnelDestGroup

The RPC response.

Overrides

GetTunnelDestGroupAsync(GetTunnelDestGroupRequest, CallSettings)

public override Task<TunnelDestGroup> GetTunnelDestGroupAsync(GetTunnelDestGroupRequest request, CallSettings callSettings = null)

Retrieves an existing TunnelDestGroup.

Parameters
Name Description
request GetTunnelDestGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskTunnelDestGroup

A Task containing the RPC response.

Overrides

ListTunnelDestGroups(ListTunnelDestGroupsRequest, CallSettings)

public override PagedEnumerable<ListTunnelDestGroupsResponse, TunnelDestGroup> ListTunnelDestGroups(ListTunnelDestGroupsRequest request, CallSettings callSettings = null)

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 ListTunnelDestGroupsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListTunnelDestGroupsResponseTunnelDestGroup

A pageable sequence of TunnelDestGroup resources.

Overrides

ListTunnelDestGroupsAsync(ListTunnelDestGroupsRequest, CallSettings)

public override PagedAsyncEnumerable<ListTunnelDestGroupsResponse, TunnelDestGroup> ListTunnelDestGroupsAsync(ListTunnelDestGroupsRequest request, CallSettings callSettings = null)

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 ListTunnelDestGroupsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListTunnelDestGroupsResponseTunnelDestGroup

A pageable asynchronous sequence of TunnelDestGroup resources.

Overrides

SetIamPolicy(SetIamPolicyRequest, CallSettings)

public override Policy SetIamPolicy(SetIamPolicyRequest request, CallSettings callSettings = null)

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 SetIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Policy

The RPC response.

Overrides

SetIamPolicyAsync(SetIamPolicyRequest, CallSettings)

public override Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallSettings callSettings = null)

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 SetIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPolicy

A Task containing the RPC response.

Overrides

TestIamPermissions(TestIamPermissionsRequest, CallSettings)

public override TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallSettings callSettings = null)

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 TestIamPermissionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TestIamPermissionsResponse

The RPC response.

Overrides

TestIamPermissionsAsync(TestIamPermissionsRequest, CallSettings)

public override Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallSettings callSettings = null)

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 TestIamPermissionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskTestIamPermissionsResponse

A Task containing the RPC response.

Overrides

UpdateIapSettings(UpdateIapSettingsRequest, CallSettings)

public override IapSettings UpdateIapSettings(UpdateIapSettingsRequest request, CallSettings callSettings = null)

Updates the IAP settings on a particular IAP protected resource. It replaces all fields unless the update_mask is set.

Parameters
Name Description
request UpdateIapSettingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
IapSettings

The RPC response.

Overrides

UpdateIapSettingsAsync(UpdateIapSettingsRequest, CallSettings)

public override Task<IapSettings> UpdateIapSettingsAsync(UpdateIapSettingsRequest request, CallSettings callSettings = null)

Updates the IAP settings on a particular IAP protected resource. It replaces all fields unless the update_mask is set.

Parameters
Name Description
request UpdateIapSettingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskIapSettings

A Task containing the RPC response.

Overrides

UpdateTunnelDestGroup(UpdateTunnelDestGroupRequest, CallSettings)

public override TunnelDestGroup UpdateTunnelDestGroup(UpdateTunnelDestGroupRequest request, CallSettings callSettings = null)

Updates a TunnelDestGroup.

Parameters
Name Description
request UpdateTunnelDestGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TunnelDestGroup

The RPC response.

Overrides

UpdateTunnelDestGroupAsync(UpdateTunnelDestGroupRequest, CallSettings)

public override Task<TunnelDestGroup> UpdateTunnelDestGroupAsync(UpdateTunnelDestGroupRequest request, CallSettings callSettings = null)

Updates a TunnelDestGroup.

Parameters
Name Description
request UpdateTunnelDestGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskTunnelDestGroup

A Task containing the RPC response.

Overrides