Class: Google::Apis::DataprocV1::StreamingQueryData
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::StreamingQueryData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
Overview
Streaming
Instance Attribute Summary collapse
-
#end_timestamp ⇒ Fixnum
Corresponds to the JSON property
endTimestamp. -
#exception ⇒ String
Corresponds to the JSON property
exception. -
#is_active ⇒ Boolean
(also: #is_active?)
Corresponds to the JSON property
isActive. -
#name ⇒ String
Corresponds to the JSON property
name. -
#run_id ⇒ String
Corresponds to the JSON property
runId. -
#start_timestamp ⇒ Fixnum
Corresponds to the JSON property
startTimestamp. -
#streaming_query_id ⇒ String
Corresponds to the JSON property
streamingQueryId.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StreamingQueryData
constructor
A new instance of StreamingQueryData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StreamingQueryData
Returns a new instance of StreamingQueryData.
10839 10840 10841 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10839 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_timestamp ⇒ Fixnum
Corresponds to the JSON property endTimestamp
10806 10807 10808 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10806 def @end_timestamp end |
#exception ⇒ String
Corresponds to the JSON property exception
10811 10812 10813 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10811 def exception @exception end |
#is_active ⇒ Boolean Also known as: is_active?
Corresponds to the JSON property isActive
10816 10817 10818 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10816 def is_active @is_active end |
#name ⇒ String
Corresponds to the JSON property name
10822 10823 10824 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10822 def name @name end |
#run_id ⇒ String
Corresponds to the JSON property runId
10827 10828 10829 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10827 def run_id @run_id end |
#start_timestamp ⇒ Fixnum
Corresponds to the JSON property startTimestamp
10832 10833 10834 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10832 def @start_timestamp end |
#streaming_query_id ⇒ String
Corresponds to the JSON property streamingQueryId
10837 10838 10839 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10837 def streaming_query_id @streaming_query_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10844 10845 10846 10847 10848 10849 10850 10851 10852 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10844 def update!(**args) @end_timestamp = args[:end_timestamp] if args.key?(:end_timestamp) @exception = args[:exception] if args.key?(:exception) @is_active = args[:is_active] if args.key?(:is_active) @name = args[:name] if args.key?(:name) @run_id = args[:run_id] if args.key?(:run_id) @start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp) @streaming_query_id = args[:streaming_query_id] if args.key?(:streaming_query_id) end |