Reference documentation and code samples for the Google Cloud Chronicle V1 Client class UsernameSecretAuth.
Info for username and secret based authentication.
Generated from protobuf message google.cloud.chronicle.v1.UsernameSecretAuth
Namespace
Google \ Cloud \ Chronicle \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ user |
string
Username of an identity used for authentication. |
↳ secret |
string
Secret of the account identified by user_name. |
getUser
Username of an identity used for authentication.
| Returns | |
|---|---|
| Type | Description |
string |
|
setUser
Username of an identity used for authentication.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSecret
Secret of the account identified by user_name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSecret
Secret of the account identified by user_name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|