blob: dd83bb93f1d192f60636cdc93e2a8012056f6752 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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="cloudprofiler_v2.html">Stackdriver Profiler API</a> . <a href="cloudprofiler_v2.projects.html">projects</a> . <a href="cloudprofiler_v2.projects.profiles.html">profiles</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">CreateProfile creates a new profile resource in the online mode.</p>
80<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070081 <code><a href="#createOffline">createOffline(parent, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070082<p class="firstline">CreateOfflineProfile creates a new profile resource in the offline mode.</p>
83<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070084 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070085<p class="firstline">UpdateProfile updates the profile bytes and labels on the profile resource</p>
86<h3>Method Details</h3>
87<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070088 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070089 <pre>CreateProfile creates a new profile resource in the online mode.
90
91The server ensures that the new profiles are created at a constant rate per
92deployment, so the creation request may hang for some time until the next
93profile session is available.
94
95The request may fail with ABORTED error if the creation is not available
96within ~1m, the response will indicate the duration of the backoff the
97client should take before attempting creating a profile again. The backoff
98duration is returned in google.rpc.RetryInfo extension on the response
99status. To a gRPC client, the extension will be return as a
100binary-serialized proto in the trailing metadata item named
Bu Sun Kim65020912020-05-20 12:08:20 -0700101&quot;google.rpc.retryinfo-bin&quot;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700102
103Args:
104 parent: string, Parent project to create the profile in. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700105 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700106 The object takes the form of:
107
108{ # CreateProfileRequest describes a profile resource online creation request.
109 # The deployment field must be populated. The profile_type specifies the list
110 # of profile types supported by the agent. The creation call will hang until a
111 # profile of one of these types needs to be collected.
Bu Sun Kim65020912020-05-20 12:08:20 -0700112 &quot;deployment&quot;: { # Deployment contains the deployment identification information. # Deployment details.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700113 &quot;target&quot;: &quot;A String&quot;, # Target is the service name used to group related deployments:
114 # * Service name for GAE Flex / Standard.
115 # * Cluster and container name for GKE.
116 # * User-specified string for direct GCE profiling (e.g. Java).
117 # * Job name for Dataflow.
118 # Validation regex: `^[a-z]([-a-z0-9_.]{0,253}[a-z0-9])?$`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700119 &quot;labels&quot;: { # Labels identify the deployment within the user universe and same target.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700120 # Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
Dan O'Mearadd494642020-05-01 07:42:23 -0700121 # Value for an individual label must be &lt;= 512 bytes, the total
122 # size of all label names and values must be &lt;= 1024 bytes.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700123 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700124 # Label named &quot;language&quot; can be used to record the programming language of
125 # the profiled deployment. The standard choices for the value include &quot;java&quot;,
126 # &quot;go&quot;, &quot;python&quot;, &quot;ruby&quot;, &quot;nodejs&quot;, &quot;php&quot;, &quot;dotnet&quot;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700127 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700128 # For deployments running on Google Cloud Platform, &quot;zone&quot; or &quot;region&quot; label
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700129 # should be present describing the deployment location. An example of a zone
Bu Sun Kim65020912020-05-20 12:08:20 -0700130 # is &quot;us-central1-a&quot;, an example of a region is &quot;us-central1&quot; or
131 # &quot;us-central&quot;.
132 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700133 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700134 &quot;projectId&quot;: &quot;A String&quot;, # Project ID is the ID of a cloud project.
135 # Validation regex: `^a-z{4,61}[a-z0-9]$`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700136 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700137 &quot;profileType&quot;: [ # One or more profile types that the agent is capable of providing.
138 &quot;A String&quot;,
139 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700140 }
141
142 x__xgafv: string, V1 error format.
143 Allowed values
144 1 - v1 error format
145 2 - v2 error format
146
147Returns:
148 An object of the form:
149
150 { # Profile resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700151 &quot;name&quot;: &quot;A String&quot;, # Output only. Opaque, server-assigned, unique ID for this profile.
152 &quot;duration&quot;: &quot;A String&quot;, # Duration of the profiling session.
153 # Input (for the offline mode) or output (for the online mode).
154 # The field represents requested profiling duration. It may slightly differ
155 # from the effective profiling duration, which is recorded in the profile
156 # data, in case the profiling can&#x27;t be stopped immediately (e.g. in case
157 # stopping the profiling is handled asynchronously).
Bu Sun Kim65020912020-05-20 12:08:20 -0700158 &quot;deployment&quot;: { # Deployment contains the deployment identification information. # Deployment this profile corresponds to.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700159 &quot;target&quot;: &quot;A String&quot;, # Target is the service name used to group related deployments:
160 # * Service name for GAE Flex / Standard.
161 # * Cluster and container name for GKE.
162 # * User-specified string for direct GCE profiling (e.g. Java).
163 # * Job name for Dataflow.
164 # Validation regex: `^[a-z]([-a-z0-9_.]{0,253}[a-z0-9])?$`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700165 &quot;labels&quot;: { # Labels identify the deployment within the user universe and same target.
166 # Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
167 # Value for an individual label must be &lt;= 512 bytes, the total
168 # size of all label names and values must be &lt;= 1024 bytes.
169 #
170 # Label named &quot;language&quot; can be used to record the programming language of
171 # the profiled deployment. The standard choices for the value include &quot;java&quot;,
172 # &quot;go&quot;, &quot;python&quot;, &quot;ruby&quot;, &quot;nodejs&quot;, &quot;php&quot;, &quot;dotnet&quot;.
173 #
174 # For deployments running on Google Cloud Platform, &quot;zone&quot; or &quot;region&quot; label
175 # should be present describing the deployment location. An example of a zone
176 # is &quot;us-central1-a&quot;, an example of a region is &quot;us-central1&quot; or
177 # &quot;us-central&quot;.
178 &quot;a_key&quot;: &quot;A String&quot;,
179 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700180 &quot;projectId&quot;: &quot;A String&quot;, # Project ID is the ID of a cloud project.
181 # Validation regex: `^a-z{4,61}[a-z0-9]$`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700182 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700183 &quot;profileType&quot;: &quot;A String&quot;, # Type of profile.
184 # For offline mode, this must be specified when creating the profile. For
185 # online mode it is assigned and returned by the server.
Bu Sun Kim65020912020-05-20 12:08:20 -0700186 &quot;labels&quot;: { # Input only. Labels associated to this specific profile. These labels will
187 # get merged with the deployment labels for the final data set. See
188 # documentation on deployment labels for validation rules and limits.
189 &quot;a_key&quot;: &quot;A String&quot;,
190 },
191 &quot;profileBytes&quot;: &quot;A String&quot;, # Input only. Profile bytes, as a gzip compressed serialized proto, the
192 # format is https://github.com/google/pprof/blob/master/proto/profile.proto.
Bu Sun Kim65020912020-05-20 12:08:20 -0700193 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700194</div>
195
196<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700197 <code class="details" id="createOffline">createOffline(parent, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700198 <pre>CreateOfflineProfile creates a new profile resource in the offline mode.
199The client provides the profile to create along with the profile bytes, the
200server records it.
201
202Args:
203 parent: string, Parent project to create the profile in. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700204 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700205 The object takes the form of:
206
207{ # Profile resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700208 &quot;name&quot;: &quot;A String&quot;, # Output only. Opaque, server-assigned, unique ID for this profile.
209 &quot;duration&quot;: &quot;A String&quot;, # Duration of the profiling session.
210 # Input (for the offline mode) or output (for the online mode).
211 # The field represents requested profiling duration. It may slightly differ
212 # from the effective profiling duration, which is recorded in the profile
213 # data, in case the profiling can&#x27;t be stopped immediately (e.g. in case
214 # stopping the profiling is handled asynchronously).
Bu Sun Kim65020912020-05-20 12:08:20 -0700215 &quot;deployment&quot;: { # Deployment contains the deployment identification information. # Deployment this profile corresponds to.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700216 &quot;target&quot;: &quot;A String&quot;, # Target is the service name used to group related deployments:
217 # * Service name for GAE Flex / Standard.
218 # * Cluster and container name for GKE.
219 # * User-specified string for direct GCE profiling (e.g. Java).
220 # * Job name for Dataflow.
221 # Validation regex: `^[a-z]([-a-z0-9_.]{0,253}[a-z0-9])?$`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700222 &quot;labels&quot;: { # Labels identify the deployment within the user universe and same target.
223 # Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
224 # Value for an individual label must be &lt;= 512 bytes, the total
225 # size of all label names and values must be &lt;= 1024 bytes.
226 #
227 # Label named &quot;language&quot; can be used to record the programming language of
228 # the profiled deployment. The standard choices for the value include &quot;java&quot;,
229 # &quot;go&quot;, &quot;python&quot;, &quot;ruby&quot;, &quot;nodejs&quot;, &quot;php&quot;, &quot;dotnet&quot;.
230 #
231 # For deployments running on Google Cloud Platform, &quot;zone&quot; or &quot;region&quot; label
232 # should be present describing the deployment location. An example of a zone
233 # is &quot;us-central1-a&quot;, an example of a region is &quot;us-central1&quot; or
234 # &quot;us-central&quot;.
235 &quot;a_key&quot;: &quot;A String&quot;,
236 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700237 &quot;projectId&quot;: &quot;A String&quot;, # Project ID is the ID of a cloud project.
238 # Validation regex: `^a-z{4,61}[a-z0-9]$`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700239 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700240 &quot;profileType&quot;: &quot;A String&quot;, # Type of profile.
241 # For offline mode, this must be specified when creating the profile. For
242 # online mode it is assigned and returned by the server.
Bu Sun Kim65020912020-05-20 12:08:20 -0700243 &quot;labels&quot;: { # Input only. Labels associated to this specific profile. These labels will
244 # get merged with the deployment labels for the final data set. See
245 # documentation on deployment labels for validation rules and limits.
246 &quot;a_key&quot;: &quot;A String&quot;,
247 },
248 &quot;profileBytes&quot;: &quot;A String&quot;, # Input only. Profile bytes, as a gzip compressed serialized proto, the
249 # format is https://github.com/google/pprof/blob/master/proto/profile.proto.
Bu Sun Kim65020912020-05-20 12:08:20 -0700250 }
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700251
252 x__xgafv: string, V1 error format.
253 Allowed values
254 1 - v1 error format
255 2 - v2 error format
256
257Returns:
258 An object of the form:
259
260 { # Profile resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700261 &quot;name&quot;: &quot;A String&quot;, # Output only. Opaque, server-assigned, unique ID for this profile.
262 &quot;duration&quot;: &quot;A String&quot;, # Duration of the profiling session.
263 # Input (for the offline mode) or output (for the online mode).
264 # The field represents requested profiling duration. It may slightly differ
265 # from the effective profiling duration, which is recorded in the profile
266 # data, in case the profiling can&#x27;t be stopped immediately (e.g. in case
267 # stopping the profiling is handled asynchronously).
Bu Sun Kim65020912020-05-20 12:08:20 -0700268 &quot;deployment&quot;: { # Deployment contains the deployment identification information. # Deployment this profile corresponds to.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700269 &quot;target&quot;: &quot;A String&quot;, # Target is the service name used to group related deployments:
270 # * Service name for GAE Flex / Standard.
271 # * Cluster and container name for GKE.
272 # * User-specified string for direct GCE profiling (e.g. Java).
273 # * Job name for Dataflow.
274 # Validation regex: `^[a-z]([-a-z0-9_.]{0,253}[a-z0-9])?$`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700275 &quot;labels&quot;: { # Labels identify the deployment within the user universe and same target.
276 # Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
277 # Value for an individual label must be &lt;= 512 bytes, the total
278 # size of all label names and values must be &lt;= 1024 bytes.
279 #
280 # Label named &quot;language&quot; can be used to record the programming language of
281 # the profiled deployment. The standard choices for the value include &quot;java&quot;,
282 # &quot;go&quot;, &quot;python&quot;, &quot;ruby&quot;, &quot;nodejs&quot;, &quot;php&quot;, &quot;dotnet&quot;.
283 #
284 # For deployments running on Google Cloud Platform, &quot;zone&quot; or &quot;region&quot; label
285 # should be present describing the deployment location. An example of a zone
286 # is &quot;us-central1-a&quot;, an example of a region is &quot;us-central1&quot; or
287 # &quot;us-central&quot;.
288 &quot;a_key&quot;: &quot;A String&quot;,
289 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700290 &quot;projectId&quot;: &quot;A String&quot;, # Project ID is the ID of a cloud project.
291 # Validation regex: `^a-z{4,61}[a-z0-9]$`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700292 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700293 &quot;profileType&quot;: &quot;A String&quot;, # Type of profile.
294 # For offline mode, this must be specified when creating the profile. For
295 # online mode it is assigned and returned by the server.
Bu Sun Kim65020912020-05-20 12:08:20 -0700296 &quot;labels&quot;: { # Input only. Labels associated to this specific profile. These labels will
297 # get merged with the deployment labels for the final data set. See
298 # documentation on deployment labels for validation rules and limits.
299 &quot;a_key&quot;: &quot;A String&quot;,
300 },
301 &quot;profileBytes&quot;: &quot;A String&quot;, # Input only. Profile bytes, as a gzip compressed serialized proto, the
302 # format is https://github.com/google/pprof/blob/master/proto/profile.proto.
Bu Sun Kim65020912020-05-20 12:08:20 -0700303 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700304</div>
305
306<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700307 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700308 <pre>UpdateProfile updates the profile bytes and labels on the profile resource
309created in the online mode. Updating the bytes for profiles created in the
310offline mode is currently not supported: the profile content must be
311provided at the time of the profile creation.
312
313Args:
314 name: string, Output only. Opaque, server-assigned, unique ID for this profile. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700315 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700316 The object takes the form of:
317
318{ # Profile resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700319 &quot;name&quot;: &quot;A String&quot;, # Output only. Opaque, server-assigned, unique ID for this profile.
320 &quot;duration&quot;: &quot;A String&quot;, # Duration of the profiling session.
321 # Input (for the offline mode) or output (for the online mode).
322 # The field represents requested profiling duration. It may slightly differ
323 # from the effective profiling duration, which is recorded in the profile
324 # data, in case the profiling can&#x27;t be stopped immediately (e.g. in case
325 # stopping the profiling is handled asynchronously).
Bu Sun Kim65020912020-05-20 12:08:20 -0700326 &quot;deployment&quot;: { # Deployment contains the deployment identification information. # Deployment this profile corresponds to.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700327 &quot;target&quot;: &quot;A String&quot;, # Target is the service name used to group related deployments:
328 # * Service name for GAE Flex / Standard.
329 # * Cluster and container name for GKE.
330 # * User-specified string for direct GCE profiling (e.g. Java).
331 # * Job name for Dataflow.
332 # Validation regex: `^[a-z]([-a-z0-9_.]{0,253}[a-z0-9])?$`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700333 &quot;labels&quot;: { # Labels identify the deployment within the user universe and same target.
334 # Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
335 # Value for an individual label must be &lt;= 512 bytes, the total
336 # size of all label names and values must be &lt;= 1024 bytes.
337 #
338 # Label named &quot;language&quot; can be used to record the programming language of
339 # the profiled deployment. The standard choices for the value include &quot;java&quot;,
340 # &quot;go&quot;, &quot;python&quot;, &quot;ruby&quot;, &quot;nodejs&quot;, &quot;php&quot;, &quot;dotnet&quot;.
341 #
342 # For deployments running on Google Cloud Platform, &quot;zone&quot; or &quot;region&quot; label
343 # should be present describing the deployment location. An example of a zone
344 # is &quot;us-central1-a&quot;, an example of a region is &quot;us-central1&quot; or
345 # &quot;us-central&quot;.
346 &quot;a_key&quot;: &quot;A String&quot;,
347 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700348 &quot;projectId&quot;: &quot;A String&quot;, # Project ID is the ID of a cloud project.
349 # Validation regex: `^a-z{4,61}[a-z0-9]$`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700350 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700351 &quot;profileType&quot;: &quot;A String&quot;, # Type of profile.
352 # For offline mode, this must be specified when creating the profile. For
353 # online mode it is assigned and returned by the server.
Bu Sun Kim65020912020-05-20 12:08:20 -0700354 &quot;labels&quot;: { # Input only. Labels associated to this specific profile. These labels will
355 # get merged with the deployment labels for the final data set. See
356 # documentation on deployment labels for validation rules and limits.
357 &quot;a_key&quot;: &quot;A String&quot;,
358 },
359 &quot;profileBytes&quot;: &quot;A String&quot;, # Input only. Profile bytes, as a gzip compressed serialized proto, the
360 # format is https://github.com/google/pprof/blob/master/proto/profile.proto.
Bu Sun Kim65020912020-05-20 12:08:20 -0700361 }
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700362
363 updateMask: string, Field mask used to specify the fields to be overwritten. Currently only
364profile_bytes and labels fields are supported by UpdateProfile, so only
365those fields can be specified in the mask. When no mask is provided, all
366fields are overwritten.
367 x__xgafv: string, V1 error format.
368 Allowed values
369 1 - v1 error format
370 2 - v2 error format
371
372Returns:
373 An object of the form:
374
375 { # Profile resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700376 &quot;name&quot;: &quot;A String&quot;, # Output only. Opaque, server-assigned, unique ID for this profile.
377 &quot;duration&quot;: &quot;A String&quot;, # Duration of the profiling session.
378 # Input (for the offline mode) or output (for the online mode).
379 # The field represents requested profiling duration. It may slightly differ
380 # from the effective profiling duration, which is recorded in the profile
381 # data, in case the profiling can&#x27;t be stopped immediately (e.g. in case
382 # stopping the profiling is handled asynchronously).
Bu Sun Kim65020912020-05-20 12:08:20 -0700383 &quot;deployment&quot;: { # Deployment contains the deployment identification information. # Deployment this profile corresponds to.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700384 &quot;target&quot;: &quot;A String&quot;, # Target is the service name used to group related deployments:
385 # * Service name for GAE Flex / Standard.
386 # * Cluster and container name for GKE.
387 # * User-specified string for direct GCE profiling (e.g. Java).
388 # * Job name for Dataflow.
389 # Validation regex: `^[a-z]([-a-z0-9_.]{0,253}[a-z0-9])?$`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700390 &quot;labels&quot;: { # Labels identify the deployment within the user universe and same target.
391 # Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
392 # Value for an individual label must be &lt;= 512 bytes, the total
393 # size of all label names and values must be &lt;= 1024 bytes.
394 #
395 # Label named &quot;language&quot; can be used to record the programming language of
396 # the profiled deployment. The standard choices for the value include &quot;java&quot;,
397 # &quot;go&quot;, &quot;python&quot;, &quot;ruby&quot;, &quot;nodejs&quot;, &quot;php&quot;, &quot;dotnet&quot;.
398 #
399 # For deployments running on Google Cloud Platform, &quot;zone&quot; or &quot;region&quot; label
400 # should be present describing the deployment location. An example of a zone
401 # is &quot;us-central1-a&quot;, an example of a region is &quot;us-central1&quot; or
402 # &quot;us-central&quot;.
403 &quot;a_key&quot;: &quot;A String&quot;,
404 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700405 &quot;projectId&quot;: &quot;A String&quot;, # Project ID is the ID of a cloud project.
406 # Validation regex: `^a-z{4,61}[a-z0-9]$`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700407 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700408 &quot;profileType&quot;: &quot;A String&quot;, # Type of profile.
409 # For offline mode, this must be specified when creating the profile. For
410 # online mode it is assigned and returned by the server.
Bu Sun Kim65020912020-05-20 12:08:20 -0700411 &quot;labels&quot;: { # Input only. Labels associated to this specific profile. These labels will
412 # get merged with the deployment labels for the final data set. See
413 # documentation on deployment labels for validation rules and limits.
414 &quot;a_key&quot;: &quot;A String&quot;,
415 },
416 &quot;profileBytes&quot;: &quot;A String&quot;, # Input only. Profile bytes, as a gzip compressed serialized proto, the
417 # format is https://github.com/google/pprof/blob/master/proto/profile.proto.
Bu Sun Kim65020912020-05-20 12:08:20 -0700418 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700419</div>
420
421</body></html>