Summary of entries of Methods for secretmanager.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient
SecretManagerServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.secretmanager_v1.services.secret_manager_service.transports.base.SecretManagerServiceTransport, typing.Callable[[...], google.cloud.secretmanager_v1.services.secret_manager_service.transports.base.SecretManagerServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the secret manager service async client.
See more: google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.access_secret_version
access_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.AccessSecretVersionRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.service.AccessSecretVersionResponse
Accesses a xref_SecretVersion.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.add_secret_version
add_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.AddSecretVersionRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
payload: typing.Optional[
google.cloud.secretmanager_v1.types.resources.SecretPayload
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.resources.SecretVersion
Creates a new xref_SecretVersion containing secret data and attaches it to an existing xref_Secret.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.create_secret
create_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.CreateSecretRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
secret_id: typing.Optional[str] = None,
secret: typing.Optional[
google.cloud.secretmanager_v1.types.resources.Secret
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.resources.Secret
Creates a new xref_Secret containing no xref_SecretVersions.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.delete_secret
delete_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.DeleteSecretRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a xref_Secret.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.destroy_secret_version
destroy_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.DestroySecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.resources.SecretVersion
Destroys a xref_SecretVersion.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.disable_secret_version
disable_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.DisableSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.resources.SecretVersion
Disables a xref_SecretVersion.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.enable_secret_version
enable_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.EnableSecretVersionRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.resources.SecretVersion
Enables a xref_SecretVersion.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the access control policy for a secret.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.get_secret
get_secret(
request: typing.Optional[
typing.Union[google.cloud.secretmanager_v1.types.service.GetSecretRequest, dict]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.resources.Secret
Gets metadata for a given xref_Secret.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.get_secret_version
get_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.GetSecretVersionRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.resources.SecretVersion
Gets metadata for a xref_SecretVersion.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.secretmanager_v1.services.secret_manager_service.transports.base.SecretManagerServiceTransport
]
Returns an appropriate transport class.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.list_secret_versions
list_secret_versions(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.ListSecretVersionsRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.secretmanager_v1.services.secret_manager_service.pagers.ListSecretVersionsAsyncPager
)
Lists xref_SecretVersions.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.list_secrets
list_secrets(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.ListSecretsRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.secretmanager_v1.services.secret_manager_service.pagers.ListSecretsAsyncPager
)
Lists xref_Secrets.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_secret_path
parse_secret_path(path: str) -> typing.Dict[str, str]
Parses a secret path into its component segments.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_secret_version_path
parse_secret_version_path(path: str) -> typing.Dict[str, str]
Parses a secret_version path into its component segments.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_topic_path
parse_topic_path(path: str) -> typing.Dict[str, str]
Parses a topic path into its component segments.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.secret_path
secret_path(project: str, secret: str) -> str
Returns a fully-qualified secret string.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.secret_version_path
secret_version_path(project: str, secret: str, secret_version: str) -> str
Returns a fully-qualified secret_version string.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the access control policy on the specified secret.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns permissions that a caller has for the specified secret.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.topic_path
topic_path(project: str, topic: str) -> str
Returns a fully-qualified topic string.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceAsyncClient.update_secret
update_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.UpdateSecretRequest, dict
]
] = None,
*,
secret: typing.Optional[
google.cloud.secretmanager_v1.types.resources.Secret
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.resources.Secret
Updates metadata of an existing xref_Secret.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient
SecretManagerServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.secretmanager_v1.services.secret_manager_service.transports.base.SecretManagerServiceTransport, typing.Callable[[...], google.cloud.secretmanager_v1.services.secret_manager_service.transports.base.SecretManagerServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the secret manager service client.
See more: google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.exit
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.access_secret_version
access_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.AccessSecretVersionRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.service.AccessSecretVersionResponse
Accesses a xref_SecretVersion.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.add_secret_version
add_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.AddSecretVersionRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
payload: typing.Optional[
google.cloud.secretmanager_v1.types.resources.SecretPayload
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.resources.SecretVersion
Creates a new xref_SecretVersion containing secret data and attaches it to an existing xref_Secret.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.create_secret
create_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.CreateSecretRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
secret_id: typing.Optional[str] = None,
secret: typing.Optional[
google.cloud.secretmanager_v1.types.resources.Secret
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.resources.Secret
Creates a new xref_Secret containing no xref_SecretVersions.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.delete_secret
delete_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.DeleteSecretRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a xref_Secret.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.destroy_secret_version
destroy_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.DestroySecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.resources.SecretVersion
Destroys a xref_SecretVersion.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.disable_secret_version
disable_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.DisableSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.resources.SecretVersion
Disables a xref_SecretVersion.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.enable_secret_version
enable_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.EnableSecretVersionRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.resources.SecretVersion
Enables a xref_SecretVersion.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the access control policy for a secret.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.get_secret
get_secret(
request: typing.Optional[
typing.Union[google.cloud.secretmanager_v1.types.service.GetSecretRequest, dict]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.resources.Secret
Gets metadata for a given xref_Secret.
See more: google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.get_secret
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.get_secret_version
get_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.GetSecretVersionRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.resources.SecretVersion
Gets metadata for a xref_SecretVersion.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.list_secret_versions
list_secret_versions(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.ListSecretVersionsRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.secretmanager_v1.services.secret_manager_service.pagers.ListSecretVersionsPager
)
Lists xref_SecretVersions.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.list_secrets
list_secrets(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.ListSecretsRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.secretmanager_v1.services.secret_manager_service.pagers.ListSecretsPager
)
Lists xref_Secrets.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.parse_secret_path
parse_secret_path(path: str) -> typing.Dict[str, str]
Parses a secret path into its component segments.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.parse_secret_version_path
parse_secret_version_path(path: str) -> typing.Dict[str, str]
Parses a secret_version path into its component segments.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.parse_topic_path
parse_topic_path(path: str) -> typing.Dict[str, str]
Parses a topic path into its component segments.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.secret_path
secret_path(project: str, secret: str) -> str
Returns a fully-qualified secret string.
See more: google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.secret_path
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.secret_version_path
secret_version_path(project: str, secret: str, secret_version: str) -> str
Returns a fully-qualified secret_version string.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the access control policy on the specified secret.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns permissions that a caller has for the specified secret.
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.topic_path
topic_path(project: str, topic: str) -> str
Returns a fully-qualified topic string.
See more: google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.topic_path
google.cloud.secretmanager_v1.services.secret_manager_service.SecretManagerServiceClient.update_secret
update_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1.types.service.UpdateSecretRequest, dict
]
] = None,
*,
secret: typing.Optional[
google.cloud.secretmanager_v1.types.resources.Secret
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1.types.resources.Secret
Updates metadata of an existing xref_Secret.
google.cloud.secretmanager_v1.services.secret_manager_service.pagers.ListSecretVersionsAsyncPager
ListSecretVersionsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.secretmanager_v1.types.service.ListSecretVersionsResponse
],
],
request: google.cloud.secretmanager_v1.types.service.ListSecretVersionsRequest,
response: google.cloud.secretmanager_v1.types.service.ListSecretVersionsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.secretmanager_v1.services.secret_manager_service.pagers.ListSecretVersionsAsyncPager
google.cloud.secretmanager_v1.services.secret_manager_service.pagers.ListSecretVersionsPager
ListSecretVersionsPager(
method: typing.Callable[
[...], google.cloud.secretmanager_v1.types.service.ListSecretVersionsResponse
],
request: google.cloud.secretmanager_v1.types.service.ListSecretVersionsRequest,
response: google.cloud.secretmanager_v1.types.service.ListSecretVersionsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.secretmanager_v1.services.secret_manager_service.pagers.ListSecretVersionsPager
google.cloud.secretmanager_v1.services.secret_manager_service.pagers.ListSecretsAsyncPager
ListSecretsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.secretmanager_v1.types.service.ListSecretsResponse
],
],
request: google.cloud.secretmanager_v1.types.service.ListSecretsRequest,
response: google.cloud.secretmanager_v1.types.service.ListSecretsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.secretmanager_v1.services.secret_manager_service.pagers.ListSecretsAsyncPager
google.cloud.secretmanager_v1.services.secret_manager_service.pagers.ListSecretsPager
ListSecretsPager(
method: typing.Callable[
[...], google.cloud.secretmanager_v1.types.service.ListSecretsResponse
],
request: google.cloud.secretmanager_v1.types.service.ListSecretsRequest,
response: google.cloud.secretmanager_v1.types.service.ListSecretsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.secretmanager_v1.services.secret_manager_service.pagers.ListSecretsPager
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient
SecretManagerServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.secretmanager_v1beta1.services.secret_manager_service.transports.base.SecretManagerServiceTransport, typing.Callable[[...], google.cloud.secretmanager_v1beta1.services.secret_manager_service.transports.base.SecretManagerServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the secret manager service async client.
See more: google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.access_secret_version
access_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.AccessSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.service.AccessSecretVersionResponse
Accesses a xref_SecretVersion.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.add_secret_version
add_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.AddSecretVersionRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
payload: typing.Optional[
google.cloud.secretmanager_v1beta1.types.resources.SecretPayload
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.resources.SecretVersion
Creates a new xref_SecretVersion containing secret data and attaches it to an existing xref_Secret.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.create_secret
create_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.CreateSecretRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
secret_id: typing.Optional[str] = None,
secret: typing.Optional[
google.cloud.secretmanager_v1beta1.types.resources.Secret
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.resources.Secret
Creates a new xref_Secret containing no xref_SecretVersions.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.delete_secret
delete_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.DeleteSecretRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a xref_Secret.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.destroy_secret_version
destroy_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.DestroySecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.resources.SecretVersion
Destroys a xref_SecretVersion.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.disable_secret_version
disable_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.DisableSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.resources.SecretVersion
Disables a xref_SecretVersion.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.enable_secret_version
enable_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.EnableSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.resources.SecretVersion
Enables a xref_SecretVersion.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the access control policy for a secret.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.get_secret
get_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.GetSecretRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.resources.Secret
Gets metadata for a given xref_Secret.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.get_secret_version
get_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.GetSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.resources.SecretVersion
Gets metadata for a xref_SecretVersion.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.secretmanager_v1beta1.services.secret_manager_service.transports.base.SecretManagerServiceTransport
]
Returns an appropriate transport class.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.list_secret_versions
list_secret_versions(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.ListSecretVersionsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.secretmanager_v1beta1.services.secret_manager_service.pagers.ListSecretVersionsAsyncPager
)
Lists xref_SecretVersions.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.list_secrets
list_secrets(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.ListSecretsRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.secretmanager_v1beta1.services.secret_manager_service.pagers.ListSecretsAsyncPager
)
Lists xref_Secrets.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_secret_path
parse_secret_path(path: str) -> typing.Dict[str, str]
Parses a secret path into its component segments.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_secret_version_path
parse_secret_version_path(path: str) -> typing.Dict[str, str]
Parses a secret_version path into its component segments.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.secret_path
secret_path(project: str, secret: str) -> str
Returns a fully-qualified secret string.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.secret_version_path
secret_version_path(project: str, secret: str, secret_version: str) -> str
Returns a fully-qualified secret_version string.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the access control policy on the specified secret.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns permissions that a caller has for the specified secret.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceAsyncClient.update_secret
update_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.UpdateSecretRequest, dict
]
] = None,
*,
secret: typing.Optional[
google.cloud.secretmanager_v1beta1.types.resources.Secret
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.resources.Secret
Updates metadata of an existing xref_Secret.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient
SecretManagerServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.secretmanager_v1beta1.services.secret_manager_service.transports.base.SecretManagerServiceTransport, typing.Callable[[...], google.cloud.secretmanager_v1beta1.services.secret_manager_service.transports.base.SecretManagerServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the secret manager service client.
See more: google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.exit
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.access_secret_version
access_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.AccessSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.service.AccessSecretVersionResponse
Accesses a xref_SecretVersion.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.add_secret_version
add_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.AddSecretVersionRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
payload: typing.Optional[
google.cloud.secretmanager_v1beta1.types.resources.SecretPayload
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.resources.SecretVersion
Creates a new xref_SecretVersion containing secret data and attaches it to an existing xref_Secret.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.create_secret
create_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.CreateSecretRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
secret_id: typing.Optional[str] = None,
secret: typing.Optional[
google.cloud.secretmanager_v1beta1.types.resources.Secret
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.resources.Secret
Creates a new xref_Secret containing no xref_SecretVersions.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.delete_secret
delete_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.DeleteSecretRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a xref_Secret.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.destroy_secret_version
destroy_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.DestroySecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.resources.SecretVersion
Destroys a xref_SecretVersion.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.disable_secret_version
disable_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.DisableSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.resources.SecretVersion
Disables a xref_SecretVersion.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.enable_secret_version
enable_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.EnableSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.resources.SecretVersion
Enables a xref_SecretVersion.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the access control policy for a secret.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.get_secret
get_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.GetSecretRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.resources.Secret
Gets metadata for a given xref_Secret.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.get_secret_version
get_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.GetSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.resources.SecretVersion
Gets metadata for a xref_SecretVersion.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.list_secret_versions
list_secret_versions(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.ListSecretVersionsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.secretmanager_v1beta1.services.secret_manager_service.pagers.ListSecretVersionsPager
)
Lists xref_SecretVersions.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.list_secrets
list_secrets(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.ListSecretsRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.secretmanager_v1beta1.services.secret_manager_service.pagers.ListSecretsPager
)
Lists xref_Secrets.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.parse_secret_path
parse_secret_path(path: str) -> typing.Dict[str, str]
Parses a secret path into its component segments.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.parse_secret_version_path
parse_secret_version_path(path: str) -> typing.Dict[str, str]
Parses a secret_version path into its component segments.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.secret_path
secret_path(project: str, secret: str) -> str
Returns a fully-qualified secret string.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.secret_version_path
secret_version_path(project: str, secret: str, secret_version: str) -> str
Returns a fully-qualified secret_version string.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the access control policy on the specified secret.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns permissions that a caller has for the specified secret.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.SecretManagerServiceClient.update_secret
update_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta1.types.service.UpdateSecretRequest, dict
]
] = None,
*,
secret: typing.Optional[
google.cloud.secretmanager_v1beta1.types.resources.Secret
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta1.types.resources.Secret
Updates metadata of an existing xref_Secret.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.pagers.ListSecretVersionsAsyncPager
ListSecretVersionsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.secretmanager_v1beta1.types.service.ListSecretVersionsResponse
],
],
request: google.cloud.secretmanager_v1beta1.types.service.ListSecretVersionsRequest,
response: google.cloud.secretmanager_v1beta1.types.service.ListSecretVersionsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.secretmanager_v1beta1.services.secret_manager_service.pagers.ListSecretVersionsPager
ListSecretVersionsPager(
method: typing.Callable[
[...],
google.cloud.secretmanager_v1beta1.types.service.ListSecretVersionsResponse,
],
request: google.cloud.secretmanager_v1beta1.types.service.ListSecretVersionsRequest,
response: google.cloud.secretmanager_v1beta1.types.service.ListSecretVersionsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.secretmanager_v1beta1.services.secret_manager_service.pagers.ListSecretVersionsPager
google.cloud.secretmanager_v1beta1.services.secret_manager_service.pagers.ListSecretsAsyncPager
ListSecretsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.secretmanager_v1beta1.types.service.ListSecretsResponse
],
],
request: google.cloud.secretmanager_v1beta1.types.service.ListSecretsRequest,
response: google.cloud.secretmanager_v1beta1.types.service.ListSecretsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.secretmanager_v1beta1.services.secret_manager_service.pagers.ListSecretsAsyncPager
google.cloud.secretmanager_v1beta1.services.secret_manager_service.pagers.ListSecretsPager
ListSecretsPager(
method: typing.Callable[
[...], google.cloud.secretmanager_v1beta1.types.service.ListSecretsResponse
],
request: google.cloud.secretmanager_v1beta1.types.service.ListSecretsRequest,
response: google.cloud.secretmanager_v1beta1.types.service.ListSecretsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.secretmanager_v1beta1.services.secret_manager_service.pagers.ListSecretsPager
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient
SecretManagerServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.secretmanager_v1beta2.services.secret_manager_service.transports.base.SecretManagerServiceTransport, typing.Callable[[...], google.cloud.secretmanager_v1beta2.services.secret_manager_service.transports.base.SecretManagerServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the secret manager service async client.
See more: google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.access_secret_version
access_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.AccessSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.service.AccessSecretVersionResponse
Accesses a xref_SecretVersion.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.add_secret_version
add_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.AddSecretVersionRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
payload: typing.Optional[
google.cloud.secretmanager_v1beta2.types.resources.SecretPayload
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.resources.SecretVersion
Creates a new xref_SecretVersion containing secret data and attaches it to an existing xref_Secret.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.create_secret
create_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.CreateSecretRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
secret_id: typing.Optional[str] = None,
secret: typing.Optional[
google.cloud.secretmanager_v1beta2.types.resources.Secret
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.resources.Secret
Creates a new xref_Secret containing no xref_SecretVersions.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.delete_secret
delete_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.DeleteSecretRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a xref_Secret.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.destroy_secret_version
destroy_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.DestroySecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.resources.SecretVersion
Destroys a xref_SecretVersion.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.disable_secret_version
disable_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.DisableSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.resources.SecretVersion
Disables a xref_SecretVersion.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.enable_secret_version
enable_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.EnableSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.resources.SecretVersion
Enables a xref_SecretVersion.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the access control policy for a secret.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.get_secret
get_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.GetSecretRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.resources.Secret
Gets metadata for a given xref_Secret.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.get_secret_version
get_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.GetSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.resources.SecretVersion
Gets metadata for a xref_SecretVersion.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.secretmanager_v1beta2.services.secret_manager_service.transports.base.SecretManagerServiceTransport
]
Returns an appropriate transport class.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.list_secret_versions
list_secret_versions(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.ListSecretVersionsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.secretmanager_v1beta2.services.secret_manager_service.pagers.ListSecretVersionsAsyncPager
)
Lists xref_SecretVersions.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.list_secrets
list_secrets(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.ListSecretsRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.secretmanager_v1beta2.services.secret_manager_service.pagers.ListSecretsAsyncPager
)
Lists xref_Secrets.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_secret_path
parse_secret_path(path: str) -> typing.Dict[str, str]
Parses a secret path into its component segments.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_secret_version_path
parse_secret_version_path(path: str) -> typing.Dict[str, str]
Parses a secret_version path into its component segments.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.parse_topic_path
parse_topic_path(path: str) -> typing.Dict[str, str]
Parses a topic path into its component segments.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.secret_path
secret_path(project: str, secret: str) -> str
Returns a fully-qualified secret string.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.secret_version_path
secret_version_path(project: str, secret: str, secret_version: str) -> str
Returns a fully-qualified secret_version string.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the access control policy on the specified secret.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns permissions that a caller has for the specified secret.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.topic_path
topic_path(project: str, topic: str) -> str
Returns a fully-qualified topic string.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceAsyncClient.update_secret
update_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.UpdateSecretRequest, dict
]
] = None,
*,
secret: typing.Optional[
google.cloud.secretmanager_v1beta2.types.resources.Secret
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.resources.Secret
Updates metadata of an existing xref_Secret.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient
SecretManagerServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.secretmanager_v1beta2.services.secret_manager_service.transports.base.SecretManagerServiceTransport, typing.Callable[[...], google.cloud.secretmanager_v1beta2.services.secret_manager_service.transports.base.SecretManagerServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the secret manager service client.
See more: google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.exit
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.access_secret_version
access_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.AccessSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.service.AccessSecretVersionResponse
Accesses a xref_SecretVersion.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.add_secret_version
add_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.AddSecretVersionRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
payload: typing.Optional[
google.cloud.secretmanager_v1beta2.types.resources.SecretPayload
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.resources.SecretVersion
Creates a new xref_SecretVersion containing secret data and attaches it to an existing xref_Secret.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.create_secret
create_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.CreateSecretRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
secret_id: typing.Optional[str] = None,
secret: typing.Optional[
google.cloud.secretmanager_v1beta2.types.resources.Secret
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.resources.Secret
Creates a new xref_Secret containing no xref_SecretVersions.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.delete_secret
delete_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.DeleteSecretRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a xref_Secret.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.destroy_secret_version
destroy_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.DestroySecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.resources.SecretVersion
Destroys a xref_SecretVersion.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.disable_secret_version
disable_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.DisableSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.resources.SecretVersion
Disables a xref_SecretVersion.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.enable_secret_version
enable_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.EnableSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.resources.SecretVersion
Enables a xref_SecretVersion.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the access control policy for a secret.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.get_secret
get_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.GetSecretRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.resources.Secret
Gets metadata for a given xref_Secret.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.get_secret_version
get_secret_version(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.GetSecretVersionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.resources.SecretVersion
Gets metadata for a xref_SecretVersion.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.list_secret_versions
list_secret_versions(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.ListSecretVersionsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.secretmanager_v1beta2.services.secret_manager_service.pagers.ListSecretVersionsPager
)
Lists xref_SecretVersions.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.list_secrets
list_secrets(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.ListSecretsRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.secretmanager_v1beta2.services.secret_manager_service.pagers.ListSecretsPager
)
Lists xref_Secrets.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.parse_secret_path
parse_secret_path(path: str) -> typing.Dict[str, str]
Parses a secret path into its component segments.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.parse_secret_version_path
parse_secret_version_path(path: str) -> typing.Dict[str, str]
Parses a secret_version path into its component segments.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.parse_topic_path
parse_topic_path(path: str) -> typing.Dict[str, str]
Parses a topic path into its component segments.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.secret_path
secret_path(project: str, secret: str) -> str
Returns a fully-qualified secret string.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.secret_version_path
secret_version_path(project: str, secret: str, secret_version: str) -> str
Returns a fully-qualified secret_version string.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the access control policy on the specified secret.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns permissions that a caller has for the specified secret.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.topic_path
topic_path(project: str, topic: str) -> str
Returns a fully-qualified topic string.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.SecretManagerServiceClient.update_secret
update_secret(
request: typing.Optional[
typing.Union[
google.cloud.secretmanager_v1beta2.types.service.UpdateSecretRequest, dict
]
] = None,
*,
secret: typing.Optional[
google.cloud.secretmanager_v1beta2.types.resources.Secret
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.secretmanager_v1beta2.types.resources.Secret
Updates metadata of an existing xref_Secret.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.pagers.ListSecretVersionsAsyncPager
ListSecretVersionsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.secretmanager_v1beta2.types.service.ListSecretVersionsResponse
],
],
request: google.cloud.secretmanager_v1beta2.types.service.ListSecretVersionsRequest,
response: google.cloud.secretmanager_v1beta2.types.service.ListSecretVersionsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.secretmanager_v1beta2.services.secret_manager_service.pagers.ListSecretVersionsPager
ListSecretVersionsPager(
method: typing.Callable[
[...],
google.cloud.secretmanager_v1beta2.types.service.ListSecretVersionsResponse,
],
request: google.cloud.secretmanager_v1beta2.types.service.ListSecretVersionsRequest,
response: google.cloud.secretmanager_v1beta2.types.service.ListSecretVersionsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.secretmanager_v1beta2.services.secret_manager_service.pagers.ListSecretVersionsPager
google.cloud.secretmanager_v1beta2.services.secret_manager_service.pagers.ListSecretsAsyncPager
ListSecretsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.secretmanager_v1beta2.types.service.ListSecretsResponse
],
],
request: google.cloud.secretmanager_v1beta2.types.service.ListSecretsRequest,
response: google.cloud.secretmanager_v1beta2.types.service.ListSecretsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.secretmanager_v1beta2.services.secret_manager_service.pagers.ListSecretsAsyncPager
google.cloud.secretmanager_v1beta2.services.secret_manager_service.pagers.ListSecretsPager
ListSecretsPager(
method: typing.Callable[
[...], google.cloud.secretmanager_v1beta2.types.service.ListSecretsResponse
],
request: google.cloud.secretmanager_v1beta2.types.service.ListSecretsRequest,
response: google.cloud.secretmanager_v1beta2.types.service.ListSecretsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.secretmanager_v1beta2.services.secret_manager_service.pagers.ListSecretsPager