google-cloud-dataflow-v1beta3 0.12.1 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dataflow/v1beta3/flex_templates_service/client.rb +1 -1
  3. data/lib/google/cloud/dataflow/v1beta3/flex_templates_service/credentials.rb +1 -3
  4. data/lib/google/cloud/dataflow/v1beta3/flex_templates_service/rest/client.rb +1 -1
  5. data/lib/google/cloud/dataflow/v1beta3/flex_templates_service/rest.rb +1 -1
  6. data/lib/google/cloud/dataflow/v1beta3/flex_templates_service.rb +1 -1
  7. data/lib/google/cloud/dataflow/v1beta3/jobs/client.rb +26 -5
  8. data/lib/google/cloud/dataflow/v1beta3/jobs/credentials.rb +1 -3
  9. data/lib/google/cloud/dataflow/v1beta3/jobs/rest/client.rb +26 -5
  10. data/lib/google/cloud/dataflow/v1beta3/messages/credentials.rb +1 -3
  11. data/lib/google/cloud/dataflow/v1beta3/metrics/credentials.rb +1 -3
  12. data/lib/google/cloud/dataflow/v1beta3/snapshots/credentials.rb +1 -3
  13. data/lib/google/cloud/dataflow/v1beta3/templates_service/client.rb +25 -6
  14. data/lib/google/cloud/dataflow/v1beta3/templates_service/credentials.rb +1 -3
  15. data/lib/google/cloud/dataflow/v1beta3/templates_service/rest/client.rb +25 -6
  16. data/lib/google/cloud/dataflow/v1beta3/version.rb +1 -1
  17. data/lib/google/dataflow/v1beta3/environment_pb.rb +4 -1
  18. data/lib/google/dataflow/v1beta3/jobs_pb.rb +9 -1
  19. data/lib/google/dataflow/v1beta3/jobs_services_pb.rb +12 -2
  20. data/lib/google/dataflow/v1beta3/messages_pb.rb +1 -1
  21. data/lib/google/dataflow/v1beta3/metrics_pb.rb +10 -1
  22. data/lib/google/dataflow/v1beta3/snapshots_pb.rb +1 -1
  23. data/lib/google/dataflow/v1beta3/streaming_pb.rb +1 -1
  24. data/lib/google/dataflow/v1beta3/templates_pb.rb +3 -1
  25. data/lib/google/dataflow/v1beta3/templates_services_pb.rb +22 -3
  26. data/proto_docs/google/dataflow/v1beta3/environment.rb +96 -16
  27. data/proto_docs/google/dataflow/v1beta3/jobs.rb +163 -23
  28. data/proto_docs/google/dataflow/v1beta3/metrics.rb +148 -3
  29. data/proto_docs/google/dataflow/v1beta3/streaming.rb +3 -0
  30. data/proto_docs/google/dataflow/v1beta3/templates.rb +183 -35
  31. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  32. metadata +7 -12
@@ -21,33 +21,36 @@ module Google
21
21
  module Cloud
22
22
  module Dataflow
23
23
  module V1beta3
24
- # Defines a job to be run by the Cloud Dataflow service.
24
+ # Defines a job to be run by the Cloud Dataflow service. Do not enter
25
+ # confidential information when you supply string values using the API.
25
26
  # @!attribute [rw] id
26
27
  # @return [::String]
27
28
  # The unique ID of this job.
28
29
  #
29
- # This field is set by the Cloud Dataflow service when the Job is
30
+ # This field is set by the Dataflow service when the job is
30
31
  # created, and is immutable for the life of the job.
31
32
  # @!attribute [rw] project_id
32
33
  # @return [::String]
33
- # The ID of the Cloud Platform project that the job belongs to.
34
+ # The ID of the Google Cloud project that the job belongs to.
34
35
  # @!attribute [rw] name
35
36
  # @return [::String]
36
- # The user-specified Cloud Dataflow job name.
37
+ # Optional. The user-specified Dataflow job name.
37
38
  #
