Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class SecretManagerServiceConnection (2.31.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.31.0keyboard_arrow_down
Functions
virtual options()
Returns
Type
Description
Options
virtual ListSecrets(google::cloud::secretmanager::v1::ListSecretsRequest)
Parameter
Name
Description
request
google::cloud::secretmanager::v1::ListSecretsRequest
Returns
Type
Description
StreamRange< google::cloud::secretmanager::v1::Secret >
virtual CreateSecret(google::cloud::secretmanager::v1::CreateSecretRequest const &)
Parameter
Name
Description
request
google::cloud::secretmanager::v1::CreateSecretRequest const &
Returns
Type
Description
StatusOr< google::cloud::secretmanager::v1::Secret >
virtual AddSecretVersion(google::cloud::secretmanager::v1::AddSecretVersionRequest const &)
Parameter
Name
Description
request
google::cloud::secretmanager::v1::AddSecretVersionRequest const &
Returns
Type
Description
StatusOr< google::cloud::secretmanager::v1::SecretVersion >
virtual GetSecret(google::cloud::secretmanager::v1::GetSecretRequest const &)
Parameter
Name
Description
request
google::cloud::secretmanager::v1::GetSecretRequest const &
Returns
Type
Description
StatusOr< google::cloud::secretmanager::v1::Secret >
virtual UpdateSecret(google::cloud::secretmanager::v1::UpdateSecretRequest const &)
Parameter
Name
Description
request
google::cloud::secretmanager::v1::UpdateSecretRequest const &
Returns
Type
Description
StatusOr< google::cloud::secretmanager::v1::Secret >
virtual DeleteSecret(google::cloud::secretmanager::v1::DeleteSecretRequest const &)
Parameter
Name
Description
request
google::cloud::secretmanager::v1::DeleteSecretRequest const &
Returns
Type
Description
Status
virtual ListSecretVersions(google::cloud::secretmanager::v1::ListSecretVersionsRequest)
Parameter
Name
Description
request
google::cloud::secretmanager::v1::ListSecretVersionsRequest
Returns
Type
Description
StreamRange< google::cloud::secretmanager::v1::SecretVersion >
virtual GetSecretVersion(google::cloud::secretmanager::v1::GetSecretVersionRequest const &)
Parameter
Name
Description
request
google::cloud::secretmanager::v1::GetSecretVersionRequest const &
Returns
Type
Description
StatusOr< google::cloud::secretmanager::v1::SecretVersion >
virtual AccessSecretVersion(google::cloud::secretmanager::v1::AccessSecretVersionRequest const &)
Parameter
Name
Description
request
google::cloud::secretmanager::v1::AccessSecretVersionRequest const &
Returns
Type
Description
StatusOr< google::cloud::secretmanager::v1::AccessSecretVersionResponse >
virtual DisableSecretVersion(google::cloud::secretmanager::v1::DisableSecretVersionRequest const &)
Parameter
Name
Description
request
google::cloud::secretmanager::v1::DisableSecretVersionRequest const &
Returns
Type
Description
StatusOr< google::cloud::secretmanager::v1::SecretVersion >
virtual EnableSecretVersion(google::cloud::secretmanager::v1::EnableSecretVersionRequest const &)
Parameter
Name
Description
request
google::cloud::secretmanager::v1::EnableSecretVersionRequest const &
Returns
Type
Description
StatusOr< google::cloud::secretmanager::v1::SecretVersion >
virtual DestroySecretVersion(google::cloud::secretmanager::v1::DestroySecretVersionRequest const &)
Parameter
Name
Description
request
google::cloud::secretmanager::v1::DestroySecretVersionRequest const &
Returns
Type
Description
StatusOr< google::cloud::secretmanager::v1::SecretVersion >
virtual SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &)
Parameter
Name
Description
request
google::iam::v1::SetIamPolicyRequest const &
Returns
Type
Description
StatusOr< google::iam::v1::Policy >
virtual GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &)
Parameter
Name
Description
request
google::iam::v1::GetIamPolicyRequest const &
Returns
Type
Description
StatusOr< google::iam::v1::Policy >
virtual TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &)
Parameter
Name
Description
request
google::iam::v1::TestIamPermissionsRequest const &
Returns
Type
Description
StatusOr< google::iam::v1::TestIamPermissionsResponse >
virtual ListLocations(google::cloud::location::ListLocationsRequest)
Parameter
Name
Description
request
google::cloud::location::ListLocationsRequest
Returns
Type
Description
StreamRange< google::cloud::location::Location >
virtual GetLocation(google::cloud::location::GetLocationRequest const &)
Parameter
Name
Description
request
google::cloud::location::GetLocationRequest const &
Returns
Type
Description
StatusOr< google::cloud::location::Location >
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-26 UTC."],[[["This webpage details the `SecretManagerServiceConnection` object, which provides an interface with virtual methods for `SecretManagerServiceClient` operations."],["The `SecretManagerServiceConnection` class allows for custom behavior injection during testing using objects like Google Mock."],["The content includes documentation for multiple versions of the `SecretManagerServiceConnection` class, with version 2.37.0-rc being the latest release candidate."],["Users can create concrete instances using `MakeSecretManagerServiceConnection()` and utilize `secretmanager_v1_mocks::MockSecretManagerServiceConnection` for mocking purposes."],["The documentation covers various functions including managing secrets, versions, IAM policies, and locations, each with their respective parameter and return types."]]],[]]