Class SecretManagerServiceGrpc (2.37.0)

public final class SecretManagerServiceGrpc

Secret Manager Service Manages secrets and operations using those secrets. Implements a REST model with the following objects:

  • Secret
  • SecretVersion

Inheritance

java.lang.Object > SecretManagerServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(SecretManagerServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(SecretManagerServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceSecretManagerServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getAccessSecretVersionMethod()

public static MethodDescriptor<AccessSecretVersionRequest,AccessSecretVersionResponse> getAccessSecretVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<AccessSecretVersionRequest,AccessSecretVersionResponse>

getAddSecretVersionMethod()

public static MethodDescriptor<AddSecretVersionRequest,SecretVersion> getAddSecretVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<AddSecretVersionRequest,SecretVersion>

getCreateSecretMethod()

public static MethodDescriptor<CreateSecretRequest,Secret> getCreateSecretMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateSecretRequest,Secret>

getDeleteSecretMethod()

public static MethodDescriptor<DeleteSecretRequest,Empty> getDeleteSecretMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteSecretRequest,Empty>

getDestroySecretVersionMethod()

public static MethodDescriptor<DestroySecretVersionRequest,SecretVersion> getDestroySecretVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DestroySecretVersionRequest,SecretVersion>

getDisableSecretVersionMethod()

public static MethodDescriptor<DisableSecretVersionRequest,SecretVersion> getDisableSecretVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DisableSecretVersionRequest,SecretVersion>

getEnableSecretVersionMethod()

public static MethodDescriptor<EnableSecretVersionRequest,SecretVersion> getEnableSecretVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<EnableSecretVersionRequest,SecretVersion>

getGetIamPolicyMethod()

public static MethodDescriptor<GetIamPolicyRequest,Policy> getGetIamPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getGetSecretMethod()

public static MethodDescriptor<GetSecretRequest,Secret> getGetSecretMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetSecretRequest,Secret>

getGetSecretVersionMethod()

public static MethodDescriptor<GetSecretVersionRequest,SecretVersion> getGetSecretVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetSecretVersionRequest,SecretVersion>

getListSecretVersionsMethod()

public static MethodDescriptor<ListSecretVersionsRequest,ListSecretVersionsResponse> getListSecretVersionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListSecretVersionsRequest,ListSecretVersionsResponse>

getListSecretsMethod()

public static MethodDescriptor<ListSecretsRequest,ListSecretsResponse> getListSecretsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListSecretsRequest,ListSecretsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

public static MethodDescriptor<SetIamPolicyRequest,Policy> getSetIamPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

getTestIamPermissionsMethod()

public static MethodDescriptor<TestIamPermissionsRequest,TestIamPermissionsResponse> getTestIamPermissionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

getUpdateSecretMethod()

public static MethodDescriptor<UpdateSecretRequest,Secret> getUpdateSecretMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateSecretRequest,Secret>

newBlockingStub(Channel channel)

public static SecretManagerServiceGrpc.SecretManagerServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SecretManagerServiceGrpc.SecretManagerServiceBlockingStub

newFutureStub(Channel channel)

public static SecretManagerServiceGrpc.SecretManagerServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SecretManagerServiceGrpc.SecretManagerServiceFutureStub

newStub(Channel channel)

public static SecretManagerServiceGrpc.SecretManagerServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SecretManagerServiceGrpc.SecretManagerServiceStub