38
- # Only one Job with a given name may exist in a project at any
39
- # given time. If a caller attempts to create a Job with the same
40
- # name as an already-existing Job, the attempt returns the
41
- # existing Job.
39
+ # Only one active job with a given name can exist in a project within one
40
+ # region at
41
+ # any given time. Jobs in different regions can have the same name.
42
+ # If a caller attempts to create a job with the same
43
+ # name as an active job that already exists, the attempt returns the
44
+ # existing job.
42
45
  #
43
46
  # The name must match the regular expression
44
47
  # `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
45
48
  # @!attribute [rw] type
46
49
  # @return [::Google::Cloud::Dataflow::V1beta3::JobType]
47
- # The type of Cloud Dataflow job.
50
+ # Optional. The type of Dataflow job.
48
51
  # @!attribute [rw] environment
49
52
  # @return [::Google::Cloud::Dataflow::V1beta3::Environment]
50
- # The environment for the job.
53
+ # Optional. The environment for the job.
51
54
  # @!attribute [rw] steps
52
55
  # @return [::Array<::Google::Cloud::Dataflow::V1beta3::Step>]
53
56
  # Exactly one of step or steps_location should be specified.
@@ -68,20 +71,23 @@ module Google
68
71
  # terminal state. After a job has reached a terminal state, no
69
72
  # further state updates may be made.
70
73
  #
71
- # This field may be mutated by the Cloud Dataflow service;
74
+ # This field might be mutated by the Dataflow service;
72
75
  # callers cannot mutate it.
73
76
  # @!attribute [rw] current_state_time
74
77
  # @return [::Google::Protobuf::Timestamp]
75
78
  # The timestamp associated with the current state.
76
79
  # @!attribute [rw] requested_state
77
80
  # @return [::Google::Cloud::Dataflow::V1beta3::JobState]
78
- # The job's requested state.
81
+ # The job's requested state. Applies to `UpdateJob` requests.
82
+ #
83
+ # Set `requested_state` with `UpdateJob` requests to switch between the
84
+ # states `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING`. You can also use
85
+ # `UpdateJob` requests to change a job's
86
+ # state from `JOB_STATE_RUNNING` to `JOB_STATE_CANCELLED`,
87
+ # `JOB_STATE_DONE`, or `JOB_STATE_DRAINED`. These states irrevocably
88
+ # terminate the job if it hasn't already reached a terminal state.
79
89
  #
80
- # `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and
81
- # `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may
82
- # also be used to directly set a job's requested state to
83
- # `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the
84
- # job if it has not already reached a terminal state.
90
+ # This field has no effect on `CreateJob` requests.
85
91
  # @!attribute [rw] execution_info
86
92
  # @return [::Google::Cloud::Dataflow::V1beta3::JobExecutionInfo]
87
93
  # Deprecated.
@@ -99,8 +105,8 @@ module Google
99
105
  # transferred to this job.
100
106
  # @!attribute [rw] transform_name_mapping
101
107
  # @return [::Google::Protobuf::Map{::String => ::String}]
102
- # The map of transform name prefixes of the job to be replaced to the
103
- # corresponding name prefixes of the new job.
108
+ # Optional. The map of transform name prefixes of the job to be replaced to
109
+ # the corresponding name prefixes of the new job.
104
110
  # @!attribute [rw] client_request_id
105
111
  # @return [::String]
106
112
  # The client's unique identifier of the job, re-used across retried attempts.
@@ -141,7 +147,7 @@ module Google
141
147
  # size.
142
148
  # @!attribute [rw] location
143
149
  # @return [::String]
144
- # The [regional endpoint]
150
+ # Optional. The [regional endpoint]
145
151
  # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
146
152
  # contains this job.
147
153
  # @!attribute [rw] pipeline_description
@@ -175,6 +181,18 @@ module Google
175
181
  # @return [::Boolean]
176
182
  # Reserved for future use. This field is set only in responses from the
177
183
  # server; it is ignored if it is set in any requests.
