Google Cloud Chronicle V1 Client - Class SftpSettings (0.7.1)

Reference documentation and code samples for the Google Cloud Chronicle V1 Client class SftpSettings.

SFTP settings.

Generated from protobuf message google.cloud.chronicle.v1.SftpSettings

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ authentication SftpAuth

Input only. Authentication.

↳ uri string

SFTP URI.

↳ source_type int

The URI source type.

↳ source_deletion_option int

Source deletion option.

getAuthentication

Input only. Authentication.

Returns
Type Description
SftpAuth|null

hasAuthentication

clearAuthentication

setAuthentication

Input only. Authentication.

Parameter
Name Description
var SftpAuth
Returns
Type Description
$this

getUri

SFTP URI.

Returns
Type Description
string

setUri

SFTP URI.

Parameter
Name Description
var string
Returns
Type Description
$this

getSourceType

The URI source type.

Returns
Type Description
int Enum of type URISourceType.

setSourceType

The URI source type.

Parameter
Name Description
var int

Enum of type URISourceType.

Returns
Type Description
$this

getSourceDeletionOption

Source deletion option.

Returns
Type Description
int Enum of type SourceDeletionOption.

setSourceDeletionOption

Source deletion option.

Parameter
Name Description
var int

Enum of type SourceDeletionOption.

Returns
Type Description
$this