blob: b962b73515cfe9acfa78889101451e81dbb9addc [file] [log] [blame]
yoshi-code-botb539cc42021-08-03 00:20:27 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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.githubEnterpriseConfigs.html">githubEnterpriseConfigs</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">
yoshi-code-bot1c9dcfd2021-10-12 00:20:31 -070081 <code><a href="#create">create(parent, body=None, gheConfigId=None, projectId=None, x__xgafv=None)</a></code></p>
yoshi-code-bot312da312021-09-21 00:22:28 -070082<p class="firstline">Create an association between a GCP project and a GitHub Enterprise server.</p>
yoshi-code-botb539cc42021-08-03 00:20:27 -070083<p class="toc_element">
84 <code><a href="#delete">delete(name, configId=None, projectId=None, x__xgafv=None)</a></code></p>
yoshi-code-bot312da312021-09-21 00:22:28 -070085<p class="firstline">Delete an association between a GCP project and a GitHub Enterprise server.</p>
yoshi-code-botb539cc42021-08-03 00:20:27 -070086<p class="toc_element">
87 <code><a href="#get">get(name, configId=None, projectId=None, x__xgafv=None)</a></code></p>
yoshi-code-bot312da312021-09-21 00:22:28 -070088<p class="firstline">Retrieve a GitHubEnterpriseConfig.</p>
yoshi-code-botb539cc42021-08-03 00:20:27 -070089<p class="toc_element">
90 <code><a href="#list">list(parent, projectId=None, x__xgafv=None)</a></code></p>
yoshi-code-bot312da312021-09-21 00:22:28 -070091<p class="firstline">List all GitHubEnterpriseConfigs for a given project.</p>
yoshi-code-botb539cc42021-08-03 00:20:27 -070092<p class="toc_element">
93 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
yoshi-code-bot312da312021-09-21 00:22:28 -070094<p class="firstline">Update an association between a GCP project and a GitHub Enterprise server.</p>
yoshi-code-botb539cc42021-08-03 00:20:27 -070095<h3>Method Details</h3>
96<div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99</div>
100
101<div class="method">
yoshi-code-bot1c9dcfd2021-10-12 00:20:31 -0700102 <code class="details" id="create">create(parent, body=None, gheConfigId=None, projectId=None, x__xgafv=None)</code>
yoshi-code-bot312da312021-09-21 00:22:28 -0700103 <pre>Create an association between a GCP project and a GitHub Enterprise server.
yoshi-code-botb539cc42021-08-03 00:20:27 -0700104
105Args:
106 parent: string, Name of the parent project. For example: projects/{$project_number} or projects/{$project_id} (required)
107 body: object, The request body.
108 The object takes the form of:
109
110{ # GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.
111 &quot;appId&quot;: &quot;A String&quot;, # Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
112 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the installation was associated with the project.
113 &quot;displayName&quot;: &quot;A String&quot;, # Name to display for this config.
114 &quot;hostUrl&quot;: &quot;A String&quot;, # The URL of the github enterprise host the configuration is for.
yoshi-code-bot96afc042021-08-24 00:22:31 -0700115 &quot;name&quot;: &quot;A String&quot;, # Optional. The full resource name for the GitHubEnterpriseConfig For example: &quot;projects/{$project_id}/githubEnterpriseConfigs/{$config_id}&quot;
yoshi-code-botb539cc42021-08-03 00:20:27 -0700116 &quot;peeredNetwork&quot;: &quot;A String&quot;, # Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number or id and {network} is the name of a VPC network in the project.
117 &quot;secrets&quot;: { # GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/. # Names of secrets in Secret Manager.
118 &quot;oauthClientIdName&quot;: &quot;A String&quot;, # The resource name for the OAuth client ID secret in Secret Manager.
119 &quot;oauthClientIdVersionName&quot;: &quot;A String&quot;, # The resource name for the OAuth client ID secret version in Secret Manager.
120 &quot;oauthSecretName&quot;: &quot;A String&quot;, # The resource name for the OAuth secret in Secret Manager.
121 &quot;oauthSecretVersionName&quot;: &quot;A String&quot;, # The resource name for the OAuth secret secret version in Secret Manager.
122 &quot;privateKeyName&quot;: &quot;A String&quot;, # The resource name for the private key secret.
123 &quot;privateKeyVersionName&quot;: &quot;A String&quot;, # The resource name for the private key secret version.
124 &quot;webhookSecretName&quot;: &quot;A String&quot;, # The resource name for the webhook secret in Secret Manager.
125 &quot;webhookSecretVersionName&quot;: &quot;A String&quot;, # The resource name for the webhook secret secret version in Secret Manager.
126 },
127 &quot;sslCa&quot;: &quot;A String&quot;, # Optional. SSL certificate to use for requests to GitHub Enterprise.
128 &quot;webhookKey&quot;: &quot;A String&quot;, # The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
129}
130
yoshi-code-bot1c9dcfd2021-10-12 00:20:31 -0700131 gheConfigId: string, Optional. The ID to use for the GithubEnterpriseConfig, which will become the final component of the GithubEnterpriseConfig’s resource name. ghe_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
yoshi-code-botb539cc42021-08-03 00:20:27 -0700132 projectId: string, ID of the project.
133 x__xgafv: string, V1 error format.
134 Allowed values
135 1 - v1 error format
136 2 - v2 error format
137
138Returns:
139 An object of the form:
140
141 { # This resource represents a long-running operation that is the result of a network API call.
142 &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.
143 &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.
144 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
145 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
146 {
147 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
148 },
149 ],
150 &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.
151 },
152 &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.
153 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
154 },
155 &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}`.
156 &quot;response&quot;: { # The normal response of the operation in case of success. 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`.
157 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
158 },
159}</pre>
160</div>
161
162<div class="method">
163 <code class="details" id="delete">delete(name, configId=None, projectId=None, x__xgafv=None)</code>
yoshi-code-bot312da312021-09-21 00:22:28 -0700164 <pre>Delete an association between a GCP project and a GitHub Enterprise server.
yoshi-code-botb539cc42021-08-03 00:20:27 -0700165
166Args:
yoshi-code-bot96afc042021-08-24 00:22:31 -0700167 name: string, This field should contain the name of the enterprise config resource. For example: &quot;projects/{$project_id}/githubEnterpriseConfigs/{$config_id}&quot; (required)
yoshi-code-botb539cc42021-08-03 00:20:27 -0700168 configId: string, Unique identifier of the `GitHubEnterpriseConfig`
169 projectId: string, ID of the project
170 x__xgafv: string, V1 error format.
171 Allowed values
172 1 - v1 error format
173 2 - v2 error format
174
175Returns:
176 An object of the form:
177
178 { # This resource represents a long-running operation that is the result of a network API call.
179 &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.
180 &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.
181 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
182 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
183 {
184 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
185 },
186 ],
187 &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.
188 },
189 &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.
190 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
191 },
192 &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}`.
193 &quot;response&quot;: { # The normal response of the operation in case of success. 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`.
194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
195 },
196}</pre>
197</div>
198
199<div class="method">
200 <code class="details" id="get">get(name, configId=None, projectId=None, x__xgafv=None)</code>
yoshi-code-bot312da312021-09-21 00:22:28 -0700201 <pre>Retrieve a GitHubEnterpriseConfig.
yoshi-code-botb539cc42021-08-03 00:20:27 -0700202
203Args:
yoshi-code-bot96afc042021-08-24 00:22:31 -0700204 name: string, This field should contain the name of the enterprise config resource. For example: &quot;projects/{$project_id}/githubEnterpriseConfigs/{$config_id}&quot; (required)
yoshi-code-botb539cc42021-08-03 00:20:27 -0700205 configId: string, Unique identifier of the `GitHubEnterpriseConfig`
206 projectId: string, ID of the project
207 x__xgafv: string, V1 error format.
208 Allowed values
209 1 - v1 error format
210 2 - v2 error format
211
212Returns:
213 An object of the form:
214
215 { # GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.
216 &quot;appId&quot;: &quot;A String&quot;, # Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
217 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the installation was associated with the project.
218 &quot;displayName&quot;: &quot;A String&quot;, # Name to display for this config.
219 &quot;hostUrl&quot;: &quot;A String&quot;, # The URL of the github enterprise host the configuration is for.
yoshi-code-bot96afc042021-08-24 00:22:31 -0700220 &quot;name&quot;: &quot;A String&quot;, # Optional. The full resource name for the GitHubEnterpriseConfig For example: &quot;projects/{$project_id}/githubEnterpriseConfigs/{$config_id}&quot;
yoshi-code-botb539cc42021-08-03 00:20:27 -0700221 &quot;peeredNetwork&quot;: &quot;A String&quot;, # Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number or id and {network} is the name of a VPC network in the project.
222 &quot;secrets&quot;: { # GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/. # Names of secrets in Secret Manager.
223 &quot;oauthClientIdName&quot;: &quot;A String&quot;, # The resource name for the OAuth client ID secret in Secret Manager.
224 &quot;oauthClientIdVersionName&quot;: &quot;A String&quot;, # The resource name for the OAuth client ID secret version in Secret Manager.
225 &quot;oauthSecretName&quot;: &quot;A String&quot;, # The resource name for the OAuth secret in Secret Manager.
226 &quot;oauthSecretVersionName&quot;: &quot;A String&quot;, # The resource name for the OAuth secret secret version in Secret Manager.
227 &quot;privateKeyName&quot;: &quot;A String&quot;, # The resource name for the private key secret.
228 &quot;privateKeyVersionName&quot;: &quot;A String&quot;, # The resource name for the private key secret version.
229 &quot;webhookSecretName&quot;: &quot;A String&quot;, # The resource name for the webhook secret in Secret Manager.
230 &quot;webhookSecretVersionName&quot;: &quot;A String&quot;, # The resource name for the webhook secret secret version in Secret Manager.
231 },
232 &quot;sslCa&quot;: &quot;A String&quot;, # Optional. SSL certificate to use for requests to GitHub Enterprise.
233 &quot;webhookKey&quot;: &quot;A String&quot;, # The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
234}</pre>
235</div>
236
237<div class="method">
238 <code class="details" id="list">list(parent, projectId=None, x__xgafv=None)</code>
yoshi-code-bot312da312021-09-21 00:22:28 -0700239 <pre>List all GitHubEnterpriseConfigs for a given project.
yoshi-code-botb539cc42021-08-03 00:20:27 -0700240
241Args:
242 parent: string, Name of the parent project. For example: projects/{$project_number} or projects/{$project_id} (required)
243 projectId: string, ID of the project
244 x__xgafv: string, V1 error format.
245 Allowed values
246 1 - v1 error format
247 2 - v2 error format
248
249Returns:
250 An object of the form:
251
252 { # RPC response object returned by ListGithubEnterpriseConfigs RPC method.
253 &quot;configs&quot;: [ # A list of GitHubEnterpriseConfigs
254 { # GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.
255 &quot;appId&quot;: &quot;A String&quot;, # Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
256 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the installation was associated with the project.
257 &quot;displayName&quot;: &quot;A String&quot;, # Name to display for this config.
258 &quot;hostUrl&quot;: &quot;A String&quot;, # The URL of the github enterprise host the configuration is for.
yoshi-code-bot96afc042021-08-24 00:22:31 -0700259 &quot;name&quot;: &quot;A String&quot;, # Optional. The full resource name for the GitHubEnterpriseConfig For example: &quot;projects/{$project_id}/githubEnterpriseConfigs/{$config_id}&quot;
yoshi-code-botb539cc42021-08-03 00:20:27 -0700260 &quot;peeredNetwork&quot;: &quot;A String&quot;, # Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number or id and {network} is the name of a VPC network in the project.
261 &quot;secrets&quot;: { # GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/. # Names of secrets in Secret Manager.
262 &quot;oauthClientIdName&quot;: &quot;A String&quot;, # The resource name for the OAuth client ID secret in Secret Manager.
263 &quot;oauthClientIdVersionName&quot;: &quot;A String&quot;, # The resource name for the OAuth client ID secret version in Secret Manager.
264 &quot;oauthSecretName&quot;: &quot;A String&quot;, # The resource name for the OAuth secret in Secret Manager.
265 &quot;oauthSecretVersionName&quot;: &quot;A String&quot;, # The resource name for the OAuth secret secret version in Secret Manager.
266 &quot;privateKeyName&quot;: &quot;A String&quot;, # The resource name for the private key secret.
267 &quot;privateKeyVersionName&quot;: &quot;A String&quot;, # The resource name for the private key secret version.
268 &quot;webhookSecretName&quot;: &quot;A String&quot;, # The resource name for the webhook secret in Secret Manager.
269 &quot;webhookSecretVersionName&quot;: &quot;A String&quot;, # The resource name for the webhook secret secret version in Secret Manager.
270 },
271 &quot;sslCa&quot;: &quot;A String&quot;, # Optional. SSL certificate to use for requests to GitHub Enterprise.
272 &quot;webhookKey&quot;: &quot;A String&quot;, # The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
273 },
274 ],
275}</pre>
276</div>
277
278<div class="method">
279 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
yoshi-code-bot312da312021-09-21 00:22:28 -0700280 <pre>Update an association between a GCP project and a GitHub Enterprise server.
yoshi-code-botb539cc42021-08-03 00:20:27 -0700281
282Args:
yoshi-code-bot96afc042021-08-24 00:22:31 -0700283 name: string, Optional. The full resource name for the GitHubEnterpriseConfig For example: &quot;projects/{$project_id}/githubEnterpriseConfigs/{$config_id}&quot; (required)
yoshi-code-botb539cc42021-08-03 00:20:27 -0700284 body: object, The request body.
285 The object takes the form of:
286
287{ # GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.
288 &quot;appId&quot;: &quot;A String&quot;, # Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
289 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the installation was associated with the project.
290 &quot;displayName&quot;: &quot;A String&quot;, # Name to display for this config.
291 &quot;hostUrl&quot;: &quot;A String&quot;, # The URL of the github enterprise host the configuration is for.
yoshi-code-bot96afc042021-08-24 00:22:31 -0700292 &quot;name&quot;: &quot;A String&quot;, # Optional. The full resource name for the GitHubEnterpriseConfig For example: &quot;projects/{$project_id}/githubEnterpriseConfigs/{$config_id}&quot;
yoshi-code-botb539cc42021-08-03 00:20:27 -0700293 &quot;peeredNetwork&quot;: &quot;A String&quot;, # Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number or id and {network} is the name of a VPC network in the project.
294 &quot;secrets&quot;: { # GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/. # Names of secrets in Secret Manager.
295 &quot;oauthClientIdName&quot;: &quot;A String&quot;, # The resource name for the OAuth client ID secret in Secret Manager.
296 &quot;oauthClientIdVersionName&quot;: &quot;A String&quot;, # The resource name for the OAuth client ID secret version in Secret Manager.
297 &quot;oauthSecretName&quot;: &quot;A String&quot;, # The resource name for the OAuth secret in Secret Manager.
298 &quot;oauthSecretVersionName&quot;: &quot;A String&quot;, # The resource name for the OAuth secret secret version in Secret Manager.
299 &quot;privateKeyName&quot;: &quot;A String&quot;, # The resource name for the private key secret.
300 &quot;privateKeyVersionName&quot;: &quot;A String&quot;, # The resource name for the private key secret version.
301 &quot;webhookSecretName&quot;: &quot;A String&quot;, # The resource name for the webhook secret in Secret Manager.
302 &quot;webhookSecretVersionName&quot;: &quot;A String&quot;, # The resource name for the webhook secret secret version in Secret Manager.
303 },
304 &quot;sslCa&quot;: &quot;A String&quot;, # Optional. SSL certificate to use for requests to GitHub Enterprise.
305 &quot;webhookKey&quot;: &quot;A String&quot;, # The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
306}
307
308 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.
309 x__xgafv: string, V1 error format.
310 Allowed values
311 1 - v1 error format
312 2 - v2 error format
313
314Returns:
315 An object of the form:
316
317 { # This resource represents a long-running operation that is the result of a network API call.
318 &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.
319 &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.
320 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
321 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
322 {
323 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
324 },
325 ],
326 &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.
327 },
328 &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.
329 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
330 },
331 &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}`.
332 &quot;response&quot;: { # The normal response of the operation in case of success. 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`.
333 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
334 },
335}</pre>
336</div>
337
338</body></html>