184
+ # @!attribute [rw] runtime_updatable_params
185
+ # @return [::Google::Cloud::Dataflow::V1beta3::RuntimeUpdatableParams]
186
+ # This field may ONLY be modified at runtime using the projects.jobs.update
187
+ # method to adjust job behavior. This field has no effect when specified at
188
+ # job creation.
189
+ # @!attribute [r] satisfies_pzi
190
+ # @return [::Boolean]
191
+ # Output only. Reserved for future use. This field is set only in responses
192
+ # from the server; it is ignored if it is set in any requests.
193
+ # @!attribute [r] service_resources
194
+ # @return [::Google::Cloud::Dataflow::V1beta3::ServiceResources]
195
+ # Output only. Resources used by the Dataflow Service to run the job.
178
196
  class Job
179
197
  include ::Google::Protobuf::MessageExts
180
198
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -198,6 +216,40 @@ module Google
198
216
  end
199
217
  end
200
218
 
219
+ # Resources used by the Dataflow Service to run the job.
220
+ # @!attribute [r] zones
221
+ # @return [::Array<::String>]
222
+ # Output only. List of Cloud Zones being used by the Dataflow Service for
223
+ # this job. Example: us-central1-c
224
+ class ServiceResources
225
+ include ::Google::Protobuf::MessageExts
226
+ extend ::Google::Protobuf::MessageExts::ClassMethods
227
+ end
228
+
229
+ # Additional job parameters that can only be updated during runtime using the
230
+ # projects.jobs.update method. These fields have no effect when specified
231
+ # during job creation.
232
+ # @!attribute [rw] max_num_workers
233
+ # @return [::Integer]
234
+ # The maximum number of workers to cap autoscaling at. This field is
235
+ # currently only supported for Streaming Engine jobs.
236
+ # @!attribute [rw] min_num_workers
237
+ # @return [::Integer]
238
+ # The minimum number of workers to scale down to. This field is currently
239
+ # only supported for Streaming Engine jobs.
240
+ # @!attribute [rw] worker_utilization_hint
241
+ # @return [::Float]
242
+ # Target worker utilization, compared against the aggregate utilization of
243
+ # the worker pool by autoscaler, to determine upscaling and downscaling when
244
+ # absent other constraints such as backlog.
245
+ # For more information, see
246
+ # [Update an existing
247
+ # pipeline](https://cloud.google.com/dataflow/docs/guides/updating-a-pipeline).
248
+ class RuntimeUpdatableParams
249
+ include ::Google::Protobuf::MessageExts
250
+ extend ::Google::Protobuf::MessageExts::ClassMethods
251
+ end
252
+
201
253
  # Metadata for a Datastore connector used by the job.
202
254
  # @!attribute [rw] namespace
203
255
  # @return [::String]
@@ -289,6 +341,9 @@ module Google
289
341
  # @!attribute [rw] sdk_support_status
290
342
  # @return [::Google::Cloud::Dataflow::V1beta3::SdkVersion::SdkSupportStatus]
291
343
  # The support status for this SDK version.
344
+ # @!attribute [r] bugs
345
+ # @return [::Array<::Google::Cloud::Dataflow::V1beta3::SdkBug>]
346
+ # Output only. Known bugs found in this SDK version.
292
347
  class SdkVersion
293
348
  include ::Google::Protobuf::MessageExts
294
349
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -313,6 +368,56 @@ module Google
313
368
  end
314
369
  end
315
370
 
