Class NetworkSecurityGrpc.NetworkSecurityBlockingStub (0.39.0)

public static final class NetworkSecurityGrpc.NetworkSecurityBlockingStub extends AbstractBlockingStub<NetworkSecurityGrpc.NetworkSecurityBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > NetworkSecurityGrpc.NetworkSecurityBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createAuthorizationPolicy(CreateAuthorizationPolicyRequest request)

public Operation createAuthorizationPolicy(CreateAuthorizationPolicyRequest request)

Creates a new AuthorizationPolicy in a given project and location.

Parameter
NameDescription
requestCreateAuthorizationPolicyRequest
Returns
TypeDescription
Operation

createClientTlsPolicy(CreateClientTlsPolicyRequest request)

public Operation createClientTlsPolicy(CreateClientTlsPolicyRequest request)

Creates a new ClientTlsPolicy in a given project and location.

Parameter
NameDescription
requestCreateClientTlsPolicyRequest
Returns
TypeDescription
Operation

createServerTlsPolicy(CreateServerTlsPolicyRequest request)

public Operation createServerTlsPolicy(CreateServerTlsPolicyRequest request)

Creates a new ServerTlsPolicy in a given project and location.

Parameter
NameDescription
requestCreateServerTlsPolicyRequest
Returns
TypeDescription
Operation

deleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request)

public Operation deleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request)

Deletes a single AuthorizationPolicy.

Parameter
NameDescription
requestDeleteAuthorizationPolicyRequest
Returns
TypeDescription
Operation

deleteClientTlsPolicy(DeleteClientTlsPolicyRequest request)

public Operation deleteClientTlsPolicy(DeleteClientTlsPolicyRequest request)

Deletes a single ClientTlsPolicy.

Parameter
NameDescription
requestDeleteClientTlsPolicyRequest
Returns
TypeDescription
Operation

deleteServerTlsPolicy(DeleteServerTlsPolicyRequest request)

public Operation deleteServerTlsPolicy(DeleteServerTlsPolicyRequest request)

Deletes a single ServerTlsPolicy.

Parameter
NameDescription
requestDeleteServerTlsPolicyRequest
Returns
TypeDescription
Operation

getAuthorizationPolicy(GetAuthorizationPolicyRequest request)

public AuthorizationPolicy getAuthorizationPolicy(GetAuthorizationPolicyRequest request)

Gets details of a single AuthorizationPolicy.

Parameter
NameDescription
requestGetAuthorizationPolicyRequest
Returns
TypeDescription
AuthorizationPolicy

getClientTlsPolicy(GetClientTlsPolicyRequest request)

public ClientTlsPolicy getClientTlsPolicy(GetClientTlsPolicyRequest request)

Gets details of a single ClientTlsPolicy.

Parameter
NameDescription
requestGetClientTlsPolicyRequest
Returns
TypeDescription
ClientTlsPolicy

getServerTlsPolicy(GetServerTlsPolicyRequest request)

public ServerTlsPolicy getServerTlsPolicy(GetServerTlsPolicyRequest request)

Gets details of a single ServerTlsPolicy.

Parameter
NameDescription
requestGetServerTlsPolicyRequest
Returns
TypeDescription
ServerTlsPolicy

listAuthorizationPolicies(ListAuthorizationPoliciesRequest request)

public ListAuthorizationPoliciesResponse listAuthorizationPolicies(ListAuthorizationPoliciesRequest request)

Lists AuthorizationPolicies in a given project and location.

Parameter
NameDescription
requestListAuthorizationPoliciesRequest
Returns
TypeDescription
ListAuthorizationPoliciesResponse

listClientTlsPolicies(ListClientTlsPoliciesRequest request)

public ListClientTlsPoliciesResponse listClientTlsPolicies(ListClientTlsPoliciesRequest request)

Lists ClientTlsPolicies in a given project and location.

Parameter
NameDescription
requestListClientTlsPoliciesRequest
Returns
TypeDescription
ListClientTlsPoliciesResponse

listServerTlsPolicies(ListServerTlsPoliciesRequest request)

public ListServerTlsPoliciesResponse listServerTlsPolicies(ListServerTlsPoliciesRequest request)

Lists ServerTlsPolicies in a given project and location.

Parameter
NameDescription
requestListServerTlsPoliciesRequest
Returns
TypeDescription
ListServerTlsPoliciesResponse

updateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request)

public Operation updateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request)

Updates the parameters of a single AuthorizationPolicy.

Parameter
NameDescription
requestUpdateAuthorizationPolicyRequest
Returns
TypeDescription
Operation

updateClientTlsPolicy(UpdateClientTlsPolicyRequest request)

public Operation updateClientTlsPolicy(UpdateClientTlsPolicyRequest request)

Updates the parameters of a single ClientTlsPolicy.

Parameter
NameDescription
requestUpdateClientTlsPolicyRequest
Returns
TypeDescription
Operation

updateServerTlsPolicy(UpdateServerTlsPolicyRequest request)

public Operation updateServerTlsPolicy(UpdateServerTlsPolicyRequest request)

Updates the parameters of a single ServerTlsPolicy.

Parameter
NameDescription
requestUpdateServerTlsPolicyRequest
Returns
TypeDescription
Operation