Debian Codegraph @

docs/dyn/securesourcemanager_v1.projects.locations.repositories.issues.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="securesourcemanager_v1.html">Secure Source Manager API</a> . <a href="securesourcemanager_v1.projects.html">projects</a> . <a href="securesourcemanager_v1.projects.locations.html">locations</a> . <a href="securesourcemanager_v1.projects.locations.repositories.html">repositories</a> . <a href="securesourcemanager_v1.projects.locations.repositories.issues.html">issues</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="securesourcemanager_v1.projects.locations.repositories.issues.issueComments.html">issueComments()</a></code>
79 </p>
80 <p class="firstline">Returns the issueComments Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close(name, body=None, x__xgafv=None)</a></code></p>
84 <p class="firstline">Closes an issue.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates an issue.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, etag=None, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes an issue.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Gets an issue.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Lists issues in a repository.</p>
97 <p class="toc_element">
98 <code><a href="#list_next">list_next()</a></code></p>
99 <p class="firstline">Retrieves the next page of results.</p>
100 <p class="toc_element">
101 <code><a href="#open">open(name, body=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Opens an issue.</p>
103 <p class="toc_element">
104 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
105 <p class="firstline">Updates a issue.</p>
106 <h3>Method Details</h3>
107 <div class="method">
108 <code class="details" id="close">close(name, body=None, x__xgafv=None)</code>
109 <pre>Closes an issue.
110
111 Args:
112 name: string, Required. Name of the issue to close. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`. (required)
113 body: object, The request body.
114 The object takes the form of:
115
116 { # The request to close an issue.
117 &quot;etag&quot;: &quot;A String&quot;, # Optional. The current etag of the issue. If the etag is provided and does not match the current etag of the issue, closing will be blocked and an ABORTED error will be returned.
118 }
119
120 x__xgafv: string, V1 error format.
121 Allowed values
122 1 - v1 error format
123 2 - v2 error format
124
125 Returns:
126 An object of the form:
127
128 { # This resource represents a long-running operation that is the result of a network API call.
129 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
130 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
131 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
132 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
133 {
134 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
135 },
136 ],
137 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
138 },
139 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
140 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
141 },
142 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
143 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
144 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
145 },
146 }</pre>
147 </div>
148
149 <div class="method">
150 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
151 <pre>Creates an issue.
152
153 Args:
154 parent: string, Required. The repository in which to create the issue. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` (required)
155 body: object, The request body.
156 The object takes the form of:
157
158 { # Metadata of an Issue.
159 &quot;body&quot;: &quot;A String&quot;, # Optional. Issue body. Provides a detailed description of the issue.
160 &quot;closeTime&quot;: &quot;A String&quot;, # Output only. Close timestamp (if closed). Cleared when is re-opened.
161 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation timestamp.
162 &quot;etag&quot;: &quot;A String&quot;, # Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
163 &quot;name&quot;: &quot;A String&quot;, # Identifier. Unique identifier for an issue. The issue id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`
164 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the issue.
165 &quot;title&quot;: &quot;A String&quot;, # Required. Issue title.
166 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last updated timestamp.
167 }
168
169 x__xgafv: string, V1 error format.
170 Allowed values
171 1 - v1 error format
172 2 - v2 error format
173
174 Returns:
175 An object of the form:
176
177 { # This resource represents a long-running operation that is the result of a network API call.
178 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
179 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
180 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
181 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
182 {
183 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
184 },
185 ],
186 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
187 },
188 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
189 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
190 },
191 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
192 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
193 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
194 },
195 }</pre>
196 </div>
197
198 <div class="method">
199 <code class="details" id="delete">delete(name, etag=None, x__xgafv=None)</code>
200 <pre>Deletes an issue.
201
202 Args:
203 name: string, Required. Name of the issue to delete. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`. (required)
204 etag: string, Optional. The current etag of the issue. If the etag is provided and does not match the current etag of the issue, deletion will be blocked and an ABORTED error will be returned.
205 x__xgafv: string, V1 error format.
206 Allowed values
207 1 - v1 error format
208 2 - v2 error format
209
210 Returns:
211 An object of the form:
212
213 { # This resource represents a long-running operation that is the result of a network API call.
214 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
215 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
216 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
217 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
218 {
219 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
220 },
221 ],
222 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
223 },
224 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
225 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
226 },
227 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
228 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
229 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
230 },
231 }</pre>
232 </div>
233
234 <div class="method">
235 <code class="details" id="get">get(name, x__xgafv=None)</code>
236 <pre>Gets an issue.
237
238 Args:
239 name: string, Required. Name of the issue to retrieve. The format is `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`. (required)
240 x__xgafv: string, V1 error format.
241 Allowed values
242 1 - v1 error format
243 2 - v2 error format
244
245 Returns:
246 An object of the form:
247
248 { # Metadata of an Issue.
249 &quot;body&quot;: &quot;A String&quot;, # Optional. Issue body. Provides a detailed description of the issue.
250 &quot;closeTime&quot;: &quot;A String&quot;, # Output only. Close timestamp (if closed). Cleared when is re-opened.
251 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation timestamp.
252 &quot;etag&quot;: &quot;A String&quot;, # Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
253 &quot;name&quot;: &quot;A String&quot;, # Identifier. Unique identifier for an issue. The issue id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`
254 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the issue.
255 &quot;title&quot;: &quot;A String&quot;, # Required. Issue title.
256 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last updated timestamp.
257 }</pre>
258 </div>
259
260 <div class="method">
261 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
262 <pre>Lists issues in a repository.
263
264 Args:
265 parent: string, Required. The repository in which to list issues. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` (required)
266 filter: string, Optional. Used to filter the resulting issues list.
267 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
268 pageToken: string, Optional. A token identifying a page of results the server should return.
269 x__xgafv: string, V1 error format.
270 Allowed values
271 1 - v1 error format
272 2 - v2 error format
273
274 Returns:
275 An object of the form:
276
277 { # The response to list issues.
278 &quot;issues&quot;: [ # The list of issues.
279 { # Metadata of an Issue.
280 &quot;body&quot;: &quot;A String&quot;, # Optional. Issue body. Provides a detailed description of the issue.
281 &quot;closeTime&quot;: &quot;A String&quot;, # Output only. Close timestamp (if closed). Cleared when is re-opened.
282 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation timestamp.
283 &quot;etag&quot;: &quot;A String&quot;, # Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
284 &quot;name&quot;: &quot;A String&quot;, # Identifier. Unique identifier for an issue. The issue id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`
285 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the issue.
286 &quot;title&quot;: &quot;A String&quot;, # Required. Issue title.
287 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last updated timestamp.
288 },
289 ],
290 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
291 }</pre>
292 </div>
293
294 <div class="method">
295 <code class="details" id="list_next">list_next()</code>
296 <pre>Retrieves the next page of results.
297
298 Args:
299 previous_request: The request for the previous page. (required)
300 previous_response: The response from the request for the previous page. (required)
301
302 Returns:
303 A request object that you can call &#x27;execute()&#x27; on to request the next
304 page. Returns None if there are no more items in the collection.
305 </pre>
306 </div>
307
308 <div class="method">
309 <code class="details" id="open">open(name, body=None, x__xgafv=None)</code>
310 <pre>Opens an issue.
311
312 Args:
313 name: string, Required. Name of the issue to open. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`. (required)
314 body: object, The request body.
315 The object takes the form of:
316
317 { # The request to open an issue.
318 &quot;etag&quot;: &quot;A String&quot;, # Optional. The current etag of the issue. If the etag is provided and does not match the current etag of the issue, opening will be blocked and an ABORTED error will be returned.
319 }
320
321 x__xgafv: string, V1 error format.
322 Allowed values
323 1 - v1 error format
324 2 - v2 error format
325
326 Returns:
327 An object of the form:
328
329 { # This resource represents a long-running operation that is the result of a network API call.
330 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
331 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
332 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
333 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
334 {
335 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
336 },
337 ],
338 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
339 },
340 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
341 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
342 },
343 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
344 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
345 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
346 },
347 }</pre>
348 </div>
349
350 <div class="method">
351 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
352 <pre>Updates a issue.
353
354 Args:
355 name: string, Identifier. Unique identifier for an issue. The issue id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}` (required)
356 body: object, The request body.
357 The object takes the form of:
358
359 { # Metadata of an Issue.
360 &quot;body&quot;: &quot;A String&quot;, # Optional. Issue body. Provides a detailed description of the issue.
361 &quot;closeTime&quot;: &quot;A String&quot;, # Output only. Close timestamp (if closed). Cleared when is re-opened.
362 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation timestamp.
363 &quot;etag&quot;: &quot;A String&quot;, # Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
364 &quot;name&quot;: &quot;A String&quot;, # Identifier. Unique identifier for an issue. The issue id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`
365 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the issue.
366 &quot;title&quot;: &quot;A String&quot;, # Required. Issue title.
367 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last updated timestamp.
368 }
369
370 updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the issue resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value &quot;*&quot; means full replacement.
371 x__xgafv: string, V1 error format.
372 Allowed values
373 1 - v1 error format
374 2 - v2 error format
375
376 Returns:
377 An object of the form:
378
379 { # This resource represents a long-running operation that is the result of a network API call.
380 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
381 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
382 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
383 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
384 {
385 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
386 },
387 ],
388 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
389 },
390 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
391 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
392 },
393 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
394 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
395 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
396 },
397 }</pre>
398 </div>
399
400 </body></html>