371
+ # A bug found in the Dataflow SDK.
372
+ # @!attribute [r] type
373
+ # @return [::Google::Cloud::Dataflow::V1beta3::SdkBug::Type]
374
+ # Output only. Describes the impact of this SDK bug.
375
+ # @!attribute [r] severity
376
+ # @return [::Google::Cloud::Dataflow::V1beta3::SdkBug::Severity]
377
+ # Output only. How severe the SDK bug is.
378
+ # @!attribute [r] uri
379
+ # @return [::String]
380
+ # Output only. Link to more information on the bug.
381
+ class SdkBug
382
+ include ::Google::Protobuf::MessageExts
383
+ extend ::Google::Protobuf::MessageExts::ClassMethods
384
+
385
+ # Nature of the issue, ordered from least severe to most. Other bug types may
386
+ # be added to this list in the future.
387
+ module Type
388
+ # Unknown issue with this SDK.
389
+ TYPE_UNSPECIFIED = 0
390
+
391
+ # Catch-all for SDK bugs that don't fit in the below categories.
392
+ GENERAL = 1
393
+
394
+ # Using this version of the SDK may result in degraded performance.
395
+ PERFORMANCE = 2
396
+
397
+ # Using this version of the SDK may cause data loss.
398
+ DATALOSS = 3
399
+ end
400
+
401
+ # Indicates the severity of the bug. Other severities may be added to this
402
+ # list in the future.
403
+ module Severity
404
+ # A bug of unknown severity.
405
+ SEVERITY_UNSPECIFIED = 0
406
+
407
+ # A minor bug that that may reduce reliability or performance for some
408
+ # jobs. Impact will be minimal or non-existent for most jobs.
409
+ NOTICE = 1
410
+
411
+ # A bug that has some likelihood of causing performance degradation, data
412
+ # loss, or job failures.
413
+ WARNING = 2
414
+
415
+ # A bug with extremely significant impact. Jobs may fail erroneously,
416
+ # performance may be severely degraded, and data loss may be very likely.
417
+ SEVERE = 3
418
+ end
419
+ end
420
+
316
421
  # Metadata available primarily for filtering jobs. Will be included in the
317
422
  # ListJob response and Job SUMMARY view.
318
423
  # @!attribute [rw] sdk_version
@@ -336,9 +441,21 @@ module Google
336
441
  # @!attribute [rw] datastore_details
337
442
  # @return [::Array<::Google::Cloud::Dataflow::V1beta3::DatastoreIODetails>]
338
443
  # Identification of a Datastore source used in the Dataflow job.
444
+ # @!attribute [rw] user_display_properties
445
+ # @return [::Google::Protobuf::Map{::String => ::String}]
446
+ # List of display properties to help UI filter jobs.
339
447
  class JobMetadata
340
448
  include ::Google::Protobuf::MessageExts
341
449
  extend ::Google::Protobuf::MessageExts::ClassMethods
450
+
451
+ # @!attribute [rw] key
452
+ # @return [::String]
453
+ # @!attribute [rw] value
454
+ # @return [::String]
455
+ class UserDisplayPropertiesEntry
456
+ include ::Google::Protobuf::MessageExts
457
+ extend ::Google::Protobuf::MessageExts::ClassMethods
458
+ end
342
459
  end
343
460
 
344
461
  # A message describing the state of a particular execution stage.
@@ -368,6 +485,9 @@ module Google
368
485
  # @!attribute [rw] display_data
369
486
  # @return [::Array<::Google::Cloud::Dataflow::V1beta3::DisplayData>]
370
487
  # Pipeline level display data.
488
+ # @!attribute [rw] step_names_hash
489
+ # @return [::String]
490
+ # A hash value of the submitted pipeline portable graph step names if exists.
371
491
  class PipelineDescription
372
492
  include ::Google::Protobuf::MessageExts
373
493
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -553,6 +673,8 @@ module Google
553
673
  # specific operation as part of the overall job. Data is typically
554
674
  # passed from one step to another as part of the job.
555
675
  #
676
+ # **Note:** The properties of this object are not stable and might change.
677
+ #
556
678
  # Here's an example of a sequence of steps which together implement a
557
679
  # Map-Reduce job:
558
680
  #
@@ -609,7 +731,8 @@ module Google
609
731
  end
610
732
 
611
733
  # Contains information about how a particular
612
- # {::Google::Cloud::Dataflow::V1beta3::Step google.dataflow.v1beta3.Step} will be executed.
734
+ # {::Google::Cloud::Dataflow::V1beta3::Step google.dataflow.v1beta3.Step} will be
735
+ # executed.
613
736
  # @!attribute [rw] step_name
614
737
  # @return [::Array<::String>]
615
738
  # The steps associated with the execution stage.
@@ -679,6 +802,14 @@ module Google
679
802
  # The [regional endpoint]
680
803
  # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
681
804
  # contains this job.
