Reference documentation and code samples for the Google Cloud Api Hub V1 Client class UserPasswordConfig.
Parameters to support Username and Password Authentication.
Generated from protobuf message google.cloud.apihub.v1.AuthConfig.UserPasswordConfig
Namespace
Google \ Cloud \ ApiHub \ V1 \ AuthConfigMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ username
string
Required. Username.
↳ password
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.
getUsername
Required. Username.
string
setUsername
Required. Username.
var
string
$this
getPassword
Required. Secret version reference containing the password.
The secretmanager.versions.access
permission should be
granted to the service account accessing the secret.
hasPassword
clearPassword
setPassword
Required. Secret version reference containing the password.
The secretmanager.versions.access
permission should be
granted to the service account accessing the secret.
$this

