Cloud Identity-Aware Proxy v1 API - Class IdentityAwareProxyAdminServiceClientImpl (2.4.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
NameDescription
grpcClientIdentityAwareProxyAdminServiceIdentityAwareProxyAdminServiceClient

The underlying gRPC client.

settingsIdentityAwareProxyAdminServiceSettings

The base IdentityAwareProxyAdminServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override IdentityAwareProxyAdminService.IdentityAwareProxyAdminServiceClient GrpcClient { get; }

The underlying gRPC IdentityAwareProxyAdminService client

Property Value
TypeDescription
IdentityAwareProxyAdminServiceIdentityAwareProxyAdminServiceClient
Overrides

Methods

CreateTunnelDestGroup(CreateTunnelDestGroupRequest, CallSettings)

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

Creates a new TunnelDestGroup.

Parameters
NameDescription
requestCreateTunnelDestGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TunnelDestGroup

The RPC response.

Overrides

CreateTunnelDestGroupAsync(CreateTunnelDestGroupRequest, CallSettings)

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

Creates a new TunnelDestGroup.

Parameters
NameDescription
requestCreateTunnelDestGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskTunnelDestGroup

A Task containing the RPC response.

Overrides

DeleteTunnelDestGroup(DeleteTunnelDestGroupRequest, CallSettings)

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

Deletes a TunnelDestGroup.

Parameters
NameDescription
requestDeleteTunnelDestGroupRequest

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

callSettingsCallSettings

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
NameDescription
requestDeleteTunnelDestGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetIamPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetIamPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetIapSettingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetIapSettingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetTunnelDestGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TunnelDestGroup

The RPC response.

Overrides

GetTunnelDestGroupAsync(GetTunnelDestGroupRequest, CallSettings)

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

Retrieves an existing TunnelDestGroup.

Parameters
NameDescription
requestGetTunnelDestGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListTunnelDestGroupsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListTunnelDestGroupsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestSetIamPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestSetIamPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestTestIamPermissionsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestTestIamPermissionsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateIapSettingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateIapSettingsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIapSettings

A Task containing the RPC response.

Overrides

UpdateTunnelDestGroup(UpdateTunnelDestGroupRequest, CallSettings)

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

Updates a TunnelDestGroup.

Parameters
NameDescription
requestUpdateTunnelDestGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TunnelDestGroup

The RPC response.

Overrides

UpdateTunnelDestGroupAsync(UpdateTunnelDestGroupRequest, CallSettings)

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

Updates a TunnelDestGroup.

Parameters
NameDescription
requestUpdateTunnelDestGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskTunnelDestGroup

A Task containing the RPC response.

Overrides