Class IdentityAwareProxyAdminServiceGrpc.IdentityAwareProxyAdminServiceStub (0.9.0)

public static final class IdentityAwareProxyAdminServiceGrpc.IdentityAwareProxyAdminServiceStub extends AbstractAsyncStub<IdentityAwareProxyAdminServiceGrpc.IdentityAwareProxyAdminServiceStub>

A stub to allow clients to do asynchronous rpc calls to service IdentityAwareProxyAdminService.

APIs for Identity-Aware Proxy Admin configurations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > IdentityAwareProxyAdminServiceGrpc.IdentityAwareProxyAdminServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

createTunnelDestGroup(CreateTunnelDestGroupRequest request, StreamObserver<TunnelDestGroup> responseObserver)

public void createTunnelDestGroup(CreateTunnelDestGroupRequest request, StreamObserver<TunnelDestGroup> responseObserver)

Creates a new TunnelDestGroup.

Parameters
Name Description
request CreateTunnelDestGroupRequest
responseObserver io.grpc.stub.StreamObserver<TunnelDestGroup>

deleteTunnelDestGroup(DeleteTunnelDestGroupRequest request, StreamObserver<Empty> responseObserver)

public void deleteTunnelDestGroup(DeleteTunnelDestGroupRequest request, StreamObserver<Empty> responseObserver)

Deletes a TunnelDestGroup.

Parameters
Name Description
request DeleteTunnelDestGroupRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

public void getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

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 com.google.iam.v1.GetIamPolicyRequest
responseObserver io.grpc.stub.StreamObserver<com.google.iam.v1.Policy>

getIapSettings(GetIapSettingsRequest request, StreamObserver<IapSettings> responseObserver)

public void getIapSettings(GetIapSettingsRequest request, StreamObserver<IapSettings> responseObserver)

Gets the IAP settings on a particular IAP protected resource.

Parameters
Name Description
request GetIapSettingsRequest
responseObserver io.grpc.stub.StreamObserver<IapSettings>

getTunnelDestGroup(GetTunnelDestGroupRequest request, StreamObserver<TunnelDestGroup> responseObserver)

public void getTunnelDestGroup(GetTunnelDestGroupRequest request, StreamObserver<TunnelDestGroup> responseObserver)

Retrieves an existing TunnelDestGroup.

Parameters
Name Description
request GetTunnelDestGroupRequest
responseObserver io.grpc.stub.StreamObserver<TunnelDestGroup>

listTunnelDestGroups(ListTunnelDestGroupsRequest request, StreamObserver<ListTunnelDestGroupsResponse> responseObserver)

public void listTunnelDestGroups(ListTunnelDestGroupsRequest request, StreamObserver<ListTunnelDestGroupsResponse> responseObserver)

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
responseObserver io.grpc.stub.StreamObserver<ListTunnelDestGroupsResponse>

setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

public void setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

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 com.google.iam.v1.SetIamPolicyRequest
responseObserver io.grpc.stub.StreamObserver<com.google.iam.v1.Policy>

testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)

public void testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)

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 com.google.iam.v1.TestIamPermissionsRequest
responseObserver io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse>

updateIapSettings(UpdateIapSettingsRequest request, StreamObserver<IapSettings> responseObserver)

public void updateIapSettings(UpdateIapSettingsRequest request, StreamObserver<IapSettings> responseObserver)

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
responseObserver io.grpc.stub.StreamObserver<IapSettings>

updateTunnelDestGroup(UpdateTunnelDestGroupRequest request, StreamObserver<TunnelDestGroup> responseObserver)

public void updateTunnelDestGroup(UpdateTunnelDestGroupRequest request, StreamObserver<TunnelDestGroup> responseObserver)

Updates a TunnelDestGroup.

Parameters
Name Description
request UpdateTunnelDestGroupRequest
responseObserver io.grpc.stub.StreamObserver<TunnelDestGroup>