Class HttpJsonSecretManagerServiceStub
java.lang.Object
com.google.cloud.secretmanager.v1beta1.stub.SecretManagerServiceStub
com.google.cloud.secretmanager.v1beta1.stub.HttpJsonSecretManagerServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class HttpJsonSecretManagerServiceStub
extends SecretManagerServiceStub
REST stub implementation for the SecretManagerService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonSecretManagerServiceStub(SecretManagerServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonSecretManagerServiceStub, using the given settings.protectedHttpJsonSecretManagerServiceStub(SecretManagerServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonSecretManagerServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonSecretManagerServiceStubcreate(ClientContext clientContext) static final HttpJsonSecretManagerServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonSecretManagerServiceStubcreate(SecretManagerServiceStubSettings settings) UnaryCallable<DeleteSecretRequest,com.google.protobuf.Empty> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()void
-
Constructor Details
-
HttpJsonSecretManagerServiceStub
protected HttpJsonSecretManagerServiceStub(SecretManagerServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonSecretManagerServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
HttpJsonSecretManagerServiceStub
protected HttpJsonSecretManagerServiceStub(SecretManagerServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonSecretManagerServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonSecretManagerServiceStub create(SecretManagerServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonSecretManagerServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonSecretManagerServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
listSecretsCallable
- Overrides:
listSecretsCallablein classSecretManagerServiceStub
-
listSecretsPagedCallable
public UnaryCallable<ListSecretsRequest,SecretManagerServiceClient.ListSecretsPagedResponse> listSecretsPagedCallable()- Overrides:
listSecretsPagedCallablein classSecretManagerServiceStub
-
createSecretCallable
- Overrides:
createSecretCallablein classSecretManagerServiceStub
-
addSecretVersionCallable
- Overrides:
addSecretVersionCallablein classSecretManagerServiceStub
-
getSecretCallable
- Overrides:
getSecretCallablein classSecretManagerServiceStub
-
updateSecretCallable
- Overrides:
updateSecretCallablein classSecretManagerServiceStub
-
deleteSecretCallable
- Overrides:
deleteSecretCallablein classSecretManagerServiceStub
-
listSecretVersionsCallable
public UnaryCallable<ListSecretVersionsRequest,ListSecretVersionsResponse> listSecretVersionsCallable()- Overrides:
listSecretVersionsCallablein classSecretManagerServiceStub
-
listSecretVersionsPagedCallable
public UnaryCallable<ListSecretVersionsRequest,SecretManagerServiceClient.ListSecretVersionsPagedResponse> listSecretVersionsPagedCallable()- Overrides:
listSecretVersionsPagedCallablein classSecretManagerServiceStub
-
getSecretVersionCallable
- Overrides:
getSecretVersionCallablein classSecretManagerServiceStub
-
accessSecretVersionCallable
public UnaryCallable<AccessSecretVersionRequest,AccessSecretVersionResponse> accessSecretVersionCallable()- Overrides:
accessSecretVersionCallablein classSecretManagerServiceStub
-
disableSecretVersionCallable
- Overrides:
disableSecretVersionCallablein classSecretManagerServiceStub
-
enableSecretVersionCallable
- Overrides:
enableSecretVersionCallablein classSecretManagerServiceStub
-
destroySecretVersionCallable
- Overrides:
destroySecretVersionCallablein classSecretManagerServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classSecretManagerServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classSecretManagerServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classSecretManagerServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classSecretManagerServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,SecretManagerServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classSecretManagerServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classSecretManagerServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classSecretManagerServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-