Class NetworkSecurityGrpc.NetworkSecurityFutureStub (0.33.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateAuthorizationPolicyRequest
Returns
TypeDescription
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
NameDescription
requestCreateClientTlsPolicyRequest
Returns
TypeDescription
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
NameDescription
requestCreateServerTlsPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request)

public ListenableFuture<Operation> deleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request)

Deletes a single AuthorizationPolicy.

Parameter
NameDescription
requestDeleteAuthorizationPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteClientTlsPolicy(DeleteClientTlsPolicyRequest request)

public ListenableFuture<Operation> deleteClientTlsPolicy(DeleteClientTlsPolicyRequest request)

Deletes a single ClientTlsPolicy.

Parameter
NameDescription
requestDeleteClientTlsPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteServerTlsPolicy(DeleteServerTlsPolicyRequest request)

public ListenableFuture<Operation> deleteServerTlsPolicy(DeleteServerTlsPolicyRequest request)

Deletes a single ServerTlsPolicy.

Parameter
NameDescription
requestDeleteServerTlsPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getAuthorizationPolicy(GetAuthorizationPolicyRequest request)

public ListenableFuture<AuthorizationPolicy> getAuthorizationPolicy(GetAuthorizationPolicyRequest request)

Gets details of a single AuthorizationPolicy.

Parameter
NameDescription
requestGetAuthorizationPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<AuthorizationPolicy>

getClientTlsPolicy(GetClientTlsPolicyRequest request)

public ListenableFuture<ClientTlsPolicy> getClientTlsPolicy(GetClientTlsPolicyRequest request)

Gets details of a single ClientTlsPolicy.

Parameter
NameDescription
requestGetClientTlsPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ClientTlsPolicy>

getServerTlsPolicy(GetServerTlsPolicyRequest request)

public ListenableFuture<ServerTlsPolicy> getServerTlsPolicy(GetServerTlsPolicyRequest request)

Gets details of a single ServerTlsPolicy.

Parameter
NameDescription
requestGetServerTlsPolicyRequest
Returns
TypeDescription
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
NameDescription
requestListAuthorizationPoliciesRequest
Returns
TypeDescription
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
NameDescription
requestListClientTlsPoliciesRequest
Returns
TypeDescription
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
NameDescription
requestListServerTlsPoliciesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListServerTlsPoliciesResponse>

updateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request)

public ListenableFuture<Operation> updateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request)

Updates the parameters of a single AuthorizationPolicy.

Parameter
NameDescription
requestUpdateAuthorizationPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateClientTlsPolicy(UpdateClientTlsPolicyRequest request)

public ListenableFuture<Operation> updateClientTlsPolicy(UpdateClientTlsPolicyRequest request)

Updates the parameters of a single ClientTlsPolicy.

Parameter
NameDescription
requestUpdateClientTlsPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateServerTlsPolicy(UpdateServerTlsPolicyRequest request)

public ListenableFuture<Operation> updateServerTlsPolicy(UpdateServerTlsPolicyRequest request)

Updates the parameters of a single ServerTlsPolicy.

Parameter
NameDescription
requestUpdateServerTlsPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>