Google Cloud Dataplex V1 Client - Class SessionSpec (0.10.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this