Class SecretManagerServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<SecretManagerServiceSettings,SecretManagerServiceSettings.Builder>
com.google.cloud.secretmanager.v1beta2.SecretManagerServiceSettings.Builder
- Enclosing class:
- SecretManagerServiceSettings
public static class SecretManagerServiceSettings.Builder
extends ClientSettings.Builder<SecretManagerServiceSettings,SecretManagerServiceSettings.Builder>
Builder for SecretManagerServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(SecretManagerServiceSettings settings) protectedBuilder(SecretManagerServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to accessSecretVersion.Returns the builder for the settings used for calls to addSecretVersion.applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createSecret.UnaryCallSettings.Builder<DeleteSecretRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteSecret.Returns the builder for the settings used for calls to destroySecretVersion.Returns the builder for the settings used for calls to disableSecretVersion.Returns the builder for the settings used for calls to enableSecretVersion.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getSecret.Returns the builder for the settings used for calls to getSecretVersion.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, SecretManagerServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListSecretsRequest,ListSecretsResponse, SecretManagerServiceClient.ListSecretsPagedResponse> Returns the builder for the settings used for calls to listSecrets.PagedCallSettings.Builder<ListSecretVersionsRequest,ListSecretVersionsResponse, SecretManagerServiceClient.ListSecretVersionsPagedResponse> Returns the builder for the settings used for calls to listSecretVersions.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.Returns the builder for the settings used for calls to updateSecret.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public SecretManagerServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
listSecretsSettings
public PagedCallSettings.Builder<ListSecretsRequest,ListSecretsResponse, listSecretsSettings()SecretManagerServiceClient.ListSecretsPagedResponse> Returns the builder for the settings used for calls to listSecrets. -
createSecretSettings
Returns the builder for the settings used for calls to createSecret. -
addSecretVersionSettings
Returns the builder for the settings used for calls to addSecretVersion. -
getSecretSettings
Returns the builder for the settings used for calls to getSecret. -
updateSecretSettings
Returns the builder for the settings used for calls to updateSecret. -
deleteSecretSettings
public UnaryCallSettings.Builder<DeleteSecretRequest,com.google.protobuf.Empty> deleteSecretSettings()Returns the builder for the settings used for calls to deleteSecret. -
listSecretVersionsSettings
public PagedCallSettings.Builder<ListSecretVersionsRequest,ListSecretVersionsResponse, listSecretVersionsSettings()SecretManagerServiceClient.ListSecretVersionsPagedResponse> Returns the builder for the settings used for calls to listSecretVersions. -
getSecretVersionSettings
Returns the builder for the settings used for calls to getSecretVersion. -
accessSecretVersionSettings
public UnaryCallSettings.Builder<AccessSecretVersionRequest,AccessSecretVersionResponse> accessSecretVersionSettings()Returns the builder for the settings used for calls to accessSecretVersion. -
disableSecretVersionSettings
public UnaryCallSettings.Builder<DisableSecretVersionRequest,SecretVersion> disableSecretVersionSettings()Returns the builder for the settings used for calls to disableSecretVersion. -
enableSecretVersionSettings
public UnaryCallSettings.Builder<EnableSecretVersionRequest,SecretVersion> enableSecretVersionSettings()Returns the builder for the settings used for calls to enableSecretVersion. -
destroySecretVersionSettings
public UnaryCallSettings.Builder<DestroySecretVersionRequest,SecretVersion> destroySecretVersionSettings()Returns the builder for the settings used for calls to destroySecretVersion. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()SecretManagerServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classClientSettings.Builder<SecretManagerServiceSettings,SecretManagerServiceSettings.Builder> - Throws:
IOException
-