Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::SecretManagerCredential (v1.3.1)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::SecretManagerCredential.

A credential consisting of a username and password, where the password is stored in a Secret Manager resource. Note: Secret Manager charges apply.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#password_secret_version_name

def password_secret_version_name() -> ::String
Returns
  • (::String) — Required. The name of the Secret Manager resource that stores the password, in the form projects/project-id/secrets/secret-name/versions/version.

#password_secret_version_name=

def password_secret_version_name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the Secret Manager resource that stores the password, in the form projects/project-id/secrets/secret-name/versions/version.
Returns
  • (::String) — Required. The name of the Secret Manager resource that stores the password, in the form projects/project-id/secrets/secret-name/versions/version.

#username

def username() -> ::String
Returns
  • (::String) — Required. The username.

#username=

def username=(value) -> ::String
Parameter
  • value (::String) — Required. The username.
Returns
  • (::String) — Required. The username.