Class: Google::Cloud::Dataplex::V1::SessionEvent
- Inherits:
-
Object
- Object
- Google::Cloud::Dataplex::V1::SessionEvent
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataplex/v1/logs.rb
Overview
These messages contain information about sessions within an environment. The monitored resource is 'Environment'.
Defined Under Namespace
Modules: EventType Classes: QueryDetail
Instance Attribute Summary collapse
-
#event_succeeded ⇒ ::Boolean
The status of the event.
-
#fast_startup_enabled ⇒ ::Boolean
If the session is associated with an environment with fast startup enabled, and was created before being assigned to a user.
-
#message ⇒ ::String
The log message.
-
#query ⇒ ::Google::Cloud::Dataplex::V1::SessionEvent::QueryDetail
The execution details of the query.
-
#session_id ⇒ ::String
Unique identifier for the session.
-
#type ⇒ ::Google::Cloud::Dataplex::V1::SessionEvent::EventType
The type of the event.
-
#unassigned_duration ⇒ ::Google::Protobuf::Duration
The idle duration of a warm pooled session before it is assigned to user.
-
#user_id ⇒ ::String
The information about the user that created the session.
Instance Attribute Details
#event_succeeded ⇒ ::Boolean
Returns The status of the event.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 339 class SessionEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Execution details of the query. # @!attribute [rw] query_id # @return [::String] # The unique Query id identifying the query. # @!attribute [rw] query_text # @return [::String] # The query text executed. # @!attribute [rw] engine # @return [::Google::Cloud::Dataplex::V1::SessionEvent::QueryDetail::Engine] # Query Execution engine. # @!attribute [rw] duration # @return [::Google::Protobuf::Duration] # Time taken for execution of the query. # @!attribute [rw] result_size_bytes # @return [::Integer] # The size of results the query produced. # @!attribute [rw] data_processed_bytes # @return [::Integer] # The data processed by the query. class QueryDetail include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Query Execution engine. module Engine # An unspecified Engine type. ENGINE_UNSPECIFIED = 0 # Spark-sql engine is specified in Query. SPARK_SQL = 1 # BigQuery engine is specified in Query. BIGQUERY = 2 end end # The type of the event. module EventType # An unspecified event type. EVENT_TYPE_UNSPECIFIED = 0 # Event when the session is assigned to a user. START = 1 # Event for stop of a session. STOP = 2 # Query events in the session. QUERY = 3 # Event for creation of a cluster. It is not yet assigned to a user. # This comes before START in the sequence CREATE = 4 end end |
#fast_startup_enabled ⇒ ::Boolean
Returns If the session is associated with an environment with fast startup enabled, and was created before being assigned to a user.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 339 class SessionEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Execution details of the query. # @!attribute [rw] query_id # @return [::String] # The unique Query id identifying the query. # @!attribute [rw] query_text # @return [::String] # The query text executed. # @!attribute [rw] engine # @return [::Google::Cloud::Dataplex::V1::SessionEvent::QueryDetail::Engine] # Query Execution engine. # @!attribute [rw] duration # @return [::Google::Protobuf::Duration] # Time taken for execution of the query. # @!attribute [rw] result_size_bytes # @return [::Integer] # The size of results the query produced. # @!attribute [rw] data_processed_bytes # @return [::Integer] # The data processed by the query. class QueryDetail include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Query Execution engine. module Engine # An unspecified Engine type. ENGINE_UNSPECIFIED = 0 # Spark-sql engine is specified in Query. SPARK_SQL = 1 # BigQuery engine is specified in Query. BIGQUERY = 2 end end # The type of the event. module EventType # An unspecified event type. EVENT_TYPE_UNSPECIFIED = 0 # Event when the session is assigned to a user. START = 1 # Event for stop of a session. STOP = 2 # Query events in the session. QUERY = 3 # Event for creation of a cluster. It is not yet assigned to a user. # This comes before START in the sequence CREATE = 4 end end |
#message ⇒ ::String
Returns The log message.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 339 class SessionEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Execution details of the query. # @!attribute [rw] query_id # @return [::String] # The unique Query id identifying the query. # @!attribute [rw] query_text # @return [::String] # The query text executed. # @!attribute [rw] engine # @return [::Google::Cloud::Dataplex::V1::SessionEvent::QueryDetail::Engine] # Query Execution engine. # @!attribute [rw] duration # @return [::Google::Protobuf::Duration] # Time taken for execution of the query. # @!attribute [rw] result_size_bytes # @return [::Integer] # The size of results the query produced. # @!attribute [rw] data_processed_bytes # @return [::Integer] # The data processed by the query. class QueryDetail include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Query Execution engine. module Engine # An unspecified Engine type. ENGINE_UNSPECIFIED = 0 # Spark-sql engine is specified in Query. SPARK_SQL = 1 # BigQuery engine is specified in Query. BIGQUERY = 2 end end # The type of the event. module EventType # An unspecified event type. EVENT_TYPE_UNSPECIFIED = 0 # Event when the session is assigned to a user. START = 1 # Event for stop of a session. STOP = 2 # Query events in the session. QUERY = 3 # Event for creation of a cluster. It is not yet assigned to a user. # This comes before START in the sequence CREATE = 4 end end |
#query ⇒ ::Google::Cloud::Dataplex::V1::SessionEvent::QueryDetail
Returns The execution details of the query.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 339 class SessionEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Execution details of the query. # @!attribute [rw] query_id # @return [::String] # The unique Query id identifying the query. # @!attribute [rw] query_text # @return [::String] # The query text executed. # @!attribute [rw] engine # @return [::Google::Cloud::Dataplex::V1::SessionEvent::QueryDetail::Engine] # Query Execution engine. # @!attribute [rw] duration # @return [::Google::Protobuf::Duration] # Time taken for execution of the query. # @!attribute [rw] result_size_bytes # @return [::Integer] # The size of results the query produced. # @!attribute [rw] data_processed_bytes # @return [::Integer] # The data processed by the query. class QueryDetail include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Query Execution engine. module Engine # An unspecified Engine type. ENGINE_UNSPECIFIED = 0 # Spark-sql engine is specified in Query. SPARK_SQL = 1 # BigQuery engine is specified in Query. BIGQUERY = 2 end end # The type of the event. module EventType # An unspecified event type. EVENT_TYPE_UNSPECIFIED = 0 # Event when the session is assigned to a user. START = 1 # Event for stop of a session. STOP = 2 # Query events in the session. QUERY = 3 # Event for creation of a cluster. It is not yet assigned to a user. # This comes before START in the sequence CREATE = 4 end end |
#session_id ⇒ ::String
Returns Unique identifier for the session.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 339 class SessionEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Execution details of the query. # @!attribute [rw] query_id # @return [::String] # The unique Query id identifying the query. # @!attribute [rw] query_text # @return [::String] # The query text executed. # @!attribute [rw] engine # @return [::Google::Cloud::Dataplex::V1::SessionEvent::QueryDetail::Engine] # Query Execution engine. # @!attribute [rw] duration # @return [::Google::Protobuf::Duration] # Time taken for execution of the query. # @!attribute [rw] result_size_bytes # @return [::Integer] # The size of results the query produced. # @!attribute [rw] data_processed_bytes # @return [::Integer] # The data processed by the query. class QueryDetail include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Query Execution engine. module Engine # An unspecified Engine type. ENGINE_UNSPECIFIED = 0 # Spark-sql engine is specified in Query. SPARK_SQL = 1 # BigQuery engine is specified in Query. BIGQUERY = 2 end end # The type of the event. module EventType # An unspecified event type. EVENT_TYPE_UNSPECIFIED = 0 # Event when the session is assigned to a user. START = 1 # Event for stop of a session. STOP = 2 # Query events in the session. QUERY = 3 # Event for creation of a cluster. It is not yet assigned to a user. # This comes before START in the sequence CREATE = 4 end end |
#type ⇒ ::Google::Cloud::Dataplex::V1::SessionEvent::EventType
Returns The type of the event.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 339 class SessionEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Execution details of the query. # @!attribute [rw] query_id # @return [::String] # The unique Query id identifying the query. # @!attribute [rw] query_text # @return [::String] # The query text executed. # @!attribute [rw] engine # @return [::Google::Cloud::Dataplex::V1::SessionEvent::QueryDetail::Engine] # Query Execution engine. # @!attribute [rw] duration # @return [::Google::Protobuf::Duration] # Time taken for execution of the query. # @!attribute [rw] result_size_bytes # @return [::Integer] # The size of results the query produced. # @!attribute [rw] data_processed_bytes # @return [::Integer] # The data processed by the query. class QueryDetail include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Query Execution engine. module Engine # An unspecified Engine type. ENGINE_UNSPECIFIED = 0 # Spark-sql engine is specified in Query. SPARK_SQL = 1 # BigQuery engine is specified in Query. BIGQUERY = 2 end end # The type of the event. module EventType # An unspecified event type. EVENT_TYPE_UNSPECIFIED = 0 # Event when the session is assigned to a user. START = 1 # Event for stop of a session. STOP = 2 # Query events in the session. QUERY = 3 # Event for creation of a cluster. It is not yet assigned to a user. # This comes before START in the sequence CREATE = 4 end end |
#unassigned_duration ⇒ ::Google::Protobuf::Duration
Returns The idle duration of a warm pooled session before it is assigned to user.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 339 class SessionEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Execution details of the query. # @!attribute [rw] query_id # @return [::String] # The unique Query id identifying the query. # @!attribute [rw] query_text # @return [::String] # The query text executed. # @!attribute [rw] engine # @return [::Google::Cloud::Dataplex::V1::SessionEvent::QueryDetail::Engine] # Query Execution engine. # @!attribute [rw] duration # @return [::Google::Protobuf::Duration] # Time taken for execution of the query. # @!attribute [rw] result_size_bytes # @return [::Integer] # The size of results the query produced. # @!attribute [rw] data_processed_bytes # @return [::Integer] # The data processed by the query. class QueryDetail include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Query Execution engine. module Engine # An unspecified Engine type. ENGINE_UNSPECIFIED = 0 # Spark-sql engine is specified in Query. SPARK_SQL = 1 # BigQuery engine is specified in Query. BIGQUERY = 2 end end # The type of the event. module EventType # An unspecified event type. EVENT_TYPE_UNSPECIFIED = 0 # Event when the session is assigned to a user. START = 1 # Event for stop of a session. STOP = 2 # Query events in the session. QUERY = 3 # Event for creation of a cluster. It is not yet assigned to a user. # This comes before START in the sequence CREATE = 4 end end |
#user_id ⇒ ::String
Returns The information about the user that created the session. It will be the email address of the user.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 339 class SessionEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Execution details of the query. # @!attribute [rw] query_id # @return [::String] # The unique Query id identifying the query. # @!attribute [rw] query_text # @return [::String] # The query text executed. # @!attribute [rw] engine # @return [::Google::Cloud::Dataplex::V1::SessionEvent::QueryDetail::Engine] # Query Execution engine. # @!attribute [rw] duration # @return [::Google::Protobuf::Duration] # Time taken for execution of the query. # @!attribute [rw] result_size_bytes # @return [::Integer] # The size of results the query produced. # @!attribute [rw] data_processed_bytes # @return [::Integer] # The data processed by the query. class QueryDetail include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Query Execution engine. module Engine # An unspecified Engine type. ENGINE_UNSPECIFIED = 0 # Spark-sql engine is specified in Query. SPARK_SQL = 1 # BigQuery engine is specified in Query. BIGQUERY = 2 end end # The type of the event. module EventType # An unspecified event type. EVENT_TYPE_UNSPECIFIED = 0 # Event when the session is assigned to a user. START = 1 # Event for stop of a session. STOP = 2 # Query events in the session. QUERY = 3 # Event for creation of a cluster. It is not yet assigned to a user. # This comes before START in the sequence CREATE = 4 end end |