Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::AuthConfig::UserPasswordConfig.
Parameters to support Username and Password Authentication.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#password
def password() -> ::Google::Cloud::ApiHub::V1::Secret
Returns
-
(::Google::Cloud::ApiHub::V1::Secret) — Required. Secret version reference containing the password.
The
secretmanager.versions.access
permission should be granted to the service account accessing the secret.
#password=
def password=(value) -> ::Google::Cloud::ApiHub::V1::Secret
Parameter
-
value (::Google::Cloud::ApiHub::V1::Secret) — Required. Secret version reference containing the password.
The
secretmanager.versions.access
permission should be granted to the service account accessing the secret.
Returns
-
(::Google::Cloud::ApiHub::V1::Secret) — Required. Secret version reference containing the password.
The
secretmanager.versions.access
permission should be granted to the service account accessing the secret.
#username
def username() -> ::String
Returns
- (::String) — Required. Username.
#username=
def username=(value) -> ::String
Parameter
- value (::String) — Required. Username.
Returns
- (::String) — Required. Username.