Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Commit 94b4f73

Browse files
docs: Minor formatting (#195)
* docs: Minor formatting chore: Update gapic-generator-python to v1.11.5 build: Update rules_python to 0.24.0 PiperOrigin-RevId: 563436317 Source-Link: googleapis/googleapis@42fd37b Source-Link: https://github.com/googleapis/googleapis-gen/commit/280264ca02fb9316b4237a96d0af1a2343a81a56 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjgwMjY0Y2EwMmZiOTMxNmI0MjM3YTk2ZDBhZjFhMjM0M2E4MWE1NiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent a0b9a11 commit 94b4f73

File tree

4 files changed

+34
-32
lines changed

4 files changed

+34
-32
lines changed

google/cloud/dataflow_v1beta3/types/environment.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ class JobType(proto.Enum):
5656
unknown.
5757
JOB_TYPE_BATCH (1):
5858
A batch job with a well-defined end point:
59-
data is read, data is
60-
processed, data is written, and the job is done.
59+
data is read, data is processed, data is
60+
written, and the job is done.
6161
JOB_TYPE_STREAMING (2):
6262
A continuously streaming job with no end:
63-
data is read,
64-
processed, and written continuously.
63+
data is read, processed, and written
64+
continuously.
6565
"""
6666
JOB_TYPE_UNKNOWN = 0
6767
JOB_TYPE_BATCH = 1
@@ -385,7 +385,6 @@ class Package(proto.Message):
385385
location (str):
386386
The resource to read the package from. The
387387
supported resource type is:
388-
389388
Google Cloud Storage:
390389
391390
storage.googleapis.com/{bucket}
@@ -428,6 +427,7 @@ class Disk(proto.Message):
428427
documentation for more information about
429428
determining the set of available disk types for
430429
a particular project and zone.
430+
431431
Google Compute Engine Disk types are local to a
432432
particular project in a particular zone, and so
433433
the resource name will typically look something
@@ -458,6 +458,7 @@ class WorkerSettings(proto.Message):
458458
Attributes:
459459
base_url (str):
460460
The base URL for accessing Google Cloud APIs.
461+
461462
When workers access Google Cloud APIs, they
462463
logically do so via relative URLs. If this
463464
field is specified, it supplies the base URL to

google/cloud/dataflow_v1beta3/types/jobs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ class Job(proto.Message):
223223
Attributes:
224224
id (str):
225225
The unique ID of this job.
226+
226227
This field is set by the Cloud Dataflow service
227228
when the Job is created, and is immutable for
228229
the life of the job.

google/cloud/dataflow_v1beta3/types/messages.py

Lines changed: 23 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -43,43 +43,39 @@ class JobMessageImportance(proto.Enum):
4343
unknown.
4444
JOB_MESSAGE_DEBUG (1):
4545
The message is at the 'debug' level:
46-
typically only useful for
47-
software engineers working on the code the job
48-
is running. Typically, Dataflow pipeline runners
49-
do not display log messages at this level by
50-
default.
46+
typically only useful for software engineers
47+
working on the code the job is running.
48+
Typically, Dataflow pipeline runners do not
49+
display log messages at this level by default.
5150
JOB_MESSAGE_DETAILED (2):
5251
The message is at the 'detailed' level:
53-
somewhat verbose, but
54-
potentially useful to users. Typically,
55-
Dataflow pipeline runners do not display log
56-
messages at this level by default. These
57-
messages are displayed by default in the
58-
Dataflow monitoring UI.
52+
somewhat verbose, but potentially useful to
53+
users. Typically, Dataflow pipeline runners do
54+
not display log messages at this level by
55+
default. These messages are displayed by default
56+
in the Dataflow monitoring UI.
5957
JOB_MESSAGE_BASIC (5):
6058
The message is at the 'basic' level: useful
61-
for keeping
62-
track of the execution of a Dataflow pipeline.
63-
Typically, Dataflow pipeline runners display log
64-
messages at this level by default, and these
65-
messages are displayed by default in the
66-
Dataflow monitoring UI.
59+
for keeping track of the execution of a Dataflow
60+
pipeline. Typically, Dataflow pipeline runners
61+
display log messages at this level by default,
62+
and these messages are displayed by default in
63+
the Dataflow monitoring UI.
6764
JOB_MESSAGE_WARNING (3):
6865
The message is at the 'warning' level:
69-
indicating a condition
70-
pertaining to a job which may require human
71-
intervention. Typically, Dataflow pipeline
72-
runners display log messages at this level by
73-
default, and these messages are displayed by
74-
default in the Dataflow monitoring UI.
75-
JOB_MESSAGE_ERROR (4):
76-
The message is at the 'error' level:
77-
indicating a condition
78-
preventing a job from succeeding. Typically,
66+
indicating a condition pertaining to a job which
67+
may require human intervention. Typically,
7968
Dataflow pipeline runners display log messages
8069
at this level by default, and these messages are
8170
displayed by default in the Dataflow monitoring
8271
UI.
72+
JOB_MESSAGE_ERROR (4):
73+
The message is at the 'error' level:
74+
indicating a condition preventing a job from
75+
succeeding. Typically, Dataflow pipeline
76+
runners display log messages at this level by
77+
default, and these messages are displayed by
78+
default in the Dataflow monitoring UI.
8379
"""
8480
JOB_MESSAGE_IMPORTANCE_UNKNOWN = 0
8581
JOB_MESSAGE_DEBUG = 1

google/cloud/dataflow_v1beta3/types/metrics.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ class MetricUpdate(proto.Message):
116116
"Mean", "Set", "And", "Or", and "Distribution".
117117
The specified aggregation kind is
118118
case-insensitive.
119+
119120
If omitted, this is not an aggregated value but
120121
instead a single metric sample value.
121122
cumulative (bool):
@@ -342,6 +343,7 @@ class ProgressTimeseries(proto.Message):
342343
The current progress of the component, in the range [0,1].
343344
data_points (MutableSequence[google.cloud.dataflow_v1beta3.types.ProgressTimeseries.Point]):
344345
History of progress for the component.
346+
345347
Points are sorted by time.
346348
"""
347349

@@ -388,6 +390,7 @@ class StageSummary(proto.Message):
388390
Start time of this stage.
389391
end_time (google.protobuf.timestamp_pb2.Timestamp):
390392
End time of this stage.
393+
391394
If the work item is completed, this is the
392395
actual end time of the stage. Otherwise, it is
393396
the predicted end time.
@@ -537,6 +540,7 @@ class WorkItemDetails(proto.Message):
537540
Start time of this work item attempt.
538541
end_time (google.protobuf.timestamp_pb2.Timestamp):
539542
End time of this work item attempt.
543+
540544
If the work item is completed, this is the
541545
actual end time of the work item. Otherwise, it
542546
is the predicted end time.

0 commit comments

Comments
 (0)