Class: Google::Apis::DataflowV1b3::DataSamplingReport
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::DataSamplingReport
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb
Overview
Contains per-worker telemetry about the data sampling feature.
Instance Attribute Summary collapse
-
#bytes_written_delta ⇒ Fixnum
Optional.
-
#elements_sampled_bytes ⇒ Fixnum
Optional.
-
#elements_sampled_count ⇒ Fixnum
Optional.
-
#exceptions_sampled_count ⇒ Fixnum
Optional.
-
#pcollections_sampled_count ⇒ Fixnum
Optional.
-
#persistence_errors_count ⇒ Fixnum
Optional.
-
#translation_errors_count ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataSamplingReport
constructor
A new instance of DataSamplingReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataSamplingReport
Returns a new instance of DataSamplingReport.
1047 1048 1049 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1047 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bytes_written_delta ⇒ Fixnum
Optional. Delta of bytes written to file from previous report.
Corresponds to the JSON property bytesWrittenDelta
1012 1013 1014 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1012 def bytes_written_delta @bytes_written_delta end |
#elements_sampled_bytes ⇒ Fixnum
Optional. Delta of bytes sampled from previous report.
Corresponds to the JSON property elementsSampledBytes
1017 1018 1019 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1017 def elements_sampled_bytes @elements_sampled_bytes end |
#elements_sampled_count ⇒ Fixnum
Optional. Delta of number of elements sampled from previous report.
Corresponds to the JSON property elementsSampledCount
1022 1023 1024 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1022 def elements_sampled_count @elements_sampled_count end |
#exceptions_sampled_count ⇒ Fixnum
Optional. Delta of number of samples taken from user code exceptions from
previous report.
Corresponds to the JSON property exceptionsSampledCount
1028 1029 1030 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1028 def exceptions_sampled_count @exceptions_sampled_count end |
#pcollections_sampled_count ⇒ Fixnum
Optional. Delta of number of PCollections sampled from previous report.
Corresponds to the JSON property pcollectionsSampledCount
1033 1034 1035 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1033 def pcollections_sampled_count @pcollections_sampled_count end |
#persistence_errors_count ⇒ Fixnum
Optional. Delta of errors counts from persisting the samples from previous
report.
Corresponds to the JSON property persistenceErrorsCount
1039 1040 1041 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1039 def persistence_errors_count @persistence_errors_count end |
#translation_errors_count ⇒ Fixnum
Optional. Delta of errors counts from retrieving, or translating the samples
from previous report.
Corresponds to the JSON property translationErrorsCount
1045 1046 1047 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1045 def translation_errors_count @translation_errors_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1052 1053 1054 1055 1056 1057 1058 1059 1060 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1052 def update!(**args) @bytes_written_delta = args[:bytes_written_delta] if args.key?(:bytes_written_delta) @elements_sampled_bytes = args[:elements_sampled_bytes] if args.key?(:elements_sampled_bytes) @elements_sampled_count = args[:elements_sampled_count] if args.key?(:elements_sampled_count) @exceptions_sampled_count = args[:exceptions_sampled_count] if args.key?(:exceptions_sampled_count) @pcollections_sampled_count = args[:pcollections_sampled_count] if args.key?(:pcollections_sampled_count) @persistence_errors_count = args[:persistence_errors_count] if args.key?(:persistence_errors_count) @translation_errors_count = args[:translation_errors_count] if args.key?(:translation_errors_count) end |