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
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.

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

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.

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

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.

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

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.

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this