Package namespace.cloud.network.v1beta
Class EgressPolicyServiceGrpc.EgressPolicyServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<EgressPolicyServiceGrpc.EgressPolicyServiceFutureStub>
io.grpc.stub.AbstractFutureStub<EgressPolicyServiceGrpc.EgressPolicyServiceFutureStub>
namespace.cloud.network.v1beta.EgressPolicyServiceGrpc.EgressPolicyServiceFutureStub
- Enclosing class:
EgressPolicyServiceGrpc
public static final class EgressPolicyServiceGrpc.EgressPolicyServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<EgressPolicyServiceGrpc.EgressPolicyServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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) com.google.common.util.concurrent.ListenableFuture<Egress.CreateEgressPolicyResponse> Creates a new egress policy.com.google.common.util.concurrent.ListenableFuture<Egress.GetEgressPolicyResponse> Returns an egress policy by tag.com.google.common.util.concurrent.ListenableFuture<Egress.ListEgressPoliciesResponse> Lists all egress policies in the workspace.com.google.common.util.concurrent.ListenableFuture<Egress.UpdateEgressPolicyResponse> Replaces an existing egress policy.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.EgressPolicyServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<EgressPolicyServiceGrpc.EgressPolicyServiceFutureStub>
-
createEgressPolicy
public com.google.common.util.concurrent.ListenableFuture<Egress.CreateEgressPolicyResponse> createEgressPolicy(Egress.CreateEgressPolicyRequest request) Creates a new egress policy. The policy tag must be unique within the workspace.
-
updateEgressPolicy
public com.google.common.util.concurrent.ListenableFuture<Egress.UpdateEgressPolicyResponse> updateEgressPolicy(Egress.UpdateEgressPolicyRequest request) Replaces an existing egress policy.
-
getEgressPolicy
public com.google.common.util.concurrent.ListenableFuture<Egress.GetEgressPolicyResponse> getEgressPolicy(Egress.GetEgressPolicyRequest request) Returns an egress policy by tag.
-
listEgressPolicies
public com.google.common.util.concurrent.ListenableFuture<Egress.ListEgressPoliciesResponse> listEgressPolicies(Egress.ListEgressPoliciesRequest request) Lists all egress policies in the workspace.
-