Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentSessionSpec
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentSessionSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
Configuration for sessions created for this environment.
Instance Attribute Summary collapse
-
#enable_fast_startup ⇒ Boolean
(also: #enable_fast_startup?)
Optional.
-
#max_idle_duration ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1EnvironmentSessionSpec
constructor
A new instance of GoogleCloudDataplexV1EnvironmentSessionSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1EnvironmentSessionSpec
Returns a new instance of GoogleCloudDataplexV1EnvironmentSessionSpec.
4658 4659 4660 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4658 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_fast_startup ⇒ Boolean Also known as: enable_fast_startup?
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.
Corresponds to the JSON property enableFastStartup
4649 4650 4651 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4649 def enable_fast_startup @enable_fast_startup end |
#max_idle_duration ⇒ String
Optional. The idle time configuration of the session. The session will be auto-
terminated at the end of this period.
Corresponds to the JSON property maxIdleDuration
4656 4657 4658 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4656 def max_idle_duration @max_idle_duration end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4663 4664 4665 4666 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4663 def update!(**args) @enable_fast_startup = args[:enable_fast_startup] if args.key?(:enable_fast_startup) @max_idle_duration = args[:max_idle_duration] if args.key?(:max_idle_duration) end |