Interface NetworkSecurityGrpc.AsyncService (0.79.0)

publicstaticinterface NetworkSecurityGrpc.AsyncService

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

Methods

createAuthorizationPolicy(CreateAuthorizationPolicyRequest request, StreamObserver<Operation> responseObserver)

publicdefaultvoidcreateAuthorizationPolicy(CreateAuthorizationPolicyRequestrequest,StreamObserver<Operation>responseObserver)

Creates a new AuthorizationPolicy in a given project and location.

Parameters
Name Description
request CreateAuthorizationPolicyRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createClientTlsPolicy(CreateClientTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

publicdefaultvoidcreateClientTlsPolicy(CreateClientTlsPolicyRequestrequest,StreamObserver<Operation>responseObserver)

Creates a new ClientTlsPolicy in a given project and location.

Parameters
Name Description
request CreateClientTlsPolicyRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createServerTlsPolicy(CreateServerTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

publicdefaultvoidcreateServerTlsPolicy(CreateServerTlsPolicyRequestrequest,StreamObserver<Operation>responseObserver)

Creates a new ServerTlsPolicy in a given project and location.

Parameters
Name Description
request CreateServerTlsPolicyRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request, StreamObserver<Operation> responseObserver)

publicdefaultvoiddeleteAuthorizationPolicy(DeleteAuthorizationPolicyRequestrequest,StreamObserver<Operation>responseObserver)

Deletes a single AuthorizationPolicy.

Parameters
Name Description
request DeleteAuthorizationPolicyRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteClientTlsPolicy(DeleteClientTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

publicdefaultvoiddeleteClientTlsPolicy(DeleteClientTlsPolicyRequestrequest,StreamObserver<Operation>responseObserver)

Deletes a single ClientTlsPolicy.

Parameters
Name Description
request DeleteClientTlsPolicyRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteServerTlsPolicy(DeleteServerTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

publicdefaultvoiddeleteServerTlsPolicy(DeleteServerTlsPolicyRequestrequest,StreamObserver<Operation>responseObserver)

Deletes a single ServerTlsPolicy.

Parameters
Name Description
request DeleteServerTlsPolicyRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getAuthorizationPolicy(GetAuthorizationPolicyRequest request, StreamObserver<AuthorizationPolicy> responseObserver)

publicdefaultvoidgetAuthorizationPolicy(GetAuthorizationPolicyRequestrequest,StreamObserver<AuthorizationPolicy>responseObserver)

Gets details of a single AuthorizationPolicy.

Parameters
Name Description
request GetAuthorizationPolicyRequest
responseObserver io.grpc.stub.StreamObserver<AuthorizationPolicy>

getClientTlsPolicy(GetClientTlsPolicyRequest request, StreamObserver<ClientTlsPolicy> responseObserver)

publicdefaultvoidgetClientTlsPolicy(GetClientTlsPolicyRequestrequest,StreamObserver<ClientTlsPolicy>responseObserver)

Gets details of a single ClientTlsPolicy.

Parameters
Name Description
request GetClientTlsPolicyRequest
responseObserver io.grpc.stub.StreamObserver<ClientTlsPolicy>

getServerTlsPolicy(GetServerTlsPolicyRequest request, StreamObserver<ServerTlsPolicy> responseObserver)

publicdefaultvoidgetServerTlsPolicy(GetServerTlsPolicyRequestrequest,StreamObserver<ServerTlsPolicy>responseObserver)

Gets details of a single ServerTlsPolicy.

Parameters
Name Description
request GetServerTlsPolicyRequest
responseObserver io.grpc.stub.StreamObserver<ServerTlsPolicy>

listAuthorizationPolicies(ListAuthorizationPoliciesRequest request, StreamObserver<ListAuthorizationPoliciesResponse> responseObserver)

publicdefaultvoidlistAuthorizationPolicies(ListAuthorizationPoliciesRequestrequest,StreamObserver<ListAuthorizationPoliciesResponse>responseObserver)

Lists AuthorizationPolicies in a given project and location.

Parameters
Name Description
request ListAuthorizationPoliciesRequest
responseObserver io.grpc.stub.StreamObserver<ListAuthorizationPoliciesResponse>

listClientTlsPolicies(ListClientTlsPoliciesRequest request, StreamObserver<ListClientTlsPoliciesResponse> responseObserver)

publicdefaultvoidlistClientTlsPolicies(ListClientTlsPoliciesRequestrequest,StreamObserver<ListClientTlsPoliciesResponse>responseObserver)

Lists ClientTlsPolicies in a given project and location.

Parameters
Name Description
request ListClientTlsPoliciesRequest
responseObserver io.grpc.stub.StreamObserver<ListClientTlsPoliciesResponse>

listServerTlsPolicies(ListServerTlsPoliciesRequest request, StreamObserver<ListServerTlsPoliciesResponse> responseObserver)

publicdefaultvoidlistServerTlsPolicies(ListServerTlsPoliciesRequestrequest,StreamObserver<ListServerTlsPoliciesResponse>responseObserver)

Lists ServerTlsPolicies in a given project and location.

Parameters
Name Description
request ListServerTlsPoliciesRequest
responseObserver io.grpc.stub.StreamObserver<ListServerTlsPoliciesResponse>

updateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request, StreamObserver<Operation> responseObserver)

publicdefaultvoidupdateAuthorizationPolicy(UpdateAuthorizationPolicyRequestrequest,StreamObserver<Operation>responseObserver)

Updates the parameters of a single AuthorizationPolicy.

Parameters
Name Description
request UpdateAuthorizationPolicyRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateClientTlsPolicy(UpdateClientTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

publicdefaultvoidupdateClientTlsPolicy(UpdateClientTlsPolicyRequestrequest,StreamObserver<Operation>responseObserver)

Updates the parameters of a single ClientTlsPolicy.

Parameters
Name Description
request UpdateClientTlsPolicyRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateServerTlsPolicy(UpdateServerTlsPolicyRequest request, StreamObserver<Operation> responseObserver)

publicdefaultvoidupdateServerTlsPolicy(UpdateServerTlsPolicyRequestrequest,StreamObserver<Operation>responseObserver)

Updates the parameters of a single ServerTlsPolicy.

Parameters
Name Description
request UpdateServerTlsPolicyRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.