805
+ # @!attribute [rw] update_mask
806
+ # @return [::Google::Protobuf::FieldMask]
807
+ # The list of fields to update relative to Job. If empty, only
808
+ # RequestedJobState will be considered for update. If the FieldMask is not
809
+ # empty and RequestedJobState is none/empty, The fields specified in the
810
+ # update mask will be the only ones considered for update. If both
811
+ # RequestedJobState and update_mask are specified, an error will be returned
812
+ # as we cannot update both state and mask.
682
813
  class UpdateJobRequest
683
814
  include ::Google::Protobuf::MessageExts
684
815
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -710,6 +841,9 @@ module Google
710
841
  # The [regional endpoint]
711
842
  # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
712
843
  # contains this job.
844
+ # @!attribute [rw] name
845
+ # @return [::String]
846
+ # Optional. The job name.
713
847
  class ListJobsRequest
714
848
  include ::Google::Protobuf::MessageExts
715
849
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -842,7 +976,8 @@ module Google
842
976
  SHUFFLE_KIND = 8
843
977
  end
844
978
 
845
- # Describes the overall state of a {::Google::Cloud::Dataflow::V1beta3::Job google.dataflow.v1beta3.Job}.
979
+ # Describes the overall state of a
980
+ # {::Google::Cloud::Dataflow::V1beta3::Job google.dataflow.v1beta3.Job}.
846
981
  module JobState
847
982
  # The job's run state isn't specified.
848
983
  JOB_STATE_UNKNOWN = 0
@@ -928,7 +1063,12 @@ module Google
928
1063
  # and Cloud SDK version details.
929
1064
  JOB_VIEW_SUMMARY = 1
930
1065
 
931
- # Request all information available for this job.
1066
+ # Request all information available for this job. When the job is in
1067
+ # `JOB_STATE_PENDING`, the job has been created but is not yet running, and
1068
+ # not all job information is available. For complete
1069
+ # job information, wait until the job in is `JOB_STATE_RUNNING`. For more
1070
+ # information, see
1071
+ # [JobState](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#jobstate).
932
1072
  JOB_VIEW_ALL = 2
933
1073
 
934
1074
  # Request summary info and limited job description data for steps, labels and
@@ -53,6 +53,7 @@ module Google
53
53
  end
54
54
 
55
55
  # Describes the state of a metric.
56
+ # Next ID: 14
56
57
  # @!attribute [rw] name
57
58
  # @return [::Google::Cloud::Dataflow::V1beta3::MetricStructuredName]
58
59
  # Name of the metric.
@@ -90,8 +91,12 @@ module Google
90
91
  # @return [::Google::Protobuf::Value]
91
92
  # Worker-computed aggregate value for the "Set" aggregation kind. The only
92
93
  # possible value type is a list of Values whose type can be Long, Double,
93
- # or String, according to the metric's type. All Values in the list must
94
- # be of the same type.
94
+ # String, or BoundedTrie according to the metric's type. All Values in the
95
+ # list must be of the same type.
96
+ # @!attribute [rw] trie
97
+ # @return [::Google::Protobuf::Value]
98
+ # Worker-computed aggregate value for the "Trie" aggregation kind. The only
99
+ # possible value type is a BoundedTrieNode.
95
100
  # @!attribute [rw] distribution
96
101
  # @return [::Google::Protobuf::Value]
97
102
  # A struct value describing properties of a distribution of numeric values.
@@ -137,7 +142,8 @@ module Google
137
142
 
138
143
  # JobMetrics contains a collection of metrics describing the detailed progress
139
144
  # of a Dataflow job. Metrics correspond to user-defined and system-defined
140
- # metrics in the job.
145
+ # metrics in the job. For more information, see [Dataflow job metrics]
146
+ # (https://cloud.google.com/dataflow/docs/guides/using-monitoring-intf).
141
147
  #
142
148
  # This resource captures only the most recent values of each metric;
143
149
  # time-series data can be queried for them (under the same metric names)
@@ -206,6 +212,139 @@ module Google
206
212
  end
207
213
  end
208
214
 
