Class: Google::Apis::DataprocV1::StreamingQueryData

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StreamingQueryData

Returns a new instance of StreamingQueryData.



10862
10863
10864
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10862

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#end_timestampFixnum

Corresponds to the JSON property endTimestamp

Returns:

  • (Fixnum)


10829
10830
10831
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10829

def end_timestamp
  @end_timestamp
end

#exceptionString

Corresponds to the JSON property exception

Returns:

  • (String)


10834
10835
10836
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10834

def exception
  @exception
end

#is_activeBoolean Also known as: is_active?

Corresponds to the JSON property isActive

Returns:

  • (Boolean)


10839
10840
10841
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10839

def is_active
  @is_active
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


10845
10846
10847
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10845

def name
  @name
end

#run_idString

Corresponds to the JSON property runId

Returns:

  • (String)


10850
10851
10852
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10850

def run_id
  @run_id
end

#start_timestampFixnum

Corresponds to the JSON property startTimestamp

Returns:

  • (Fixnum)


10855
10856
10857
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10855

def start_timestamp
  @start_timestamp
end

#streaming_query_idString

Corresponds to the JSON property streamingQueryId

Returns:

  • (String)


10860
10861
10862
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10860

def streaming_query_id
  @streaming_query_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10867
10868
10869
10870
10871
10872
10873
10874
10875
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10867

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