Class: Google::Apis::DataprocV1::StreamingQueryProgress

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StreamingQueryProgress

Returns a new instance of StreamingQueryProgress.



10303
10304
10305
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10303

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

Instance Attribute Details

#batch_durationFixnum

Corresponds to the JSON property batchDuration

Returns:

  • (Fixnum)


10246
10247
10248
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10246

def batch_duration
  @batch_duration
end

#batch_idFixnum

Corresponds to the JSON property batchId

Returns:

  • (Fixnum)


10251
10252
10253
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10251

def batch_id
  @batch_id
end

#duration_millisHash<String,Fixnum>

Corresponds to the JSON property durationMillis

Returns:

  • (Hash<String,Fixnum>)


10256
10257
10258
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10256

def duration_millis
  @duration_millis
end

#event_timeHash<String,String>

Corresponds to the JSON property eventTime

Returns:

  • (Hash<String,String>)


10261
10262
10263
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10261

def event_time
  @event_time
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


10266
10267
10268
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10266

def name
  @name
end

#observed_metricsHash<String,String>

Corresponds to the JSON property observedMetrics

Returns:

  • (Hash<String,String>)


10271
10272
10273
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10271

def observed_metrics
  @observed_metrics
end

#run_idString

Corresponds to the JSON property runId

Returns:

  • (String)


10276
10277
10278
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10276

def run_id
  @run_id
end

#sinkGoogle::Apis::DataprocV1::SinkProgress

Corresponds to the JSON property sink



10281
10282
10283
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10281

def sink
  @sink
end

#sourcesArray<Google::Apis::DataprocV1::SourceProgress>

Corresponds to the JSON property sources



10286
10287
10288
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10286

def sources
  @sources
end

#state_operatorsArray<Google::Apis::DataprocV1::StateOperatorProgress>

Corresponds to the JSON property stateOperators



10291
10292
10293
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10291

def state_operators
  @state_operators
end

#streaming_query_progress_idString

Corresponds to the JSON property streamingQueryProgressId

Returns:

  • (String)


10296
10297
10298
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10296

def streaming_query_progress_id
  @streaming_query_progress_id
end

#timestampString

Corresponds to the JSON property timestamp

Returns:

  • (String)


10301
10302
10303
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10301

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10308

def update!(**args)
  @batch_duration = args[:batch_duration] if args.key?(:batch_duration)
  @batch_id = args[:batch_id] if args.key?(:batch_id)
  @duration_millis = args[:duration_millis] if args.key?(:duration_millis)
  @event_time = args[:event_time] if args.key?(:event_time)
  @name = args[:name] if args.key?(:name)
  @observed_metrics = args[:observed_metrics] if args.key?(:observed_metrics)
  @run_id = args[:run_id] if args.key?(:run_id)
  @sink = args[:sink] if args.key?(:sink)
  @sources = args[:sources] if args.key?(:sources)
  @state_operators = args[:state_operators] if args.key?(:state_operators)
  @streaming_query_progress_id = args[:streaming_query_progress_id] if args.key?(:streaming_query_progress_id)
  @timestamp = args[:timestamp] if args.key?(:timestamp)
end