Reference documentation and code samples for the Google Cloud Chronicle V1 Client class SftpAuth.
SFTP Auth.
Generated from protobuf message google.cloud.chronicle.v1.SftpAuth
Namespace
Google \ Cloud \ Chronicle \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ username |
string
Username. Used for username and password authentication. |
↳ password |
string
Password. Used for username and password authentication. |
↳ private_key |
string
Private key. Used for private key authentication. |
↳ private_key_passphrase |
string
Private key passphrase. Used for private key authentication. |
getUsername
Username. Used for username and password authentication.
| Returns | |
|---|---|
| Type | Description |
string |
|
setUsername
Username. Used for username and password authentication.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPassword
Password. Used for username and password authentication.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPassword
Password. Used for username and password authentication.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPrivateKey
Private key. Used for private key authentication.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPrivateKey
Private key. Used for private key authentication.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPrivateKeyPassphrase
Private key passphrase. Used for private key authentication.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPrivateKeyPassphrase
Private key passphrase. Used for private key authentication.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|