Debian Codegraph @

docs/dyn/cloudprofiler_v2.projects.profiles.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="cloudprofiler_v2.html">Cloud 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">
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="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">CreateProfile creates a new profile resource in the online mode. _Direct use of this API is discouraged, please use a [supported profiler agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) instead for profile collection._ The server ensures that the new profiles are created at a constant rate per deployment, so the creation request may hang for some time until the next profile session is available. The request may fail with ABORTED error if the creation is not available within ~1m, the response will indicate the duration of the backoff the client should take before attempting creating a profile again. The backoff duration is returned in google.rpc.RetryInfo extension on the response status. To a gRPC client, the extension will be return as a binary-serialized proto in the trailing metadata item named "google.rpc.retryinfo-bin". </p>
83 <p class="toc_element">
84 <code><a href="#createOffline">createOffline(parent, body=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">CreateOfflineProfile creates a new profile resource in the offline mode. The client provides the profile to create along with the profile bytes, the server records it. _Direct use of this API is discouraged, please use a [supported profiler agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) instead for profile collection._</p>
86 <p class="toc_element">
87 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists profiles which have been collected so far and for which the caller has permission to view.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <p class="toc_element">
93 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">UpdateProfile updates the profile bytes and labels on the profile resource created in the online mode. Updating the bytes for profiles created in the offline mode is currently not supported: the profile content must be provided at the time of the profile creation. _Direct use of this API is discouraged, please use a [supported profiler agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) instead for profile collection._</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
103 <pre>CreateProfile creates a new profile resource in the online mode. _Direct use of this API is discouraged, please use a [supported profiler agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) instead for profile collection._ The server ensures that the new profiles are created at a constant rate per deployment, so the creation request may hang for some time until the next profile session is available. The request may fail with ABORTED error if the creation is not available within ~1m, the response will indicate the duration of the backoff the client should take before attempting creating a profile again. The backoff duration is returned in google.rpc.RetryInfo extension on the response status. To a gRPC client, the extension will be return as a binary-serialized proto in the trailing metadata item named &quot;google.rpc.retryinfo-bin&quot;.
104
105 Args:
106 parent: string, Parent project to create the profile in. (required)
107 body: object, The request body.
108 The object takes the form of:
109
110 { # CreateProfileRequest describes a profile resource online creation request. The deployment field must be populated. The profile_type specifies the list of profile types supported by the agent. The creation call will hang until a profile of one of these types needs to be collected.
111 &quot;deployment&quot;: { # Deployment contains the deployment identification information. # Deployment details.
112 &quot;labels&quot;: { # Labels identify the deployment within the user universe and same target. Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. Value for an individual label must be &lt;= 512 bytes, the total size of all label names and values must be &lt;= 1024 bytes. Label named &quot;language&quot; can be used to record the programming language of the profiled deployment. The standard choices for the value include &quot;java&quot;, &quot;go&quot;, &quot;python&quot;, &quot;ruby&quot;, &quot;nodejs&quot;, &quot;php&quot;, &quot;dotnet&quot;. For deployments running on Google Cloud Platform, &quot;zone&quot; or &quot;region&quot; label should be present describing the deployment location. An example of a zone is &quot;us-central1-a&quot;, an example of a region is &quot;us-central1&quot; or &quot;us-central&quot;.
113 &quot;a_key&quot;: &quot;A String&quot;,
114 },
115 &quot;projectId&quot;: &quot;A String&quot;, # Project ID is the ID of a cloud project. Validation regex: `^a-z{4,61}[a-z0-9]$`.
116 &quot;target&quot;: &quot;A String&quot;, # Target is the service name used to group related deployments: * Service name for App Engine Flex / Standard. * Cluster and container name for GKE. * User-specified string for direct Compute Engine profiling (e.g. Java). * Job name for Dataflow. Validation regex: `^[a-z0-9]([-a-z0-9_.]{0,253}[a-z0-9])?$`.
117 },
118 &quot;profileType&quot;: [ # One or more profile types that the agent is capable of providing.
119 &quot;A String&quot;,
120 ],
121 }
122
123 x__xgafv: string, V1 error format.
124 Allowed values
125 1 - v1 error format
126 2 - v2 error format
127
128 Returns:
129 An object of the form:
130
131 { # Profile resource.
132 &quot;deployment&quot;: { # Deployment contains the deployment identification information. # Deployment this profile corresponds to.
133 &quot;labels&quot;: { # Labels identify the deployment within the user universe and same target. Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. Value for an individual label must be &lt;= 512 bytes, the total size of all label names and values must be &lt;= 1024 bytes. Label named &quot;language&quot; can be used to record the programming language of the profiled deployment. The standard choices for the value include &quot;java&quot;, &quot;go&quot;, &quot;python&quot;, &quot;ruby&quot;, &quot;nodejs&quot;, &quot;php&quot;, &quot;dotnet&quot;. For deployments running on Google Cloud Platform, &quot;zone&quot; or &quot;region&quot; label should be present describing the deployment location. An example of a zone is &quot;us-central1-a&quot;, an example of a region is &quot;us-central1&quot; or &quot;us-central&quot;.
134 &quot;a_key&quot;: &quot;A String&quot;,
135 },
136 &quot;projectId&quot;: &quot;A String&quot;, # Project ID is the ID of a cloud project. Validation regex: `^a-z{4,61}[a-z0-9]$`.
137 &quot;target&quot;: &quot;A String&quot;, # Target is the service name used to group related deployments: * Service name for App Engine Flex / Standard. * Cluster and container name for GKE. * User-specified string for direct Compute Engine profiling (e.g. Java). * Job name for Dataflow. Validation regex: `^[a-z0-9]([-a-z0-9_.]{0,253}[a-z0-9])?$`.
138 },
139 &quot;duration&quot;: &quot;A String&quot;, # Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can&#x27;t be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).
140 &quot;labels&quot;: { # Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.
141 &quot;a_key&quot;: &quot;A String&quot;,
142 },
143 &quot;name&quot;: &quot;A String&quot;, # Output only. Opaque, server-assigned, unique ID for this profile.
144 &quot;profileBytes&quot;: &quot;A String&quot;, # Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
145 &quot;profileType&quot;: &quot;A String&quot;, # Type of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server.
146 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time for the profile. This output is only present in response from the ListProfiles method.
147 }</pre>
148 </div>
149
150 <div class="method">
151 <code class="details" id="createOffline">createOffline(parent, body=None, x__xgafv=None)</code>
152 <pre>CreateOfflineProfile creates a new profile resource in the offline mode. The client provides the profile to create along with the profile bytes, the server records it. _Direct use of this API is discouraged, please use a [supported profiler agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) instead for profile collection._
153
154 Args:
155 parent: string, Parent project to create the profile in. (required)
156 body: object, The request body.
157 The object takes the form of:
158
159 { # Profile resource.
160 &quot;deployment&quot;: { # Deployment contains the deployment identification information. # Deployment this profile corresponds to.
161 &quot;labels&quot;: { # Labels identify the deployment within the user universe and same target. Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. Value for an individual label must be &lt;= 512 bytes, the total size of all label names and values must be &lt;= 1024 bytes. Label named &quot;language&quot; can be used to record the programming language of the profiled deployment. The standard choices for the value include &quot;java&quot;, &quot;go&quot;, &quot;python&quot;, &quot;ruby&quot;, &quot;nodejs&quot;, &quot;php&quot;, &quot;dotnet&quot;. For deployments running on Google Cloud Platform, &quot;zone&quot; or &quot;region&quot; label should be present describing the deployment location. An example of a zone is &quot;us-central1-a&quot;, an example of a region is &quot;us-central1&quot; or &quot;us-central&quot;.
162 &quot;a_key&quot;: &quot;A String&quot;,
163 },
164 &quot;projectId&quot;: &quot;A String&quot;, # Project ID is the ID of a cloud project. Validation regex: `^a-z{4,61}[a-z0-9]$`.
165 &quot;target&quot;: &quot;A String&quot;, # Target is the service name used to group related deployments: * Service name for App Engine Flex / Standard. * Cluster and container name for GKE. * User-specified string for direct Compute Engine profiling (e.g. Java). * Job name for Dataflow. Validation regex: `^[a-z0-9]([-a-z0-9_.]{0,253}[a-z0-9])?$`.
166 },
167 &quot;duration&quot;: &quot;A String&quot;, # Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can&#x27;t be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).
168 &quot;labels&quot;: { # Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.
169 &quot;a_key&quot;: &quot;A String&quot;,
170 },
171 &quot;name&quot;: &quot;A String&quot;, # Output only. Opaque, server-assigned, unique ID for this profile.
172 &quot;profileBytes&quot;: &quot;A String&quot;, # Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
173 &quot;profileType&quot;: &quot;A String&quot;, # Type of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server.
174 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time for the profile. This output is only present in response from the ListProfiles method.
175 }
176
177 x__xgafv: string, V1 error format.
178 Allowed values
179 1 - v1 error format
180 2 - v2 error format
181
182 Returns:
183 An object of the form:
184
185 { # Profile resource.
186 &quot;deployment&quot;: { # Deployment contains the deployment identification information. # Deployment this profile corresponds to.
187 &quot;labels&quot;: { # Labels identify the deployment within the user universe and same target. Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. Value for an individual label must be &lt;= 512 bytes, the total size of all label names and values must be &lt;= 1024 bytes. Label named &quot;language&quot; can be used to record the programming language of the profiled deployment. The standard choices for the value include &quot;java&quot;, &quot;go&quot;, &quot;python&quot;, &quot;ruby&quot;, &quot;nodejs&quot;, &quot;php&quot;, &quot;dotnet&quot;. For deployments running on Google Cloud Platform, &quot;zone&quot; or &quot;region&quot; label should be present describing the deployment location. An example of a zone is &quot;us-central1-a&quot;, an example of a region is &quot;us-central1&quot; or &quot;us-central&quot;.
188 &quot;a_key&quot;: &quot;A String&quot;,
189 },
190 &quot;projectId&quot;: &quot;A String&quot;, # Project ID is the ID of a cloud project. Validation regex: `^a-z{4,61}[a-z0-9]$`.
191 &quot;target&quot;: &quot;A String&quot;, # Target is the service name used to group related deployments: * Service name for App Engine Flex / Standard. * Cluster and container name for GKE. * User-specified string for direct Compute Engine profiling (e.g. Java). * Job name for Dataflow. Validation regex: `^[a-z0-9]([-a-z0-9_.]{0,253}[a-z0-9])?$`.
192 },
193 &quot;duration&quot;: &quot;A String&quot;, # Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can&#x27;t be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).
194 &quot;labels&quot;: { # Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.
195 &quot;a_key&quot;: &quot;A String&quot;,
196 },
197 &quot;name&quot;: &quot;A String&quot;, # Output only. Opaque, server-assigned, unique ID for this profile.
198 &quot;profileBytes&quot;: &quot;A String&quot;, # Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
199 &quot;profileType&quot;: &quot;A String&quot;, # Type of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server.
200 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time for the profile. This output is only present in response from the ListProfiles method.
201 }</pre>
202 </div>
203
204 <div class="method">
205 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
206 <pre>Lists profiles which have been collected so far and for which the caller has permission to view.
207
208 Args:
209 parent: string, Required. The parent, which owns this collection of profiles. Format: projects/{user_project_id} (required)
210 pageSize: integer, Optional. The maximum number of items to return. Default page_size is 1000. Max limit is 1000.
211 pageToken: string, Optional. The token to continue pagination and get profiles from a particular page. When paginating, all other parameters provided to `ListProfiles` must match the call that provided the page token.
212 x__xgafv: string, V1 error format.
213 Allowed values
214 1 - v1 error format
215 2 - v2 error format
216
217 Returns:
218 An object of the form:
219
220 { # ListProfileResponse contains the list of collected profiles for deployments in projects which the user has permissions to view.
221 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to receive the next page of results. This field maybe empty if there are no more profiles to fetch.
222 &quot;profiles&quot;: [ # List of profiles fetched.
223 { # Profile resource.
224 &quot;deployment&quot;: { # Deployment contains the deployment identification information. # Deployment this profile corresponds to.
225 &quot;labels&quot;: { # Labels identify the deployment within the user universe and same target. Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. Value for an individual label must be &lt;= 512 bytes, the total size of all label names and values must be &lt;= 1024 bytes. Label named &quot;language&quot; can be used to record the programming language of the profiled deployment. The standard choices for the value include &quot;java&quot;, &quot;go&quot;, &quot;python&quot;, &quot;ruby&quot;, &quot;nodejs&quot;, &quot;php&quot;, &quot;dotnet&quot;. For deployments running on Google Cloud Platform, &quot;zone&quot; or &quot;region&quot; label should be present describing the deployment location. An example of a zone is &quot;us-central1-a&quot;, an example of a region is &quot;us-central1&quot; or &quot;us-central&quot;.
226 &quot;a_key&quot;: &quot;A String&quot;,
227 },
228 &quot;projectId&quot;: &quot;A String&quot;, # Project ID is the ID of a cloud project. Validation regex: `^a-z{4,61}[a-z0-9]$`.
229 &quot;target&quot;: &quot;A String&quot;, # Target is the service name used to group related deployments: * Service name for App Engine Flex / Standard. * Cluster and container name for GKE. * User-specified string for direct Compute Engine profiling (e.g. Java). * Job name for Dataflow. Validation regex: `^[a-z0-9]([-a-z0-9_.]{0,253}[a-z0-9])?$`.
230 },
231 &quot;duration&quot;: &quot;A String&quot;, # Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can&#x27;t be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).
232 &quot;labels&quot;: { # Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.
233 &quot;a_key&quot;: &quot;A String&quot;,
234 },
235 &quot;name&quot;: &quot;A String&quot;, # Output only. Opaque, server-assigned, unique ID for this profile.
236 &quot;profileBytes&quot;: &quot;A String&quot;, # Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
237 &quot;profileType&quot;: &quot;A String&quot;, # Type of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server.
238 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time for the profile. This output is only present in response from the ListProfiles method.
239 },
240 ],
241 &quot;skippedProfiles&quot;: 42, # Number of profiles that were skipped in the current page since they were not able to be fetched successfully. This should typically be zero. A non-zero value may indicate a transient failure, in which case if the number is too high for your use case, the call may be retried.
242 }</pre>
243 </div>
244
245 <div class="method">
246 <code class="details" id="list_next">list_next()</code>
247 <pre>Retrieves the next page of results.
248
249 Args:
250 previous_request: The request for the previous page. (required)
251 previous_response: The response from the request for the previous page. (required)
252
253 Returns:
254 A request object that you can call &#x27;execute()&#x27; on to request the next
255 page. Returns None if there are no more items in the collection.
256 </pre>
257 </div>
258
259 <div class="method">
260 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
261 <pre>UpdateProfile updates the profile bytes and labels on the profile resource created in the online mode. Updating the bytes for profiles created in the offline mode is currently not supported: the profile content must be provided at the time of the profile creation. _Direct use of this API is discouraged, please use a [supported profiler agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent) instead for profile collection._
262
263 Args:
264 name: string, Output only. Opaque, server-assigned, unique ID for this profile. (required)
265 body: object, The request body.
266 The object takes the form of:
267
268 { # Profile resource.
269 &quot;deployment&quot;: { # Deployment contains the deployment identification information. # Deployment this profile corresponds to.
270 &quot;labels&quot;: { # Labels identify the deployment within the user universe and same target. Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. Value for an individual label must be &lt;= 512 bytes, the total size of all label names and values must be &lt;= 1024 bytes. Label named &quot;language&quot; can be used to record the programming language of the profiled deployment. The standard choices for the value include &quot;java&quot;, &quot;go&quot;, &quot;python&quot;, &quot;ruby&quot;, &quot;nodejs&quot;, &quot;php&quot;, &quot;dotnet&quot;. For deployments running on Google Cloud Platform, &quot;zone&quot; or &quot;region&quot; label should be present describing the deployment location. An example of a zone is &quot;us-central1-a&quot;, an example of a region is &quot;us-central1&quot; or &quot;us-central&quot;.
271 &quot;a_key&quot;: &quot;A String&quot;,
272 },
273 &quot;projectId&quot;: &quot;A String&quot;, # Project ID is the ID of a cloud project. Validation regex: `^a-z{4,61}[a-z0-9]$`.
274 &quot;target&quot;: &quot;A String&quot;, # Target is the service name used to group related deployments: * Service name for App Engine Flex / Standard. * Cluster and container name for GKE. * User-specified string for direct Compute Engine profiling (e.g. Java). * Job name for Dataflow. Validation regex: `^[a-z0-9]([-a-z0-9_.]{0,253}[a-z0-9])?$`.
275 },
276 &quot;duration&quot;: &quot;A String&quot;, # Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can&#x27;t be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).
277 &quot;labels&quot;: { # Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.
278 &quot;a_key&quot;: &quot;A String&quot;,
279 },
280 &quot;name&quot;: &quot;A String&quot;, # Output only. Opaque, server-assigned, unique ID for this profile.
281 &quot;profileBytes&quot;: &quot;A String&quot;, # Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
282 &quot;profileType&quot;: &quot;A String&quot;, # Type of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server.
283 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time for the profile. This output is only present in response from the ListProfiles method.
284 }
285
286 updateMask: string, Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in the mask. When no mask is provided, all fields are overwritten.
287 x__xgafv: string, V1 error format.
288 Allowed values
289 1 - v1 error format
290 2 - v2 error format
291
292 Returns:
293 An object of the form:
294
295 { # Profile resource.
296 &quot;deployment&quot;: { # Deployment contains the deployment identification information. # Deployment this profile corresponds to.
297 &quot;labels&quot;: { # Labels identify the deployment within the user universe and same target. Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. Value for an individual label must be &lt;= 512 bytes, the total size of all label names and values must be &lt;= 1024 bytes. Label named &quot;language&quot; can be used to record the programming language of the profiled deployment. The standard choices for the value include &quot;java&quot;, &quot;go&quot;, &quot;python&quot;, &quot;ruby&quot;, &quot;nodejs&quot;, &quot;php&quot;, &quot;dotnet&quot;. For deployments running on Google Cloud Platform, &quot;zone&quot; or &quot;region&quot; label should be present describing the deployment location. An example of a zone is &quot;us-central1-a&quot;, an example of a region is &quot;us-central1&quot; or &quot;us-central&quot;.
298 &quot;a_key&quot;: &quot;A String&quot;,
299 },
300 &quot;projectId&quot;: &quot;A String&quot;, # Project ID is the ID of a cloud project. Validation regex: `^a-z{4,61}[a-z0-9]$`.
301 &quot;target&quot;: &quot;A String&quot;, # Target is the service name used to group related deployments: * Service name for App Engine Flex / Standard. * Cluster and container name for GKE. * User-specified string for direct Compute Engine profiling (e.g. Java). * Job name for Dataflow. Validation regex: `^[a-z0-9]([-a-z0-9_.]{0,253}[a-z0-9])?$`.
302 },
303 &quot;duration&quot;: &quot;A String&quot;, # Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can&#x27;t be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).
304 &quot;labels&quot;: { # Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.
305 &quot;a_key&quot;: &quot;A String&quot;,
306 },
307 &quot;name&quot;: &quot;A String&quot;, # Output only. Opaque, server-assigned, unique ID for this profile.
308 &quot;profileBytes&quot;: &quot;A String&quot;, # Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
309 &quot;profileType&quot;: &quot;A String&quot;, # Type of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server.
310 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time for the profile. This output is only present in response from the ListProfiles method.
311 }</pre>
312 </div>
313
314 </body></html>