Debian Codegraph @

docs/dyn/observability_v1.projects.locations.traceScopes.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="observability_v1.html">Observability API</a> . <a href="observability_v1.projects.html">projects</a> . <a href="observability_v1.projects.locations.html">locations</a> . <a href="observability_v1.projects.locations.traceScopes.html">traceScopes</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, traceScopeId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Create a new TraceScope.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Delete a TraceScope.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Get TraceScope resource.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">List TraceScopes of a project in a particular location.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Update a TraceScope.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, traceScopeId=None, x__xgafv=None)</code>
106 <pre>Create a new TraceScope.
107
108 Args:
109 parent: string, Required. The full resource name of the location where the trace scope should be created projects/[PROJECT_ID]/locations/[LOCATION_ID] For example: projects/my-project/locations/global (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # A trace scope is a collection of resources whose traces are queried together.
114 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of the trace scope.
115 &quot;description&quot;: &quot;A String&quot;, # Optional. Describes this trace scope. The maximum length of the description is 8000 characters.
116 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the trace scope. For example: projects/my-project/locations/global/traceScopes/my-trace-scope
117 &quot;resourceNames&quot;: [ # Required. Names of the projects that are included in this trace scope. * `projects/[PROJECT_ID]` A trace scope can include a maximum of 20 projects.
118 &quot;A String&quot;,
119 ],
120 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the trace scope.
121 }
122
123 traceScopeId: string, Required. A client-assigned identifier for the trace scope.
124 x__xgafv: string, V1 error format.
125 Allowed values
126 1 - v1 error format
127 2 - v2 error format
128
129 Returns:
130 An object of the form:
131
132 { # A trace scope is a collection of resources whose traces are queried together.
133 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of the trace scope.
134 &quot;description&quot;: &quot;A String&quot;, # Optional. Describes this trace scope. The maximum length of the description is 8000 characters.
135 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the trace scope. For example: projects/my-project/locations/global/traceScopes/my-trace-scope
136 &quot;resourceNames&quot;: [ # Required. Names of the projects that are included in this trace scope. * `projects/[PROJECT_ID]` A trace scope can include a maximum of 20 projects.
137 &quot;A String&quot;,
138 ],
139 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the trace scope.
140 }</pre>
141 </div>
142
143 <div class="method">
144 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
145 <pre>Delete a TraceScope.
146
147 Args:
148 name: string, Required. The full resource name of the trace scope to delete: projects/[PROJECT_ID]/locations/[LOCATION_ID]/traceScopes/[TRACE_SCOPE_ID] For example: projects/my-project/locations/global/traceScopes/my-trace-scope (required)
149 x__xgafv: string, V1 error format.
150 Allowed values
151 1 - v1 error format
152 2 - v2 error format
153
154 Returns:
155 An object of the form:
156
157 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
158 }</pre>
159 </div>
160
161 <div class="method">
162 <code class="details" id="get">get(name, x__xgafv=None)</code>
163 <pre>Get TraceScope resource.
164
165 Args:
166 name: string, Required. The resource name of the trace scope: projects/[PROJECT_ID]/locations/[LOCATION_ID]/traceScopes/[TRACE_SCOPE_ID] For example: projects/my-project/locations/global/traceScopes/my-trace-scope (required)
167 x__xgafv: string, V1 error format.
168 Allowed values
169 1 - v1 error format
170 2 - v2 error format
171
172 Returns:
173 An object of the form:
174
175 { # A trace scope is a collection of resources whose traces are queried together.
176 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of the trace scope.
177 &quot;description&quot;: &quot;A String&quot;, # Optional. Describes this trace scope. The maximum length of the description is 8000 characters.
178 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the trace scope. For example: projects/my-project/locations/global/traceScopes/my-trace-scope
179 &quot;resourceNames&quot;: [ # Required. Names of the projects that are included in this trace scope. * `projects/[PROJECT_ID]` A trace scope can include a maximum of 20 projects.
180 &quot;A String&quot;,
181 ],
182 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the trace scope.
183 }</pre>
184 </div>
185
186 <div class="method">
187 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
188 <pre>List TraceScopes of a project in a particular location.
189
190 Args:
191 parent: string, Required. The full resource name of the location to look for trace scopes: projects/[PROJECT_ID]/locations/[LOCATION_ID] For example: projects/my-project/locations/global (required)
192 pageSize: integer, Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `next_page_token` in the response indicates that more results might be available.
193 pageToken: string, Optional. If present, then retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters should be identical to those in the previous call.
194 x__xgafv: string, V1 error format.
195 Allowed values
196 1 - v1 error format
197 2 - v2 error format
198
199 Returns:
200 An object of the form:
201
202 { # Response for listing TraceScopes.
203 &quot;nextPageToken&quot;: &quot;A String&quot;, # Optional. If there might be more results than appear in this response, then `next_page_token` is included. To get the next set of results, call the same method again using the value of `next_page_token` as `page_token`.
204 &quot;traceScopes&quot;: [ # Optional. A list of trace scopes.
205 { # A trace scope is a collection of resources whose traces are queried together.
206 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of the trace scope.
207 &quot;description&quot;: &quot;A String&quot;, # Optional. Describes this trace scope. The maximum length of the description is 8000 characters.
208 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the trace scope. For example: projects/my-project/locations/global/traceScopes/my-trace-scope
209 &quot;resourceNames&quot;: [ # Required. Names of the projects that are included in this trace scope. * `projects/[PROJECT_ID]` A trace scope can include a maximum of 20 projects.
210 &quot;A String&quot;,
211 ],
212 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the trace scope.
213 },
214 ],
215 }</pre>
216 </div>
217
218 <div class="method">
219 <code class="details" id="list_next">list_next()</code>
220 <pre>Retrieves the next page of results.
221
222 Args:
223 previous_request: The request for the previous page. (required)
224 previous_response: The response from the request for the previous page. (required)
225
226 Returns:
227 A request object that you can call &#x27;execute()&#x27; on to request the next
228 page. Returns None if there are no more items in the collection.
229 </pre>
230 </div>
231
232 <div class="method">
233 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
234 <pre>Update a TraceScope.
235
236 Args:
237 name: string, Identifier. The resource name of the trace scope. For example: projects/my-project/locations/global/traceScopes/my-trace-scope (required)
238 body: object, The request body.
239 The object takes the form of:
240
241 { # A trace scope is a collection of resources whose traces are queried together.
242 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of the trace scope.
243 &quot;description&quot;: &quot;A String&quot;, # Optional. Describes this trace scope. The maximum length of the description is 8000 characters.
244 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the trace scope. For example: projects/my-project/locations/global/traceScopes/my-trace-scope
245 &quot;resourceNames&quot;: [ # Required. Names of the projects that are included in this trace scope. * `projects/[PROJECT_ID]` A trace scope can include a maximum of 20 projects.
246 &quot;A String&quot;,
247 ],
248 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the trace scope.
249 }
250
251 updateMask: string, Optional. The list of fields to update.
252 x__xgafv: string, V1 error format.
253 Allowed values
254 1 - v1 error format
255 2 - v2 error format
256
257 Returns:
258 An object of the form:
259
260 { # A trace scope is a collection of resources whose traces are queried together.
261 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of the trace scope.
262 &quot;description&quot;: &quot;A String&quot;, # Optional. Describes this trace scope. The maximum length of the description is 8000 characters.
263 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the trace scope. For example: projects/my-project/locations/global/traceScopes/my-trace-scope
264 &quot;resourceNames&quot;: [ # Required. Names of the projects that are included in this trace scope. * `projects/[PROJECT_ID]` A trace scope can include a maximum of 20 projects.
265 &quot;A String&quot;,
266 ],
267 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the trace scope.
268 }</pre>
269 </div>
270
271 </body></html>