Class NetworkSecurityGrpc.NetworkSecurityFutureStub (0.54.0)

public static final class NetworkSecurityGrpc.NetworkSecurityFutureStub extends AbstractFutureStub<NetworkSecurityGrpc.NetworkSecurityFutureStub>

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

Network Security API provides resources to configure authentication and authorization policies. Refer to per API resource documentation for more information.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > NetworkSecurityGrpc.NetworkSecurityFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createAuthorizationPolicy(CreateAuthorizationPolicyRequest request)

public ListenableFuture<Operation> createAuthorizationPolicy(CreateAuthorizationPolicyRequest request)

Creates a new AuthorizationPolicy in a given project and location.

Parameter
Name Description
request CreateAuthorizationPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createClientTlsPolicy(CreateClientTlsPolicyRequest request)

public ListenableFuture<Operation> createClientTlsPolicy(CreateClientTlsPolicyRequest request)

Creates a new ClientTlsPolicy in a given project and location.

Parameter
Name Description
request CreateClientTlsPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createServerTlsPolicy(CreateServerTlsPolicyRequest request)

public ListenableFuture<Operation> createServerTlsPolicy(CreateServerTlsPolicyRequest request)

Creates a new ServerTlsPolicy in a given project and location.

Parameter
Name Description
request CreateServerTlsPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request)

public ListenableFuture<Operation> deleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request)

Deletes a single AuthorizationPolicy.

Parameter
Name Description
request DeleteAuthorizationPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteClientTlsPolicy(DeleteClientTlsPolicyRequest request)

public ListenableFuture<Operation> deleteClientTlsPolicy(DeleteClientTlsPolicyRequest request)

Deletes a single ClientTlsPolicy.

Parameter
Name Description
request DeleteClientTlsPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteServerTlsPolicy(DeleteServerTlsPolicyRequest request)

public ListenableFuture<Operation> deleteServerTlsPolicy(DeleteServerTlsPolicyRequest request)

Deletes a single ServerTlsPolicy.

Parameter
Name Description
request DeleteServerTlsPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getAuthorizationPolicy(GetAuthorizationPolicyRequest request)

public ListenableFuture<AuthorizationPolicy> getAuthorizationPolicy(GetAuthorizationPolicyRequest request)

Gets details of a single AuthorizationPolicy.

Parameter
Name Description
request GetAuthorizationPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AuthorizationPolicy>

getClientTlsPolicy(GetClientTlsPolicyRequest request)

public ListenableFuture<ClientTlsPolicy> getClientTlsPolicy(GetClientTlsPolicyRequest request)

Gets details of a single ClientTlsPolicy.

Parameter
Name Description
request GetClientTlsPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ClientTlsPolicy>

getServerTlsPolicy(GetServerTlsPolicyRequest request)

public ListenableFuture<ServerTlsPolicy> getServerTlsPolicy(GetServerTlsPolicyRequest request)

Gets details of a single ServerTlsPolicy.

Parameter
Name Description
request GetServerTlsPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ServerTlsPolicy>

listAuthorizationPolicies(ListAuthorizationPoliciesRequest request)

public ListenableFuture<ListAuthorizationPoliciesResponse> listAuthorizationPolicies(ListAuthorizationPoliciesRequest request)

Lists AuthorizationPolicies in a given project and location.

Parameter
Name Description
request ListAuthorizationPoliciesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListAuthorizationPoliciesResponse>

listClientTlsPolicies(ListClientTlsPoliciesRequest request)

public ListenableFuture<ListClientTlsPoliciesResponse> listClientTlsPolicies(ListClientTlsPoliciesRequest request)

Lists ClientTlsPolicies in a given project and location.

Parameter
Name Description
request ListClientTlsPoliciesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListClientTlsPoliciesResponse>

listServerTlsPolicies(ListServerTlsPoliciesRequest request)

public ListenableFuture<ListServerTlsPoliciesResponse> listServerTlsPolicies(ListServerTlsPoliciesRequest request)

Lists ServerTlsPolicies in a given project and location.

Parameter
Name Description
request ListServerTlsPoliciesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListServerTlsPoliciesResponse>

updateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request)

public ListenableFuture<Operation> updateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request)

Updates the parameters of a single AuthorizationPolicy.

Parameter
Name Description
request UpdateAuthorizationPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateClientTlsPolicy(UpdateClientTlsPolicyRequest request)

public ListenableFuture<Operation> updateClientTlsPolicy(UpdateClientTlsPolicyRequest request)

Updates the parameters of a single ClientTlsPolicy.

Parameter
Name Description
request UpdateClientTlsPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateServerTlsPolicy(UpdateServerTlsPolicyRequest request)

public ListenableFuture<Operation> updateServerTlsPolicy(UpdateServerTlsPolicyRequest request)

Updates the parameters of a single ServerTlsPolicy.

Parameter
Name Description
request UpdateServerTlsPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>