Debian Codegraph @

docs/dyn/cloudbuild_v1.projects.locations.gitLabConfigs.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="cloudbuild_v1.html">Cloud Build API</a> . <a href="cloudbuild_v1.projects.html">projects</a> . <a href="cloudbuild_v1.projects.locations.html">locations</a> . <a href="cloudbuild_v1.projects.locations.gitLabConfigs.html">gitLabConfigs</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="cloudbuild_v1.projects.locations.gitLabConfigs.connectedRepositories.html">connectedRepositories()</a></code>
79 </p>
80 <p class="firstline">Returns the connectedRepositories Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="cloudbuild_v1.projects.locations.gitLabConfigs.repos.html">repos()</a></code>
84 </p>
85 <p class="firstline">Returns the repos Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="#close">close()</a></code></p>
89 <p class="firstline">Close httplib2 connections.</p>
90 <p class="toc_element">
91 <code><a href="#create">create(parent, body=None, gitlabConfigId=None, x__xgafv=None)</a></code></p>
92 <p class="firstline">Creates a new `GitLabConfig`. This API is experimental</p>
93 <p class="toc_element">
94 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
95 <p class="firstline">Delete a `GitLabConfig`. This API is experimental</p>
96 <p class="toc_element">
97 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
98 <p class="firstline">Retrieves a `GitLabConfig`. This API is experimental</p>
99 <p class="toc_element">
100 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
101 <p class="firstline">List all `GitLabConfigs` for a given project. This API is experimental</p>
102 <p class="toc_element">
103 <code><a href="#list_next">list_next()</a></code></p>
104 <p class="firstline">Retrieves the next page of results.</p>
105 <p class="toc_element">
106 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
107 <p class="firstline">Updates an existing `GitLabConfig`. This API is experimental</p>
108 <p class="toc_element">
109 <code><a href="#removeGitLabConnectedRepository">removeGitLabConnectedRepository(config, body=None, x__xgafv=None)</a></code></p>
110 <p class="firstline">Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental.</p>
111 <h3>Method Details</h3>
112 <div class="method">
113 <code class="details" id="close">close()</code>
114 <pre>Close httplib2 connections.</pre>
115 </div>
116
117 <div class="method">
118 <code class="details" id="create">create(parent, body=None, gitlabConfigId=None, x__xgafv=None)</code>
119 <pre>Creates a new `GitLabConfig`. This API is experimental
120
121 Args:
122 parent: string, Required. Name of the parent resource. (required)
123 body: object, The request body.
124 The object takes the form of:
125
126 { # GitLabConfig represents the configuration for a GitLab integration.
127 &quot;connectedRepositories&quot;: [ # Connected GitLab.com or GitLabEnterprise repositories for this config.
128 { # GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise
129 &quot;id&quot;: &quot;A String&quot;, # Required. Identifier for the repository. example: &quot;namespace/project-slug&quot;, namespace is usually the username or group ID
130 &quot;webhookId&quot;: 42, # Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.
131 },
132 ],
133 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the config was created.
134 &quot;enterpriseConfig&quot;: { # GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise integration. # Optional. GitLabEnterprise config.
135 &quot;hostUri&quot;: &quot;A String&quot;, # Immutable. The URI of the GitlabEnterprise host.
136 &quot;serviceDirectoryConfig&quot;: { # ServiceDirectoryConfig represents Service Directory configuration for a SCM host connection. # The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.
137 &quot;service&quot;: &quot;A String&quot;, # The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
138 },
139 &quot;sslCa&quot;: &quot;A String&quot;, # The SSL certificate to use in requests to GitLab Enterprise instances.
140 },
141 &quot;name&quot;: &quot;A String&quot;, # The resource name for the config.
142 &quot;secrets&quot;: { # GitLabSecrets represents the secrets in Secret Manager for a GitLab integration. # Required. Secret Manager secrets needed by the config.
143 &quot;apiAccessTokenVersion&quot;: &quot;A String&quot;, # Required. The resource name for the api access token’s secret version
144 &quot;apiKeyVersion&quot;: &quot;A String&quot;, # Required. Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
145 &quot;readAccessTokenVersion&quot;: &quot;A String&quot;, # Required. The resource name for the read access token’s secret version
146 &quot;webhookSecretVersion&quot;: &quot;A String&quot;, # Required. Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.
147 },
148 &quot;username&quot;: &quot;A String&quot;, # Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.
149 &quot;webhookKey&quot;: &quot;A String&quot;, # Output only. UUID included in webhook requests. The UUID is used to look up the corresponding config.
150 }
151
152 gitlabConfigId: string, Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig’s resource name. gitlab_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character
153 x__xgafv: string, V1 error format.
154 Allowed values
155 1 - v1 error format
156 2 - v2 error format
157
158 Returns:
159 An object of the form:
160
161 { # This resource represents a long-running operation that is the result of a network API call.
162 &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.
163 &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.
164 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
165 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
166 {
167 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
168 },
169 ],
170 &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.
171 },
172 &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.
173 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
174 },
175 &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}`.
176 &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`.
177 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
178 },
179 }</pre>
180 </div>
181
182 <div class="method">
183 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
184 <pre>Delete a `GitLabConfig`. This API is experimental
185
186 Args:
187 name: string, Required. The config resource name. (required)
188 x__xgafv: string, V1 error format.
189 Allowed values
190 1 - v1 error format
191 2 - v2 error format
192
193 Returns:
194 An object of the form:
195
196 { # This resource represents a long-running operation that is the result of a network API call.
197 &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.
198 &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.
199 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
200 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
201 {
202 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
203 },
204 ],
205 &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.
206 },
207 &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.
208 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
209 },
210 &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}`.
211 &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`.
212 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
213 },
214 }</pre>
215 </div>
216
217 <div class="method">
218 <code class="details" id="get">get(name, x__xgafv=None)</code>
219 <pre>Retrieves a `GitLabConfig`. This API is experimental
220
221 Args:
222 name: string, Required. The config resource name. (required)
223 x__xgafv: string, V1 error format.
224 Allowed values
225 1 - v1 error format
226 2 - v2 error format
227
228 Returns:
229 An object of the form:
230
231 { # GitLabConfig represents the configuration for a GitLab integration.
232 &quot;connectedRepositories&quot;: [ # Connected GitLab.com or GitLabEnterprise repositories for this config.
233 { # GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise
234 &quot;id&quot;: &quot;A String&quot;, # Required. Identifier for the repository. example: &quot;namespace/project-slug&quot;, namespace is usually the username or group ID
235 &quot;webhookId&quot;: 42, # Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.
236 },
237 ],
238 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the config was created.
239 &quot;enterpriseConfig&quot;: { # GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise integration. # Optional. GitLabEnterprise config.
240 &quot;hostUri&quot;: &quot;A String&quot;, # Immutable. The URI of the GitlabEnterprise host.
241 &quot;serviceDirectoryConfig&quot;: { # ServiceDirectoryConfig represents Service Directory configuration for a SCM host connection. # The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.
242 &quot;service&quot;: &quot;A String&quot;, # The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
243 },
244 &quot;sslCa&quot;: &quot;A String&quot;, # The SSL certificate to use in requests to GitLab Enterprise instances.
245 },
246 &quot;name&quot;: &quot;A String&quot;, # The resource name for the config.
247 &quot;secrets&quot;: { # GitLabSecrets represents the secrets in Secret Manager for a GitLab integration. # Required. Secret Manager secrets needed by the config.
248 &quot;apiAccessTokenVersion&quot;: &quot;A String&quot;, # Required. The resource name for the api access token’s secret version
249 &quot;apiKeyVersion&quot;: &quot;A String&quot;, # Required. Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
250 &quot;readAccessTokenVersion&quot;: &quot;A String&quot;, # Required. The resource name for the read access token’s secret version
251 &quot;webhookSecretVersion&quot;: &quot;A String&quot;, # Required. Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.
252 },
253 &quot;username&quot;: &quot;A String&quot;, # Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.
254 &quot;webhookKey&quot;: &quot;A String&quot;, # Output only. UUID included in webhook requests. The UUID is used to look up the corresponding config.
255 }</pre>
256 </div>
257
258 <div class="method">
259 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
260 <pre>List all `GitLabConfigs` for a given project. This API is experimental
261
262 Args:
263 parent: string, Required. Name of the parent resource (required)
264 pageSize: integer, The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 50 configs will be returned. The maximum value is 1000;, values above 1000 will be coerced to 1000.
265 pageToken: string, A page token, received from a previous ‘ListGitlabConfigsRequest’ call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ‘ListGitlabConfigsRequest’ must match the call that provided the page token.
266 x__xgafv: string, V1 error format.
267 Allowed values
268 1 - v1 error format
269 2 - v2 error format
270
271 Returns:
272 An object of the form:
273
274 { # RPC response object returned by ListGitLabConfigs RPC method.
275 &quot;gitlabConfigs&quot;: [ # A list of GitLabConfigs
276 { # GitLabConfig represents the configuration for a GitLab integration.
277 &quot;connectedRepositories&quot;: [ # Connected GitLab.com or GitLabEnterprise repositories for this config.
278 { # GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise
279 &quot;id&quot;: &quot;A String&quot;, # Required. Identifier for the repository. example: &quot;namespace/project-slug&quot;, namespace is usually the username or group ID
280 &quot;webhookId&quot;: 42, # Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.
281 },
282 ],
283 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the config was created.
284 &quot;enterpriseConfig&quot;: { # GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise integration. # Optional. GitLabEnterprise config.
285 &quot;hostUri&quot;: &quot;A String&quot;, # Immutable. The URI of the GitlabEnterprise host.
286 &quot;serviceDirectoryConfig&quot;: { # ServiceDirectoryConfig represents Service Directory configuration for a SCM host connection. # The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.
287 &quot;service&quot;: &quot;A String&quot;, # The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
288 },
289 &quot;sslCa&quot;: &quot;A String&quot;, # The SSL certificate to use in requests to GitLab Enterprise instances.
290 },
291 &quot;name&quot;: &quot;A String&quot;, # The resource name for the config.
292 &quot;secrets&quot;: { # GitLabSecrets represents the secrets in Secret Manager for a GitLab integration. # Required. Secret Manager secrets needed by the config.
293 &quot;apiAccessTokenVersion&quot;: &quot;A String&quot;, # Required. The resource name for the api access token’s secret version
294 &quot;apiKeyVersion&quot;: &quot;A String&quot;, # Required. Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
295 &quot;readAccessTokenVersion&quot;: &quot;A String&quot;, # Required. The resource name for the read access token’s secret version
296 &quot;webhookSecretVersion&quot;: &quot;A String&quot;, # Required. Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.
297 },
298 &quot;username&quot;: &quot;A String&quot;, # Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.
299 &quot;webhookKey&quot;: &quot;A String&quot;, # Output only. UUID included in webhook requests. The UUID is used to look up the corresponding config.
300 },
301 ],
302 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as `page_token` to retrieve the next page If this field is omitted, there are no subsequent pages.
303 }</pre>
304 </div>
305
306 <div class="method">
307 <code class="details" id="list_next">list_next()</code>
308 <pre>Retrieves the next page of results.
309
310 Args:
311 previous_request: The request for the previous page. (required)
312 previous_response: The response from the request for the previous page. (required)
313
314 Returns:
315 A request object that you can call &#x27;execute()&#x27; on to request the next
316 page. Returns None if there are no more items in the collection.
317 </pre>
318 </div>
319
320 <div class="method">
321 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
322 <pre>Updates an existing `GitLabConfig`. This API is experimental
323
324 Args:
325 name: string, The resource name for the config. (required)
326 body: object, The request body.
327 The object takes the form of:
328
329 { # GitLabConfig represents the configuration for a GitLab integration.
330 &quot;connectedRepositories&quot;: [ # Connected GitLab.com or GitLabEnterprise repositories for this config.
331 { # GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise
332 &quot;id&quot;: &quot;A String&quot;, # Required. Identifier for the repository. example: &quot;namespace/project-slug&quot;, namespace is usually the username or group ID
333 &quot;webhookId&quot;: 42, # Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.
334 },
335 ],
336 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the config was created.
337 &quot;enterpriseConfig&quot;: { # GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise integration. # Optional. GitLabEnterprise config.
338 &quot;hostUri&quot;: &quot;A String&quot;, # Immutable. The URI of the GitlabEnterprise host.
339 &quot;serviceDirectoryConfig&quot;: { # ServiceDirectoryConfig represents Service Directory configuration for a SCM host connection. # The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.
340 &quot;service&quot;: &quot;A String&quot;, # The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
341 },
342 &quot;sslCa&quot;: &quot;A String&quot;, # The SSL certificate to use in requests to GitLab Enterprise instances.
343 },
344 &quot;name&quot;: &quot;A String&quot;, # The resource name for the config.
345 &quot;secrets&quot;: { # GitLabSecrets represents the secrets in Secret Manager for a GitLab integration. # Required. Secret Manager secrets needed by the config.
346 &quot;apiAccessTokenVersion&quot;: &quot;A String&quot;, # Required. The resource name for the api access token’s secret version
347 &quot;apiKeyVersion&quot;: &quot;A String&quot;, # Required. Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
348 &quot;readAccessTokenVersion&quot;: &quot;A String&quot;, # Required. The resource name for the read access token’s secret version
349 &quot;webhookSecretVersion&quot;: &quot;A String&quot;, # Required. Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.
350 },
351 &quot;username&quot;: &quot;A String&quot;, # Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.
352 &quot;webhookKey&quot;: &quot;A String&quot;, # Output only. UUID included in webhook requests. The UUID is used to look up the corresponding config.
353 }
354
355 updateMask: string, Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.
356 x__xgafv: string, V1 error format.
357 Allowed values
358 1 - v1 error format
359 2 - v2 error format
360
361 Returns:
362 An object of the form:
363
364 { # This resource represents a long-running operation that is the result of a network API call.
365 &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.
366 &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.
367 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
368 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
369 {
370 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
371 },
372 ],
373 &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.
374 },
375 &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.
376 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
377 },
378 &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}`.
379 &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`.
380 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
381 },
382 }</pre>
383 </div>
384
385 <div class="method">
386 <code class="details" id="removeGitLabConnectedRepository">removeGitLabConnectedRepository(config, body=None, x__xgafv=None)</code>
387 <pre>Remove a GitLab repository from a given GitLabConfig&#x27;s connected repositories. This API is experimental.
388
389 Args:
390 config: string, Required. The name of the `GitLabConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` (required)
391 body: object, The request body.
392 The object takes the form of:
393
394 { # RPC request object accepted by RemoveGitLabConnectedRepository RPC method.
395 &quot;connectedRepository&quot;: { # GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise # The connected repository to remove.
396 &quot;id&quot;: &quot;A String&quot;, # Required. Identifier for the repository. example: &quot;namespace/project-slug&quot;, namespace is usually the username or group ID
397 &quot;webhookId&quot;: 42, # Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.
398 },
399 }
400
401 x__xgafv: string, V1 error format.
402 Allowed values
403 1 - v1 error format
404 2 - v2 error format
405
406 Returns:
407 An object of the form:
408
409 { # 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); }
410 }</pre>
411 </div>
412
413 </body></html>