Google Cloud Dataplex V1 Client - Class SessionSpec (0.15.1)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class SessionSpec.

Configuration for sessions created for this environment.

Generated from protobuf message google.cloud.dataplex.v1.Environment.SessionSpec

Namespace

Google \ Cloud \ Dataplex \ V1 \ Environment

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ max_idle_duration Google\Protobuf\Duration

Optional. The idle time configuration of the session. The session will be auto-terminated at the end of this period.

↳ enable_fast_startup bool

Optional. If True, this causes sessions to be pre-created and available for faster startup to enable interactive exploration use-cases. This defaults to False to avoid additional billed charges. These can only be set to True for the environment with name set to "default", and with default configuration.

getMaxIdleDuration

Optional. The idle time configuration of the session. The session will be auto-terminated at the end of this period.

Returns
Type Description
Google\Protobuf\Duration|null

hasMaxIdleDuration

clearMaxIdleDuration

setMaxIdleDuration

Optional. The idle time configuration of the session. The session will be auto-terminated at the end of this period.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getEnableFastStartup

Optional. If True, this causes sessions to be pre-created and available for faster startup to enable interactive exploration use-cases. This defaults to False to avoid additional billed charges. These can only be set to True for the environment with name set to "default", and with default configuration.

Returns
Type Description
bool

setEnableFastStartup

Optional. If True, this causes sessions to be pre-created and available for faster startup to enable interactive exploration use-cases. This defaults to False to avoid additional billed charges. These can only be set to True for the environment with name set to "default", and with default configuration.

Parameter
Name Description
var bool
Returns
Type Description
$this