Package namespace.cloud.network.v1beta
Class EgressPolicyServiceGrpc.EgressPolicyServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<EgressPolicyServiceGrpc.EgressPolicyServiceStub>
io.grpc.stub.AbstractAsyncStub<EgressPolicyServiceGrpc.EgressPolicyServiceStub>
namespace.cloud.network.v1beta.EgressPolicyServiceGrpc.EgressPolicyServiceStub
- Enclosing class:
EgressPolicyServiceGrpc
public static final class EgressPolicyServiceGrpc.EgressPolicyServiceStub
extends io.grpc.stub.AbstractAsyncStub<EgressPolicyServiceGrpc.EgressPolicyServiceStub>
A stub to allow clients to do asynchronous rpc calls to service EgressPolicyService.
EgressPolicyService manages workspace-wide egress policies that can be applied to compute instances and other workloads by tag. ## Access This service is available at the global endpoint: ``` https://global.namespaceapis.com:443 ``` ## Authentication Calls require a tenant token passed as a Bearer token.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateEgressPolicy(Egress.CreateEgressPolicyRequest request, io.grpc.stub.StreamObserver<Egress.CreateEgressPolicyResponse> responseObserver) Creates a new egress policy.voidgetEgressPolicy(Egress.GetEgressPolicyRequest request, io.grpc.stub.StreamObserver<Egress.GetEgressPolicyResponse> responseObserver) Returns an egress policy by tag.voidlistEgressPolicies(Egress.ListEgressPoliciesRequest request, io.grpc.stub.StreamObserver<Egress.ListEgressPoliciesResponse> responseObserver) Lists all egress policies in the workspace.voidupdateEgressPolicy(Egress.UpdateEgressPolicyRequest request, io.grpc.stub.StreamObserver<Egress.UpdateEgressPolicyResponse> responseObserver) Replaces an existing egress policy.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected EgressPolicyServiceGrpc.EgressPolicyServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<EgressPolicyServiceGrpc.EgressPolicyServiceStub>
-
createEgressPolicy
public void createEgressPolicy(Egress.CreateEgressPolicyRequest request, io.grpc.stub.StreamObserver<Egress.CreateEgressPolicyResponse> responseObserver) Creates a new egress policy. The policy tag must be unique within the workspace.
-
updateEgressPolicy
public void updateEgressPolicy(Egress.UpdateEgressPolicyRequest request, io.grpc.stub.StreamObserver<Egress.UpdateEgressPolicyResponse> responseObserver) Replaces an existing egress policy.
-
getEgressPolicy
public void getEgressPolicy(Egress.GetEgressPolicyRequest request, io.grpc.stub.StreamObserver<Egress.GetEgressPolicyResponse> responseObserver) Returns an egress policy by tag.
-
listEgressPolicies
public void listEgressPolicies(Egress.ListEgressPoliciesRequest request, io.grpc.stub.StreamObserver<Egress.ListEgressPoliciesResponse> responseObserver) Lists all egress policies in the workspace.
-