Class IdentityAwareProxyAdminServiceGrpc.IdentityAwareProxyAdminServiceFutureStub (0.10.0)

public static final class IdentityAwareProxyAdminServiceGrpc.IdentityAwareProxyAdminServiceFutureStub extends AbstractFutureStub<IdentityAwareProxyAdminServiceGrpc.IdentityAwareProxyAdminServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service IdentityAwareProxyAdminService.

APIs for Identity-Aware Proxy Admin configurations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > IdentityAwareProxyAdminServiceGrpc.IdentityAwareProxyAdminServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected IdentityAwareProxyAdminServiceGrpc.IdentityAwareProxyAdminServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
IdentityAwareProxyAdminServiceGrpc.IdentityAwareProxyAdminServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createTunnelDestGroup(CreateTunnelDestGroupRequest request)

public ListenableFuture<TunnelDestGroup> createTunnelDestGroup(CreateTunnelDestGroupRequest request)

Creates a new TunnelDestGroup.

Parameter
Name Description
request CreateTunnelDestGroupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<TunnelDestGroup>

deleteTunnelDestGroup(DeleteTunnelDestGroupRequest request)

public ListenableFuture<Empty> deleteTunnelDestGroup(DeleteTunnelDestGroupRequest request)

Deletes a TunnelDestGroup.

Parameter
Name Description
request DeleteTunnelDestGroupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getIamPolicy(GetIamPolicyRequest request)

public ListenableFuture<Policy> getIamPolicy(GetIamPolicyRequest request)

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

Parameter
Name Description
request com.google.iam.v1.GetIamPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>

getIapSettings(GetIapSettingsRequest request)

public ListenableFuture<IapSettings> getIapSettings(GetIapSettingsRequest request)

Gets the IAP settings on a particular IAP protected resource.

Parameter
Name Description
request GetIapSettingsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<IapSettings>

getTunnelDestGroup(GetTunnelDestGroupRequest request)

public ListenableFuture<TunnelDestGroup> getTunnelDestGroup(GetTunnelDestGroupRequest request)

Retrieves an existing TunnelDestGroup.

Parameter
Name Description
request GetTunnelDestGroupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<TunnelDestGroup>

listTunnelDestGroups(ListTunnelDestGroupsRequest request)

public ListenableFuture<ListTunnelDestGroupsResponse> listTunnelDestGroups(ListTunnelDestGroupsRequest request)

Lists the existing TunnelDestGroups. To group across all locations, use a - as the location ID. For example: /v1/projects/123/iap_tunnel/locations/-/destGroups

Parameter
Name Description
request ListTunnelDestGroupsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListTunnelDestGroupsResponse>

setIamPolicy(SetIamPolicyRequest request)

public ListenableFuture<Policy> setIamPolicy(SetIamPolicyRequest request)

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

Parameter
Name Description
request com.google.iam.v1.SetIamPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>

testIamPermissions(TestIamPermissionsRequest request)

public ListenableFuture<TestIamPermissionsResponse> testIamPermissions(TestIamPermissionsRequest request)

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

Parameter
Name Description
request com.google.iam.v1.TestIamPermissionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse>

updateIapSettings(UpdateIapSettingsRequest request)

public ListenableFuture<IapSettings> updateIapSettings(UpdateIapSettingsRequest request)

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

Parameter
Name Description
request UpdateIapSettingsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<IapSettings>

updateTunnelDestGroup(UpdateTunnelDestGroupRequest request)

public ListenableFuture<TunnelDestGroup> updateTunnelDestGroup(UpdateTunnelDestGroupRequest request)

Updates a TunnelDestGroup.

Parameter
Name Description
request UpdateTunnelDestGroupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<TunnelDestGroup>