Debian Codegraph @

docs/dyn/dataflow_v1b3.projects.locations.jobs.debug.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.debug.html">debug</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="#getConfig">getConfig(projectId, location, jobId, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Get encoded debug configuration for component. Not cacheable.</p>
83 <p class="toc_element">
84 <code><a href="#getWorkerStacktraces">getWorkerStacktraces(projectId, location, jobId, body=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Get worker stacktraces from debug capture.</p>
86 <p class="toc_element">
87 <code><a href="#sendCapture">sendCapture(projectId, location, jobId, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Send encoded debug capture data for component.</p>
89 <h3>Method Details</h3>
90 <div class="method">
91 <code class="details" id="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93 </div>
94
95 <div class="method">
96 <code class="details" id="getConfig">getConfig(projectId, location, jobId, body=None, x__xgafv=None)</code>
97 <pre>Get encoded debug configuration for component. Not cacheable.
98
99 Args:
100 projectId: string, The project id. (required)
101 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id. (required)
102 jobId: string, The job id. (required)
103 body: object, The request body.
104 The object takes the form of:
105
106 { # Request to get updated debug configuration for component.
107 &quot;componentId&quot;: &quot;A String&quot;, # The internal component id for which debug configuration is requested.
108 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
109 &quot;workerId&quot;: &quot;A String&quot;, # The worker id, i.e., VM hostname.
110 }
111
112 x__xgafv: string, V1 error format.
113 Allowed values
114 1 - v1 error format
115 2 - v2 error format
116
117 Returns:
118 An object of the form:
119
120 { # Response to a get debug configuration request.
121 &quot;config&quot;: &quot;A String&quot;, # The encoded debug configuration for the requested component.
122 }</pre>
123 </div>
124
125 <div class="method">
126 <code class="details" id="getWorkerStacktraces">getWorkerStacktraces(projectId, location, jobId, body=None, x__xgafv=None)</code>
127 <pre>Get worker stacktraces from debug capture.
128
129 Args:
130 projectId: string, The project id. (required)
131 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id. (required)
132 jobId: string, The job for which to get stacktraces. (required)
133 body: object, The request body.
134 The object takes the form of:
135
136 { # Request to get worker stacktraces from debug capture.
137 &quot;endTime&quot;: &quot;A String&quot;, # The end time for the stacktrace query. The returned stacktraces will be a recent stack trace at or shortly before this time.
138 &quot;workerId&quot;: &quot;A String&quot;, # The worker for which to get stacktraces. The returned stacktraces will be for the SDK harness running on this worker.
139 }
140
141 x__xgafv: string, V1 error format.
142 Allowed values
143 1 - v1 error format
144 2 - v2 error format
145
146 Returns:
147 An object of the form:
148
149 { # Response to get worker stacktraces from debug capture.
150 &quot;sdks&quot;: [ # Repeated as unified worker may have multiple SDK processes.
151 { # A structured representation of an SDK.
152 &quot;sdkId&quot;: &quot;A String&quot;, # The SDK harness id.
153 &quot;stacks&quot;: [ # The stacktraces for the processes running on the SDK harness.
154 { # A structuredstacktrace for a process running on the worker.
155 &quot;stackContent&quot;: &quot;A String&quot;, # The raw stack trace.
156 &quot;threadCount&quot;: 42, # With java thread dumps we may get collapsed stacks e.g., N threads in stack &quot;&quot;. Instead of having to copy over the same stack trace N times, this int field captures this.
157 &quot;threadName&quot;: &quot;A String&quot;, # Thread name. For example, &quot;CommitThread-0,10,main&quot;
158 &quot;threadState&quot;: &quot;A String&quot;, # The state of the thread. For example, &quot;WAITING&quot;.
159 &quot;timestamp&quot;: &quot;A String&quot;, # Timestamp at which the stack was captured.
160 },
161 ],
162 },
163 ],
164 }</pre>
165 </div>
166
167 <div class="method">
168 <code class="details" id="sendCapture">sendCapture(projectId, location, jobId, body=None, x__xgafv=None)</code>
169 <pre>Send encoded debug capture data for component.
170
171 Args:
172 projectId: string, The project id. (required)
173 location: string, The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id. (required)
174 jobId: string, The job id. (required)
175 body: object, The request body.
176 The object takes the form of:
177
178 { # Request to send encoded debug information. Next ID: 8
179 &quot;componentId&quot;: &quot;A String&quot;, # The internal component id for which debug information is sent.
180 &quot;data&quot;: &quot;A String&quot;, # The encoded debug information.
181 &quot;dataFormat&quot;: &quot;A String&quot;, # Format for the data field above (id=5).
182 &quot;location&quot;: &quot;A String&quot;, # The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
183 &quot;workerId&quot;: &quot;A String&quot;, # The worker id, i.e., VM hostname.
184 }
185
186 x__xgafv: string, V1 error format.
187 Allowed values
188 1 - v1 error format
189 2 - v2 error format
190
191 Returns:
192 An object of the form:
193
194 { # Response to a send capture request. nothing
195 }</pre>
196 </div>
197
198 </body></html>