Class NetworkSecurityGrpc.NetworkSecurityStub (0.14.0)

public static final class NetworkSecurityGrpc.NetworkSecurityStub extends AbstractAsyncStub<NetworkSecurityGrpc.NetworkSecurityStub>

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.AbstractAsyncStub > NetworkSecurityGrpc.NetworkSecurityStub
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

protected NetworkSecurityGrpc.NetworkSecurityStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createAuthorizationPolicy(CreateAuthorizationPolicyRequest request, StreamObserver<Operation> responseObserver)

public void createAuthorizationPolicy(CreateAuthorizationPolicyRequest request, StreamObserver<Operation> responseObserver)

Creates a new AuthorizationPolicy in a given project and location.

Parameters
NameDescription
requestCreateAuthorizationPolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createClientTlsPolicy(CreateClientTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

public void createClientTlsPolicy(CreateClientTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

Creates a new ClientTlsPolicy in a given project and location.

Parameters
NameDescription
requestCreateClientTlsPolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createServerTlsPolicy(CreateServerTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

public void createServerTlsPolicy(CreateServerTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

Creates a new ServerTlsPolicy in a given project and location.

Parameters
NameDescription
requestCreateServerTlsPolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request, StreamObserver<Operation> responseObserver)

public void deleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request, StreamObserver<Operation> responseObserver)

Deletes a single AuthorizationPolicy.

Parameters
NameDescription
requestDeleteAuthorizationPolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteClientTlsPolicy(DeleteClientTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

public void deleteClientTlsPolicy(DeleteClientTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

Deletes a single ClientTlsPolicy.

Parameters
NameDescription
requestDeleteClientTlsPolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteServerTlsPolicy(DeleteServerTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

public void deleteServerTlsPolicy(DeleteServerTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

Deletes a single ServerTlsPolicy.

Parameters
NameDescription
requestDeleteServerTlsPolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getAuthorizationPolicy(GetAuthorizationPolicyRequest request, StreamObserver<AuthorizationPolicy> responseObserver)

public void getAuthorizationPolicy(GetAuthorizationPolicyRequest request, StreamObserver<AuthorizationPolicy> responseObserver)

Gets details of a single AuthorizationPolicy.

Parameters
NameDescription
requestGetAuthorizationPolicyRequest
responseObserverio.grpc.stub.StreamObserver<AuthorizationPolicy>

getClientTlsPolicy(GetClientTlsPolicyRequest request, StreamObserver<ClientTlsPolicy> responseObserver)

public void getClientTlsPolicy(GetClientTlsPolicyRequest request, StreamObserver<ClientTlsPolicy> responseObserver)

Gets details of a single ClientTlsPolicy.

Parameters
NameDescription
requestGetClientTlsPolicyRequest
responseObserverio.grpc.stub.StreamObserver<ClientTlsPolicy>

getServerTlsPolicy(GetServerTlsPolicyRequest request, StreamObserver<ServerTlsPolicy> responseObserver)

public void getServerTlsPolicy(GetServerTlsPolicyRequest request, StreamObserver<ServerTlsPolicy> responseObserver)

Gets details of a single ServerTlsPolicy.

Parameters
NameDescription
requestGetServerTlsPolicyRequest
responseObserverio.grpc.stub.StreamObserver<ServerTlsPolicy>

listAuthorizationPolicies(ListAuthorizationPoliciesRequest request, StreamObserver<ListAuthorizationPoliciesResponse> responseObserver)

public void listAuthorizationPolicies(ListAuthorizationPoliciesRequest request, StreamObserver<ListAuthorizationPoliciesResponse> responseObserver)

Lists AuthorizationPolicies in a given project and location.

Parameters
NameDescription
requestListAuthorizationPoliciesRequest
responseObserverio.grpc.stub.StreamObserver<ListAuthorizationPoliciesResponse>

listClientTlsPolicies(ListClientTlsPoliciesRequest request, StreamObserver<ListClientTlsPoliciesResponse> responseObserver)

public void listClientTlsPolicies(ListClientTlsPoliciesRequest request, StreamObserver<ListClientTlsPoliciesResponse> responseObserver)

Lists ClientTlsPolicies in a given project and location.

Parameters
NameDescription
requestListClientTlsPoliciesRequest
responseObserverio.grpc.stub.StreamObserver<ListClientTlsPoliciesResponse>

listServerTlsPolicies(ListServerTlsPoliciesRequest request, StreamObserver<ListServerTlsPoliciesResponse> responseObserver)

public void listServerTlsPolicies(ListServerTlsPoliciesRequest request, StreamObserver<ListServerTlsPoliciesResponse> responseObserver)

Lists ServerTlsPolicies in a given project and location.

Parameters
NameDescription
requestListServerTlsPoliciesRequest
responseObserverio.grpc.stub.StreamObserver<ListServerTlsPoliciesResponse>

updateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request, StreamObserver<Operation> responseObserver)

public void updateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single AuthorizationPolicy.

Parameters
NameDescription
requestUpdateAuthorizationPolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateClientTlsPolicy(UpdateClientTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

public void updateClientTlsPolicy(UpdateClientTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single ClientTlsPolicy.

Parameters
NameDescription
requestUpdateClientTlsPolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateServerTlsPolicy(UpdateServerTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

public void updateServerTlsPolicy(UpdateServerTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single ServerTlsPolicy.

Parameters
NameDescription
requestUpdateServerTlsPolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>