Debian Codegraph @

docs/dyn/dataflow_v1b3.projects.locations.jobs.stages.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="dataflow_v1b3.html">Dataflow API</a> . <a href="dataflow_v1b3.projects.html">projects</a> . <a href="dataflow_v1b3.projects.locations.html">locations</a> . <a href="dataflow_v1b3.projects.locations.jobs.html">jobs</a> . <a href="dataflow_v1b3.projects.locations.jobs.stages.html">stages</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#getExecutionDetails">getExecutionDetails(projectId, location, jobId, stageId, endTime=None, pageSize=None, pageToken=None, startTime=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Request detailed information about the execution status of a stage of the job. EXPERIMENTAL. This API is subject to change or removal without notice.</p>
83 <p class="toc_element">
84 <code><a href="#getExecutionDetails_next">getExecutionDetails_next()</a></code></p>
85 <p class="firstline">Retrieves the next page of results.</p>
86 <h3>Method Details</h3>
87 <div class="method">
88 <code class="details" id="close">close()</code>
89 <pre>Close httplib2 connections.</pre>
90 </div>
91
92 <div class="method">
93 <code class="details" id="getExecutionDetails">getExecutionDetails(projectId, location, jobId, stageId, endTime=None, pageSize=None, pageToken=None, startTime=None, x__xgafv=None)</code>
94 <pre>Request detailed information about the execution status of a stage of the job. EXPERIMENTAL. This API is subject to change or removal without notice.
95
96 Args:
97 projectId: string, A project id. (required)
98 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id. (required)
99 jobId: string, The job to get execution details for. (required)
100 stageId: string, The stage for which to fetch information. (required)
101 endTime: string, Upper time bound of work items to include, by start time.
102 pageSize: integer, If specified, determines the maximum number of work items to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results.
103 pageToken: string, If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.
104 startTime: string, Lower time bound of work items to include, by start time.
105 x__xgafv: string, V1 error format.
106 Allowed values
107 1 - v1 error format
108 2 - v2 error format
109
110 Returns:
111 An object of the form:
112
113 { # Information about the workers and work items within a stage.
114 &quot;nextPageToken&quot;: &quot;A String&quot;, # If present, this response does not contain all requested tasks. To obtain the next page of results, repeat the request with page_token set to this value.
115 &quot;workers&quot;: [ # Workers that have done work on the stage.
116 { # Information about a worker
117 &quot;workItems&quot;: [ # Work items processed by this worker, sorted by time.
118 { # Information about an individual work item execution.
119 &quot;attemptId&quot;: &quot;A String&quot;, # Attempt ID of this work item
120 &quot;endTime&quot;: &quot;A String&quot;, # End time of this work item attempt. If the work item is completed, this is the actual end time of the work item. Otherwise, it is the predicted end time.
121 &quot;metrics&quot;: [ # Metrics for this work item.
122 { # Describes the state of a metric.
123 &quot;boundedTrie&quot;: &quot;&quot;, # Worker-computed aggregate value for the &quot;Trie&quot; aggregation kind. The only possible value type is a BoundedTrieNode. Introduced this field to avoid breaking older SDKs when Dataflow service starts to populate the `bounded_trie` field.
124 &quot;cumulative&quot;: True or False, # True if this metric is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this metric is reported as a delta that is not associated with any WorkItem.
125 &quot;distribution&quot;: &quot;&quot;, # A struct value describing properties of a distribution of numeric values.
126 &quot;gauge&quot;: &quot;&quot;, # A struct value describing properties of a Gauge. Metrics of gauge type show the value of a metric across time, and is aggregated based on the newest value.
127 &quot;internal&quot;: &quot;&quot;, # Worker-computed aggregate value for internal use by the Dataflow service.
128 &quot;kind&quot;: &quot;A String&quot;, # Metric aggregation kind. The possible metric aggregation kinds are &quot;Sum&quot;, &quot;Max&quot;, &quot;Min&quot;, &quot;Mean&quot;, &quot;Set&quot;, &quot;And&quot;, &quot;Or&quot;, and &quot;Distribution&quot;. The specified aggregation kind is case-insensitive. If omitted, this is not an aggregated value but instead a single metric sample value.
129 &quot;meanCount&quot;: &quot;&quot;, # Worker-computed aggregate value for the &quot;Mean&quot; aggregation kind. This holds the count of the aggregated values and is used in combination with mean_sum above to obtain the actual mean aggregate value. The only possible value type is Long.
130 &quot;meanSum&quot;: &quot;&quot;, # Worker-computed aggregate value for the &quot;Mean&quot; aggregation kind. This holds the sum of the aggregated values and is used in combination with mean_count below to obtain the actual mean aggregate value. The only possible value types are Long and Double.
131 &quot;name&quot;: { # Identifies a metric, by describing the source which generated the metric. # Name of the metric.
132 &quot;context&quot;: { # Zero or more labeled fields which identify the part of the job this metric is associated with, such as the name of a step or collection. For example, built-in counters associated with steps will have context[&#x27;step&#x27;] = . Counters associated with PCollections in the SDK will have context[&#x27;pcollection&#x27;] = .
133 &quot;a_key&quot;: &quot;A String&quot;,
134 },
135 &quot;name&quot;: &quot;A String&quot;, # Worker-defined metric name.
136 &quot;origin&quot;: &quot;A String&quot;, # Origin (namespace) of metric name. May be blank for user-define metrics; will be &quot;dataflow&quot; for metrics defined by the Dataflow service or SDK.
137 },
138 &quot;scalar&quot;: &quot;&quot;, # Worker-computed aggregate value for aggregation kinds &quot;Sum&quot;, &quot;Max&quot;, &quot;Min&quot;, &quot;And&quot;, and &quot;Or&quot;. The possible value types are Long, Double, and Boolean.
139 &quot;set&quot;: &quot;&quot;, # Worker-computed aggregate value for the &quot;Set&quot; aggregation kind. The only possible value type is a list of Values whose type can be Long, Double, String, or BoundedTrie according to the metric&#x27;s type. All Values in the list must be of the same type.
140 &quot;trie&quot;: &quot;&quot;, # Worker-computed aggregate value for the &quot;Trie&quot; aggregation kind. The only possible value type is a BoundedTrieNode.
141 &quot;updateTime&quot;: &quot;A String&quot;, # Timestamp associated with the metric value. Optional when workers are reporting work progress; it will be filled in responses from the metrics API.
142 },
143 ],
144 &quot;progress&quot;: { # Information about the progress of some component of job execution. # Progress of this work item.
145 &quot;currentProgress&quot;: 3.14, # The current progress of the component, in the range [0,1].
146 &quot;dataPoints&quot;: [ # History of progress for the component. Points are sorted by time.
147 { # A point in the timeseries.
148 &quot;time&quot;: &quot;A String&quot;, # The timestamp of the point.
149 &quot;value&quot;: 3.14, # The value of the point.
150 },
151 ],
152 },
153 &quot;startTime&quot;: &quot;A String&quot;, # Start time of this work item attempt.
154 &quot;state&quot;: &quot;A String&quot;, # State of this work item.
155 &quot;stragglerInfo&quot;: { # Information useful for straggler identification and debugging. # Information about straggler detections for this work item.
156 &quot;causes&quot;: { # The straggler causes, keyed by the string representation of the StragglerCause enum and contains specialized debugging information for each straggler cause.
157 &quot;a_key&quot;: { # Information useful for debugging a straggler. Each type will provide specialized debugging information relevant for a particular cause. The StragglerDebuggingInfo will be 1:1 mapping to the StragglerCause enum.
158 &quot;hotKey&quot;: { # Information useful for debugging a hot key detection. # Hot key debugging details.
159 &quot;detectedHotKeys&quot;: { # Debugging information for each detected hot key. Keyed by a hash of the key.
160 &quot;a_key&quot;: { # Information about a hot key.
161 &quot;hotKeyAge&quot;: &quot;A String&quot;, # The age of the hot key measured from when it was first detected.
162 &quot;key&quot;: &quot;A String&quot;, # A detected hot key that is causing limited parallelism. This field will be populated only if the following flag is set to true: &quot;--enable_hot_key_logging&quot;.
163 &quot;keyTruncated&quot;: True or False, # If true, then the above key is truncated and cannot be deserialized. This occurs if the key above is populated and the key size is &gt;5MB.
164 },
165 },
166 },
167 },
168 },
169 &quot;startTime&quot;: &quot;A String&quot;, # The time when the work item attempt became a straggler.
170 },
171 &quot;taskId&quot;: &quot;A String&quot;, # Name of this work item.
172 },
173 ],
174 &quot;workerName&quot;: &quot;A String&quot;, # Name of this worker
175 },
176 ],
177 }</pre>
178 </div>
179
180 <div class="method">
181 <code class="details" id="getExecutionDetails_next">getExecutionDetails_next()</code>
182 <pre>Retrieves the next page of results.
183
184 Args:
185 previous_request: The request for the previous page. (required)
186 previous_response: The response from the request for the previous page. (required)
187
188 Returns:
189 A request object that you can call &#x27;execute()&#x27; on to request the next
190 page. Returns None if there are no more items in the collection.
191 </pre>
192 </div>
193
194 </body></html>