google-cloud-dataflow-v1beta3 0.12.0 → 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.
- checksums.yaml +4 -4
- data/lib/google/cloud/dataflow/v1beta3/flex_templates_service/client.rb +3 -3
- data/lib/google/cloud/dataflow/v1beta3/flex_templates_service/credentials.rb +1 -3
- data/lib/google/cloud/dataflow/v1beta3/flex_templates_service/rest/client.rb +2 -2
- data/lib/google/cloud/dataflow/v1beta3/flex_templates_service/rest.rb +1 -1
- data/lib/google/cloud/dataflow/v1beta3/flex_templates_service.rb +1 -1
- data/lib/google/cloud/dataflow/v1beta3/jobs/client.rb +28 -7
- data/lib/google/cloud/dataflow/v1beta3/jobs/credentials.rb +1 -3
- data/lib/google/cloud/dataflow/v1beta3/jobs/rest/client.rb +27 -6
- data/lib/google/cloud/dataflow/v1beta3/messages/client.rb +2 -2
- data/lib/google/cloud/dataflow/v1beta3/messages/credentials.rb +1 -3
- data/lib/google/cloud/dataflow/v1beta3/messages/rest/client.rb +1 -1
- data/lib/google/cloud/dataflow/v1beta3/metrics/client.rb +2 -2
- data/lib/google/cloud/dataflow/v1beta3/metrics/credentials.rb +1 -3
- data/lib/google/cloud/dataflow/v1beta3/metrics/rest/client.rb +1 -1
- data/lib/google/cloud/dataflow/v1beta3/snapshots/client.rb +2 -2
- data/lib/google/cloud/dataflow/v1beta3/snapshots/credentials.rb +1 -3
- data/lib/google/cloud/dataflow/v1beta3/snapshots/rest/client.rb +1 -1
- data/lib/google/cloud/dataflow/v1beta3/templates_service/client.rb +27 -8
- data/lib/google/cloud/dataflow/v1beta3/templates_service/credentials.rb +1 -3
- data/lib/google/cloud/dataflow/v1beta3/templates_service/rest/client.rb +26 -7
- data/lib/google/cloud/dataflow/v1beta3/version.rb +1 -1
- data/lib/google/dataflow/v1beta3/environment_pb.rb +4 -1
- data/lib/google/dataflow/v1beta3/jobs_pb.rb +9 -1
- data/lib/google/dataflow/v1beta3/jobs_services_pb.rb +12 -2
- data/lib/google/dataflow/v1beta3/messages_pb.rb +1 -1
- data/lib/google/dataflow/v1beta3/metrics_pb.rb +10 -1
- data/lib/google/dataflow/v1beta3/snapshots_pb.rb +1 -1
- data/lib/google/dataflow/v1beta3/streaming_pb.rb +1 -1
- data/lib/google/dataflow/v1beta3/templates_pb.rb +3 -1
- data/lib/google/dataflow/v1beta3/templates_services_pb.rb +22 -3
- data/proto_docs/google/api/client.rb +6 -0
- data/proto_docs/google/dataflow/v1beta3/environment.rb +96 -16
- data/proto_docs/google/dataflow/v1beta3/jobs.rb +163 -23
- data/proto_docs/google/dataflow/v1beta3/metrics.rb +148 -3
- data/proto_docs/google/dataflow/v1beta3/streaming.rb +3 -0
- data/proto_docs/google/dataflow/v1beta3/templates.rb +183 -35
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- metadata +9 -14
@@ -50,13 +50,14 @@ module Google
|
|
50
50
|
# field for service related experiments is service_options.
|
51
51
|
# @!attribute [rw] service_options
|
52
52
|
# @return [::Array<::String>]
|
53
|
-
# The list of service options to enable. This field should be used
|
54
|
-
# service related experiments only. These experiments, when graduating to
|
55
|
-
# should be replaced by dedicated fields or become default (i.e. always
|
53
|
+
# Optional. The list of service options to enable. This field should be used
|
54
|
+
# for service related experiments only. These experiments, when graduating to
|
55
|
+
# GA, should be replaced by dedicated fields or become default (i.e. always
|
56
|
+
# on).
|
56
57
|
# @!attribute [rw] service_kms_key_name
|
57
58
|
# @return [::String]
|
58
|
-
# If set, contains the Cloud KMS key identifier used to encrypt
|
59
|
-
# at rest, AKA a Customer Managed Encryption Key (CMEK).
|
59
|
+
# Optional. If set, contains the Cloud KMS key identifier used to encrypt
|
60
|
+
# data at rest, AKA a Customer Managed Encryption Key (CMEK).
|
60
61
|
#
|
61
62
|
# Format:
|
62
63
|
# projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
|
@@ -73,7 +74,7 @@ module Google
|
|
73
74
|
# are required in order to run the job.
|
74
75
|
# @!attribute [rw] dataset
|
75
76
|
# @return [::String]
|
76
|
-
# The dataset for the current project where various workflow
|
77
|
+
# Optional. The dataset for the current project where various workflow
|
77
78
|
# related tables are stored.
|
78
79
|
#
|
79
80
|
# The supported resource type is:
|
@@ -91,20 +92,21 @@ module Google
|
|
91
92
|
# Experimental settings.
|
92
93
|
# @!attribute [rw] service_account_email
|
93
94
|
# @return [::String]
|
94
|
-
# Identity to run virtual machines as. Defaults to the default
|
95
|
+
# Optional. Identity to run virtual machines as. Defaults to the default
|
96
|
+
# account.
|
95
97
|
# @!attribute [rw] flex_resource_scheduling_goal
|
96
98
|
# @return [::Google::Cloud::Dataflow::V1beta3::FlexResourceSchedulingGoal]
|
97
|
-
# Which Flexible Resource Scheduling mode to run in.
|
99
|
+
# Optional. Which Flexible Resource Scheduling mode to run in.
|
98
100
|
# @!attribute [rw] worker_region
|
99
101
|
# @return [::String]
|
100
|
-
# The Compute Engine region
|
102
|
+
# Optional. The Compute Engine region
|
101
103
|
# (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
|
102
104
|
# which worker processing should occur, e.g. "us-west1". Mutually exclusive
|
103
105
|
# with worker_zone. If neither worker_region nor worker_zone is specified,
|
104
106
|
# default to the control plane's region.
|
105
107
|
# @!attribute [rw] worker_zone
|
106
108
|
# @return [::String]
|
107
|
-
# The Compute Engine zone
|
109
|
+
# Optional. The Compute Engine zone
|
108
110
|
# (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
|
109
111
|
# which worker processing should occur, e.g. "us-west1-a". Mutually exclusive
|
110
112
|
# with worker_region. If neither worker_region nor worker_zone is specified,
|
@@ -114,7 +116,20 @@ module Google
|
|
114
116
|
# Output only. The shuffle mode used for the job.
|
115
117
|
# @!attribute [rw] debug_options
|
116
118
|
# @return [::Google::Cloud::Dataflow::V1beta3::DebugOptions]
|
117
|
-
# Any debugging options to be supplied to the job.
|
119
|
+
# Optional. Any debugging options to be supplied to the job.
|
120
|
+
# @!attribute [r] use_streaming_engine_resource_based_billing
|
121
|
+
# @return [::Boolean]
|
122
|
+
# Output only. Whether the job uses the Streaming Engine resource-based
|
123
|
+
# billing model.
|
124
|
+
# @!attribute [rw] streaming_mode
|
125
|
+
# @return [::Google::Cloud::Dataflow::V1beta3::StreamingMode]
|
126
|
+
# Optional. Specifies the Streaming Engine message processing guarantees.
|
127
|
+
# Reduces cost and latency but might result in duplicate messages committed
|
128
|
+
# to storage. Designed to run simple mapping streaming ETL jobs at the lowest
|
129
|
+
# cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use
|
130
|
+
# case. For more information, see
|
131
|
+
# [Set the pipeline streaming
|
132
|
+
# mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).
|
118
133
|
class Environment
|
119
134
|
include ::Google::Protobuf::MessageExts
|
120
135
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -321,7 +336,7 @@ module Google
|
|
321
336
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
337
|
end
|
323
338
|
|
324
|
-
# Defines
|
339
|
+
# Defines an SDK harness container for executing Dataflow pipelines.
|
325
340
|
# @!attribute [rw] container_image
|
326
341
|
# @return [::String]
|
327
342
|
# A docker container image that resides in Google Container Registry.
|
@@ -339,7 +354,7 @@ module Google
|
|
339
354
|
# @!attribute [rw] capabilities
|
340
355
|
# @return [::Array<::String>]
|
341
356
|
# The set of capabilities enumerated in the above Environment proto. See also
|
342
|
-
# https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto
|
357
|
+
# [beam_runner_api.proto](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto)
|
343
358
|
class SdkHarnessContainerImage
|
344
359
|
include ::Google::Protobuf::MessageExts
|
345
360
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -467,11 +482,50 @@ module Google
|
|
467
482
|
end
|
468
483
|
end
|
469
484
|
|
485
|
+
# Configuration options for sampling elements.
|
486
|
+
# @!attribute [rw] behaviors
|
487
|
+
# @return [::Array<::Google::Cloud::Dataflow::V1beta3::DataSamplingConfig::DataSamplingBehavior>]
|
488
|
+
# List of given sampling behaviors to enable. For example, specifying
|
489
|
+
# behaviors = [ALWAYS_ON] samples in-flight elements but does not sample
|
490
|
+
# exceptions. Can be used to specify multiple behaviors like,
|
491
|
+
# behaviors = [ALWAYS_ON, EXCEPTIONS] for specifying periodic sampling and
|
492
|
+
# exception sampling.
|
493
|
+
#
|
494
|
+
# If DISABLED is in the list, then sampling will be disabled and ignore the
|
495
|
+
# other given behaviors.
|
496
|
+
#
|
497
|
+
# Ordering does not matter.
|
498
|
+
class DataSamplingConfig
|
499
|
+
include ::Google::Protobuf::MessageExts
|
500
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
501
|
+
|
502
|
+
# The following enum defines what to sample for a running job.
|
503
|
+
module DataSamplingBehavior
|
504
|
+
# If given, has no effect on sampling behavior. Used as an unknown or unset
|
505
|
+
# sentinel value.
|
506
|
+
DATA_SAMPLING_BEHAVIOR_UNSPECIFIED = 0
|
507
|
+
|
508
|
+
# When given, disables element sampling. Has same behavior as not setting
|
509
|
+
# the behavior.
|
510
|
+
DISABLED = 1
|
511
|
+
|
512
|
+
# When given, enables sampling in-flight from all PCollections.
|
513
|
+
ALWAYS_ON = 2
|
514
|
+
|
515
|
+
# When given, enables sampling input elements when a user-defined DoFn
|
516
|
+
# causes an exception.
|
517
|
+
EXCEPTIONS = 3
|
518
|
+
end
|
519
|
+
end
|
520
|
+
|
470
521
|
# Describes any options that have an effect on the debugging of pipelines.
|
471
522
|
# @!attribute [rw] enable_hot_key_logging
|
472
523
|
# @return [::Boolean]
|
473
|
-
# When true, enables the logging of the literal hot key to the
|
474
|
-
# Logging.
|
524
|
+
# Optional. When true, enables the logging of the literal hot key to the
|
525
|
+
# user's Cloud Logging.
|
526
|
+
# @!attribute [rw] data_sampling
|
527
|
+
# @return [::Google::Cloud::Dataflow::V1beta3::DataSamplingConfig]
|
528
|
+
# Configuration options for sampling elements from a running pipeline.
|
475
529
|
class DebugOptions
|
476
530
|
include ::Google::Protobuf::MessageExts
|
477
531
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -555,7 +609,10 @@ module Google
|
|
555
609
|
AUTOSCALING_ALGORITHM_BASIC = 2
|
556
610
|
end
|
557
611
|
|
558
|
-
# Specifies how IP addresses
|
612
|
+
# Specifies how to allocate IP addresses to worker machines. You can also use
|
613
|
+
# [pipeline
|
614
|
+
# options](https://cloud.google.com/dataflow/docs/reference/pipeline-options#security_and_networking)
|
615
|
+
# to specify whether Dataflow workers use external IP addresses.
|
559
616
|
module WorkerIPAddressConfiguration
|
560
617
|
# The configuration is unknown, or unspecified.
|
561
618
|
WORKER_IP_UNSPECIFIED = 0
|
@@ -581,6 +638,29 @@ module Google
|
|
581
638
|
# Shuffle is done on the service side.
|
582
639
|
SERVICE_BASED = 2
|
583
640
|
end
|
641
|
+
|
642
|
+
# Specifies the Streaming Engine message processing guarantees. Reduces cost
|
643
|
+
# and latency but might result in duplicate messages written to storage.
|
644
|
+
# Designed to run simple mapping streaming ETL jobs at the lowest cost.
|
645
|
+
# For example, Change Data Capture (CDC) to BigQuery is a canonical use
|
646
|
+
# case. For more information, see
|
647
|
+
# [Set the pipeline streaming
|
648
|
+
# mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).
|
649
|
+
module StreamingMode
|
650
|
+
# Run in the default mode.
|
651
|
+
STREAMING_MODE_UNSPECIFIED = 0
|
652
|
+
|
653
|
+
# In this mode, message deduplication is performed against persistent state
|
654
|
+
# to make sure each message is processed and committed to storage exactly
|
655
|
+
# once.
|
656
|
+
STREAMING_MODE_EXACTLY_ONCE = 1
|
657
|
+
|
658
|
+
# Message deduplication is not performed. Messages might be processed
|
659
|
+
# multiple times, and the results are applied multiple times.
|
660
|
+
# Note: Setting this value also enables Streaming Engine and
|
661
|
+
# Streaming Engine resource-based billing.
|
662
|
+
STREAMING_MODE_AT_LEAST_ONCE = 2
|
663
|
+
end
|
584
664
|
end
|
585
665
|
end
|
586
666
|
end
|
@@ -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
|
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
|
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
|
37
|
+
# Optional. The user-specified Dataflow job name.
|
37
38
|
#
|
38
|
-
# Only one
|
39
|
-
#
|
40
|
-
#
|
41
|
-
#
|
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
|
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
|
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
|
-
#
|
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
|
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
|
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
|
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
|