Class NetworkSecurityGrpc.NetworkSecurityBlockingStub (0.56.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateAuthorizationPolicyRequest
Returns
Type Description
Operation

createClientTlsPolicy(CreateClientTlsPolicyRequest request)

public Operation createClientTlsPolicy(CreateClientTlsPolicyRequest request)

Creates a new ClientTlsPolicy in a given project and location.

Parameter
Name Description
request CreateClientTlsPolicyRequest
Returns
Type Description
Operation

createServerTlsPolicy(CreateServerTlsPolicyRequest request)

public Operation createServerTlsPolicy(CreateServerTlsPolicyRequest request)

Creates a new ServerTlsPolicy in a given project and location.

Parameter
Name Description
request CreateServerTlsPolicyRequest
Returns
Type Description
Operation

deleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request)

public Operation deleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request)

Deletes a single AuthorizationPolicy.

Parameter
Name Description
request DeleteAuthorizationPolicyRequest
Returns
Type Description
Operation

deleteClientTlsPolicy(DeleteClientTlsPolicyRequest request)

public Operation deleteClientTlsPolicy(DeleteClientTlsPolicyRequest request)

Deletes a single ClientTlsPolicy.

Parameter
Name Description
request DeleteClientTlsPolicyRequest
Returns
Type Description
Operation

deleteServerTlsPolicy(DeleteServerTlsPolicyRequest request)

public Operation deleteServerTlsPolicy(DeleteServerTlsPolicyRequest request)

Deletes a single ServerTlsPolicy.

Parameter
Name Description
request DeleteServerTlsPolicyRequest
Returns
Type Description
Operation

getAuthorizationPolicy(GetAuthorizationPolicyRequest request)

public AuthorizationPolicy getAuthorizationPolicy(GetAuthorizationPolicyRequest request)

Gets details of a single AuthorizationPolicy.

Parameter
Name Description
request GetAuthorizationPolicyRequest
Returns
Type Description
AuthorizationPolicy

getClientTlsPolicy(GetClientTlsPolicyRequest request)

public ClientTlsPolicy getClientTlsPolicy(GetClientTlsPolicyRequest request)

Gets details of a single ClientTlsPolicy.

Parameter
Name Description
request GetClientTlsPolicyRequest
Returns
Type Description
ClientTlsPolicy

getServerTlsPolicy(GetServerTlsPolicyRequest request)

public ServerTlsPolicy getServerTlsPolicy(GetServerTlsPolicyRequest request)

Gets details of a single ServerTlsPolicy.

Parameter
Name Description
request GetServerTlsPolicyRequest
Returns
Type Description
ServerTlsPolicy

listAuthorizationPolicies(ListAuthorizationPoliciesRequest request)

public ListAuthorizationPoliciesResponse listAuthorizationPolicies(ListAuthorizationPoliciesRequest request)

Lists AuthorizationPolicies in a given project and location.

Parameter
Name Description
request ListAuthorizationPoliciesRequest
Returns
Type Description
ListAuthorizationPoliciesResponse

listClientTlsPolicies(ListClientTlsPoliciesRequest request)

public ListClientTlsPoliciesResponse listClientTlsPolicies(ListClientTlsPoliciesRequest request)

Lists ClientTlsPolicies in a given project and location.

Parameter
Name Description
request ListClientTlsPoliciesRequest
Returns
Type Description
ListClientTlsPoliciesResponse

listServerTlsPolicies(ListServerTlsPoliciesRequest request)

public ListServerTlsPoliciesResponse listServerTlsPolicies(ListServerTlsPoliciesRequest request)

Lists ServerTlsPolicies in a given project and location.

Parameter
Name Description
request ListServerTlsPoliciesRequest
Returns
Type Description
ListServerTlsPoliciesResponse

updateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request)

public Operation updateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request)

Updates the parameters of a single AuthorizationPolicy.

Parameter
Name Description
request UpdateAuthorizationPolicyRequest
Returns
Type Description
Operation

updateClientTlsPolicy(UpdateClientTlsPolicyRequest request)

public Operation updateClientTlsPolicy(UpdateClientTlsPolicyRequest request)

Updates the parameters of a single ClientTlsPolicy.

Parameter
Name Description
request UpdateClientTlsPolicyRequest
Returns
Type Description
Operation

updateServerTlsPolicy(UpdateServerTlsPolicyRequest request)

public Operation updateServerTlsPolicy(UpdateServerTlsPolicyRequest request)

Updates the parameters of a single ServerTlsPolicy.

Parameter
Name Description
request UpdateServerTlsPolicyRequest
Returns
Type Description
Operation