public static class SecretManagerServiceSettings.Builder extends ClientSettings.Builder<SecretManagerServiceSettings,SecretManagerServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(SecretManagerServiceSettings settings) |
protected |
Builder(SecretManagerServiceStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
UnaryCallSettings.Builder<AccessSecretVersionRequest,AccessSecretVersionResponse> |
accessSecretVersionSettings()
Returns the builder for the settings used for calls to accessSecretVersion.
|
UnaryCallSettings.Builder<AddSecretVersionRequest,SecretVersion> |
addSecretVersionSettings()
Returns the builder for the settings used for calls to addSecretVersion.
|
SecretManagerServiceSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
SecretManagerServiceSettings |
build() |
UnaryCallSettings.Builder<CreateSecretRequest,Secret> |
createSecretSettings()
Returns the builder for the settings used for calls to createSecret.
|
UnaryCallSettings.Builder<DeleteSecretRequest,Empty> |
deleteSecretSettings()
Returns the builder for the settings used for calls to deleteSecret.
|
UnaryCallSettings.Builder<DestroySecretVersionRequest,SecretVersion> |
destroySecretVersionSettings()
Returns the builder for the settings used for calls to destroySecretVersion.
|
UnaryCallSettings.Builder<DisableSecretVersionRequest,SecretVersion> |
disableSecretVersionSettings()
Returns the builder for the settings used for calls to disableSecretVersion.
|
UnaryCallSettings.Builder<EnableSecretVersionRequest,SecretVersion> |
enableSecretVersionSettings()
Returns the builder for the settings used for calls to enableSecretVersion.
|
UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
|
UnaryCallSettings.Builder<GetSecretRequest,Secret> |
getSecretSettings()
Returns the builder for the settings used for calls to getSecret.
|
UnaryCallSettings.Builder<GetSecretVersionRequest,SecretVersion> |
getSecretVersionSettings()
Returns the builder for the settings used for calls to getSecretVersion.
|
SecretManagerServiceStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<ListSecretsRequest,ListSecretsResponse,SecretManagerServiceClient.ListSecretsPagedResponse> |
listSecretsSettings()
Returns the builder for the settings used for calls to listSecrets.
|
PagedCallSettings.Builder<ListSecretVersionsRequest,ListSecretVersionsResponse,SecretManagerServiceClient.ListSecretVersionsPagedResponse> |
listSecretVersionsSettings()
Returns the builder for the settings used for calls to listSecretVersions.
|
UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
|
UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
|
UnaryCallSettings.Builder<UpdateSecretRequest,Secret> |
updateSecretSettings()
Returns the builder for the settings used for calls to updateSecret.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(SecretManagerServiceSettings settings)
protected Builder(SecretManagerServiceStubSettings.Builder stubSettings)
public SecretManagerServiceStubSettings.Builder getStubSettingsBuilder()
public SecretManagerServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public PagedCallSettings.Builder<ListSecretsRequest,ListSecretsResponse,SecretManagerServiceClient.ListSecretsPagedResponse> listSecretsSettings()
public UnaryCallSettings.Builder<CreateSecretRequest,Secret> createSecretSettings()
public UnaryCallSettings.Builder<AddSecretVersionRequest,SecretVersion> addSecretVersionSettings()
public UnaryCallSettings.Builder<GetSecretRequest,Secret> getSecretSettings()
public UnaryCallSettings.Builder<UpdateSecretRequest,Secret> updateSecretSettings()
public UnaryCallSettings.Builder<DeleteSecretRequest,Empty> deleteSecretSettings()
public PagedCallSettings.Builder<ListSecretVersionsRequest,ListSecretVersionsResponse,SecretManagerServiceClient.ListSecretVersionsPagedResponse> listSecretVersionsSettings()
public UnaryCallSettings.Builder<GetSecretVersionRequest,SecretVersion> getSecretVersionSettings()
public UnaryCallSettings.Builder<AccessSecretVersionRequest,AccessSecretVersionResponse> accessSecretVersionSettings()
public UnaryCallSettings.Builder<DisableSecretVersionRequest,SecretVersion> disableSecretVersionSettings()
public UnaryCallSettings.Builder<EnableSecretVersionRequest,SecretVersion> enableSecretVersionSettings()
public UnaryCallSettings.Builder<DestroySecretVersionRequest,SecretVersion> destroySecretVersionSettings()
public UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public SecretManagerServiceSettings build() throws IOException
build
in class ClientSettings.Builder<SecretManagerServiceSettings,SecretManagerServiceSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.