Google Cloud Dataplex V1 Client - Class SessionSpec (0.1.6)

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

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

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.

Generated from protobuf field .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL];

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.

Generated from protobuf field .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL];

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.

Generated from protobuf field bool enable_fast_startup = 2 [(.google.api.field_behavior) = OPTIONAL];

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.

Generated from protobuf field bool enable_fast_startup = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
var bool
Returns
Type Description
$this