215
+ # Information useful for straggler identification and debugging.
216
+ # @!attribute [rw] start_time
217
+ # @return [::Google::Protobuf::Timestamp]
218
+ # The time when the work item attempt became a straggler.
219
+ # @!attribute [rw] causes
220
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Dataflow::V1beta3::StragglerInfo::StragglerDebuggingInfo}]
221
+ # The straggler causes, keyed by the string representation of the
222
+ # StragglerCause enum and contains specialized debugging information for each
223
+ # straggler cause.
224
+ class StragglerInfo
225
+ include ::Google::Protobuf::MessageExts
226
+ extend ::Google::Protobuf::MessageExts::ClassMethods
227
+
228
+ # Information useful for debugging a straggler. Each type will provide
229
+ # specialized debugging information relevant for a particular cause.
230
+ # The StragglerDebuggingInfo will be 1:1 mapping to the StragglerCause enum.
231
+ # @!attribute [rw] hot_key
232
+ # @return [::Google::Cloud::Dataflow::V1beta3::HotKeyDebuggingInfo]
233
+ # Hot key debugging details.
234
+ class StragglerDebuggingInfo
235
+ include ::Google::Protobuf::MessageExts
236
+ extend ::Google::Protobuf::MessageExts::ClassMethods
237
+ end
238
+
239
+ # @!attribute [rw] key
240
+ # @return [::String]
241
+ # @!attribute [rw] value
242
+ # @return [::Google::Cloud::Dataflow::V1beta3::StragglerInfo::StragglerDebuggingInfo]
243
+ class CausesEntry
244
+ include ::Google::Protobuf::MessageExts
245
+ extend ::Google::Protobuf::MessageExts::ClassMethods
246
+ end
247
+ end
248
+
249
+ # Information useful for streaming straggler identification and debugging.
250
+ # @!attribute [rw] start_time
251
+ # @return [::Google::Protobuf::Timestamp]
252
+ # Start time of this straggler.
253
+ # @!attribute [rw] end_time
254
+ # @return [::Google::Protobuf::Timestamp]
255
+ # End time of this straggler.
256
+ # @!attribute [rw] worker_name
257
+ # @return [::String]
258
+ # Name of the worker where the straggler was detected.
259
+ # @!attribute [rw] data_watermark_lag
260
+ # @return [::Google::Protobuf::Duration]
261
+ # The event-time watermark lag at the time of the straggler detection.
262
+ # @!attribute [rw] system_watermark_lag
263
+ # @return [::Google::Protobuf::Duration]
264
+ # The system watermark lag at the time of the straggler detection.
265
+ class StreamingStragglerInfo
266
+ include ::Google::Protobuf::MessageExts
267
+ extend ::Google::Protobuf::MessageExts::ClassMethods
268
+ end
269
+
270
+ # Information for a straggler.
271
+ # @!attribute [rw] batch_straggler
272
+ # @return [::Google::Cloud::Dataflow::V1beta3::StragglerInfo]
273
+ # Batch straggler identification and debugging information.
274
+ #
275
+ # Note: The following fields are mutually exclusive: `batch_straggler`, `streaming_straggler`. If a field in that set is populated, all other fields in the set will automatically be cleared.
276
+ # @!attribute [rw] streaming_straggler
277
+ # @return [::Google::Cloud::Dataflow::V1beta3::StreamingStragglerInfo]
278
+ # Streaming straggler identification and debugging information.
279
+ #
280
+ # Note: The following fields are mutually exclusive: `streaming_straggler`, `batch_straggler`. If a field in that set is populated, all other fields in the set will automatically be cleared.
281
+ class Straggler
282
+ include ::Google::Protobuf::MessageExts
283
+ extend ::Google::Protobuf::MessageExts::ClassMethods
284
+ end
285
+
286
+ # Information useful for debugging a hot key detection.
287
+ # @!attribute [rw] detected_hot_keys
288
+ # @return [::Google::Protobuf::Map{::Integer => ::Google::Cloud::Dataflow::V1beta3::HotKeyDebuggingInfo::HotKeyInfo}]
289
+ # Debugging information for each detected hot key. Keyed by a hash of the
290
+ # key.
291
+ class HotKeyDebuggingInfo
292
+ include ::Google::Protobuf::MessageExts
293
+ extend ::Google::Protobuf::MessageExts::ClassMethods
294
+
295
+ # Information about a hot key.
296
+ # @!attribute [rw] hot_key_age
297
+ # @return [::Google::Protobuf::Duration]
298
+ # The age of the hot key measured from when it was first detected.
299
+ # @!attribute [rw] key
300
+ # @return [::String]
301
+ # A detected hot key that is causing limited parallelism. This field will
302
+ # be populated only if the following flag is set to true:
303
+ # "--enable_hot_key_logging".
304
+ # @!attribute [rw] key_truncated
305
+ # @return [::Boolean]
306
+ # If true, then the above key is truncated and cannot be deserialized. This
307
+ # occurs if the key above is populated and the key size is >5MB.
308
+ class HotKeyInfo
309
+ include ::Google::Protobuf::MessageExts
310
+ extend ::Google::Protobuf::MessageExts::ClassMethods
311
+ end
312
+
313
+ # @!attribute [rw] key
314
+ # @return [::Integer]
315
+ # @!attribute [rw] value
316
+ # @return [::Google::Cloud::Dataflow::V1beta3::HotKeyDebuggingInfo::HotKeyInfo]
317
+ class DetectedHotKeysEntry
318
+ include ::Google::Protobuf::MessageExts
319
+ extend ::Google::Protobuf::MessageExts::ClassMethods
320
+ end
321
+ end
322
+
323
+ # Summarized straggler identification details.
324
+ # @!attribute [rw] total_straggler_count
325
+ # @return [::Integer]
326
+ # The total count of stragglers.
327
+ # @!attribute [rw] straggler_cause_count
328
+ # @return [::Google::Protobuf::Map{::String => ::Integer}]
329
+ # Aggregated counts of straggler causes, keyed by the string representation
330
+ # of the StragglerCause enum.
331
+ # @!attribute [rw] recent_stragglers
332
+ # @return [::Array<::Google::Cloud::Dataflow::V1beta3::Straggler>]
333
+ # The most recent stragglers.
334
+ class StragglerSummary
335
+ include ::Google::Protobuf::MessageExts
336
+ extend ::Google::Protobuf::MessageExts::ClassMethods
337
+
338
+ # @!attribute [rw] key
339
+ # @return [::String]
340
+ # @!attribute [rw] value
341
+ # @return [::Integer]
342
+ class StragglerCauseCountEntry
343
+ include ::Google::Protobuf::MessageExts
344
+ extend ::Google::Protobuf::MessageExts::ClassMethods
345
+ end
346
+ end
347
+
209
348
  # Information about a particular execution stage of a job.
