Class: Google::Apis::DataprocV1::SinkProgress

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) ⇒ SinkProgress

Returns a new instance of SinkProgress.



8142
8143
8144
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8142

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


8130
8131
8132
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8130

def description
  @description
end

#metricsHash<String,String>

Corresponds to the JSON property metrics

Returns:

  • (Hash<String,String>)


8135
8136
8137
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8135

def metrics
  @metrics
end

#num_output_rowsFixnum

Corresponds to the JSON property numOutputRows

Returns:

  • (Fixnum)


8140
8141
8142
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8140

def num_output_rows
  @num_output_rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8147
8148
8149
8150
8151
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8147

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @metrics = args[:metrics] if args.key?(:metrics)
  @num_output_rows = args[:num_output_rows] if args.key?(:num_output_rows)
end