Debian Codegraph @

docs/dyn/developerconnect_v1.projects.locations.connections.gitRepositoryLinks.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="developerconnect_v1.html">Developer Connect API</a> . <a href="developerconnect_v1.projects.html">projects</a> . <a href="developerconnect_v1.projects.locations.html">locations</a> . <a href="developerconnect_v1.projects.locations.connections.html">connections</a> . <a href="developerconnect_v1.projects.locations.connections.gitRepositoryLinks.html">gitRepositoryLinks</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, gitRepositoryLinkId=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect. Connections that use Firebase GitHub Application will have events forwarded to the Firebase service. Connections that use Gemini Code Assist will have events forwarded to Gemini Code Assist service. All other Connections will have events forwarded to Cloud Build.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, etag=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a single GitRepositoryLink.</p>
86 <p class="toc_element">
87 <code><a href="#fetchGitRefs">fetchGitRefs(gitRepositoryLink, pageSize=None, pageToken=None, refType=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Fetch the list of branches or tags for a given repository.</p>
89 <p class="toc_element">
90 <code><a href="#fetchGitRefs_next">fetchGitRefs_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <p class="toc_element">
93 <code><a href="#fetchReadToken">fetchReadToken(gitRepositoryLink, body=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Fetches read token of a given gitRepositoryLink.</p>
95 <p class="toc_element">
96 <code><a href="#fetchReadWriteToken">fetchReadWriteToken(gitRepositoryLink, body=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Fetches read/write token of a given gitRepositoryLink.</p>
98 <p class="toc_element">
99 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
100 <p class="firstline">Gets details of a single GitRepositoryLink.</p>
101 <p class="toc_element">
102 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Lists GitRepositoryLinks in a given project, location, and connection.</p>
104 <p class="toc_element">
105 <code><a href="#list_next">list_next()</a></code></p>
106 <p class="firstline">Retrieves the next page of results.</p>
107 <p class="toc_element">
108 <code><a href="#processBitbucketCloudWebhook">processBitbucketCloudWebhook(name, body=None, x__xgafv=None)</a></code></p>
109 <p class="firstline">ProcessBitbucketCloudWebhook is called by the external Bitbucket Cloud instances for notifying events.</p>
110 <p class="toc_element">
111 <code><a href="#processBitbucketDataCenterWebhook">processBitbucketDataCenterWebhook(name, body=None, x__xgafv=None)</a></code></p>
112 <p class="firstline">ProcessBitbucketDataCenterWebhook is called by the external Bitbucket Data Center instances for notifying events.</p>
113 <p class="toc_element">
114 <code><a href="#processGitLabEnterpriseWebhook">processGitLabEnterpriseWebhook(name, body=None, x__xgafv=None)</a></code></p>
115 <p class="firstline">ProcessGitLabEnterpriseWebhook is called by the external GitLab Enterprise instances for notifying events.</p>
116 <p class="toc_element">
117 <code><a href="#processGitLabWebhook">processGitLabWebhook(name, body=None, x__xgafv=None)</a></code></p>
118 <p class="firstline">ProcessGitLabWebhook is called by the GitLab.com for notifying events.</p>
119 <h3>Method Details</h3>
120 <div class="method">
121 <code class="details" id="close">close()</code>
122 <pre>Close httplib2 connections.</pre>
123 </div>
124
125 <div class="method">
126 <code class="details" id="create">create(parent, body=None, gitRepositoryLinkId=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
127 <pre>Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect. Connections that use Firebase GitHub Application will have events forwarded to the Firebase service. Connections that use Gemini Code Assist will have events forwarded to Gemini Code Assist service. All other Connections will have events forwarded to Cloud Build.
128
129 Args:
130 parent: string, Required. Value for parent. (required)
131 body: object, The request body.
132 The object takes the form of:
133
134 { # Message describing the GitRepositoryLink object
135 &quot;annotations&quot;: { # Optional. Allows clients to store small amounts of arbitrary data.
136 &quot;a_key&quot;: &quot;A String&quot;,
137 },
138 &quot;cloneUri&quot;: &quot;A String&quot;, # Required. Git Clone URI.
139 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create timestamp
140 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. [Output only] Delete timestamp
141 &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.
142 &quot;gitProxyUri&quot;: &quot;A String&quot;, # Output only. URI to access the linked repository through the Git Proxy. This field is only populated if the git proxy is enabled for the connection.
143 &quot;labels&quot;: { # Optional. Labels as key value pairs
144 &quot;a_key&quot;: &quot;A String&quot;,
145 },
146 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the repository, in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
147 &quot;reconciling&quot;: True or False, # Output only. Set to true when the connection is being set up or updated in the background.
148 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for the GitRepositoryLink.
149 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update timestamp
150 &quot;webhookId&quot;: &quot;A String&quot;, # Output only. External ID of the webhook created for the repository.
151 }
152
153 gitRepositoryLinkId: string, Required. The ID to use for the repository, which will become the final component of the repository&#x27;s resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&amp;&#x27;()*+,;=@.
154 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
155 validateOnly: boolean, Optional. If set, validate the request, but do not actually post it.
156 x__xgafv: string, V1 error format.
157 Allowed values
158 1 - v1 error format
159 2 - v2 error format
160
161 Returns:
162 An object of the form:
163
164 { # This resource represents a long-running operation that is the result of a network API call.
165 &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.
166 &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.
167 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
168 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
169 {
170 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
171 },
172 ],
173 &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.
174 },
175 &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.
176 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
177 },
178 &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}`.
179 &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`.
180 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
181 },
182 }</pre>
183 </div>
184
185 <div class="method">
186 <code class="details" id="delete">delete(name, etag=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
187 <pre>Deletes a single GitRepositoryLink.
188
189 Args:
190 name: string, Required. Name of the resource (required)
191 etag: string, 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.
192 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
193 validateOnly: boolean, Optional. If set, validate the request, but do not actually post it.
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 { # This resource represents a long-running operation that is the result of a network API call.
203 &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.
204 &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.
205 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
206 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
207 {
208 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
209 },
210 ],
211 &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.
212 },
213 &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.
214 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
215 },
216 &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}`.
217 &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`.
218 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
219 },
220 }</pre>
221 </div>
222
223 <div class="method">
224 <code class="details" id="fetchGitRefs">fetchGitRefs(gitRepositoryLink, pageSize=None, pageToken=None, refType=None, x__xgafv=None)</code>
225 <pre>Fetch the list of branches or tags for a given repository.
226
227 Args:
228 gitRepositoryLink: string, Required. The resource name of GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. (required)
229 pageSize: integer, Optional. Number of results to return in the list. Default to 20.
230 pageToken: string, Optional. Page start.
231 refType: string, Required. Type of refs to fetch.
232 Allowed values
233 REF_TYPE_UNSPECIFIED - No type specified.
234 TAG - To fetch tags.
235 BRANCH - To fetch branches.
236 x__xgafv: string, V1 error format.
237 Allowed values
238 1 - v1 error format
239 2 - v2 error format
240
241 Returns:
242 An object of the form:
243
244 { # Response for fetching git refs.
245 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
246 &quot;refNames&quot;: [ # Name of the refs fetched.
247 &quot;A String&quot;,
248 ],
249 }</pre>
250 </div>
251
252 <div class="method">
253 <code class="details" id="fetchGitRefs_next">fetchGitRefs_next()</code>
254 <pre>Retrieves the next page of results.
255
256 Args:
257 previous_request: The request for the previous page. (required)
258 previous_response: The response from the request for the previous page. (required)
259
260 Returns:
261 A request object that you can call &#x27;execute()&#x27; on to request the next
262 page. Returns None if there are no more items in the collection.
263 </pre>
264 </div>
265
266 <div class="method">
267 <code class="details" id="fetchReadToken">fetchReadToken(gitRepositoryLink, body=None, x__xgafv=None)</code>
268 <pre>Fetches read token of a given gitRepositoryLink.
269
270 Args:
271 gitRepositoryLink: string, Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. (required)
272 body: object, The request body.
273 The object takes the form of:
274
275 { # Message for fetching SCM read token.
276 }
277
278 x__xgafv: string, V1 error format.
279 Allowed values
280 1 - v1 error format
281 2 - v2 error format
282
283 Returns:
284 An object of the form:
285
286 { # Message for responding to get read token.
287 &quot;expirationTime&quot;: &quot;A String&quot;, # Expiration timestamp. Can be empty if unknown or non-expiring.
288 &quot;gitUsername&quot;: &quot;A String&quot;, # The git_username to specify when making a git clone with the token. For example, for GitHub GitRepositoryLinks, this would be &quot;x-access-token&quot;
289 &quot;token&quot;: &quot;A String&quot;, # The token content.
290 }</pre>
291 </div>
292
293 <div class="method">
294 <code class="details" id="fetchReadWriteToken">fetchReadWriteToken(gitRepositoryLink, body=None, x__xgafv=None)</code>
295 <pre>Fetches read/write token of a given gitRepositoryLink.
296
297 Args:
298 gitRepositoryLink: string, Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. (required)
299 body: object, The request body.
300 The object takes the form of:
301
302 { # Message for fetching SCM read/write token.
303 }
304
305 x__xgafv: string, V1 error format.
306 Allowed values
307 1 - v1 error format
308 2 - v2 error format
309
310 Returns:
311 An object of the form:
312
313 { # Message for responding to get read/write token.
314 &quot;expirationTime&quot;: &quot;A String&quot;, # Expiration timestamp. Can be empty if unknown or non-expiring.
315 &quot;gitUsername&quot;: &quot;A String&quot;, # The git_username to specify when making a git clone with the token. For example, for GitHub GitRepositoryLinks, this would be &quot;x-access-token&quot;
316 &quot;token&quot;: &quot;A String&quot;, # The token content.
317 }</pre>
318 </div>
319
320 <div class="method">
321 <code class="details" id="get">get(name, x__xgafv=None)</code>
322 <pre>Gets details of a single GitRepositoryLink.
323
324 Args:
325 name: string, Required. Name of the resource (required)
326 x__xgafv: string, V1 error format.
327 Allowed values
328 1 - v1 error format
329 2 - v2 error format
330
331 Returns:
332 An object of the form:
333
334 { # Message describing the GitRepositoryLink object
335 &quot;annotations&quot;: { # Optional. Allows clients to store small amounts of arbitrary data.
336 &quot;a_key&quot;: &quot;A String&quot;,
337 },
338 &quot;cloneUri&quot;: &quot;A String&quot;, # Required. Git Clone URI.
339 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create timestamp
340 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. [Output only] Delete timestamp
341 &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.
342 &quot;gitProxyUri&quot;: &quot;A String&quot;, # Output only. URI to access the linked repository through the Git Proxy. This field is only populated if the git proxy is enabled for the connection.
343 &quot;labels&quot;: { # Optional. Labels as key value pairs
344 &quot;a_key&quot;: &quot;A String&quot;,
345 },
346 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the repository, in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
347 &quot;reconciling&quot;: True or False, # Output only. Set to true when the connection is being set up or updated in the background.
348 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for the GitRepositoryLink.
349 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update timestamp
350 &quot;webhookId&quot;: &quot;A String&quot;, # Output only. External ID of the webhook created for the repository.
351 }</pre>
352 </div>
353
354 <div class="method">
355 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
356 <pre>Lists GitRepositoryLinks in a given project, location, and connection.
357
358 Args:
359 parent: string, Required. Parent value for ListGitRepositoryLinksRequest (required)
360 filter: string, Optional. Filtering results
361 orderBy: string, Optional. Hint for how to order the results
362 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
363 pageToken: string, Optional. A token identifying a page of results the server should return.
364 x__xgafv: string, V1 error format.
365 Allowed values
366 1 - v1 error format
367 2 - v2 error format
368
369 Returns:
370 An object of the form:
371
372 { # Message for response to listing GitRepositoryLinks
373 &quot;gitRepositoryLinks&quot;: [ # The list of GitRepositoryLinks
374 { # Message describing the GitRepositoryLink object
375 &quot;annotations&quot;: { # Optional. Allows clients to store small amounts of arbitrary data.
376 &quot;a_key&quot;: &quot;A String&quot;,
377 },
378 &quot;cloneUri&quot;: &quot;A String&quot;, # Required. Git Clone URI.
379 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create timestamp
380 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. [Output only] Delete timestamp
381 &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.
382 &quot;gitProxyUri&quot;: &quot;A String&quot;, # Output only. URI to access the linked repository through the Git Proxy. This field is only populated if the git proxy is enabled for the connection.
383 &quot;labels&quot;: { # Optional. Labels as key value pairs
384 &quot;a_key&quot;: &quot;A String&quot;,
385 },
386 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the repository, in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
387 &quot;reconciling&quot;: True or False, # Output only. Set to true when the connection is being set up or updated in the background.
388 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for the GitRepositoryLink.
389 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update timestamp
390 &quot;webhookId&quot;: &quot;A String&quot;, # Output only. External ID of the webhook created for the repository.
391 },
392 ],
393 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
394 &quot;unreachable&quot;: [ # Locations that could not be reached.
395 &quot;A String&quot;,
396 ],
397 }</pre>
398 </div>
399
400 <div class="method">
401 <code class="details" id="list_next">list_next()</code>
402 <pre>Retrieves the next page of results.
403
404 Args:
405 previous_request: The request for the previous page. (required)
406 previous_response: The response from the request for the previous page. (required)
407
408 Returns:
409 A request object that you can call &#x27;execute()&#x27; on to request the next
410 page. Returns None if there are no more items in the collection.
411 </pre>
412 </div>
413
414 <div class="method">
415 <code class="details" id="processBitbucketCloudWebhook">processBitbucketCloudWebhook(name, body=None, x__xgafv=None)</code>
416 <pre>ProcessBitbucketCloudWebhook is called by the external Bitbucket Cloud instances for notifying events.
417
418 Args:
419 name: string, Required. The GitRepositoryLink where the webhook will be received. Format: `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. (required)
420 body: object, The request body.
421 The object takes the form of:
422
423 { # RPC request object accepted by the ProcessBitbucketCloudWebhook RPC method.
424 &quot;body&quot;: { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can&#x27;t be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged. # Required. HTTP request body.
425 &quot;contentType&quot;: &quot;A String&quot;, # The HTTP Content-Type header value specifying the content type of the body.
426 &quot;data&quot;: &quot;A String&quot;, # The HTTP request/response body as raw binary.
427 &quot;extensions&quot;: [ # Application specific response metadata. Must be set in the first response for streaming APIs.
428 {
429 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
430 },
431 ],
432 },
433 }
434
435 x__xgafv: string, V1 error format.
436 Allowed values
437 1 - v1 error format
438 2 - v2 error format
439
440 Returns:
441 An object of the form:
442
443 { # 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); }
444 }</pre>
445 </div>
446
447 <div class="method">
448 <code class="details" id="processBitbucketDataCenterWebhook">processBitbucketDataCenterWebhook(name, body=None, x__xgafv=None)</code>
449 <pre>ProcessBitbucketDataCenterWebhook is called by the external Bitbucket Data Center instances for notifying events.
450
451 Args:
452 name: string, Required. The GitRepositoryLink where the webhook will be received. Format: `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. (required)
453 body: object, The request body.
454 The object takes the form of:
455
456 { # RPC request object accepted by the ProcessBitbucketDataCenterWebhook RPC method.
457 &quot;body&quot;: { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can&#x27;t be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged. # Required. HTTP request body.
458 &quot;contentType&quot;: &quot;A String&quot;, # The HTTP Content-Type header value specifying the content type of the body.
459 &quot;data&quot;: &quot;A String&quot;, # The HTTP request/response body as raw binary.
460 &quot;extensions&quot;: [ # Application specific response metadata. Must be set in the first response for streaming APIs.
461 {
462 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
463 },
464 ],
465 },
466 }
467
468 x__xgafv: string, V1 error format.
469 Allowed values
470 1 - v1 error format
471 2 - v2 error format
472
473 Returns:
474 An object of the form:
475
476 { # 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); }
477 }</pre>
478 </div>
479
480 <div class="method">
481 <code class="details" id="processGitLabEnterpriseWebhook">processGitLabEnterpriseWebhook(name, body=None, x__xgafv=None)</code>
482 <pre>ProcessGitLabEnterpriseWebhook is called by the external GitLab Enterprise instances for notifying events.
483
484 Args:
485 name: string, Required. The GitRepositoryLink resource where the webhook will be received. Format: `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. (required)
486 body: object, The request body.
487 The object takes the form of:
488
489 { # RPC request object accepted by the ProcessGitLabEnterpriseWebhook RPC method.
490 &quot;body&quot;: { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can&#x27;t be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged. # Required. HTTP request body.
491 &quot;contentType&quot;: &quot;A String&quot;, # The HTTP Content-Type header value specifying the content type of the body.
492 &quot;data&quot;: &quot;A String&quot;, # The HTTP request/response body as raw binary.
493 &quot;extensions&quot;: [ # Application specific response metadata. Must be set in the first response for streaming APIs.
494 {
495 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
496 },
497 ],
498 },
499 }
500
501 x__xgafv: string, V1 error format.
502 Allowed values
503 1 - v1 error format
504 2 - v2 error format
505
506 Returns:
507 An object of the form:
508
509 { # 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); }
510 }</pre>
511 </div>
512
513 <div class="method">
514 <code class="details" id="processGitLabWebhook">processGitLabWebhook(name, body=None, x__xgafv=None)</code>
515 <pre>ProcessGitLabWebhook is called by the GitLab.com for notifying events.
516
517 Args:
518 name: string, Required. The GitRepositoryLink resource where the webhook will be received. Format: `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. (required)
519 body: object, The request body.
520 The object takes the form of:
521
522 { # RPC request object accepted by the ProcessGitLabWebhook RPC method.
523 &quot;body&quot;: { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can&#x27;t be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged. # Required. HTTP request body.
524 &quot;contentType&quot;: &quot;A String&quot;, # The HTTP Content-Type header value specifying the content type of the body.
525 &quot;data&quot;: &quot;A String&quot;, # The HTTP request/response body as raw binary.
526 &quot;extensions&quot;: [ # Application specific response metadata. Must be set in the first response for streaming APIs.
527 {
528 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
529 },
530 ],
531 },
532 }
533
534 x__xgafv: string, V1 error format.
535 Allowed values
536 1 - v1 error format
537 2 - v2 error format
538
539 Returns:
540 An object of the form:
541
542 { # 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); }
543 }</pre>
544 </div>
545
546 </body></html>