210
349
  # @!attribute [rw] stage_id
211
350
  # @return [::String]
@@ -229,6 +368,9 @@ module Google
229
368
  # @!attribute [rw] metrics
230
369
  # @return [::Array<::Google::Cloud::Dataflow::V1beta3::MetricUpdate>]
231
370
  # Metrics for this stage.
371
+ # @!attribute [rw] straggler_summary
372
+ # @return [::Google::Cloud::Dataflow::V1beta3::StragglerSummary]
373
+ # Straggler summary for this stage.
232
374
  class StageSummary
233
375
  include ::Google::Protobuf::MessageExts
234
376
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -310,6 +452,9 @@ module Google
310
452
  # @!attribute [rw] metrics
311
453
  # @return [::Array<::Google::Cloud::Dataflow::V1beta3::MetricUpdate>]
312
454
  # Metrics for this work item.
455
+ # @!attribute [rw] straggler_info
456
+ # @return [::Google::Cloud::Dataflow::V1beta3::StragglerInfo]
457
+ # Information about straggler detections for this work item.
313
458
  class WorkItemDetails
314
459
  include ::Google::Protobuf::MessageExts
315
460
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -80,6 +80,9 @@ module Google
80
80
  # @!attribute [rw] with_attributes
81
81
  # @return [::Boolean]
82
82
  # If true, then the client has requested to get pubsub attributes.
83
+ # @!attribute [rw] dynamic_destinations
84
+ # @return [::Boolean]
85
+ # If true, then this location represents dynamic topics.
83
86
  class PubsubLocation
84
87
  include ::Google::Protobuf::MessageExts
85
88
  extend ::Google::Protobuf::MessageExts::ClassMethods