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 > IdentityAwareProxyAdminServiceClientImplNamespace
Google.Cloud.Iap.V1Assembly
Google.Cloud.Iap.V1.dll
Remarks
APIs for Identity-Aware Proxy Admin configurations.
Constructors
IdentityAwareProxyAdminServiceClientImpl(IdentityAwareProxyAdminService.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 | IdentityAwareProxyAdminService.IdentityAwareProxyAdminServiceClient 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 |
IdentityAwareProxyAdminService.IdentityAwareProxyAdminServiceClient |
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. |
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 |
Task<TunnelDestGroup> | A Task containing the RPC response. |
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. |
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. |
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. |
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 |
Task<Policy> | A Task containing the RPC response. |
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. |
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 |
Task<IapSettings> | A Task containing the RPC response. |
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. |
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 |
Task<TunnelDestGroup> | A Task containing the RPC response. |
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 |
PagedEnumerable<ListTunnelDestGroupsResponse, TunnelDestGroup> | A pageable sequence of TunnelDestGroup resources. |
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 |
PagedAsyncEnumerable<ListTunnelDestGroupsResponse, TunnelDestGroup> | A pageable asynchronous sequence of TunnelDestGroup resources. |
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. |
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 |
Task<Policy> | A Task containing the RPC response. |
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. |
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 |
Task<TestIamPermissionsResponse> | A Task containing the RPC response. |
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. |
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 |
Task<IapSettings> | A Task containing the RPC response. |
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. |
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 |
Task<TunnelDestGroup> | A Task containing the RPC response. |