1{
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
7 }
8 }
9 }
10 },
11 "basePath": "",
12 "baseUrl": "https://eventarc.googleapis.com/",
13 "batchPath": "batch",
14 "canonicalName": "Eventarc",
15 "description": "Build event-driven applications on Google Cloud Platform.",
16 "discoveryVersion": "v1",
17 "documentationLink": "https://cloud.google.com/eventarc",
18 "fullyEncodeReservedExpansion": true,
19 "icons": {
20 "x16": "http://www.google.com/images/icons/product/search-16.gif",
21 "x32": "http://www.google.com/images/icons/product/search-32.gif"
22 },
23 "id": "eventarc:v1",
24 "kind": "discovery#restDescription",
25 "mtlsRootUrl": "https://eventarc.mtls.googleapis.com/",
26 "name": "eventarc",
27 "ownerDomain": "google.com",
28 "ownerName": "Google",
29 "parameters": {
30 "$.xgafv": {
31 "description": "V1 error format.",
32 "enum": [
33 "1",
34 "2"
35 ],
36 "enumDescriptions": [
37 "v1 error format",
38 "v2 error format"
39 ],
40 "location": "query",
41 "type": "string"
42 },
43 "access_token": {
44 "description": "OAuth access token.",
45 "location": "query",
46 "type": "string"
47 },
48 "alt": {
49 "default": "json",
50 "description": "Data format for response.",
51 "enum": [
52 "json",
53 "media",
54 "proto"
55 ],
56 "enumDescriptions": [
57 "Responses with Content-Type of application/json",
58 "Media download with context-dependent Content-Type",
59 "Responses with Content-Type of application/x-protobuf"
60 ],
61 "location": "query",
62 "type": "string"
63 },
64 "callback": {
65 "description": "JSONP",
66 "location": "query",
67 "type": "string"
68 },
69 "fields": {
70 "description": "Selector specifying which fields to include in a partial response.",
71 "location": "query",
72 "type": "string"
73 },
74 "key": {
75 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
76 "location": "query",
77 "type": "string"
78 },
79 "oauth_token": {
80 "description": "OAuth 2.0 token for the current user.",
81 "location": "query",
82 "type": "string"
83 },
84 "prettyPrint": {
85 "default": "true",
86 "description": "Returns response with indentations and line breaks.",
87 "location": "query",
88 "type": "boolean"
89 },
90 "quotaUser": {
91 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
92 "location": "query",
93 "type": "string"
94 },
95 "uploadType": {
96 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
97 "location": "query",
98 "type": "string"
99 },
100 "upload_protocol": {
101 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
102 "location": "query",
103 "type": "string"
104 }
105 },
106 "protocol": "rest",
107 "resources": {
108 "projects": {
109 "resources": {
110 "locations": {
111 "methods": {
112 "get": {
113 "description": "Gets information about a location.",
114 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}",
115 "httpMethod": "GET",
116 "id": "eventarc.projects.locations.get",
117 "parameterOrder": [
118 "name"
119 ],
120 "parameters": {
121 "name": {
122 "description": "Resource name for the location.",
123 "location": "path",
124 "pattern": "^projects/[^/]+/locations/[^/]+$",
125 "required": true,
126 "type": "string"
127 }
128 },
129 "path": "v1/{+name}",
130 "response": {
131 "$ref": "Location"
132 },
133 "scopes": [
134 "https://www.googleapis.com/auth/cloud-platform"
135 ]
136 },
137 "getGoogleChannelConfig": {
138 "description": "Get a GoogleChannelConfig",
139 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleChannelConfig",
140 "httpMethod": "GET",
141 "id": "eventarc.projects.locations.getGoogleChannelConfig",
142 "parameterOrder": [
143 "name"
144 ],
145 "parameters": {
146 "name": {
147 "description": "Required. The name of the config to get.",
148 "location": "path",
149 "pattern": "^projects/[^/]+/locations/[^/]+/googleChannelConfig$",
150 "required": true,
151 "type": "string"
152 }
153 },
154 "path": "v1/{+name}",
155 "response": {
156 "$ref": "GoogleChannelConfig"
157 },
158 "scopes": [
159 "https://www.googleapis.com/auth/cloud-platform"
160 ]
161 },
162 "list": {
163 "description": "Lists information about the supported locations for this service.",
164 "flatPath": "v1/projects/{projectsId}/locations",
165 "httpMethod": "GET",
166 "id": "eventarc.projects.locations.list",
167 "parameterOrder": [
168 "name"
169 ],
170 "parameters": {
171 "filter": {
172 "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
173 "location": "query",
174 "type": "string"
175 },
176 "name": {
177 "description": "The resource that owns the locations collection, if applicable.",
178 "location": "path",
179 "pattern": "^projects/[^/]+$",
180 "required": true,
181 "type": "string"
182 },
183 "pageSize": {
184 "description": "The maximum number of results to return. If not set, the service selects a default.",
185 "format": "int32",
186 "location": "query",
187 "type": "integer"
188 },
189 "pageToken": {
190 "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
191 "location": "query",
192 "type": "string"
193 }
194 },
195 "path": "v1/{+name}/locations",
196 "response": {
197 "$ref": "ListLocationsResponse"
198 },
199 "scopes": [
200 "https://www.googleapis.com/auth/cloud-platform"
201 ]
202 },
203 "updateGoogleChannelConfig": {
204 "description": "Update a single GoogleChannelConfig",
205 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleChannelConfig",
206 "httpMethod": "PATCH",
207 "id": "eventarc.projects.locations.updateGoogleChannelConfig",
208 "parameterOrder": [
209 "name"
210 ],
211 "parameters": {
212 "name": {
213 "description": "Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.",
214 "location": "path",
215 "pattern": "^projects/[^/]+/locations/[^/]+/googleChannelConfig$",
216 "required": true,
217 "type": "string"
218 },
219 "updateMask": {
220 "description": "The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of \"*\".",
221 "format": "google-fieldmask",
222 "location": "query",
223 "type": "string"
224 }
225 },
226 "path": "v1/{+name}",
227 "request": {
228 "$ref": "GoogleChannelConfig"
229 },
230 "response": {
231 "$ref": "GoogleChannelConfig"
232 },
233 "scopes": [
234 "https://www.googleapis.com/auth/cloud-platform"
235 ]
236 }
237 },
238 "resources": {
239 "channelConnections": {
240 "methods": {
241 "create": {
242 "description": "Create a new ChannelConnection in a particular project and location.",
243 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channelConnections",
244 "httpMethod": "POST",
245 "id": "eventarc.projects.locations.channelConnections.create",
246 "parameterOrder": [
247 "parent"
248 ],
249 "parameters": {
250 "channelConnectionId": {
251 "description": "Required. The user-provided ID to be assigned to the channel connection.",
252 "location": "query",
253 "type": "string"
254 },
255 "parent": {
256 "description": "Required. The parent collection in which to add this channel connection.",
257 "location": "path",
258 "pattern": "^projects/[^/]+/locations/[^/]+$",
259 "required": true,
260 "type": "string"
261 }
262 },
263 "path": "v1/{+parent}/channelConnections",
264 "request": {
265 "$ref": "ChannelConnection"
266 },
267 "response": {
268 "$ref": "GoogleLongrunningOperation"
269 },
270 "scopes": [
271 "https://www.googleapis.com/auth/cloud-platform"
272 ]
273 },
274 "delete": {
275 "description": "Delete a single ChannelConnection.",
276 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channelConnections/{channelConnectionsId}",
277 "httpMethod": "DELETE",
278 "id": "eventarc.projects.locations.channelConnections.delete",
279 "parameterOrder": [
280 "name"
281 ],
282 "parameters": {
283 "name": {
284 "description": "Required. The name of the channel connection to delete.",
285 "location": "path",
286 "pattern": "^projects/[^/]+/locations/[^/]+/channelConnections/[^/]+$",
287 "required": true,
288 "type": "string"
289 }
290 },
291 "path": "v1/{+name}",
292 "response": {
293 "$ref": "GoogleLongrunningOperation"
294 },
295 "scopes": [
296 "https://www.googleapis.com/auth/cloud-platform"
297 ]
298 },
299 "get": {
300 "description": "Get a single ChannelConnection.",
301 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channelConnections/{channelConnectionsId}",
302 "httpMethod": "GET",
303 "id": "eventarc.projects.locations.channelConnections.get",
304 "parameterOrder": [
305 "name"
306 ],
307 "parameters": {
308 "name": {
309 "description": "Required. The name of the channel connection to get.",
310 "location": "path",
311 "pattern": "^projects/[^/]+/locations/[^/]+/channelConnections/[^/]+$",
312 "required": true,
313 "type": "string"
314 }
315 },
316 "path": "v1/{+name}",
317 "response": {
318 "$ref": "ChannelConnection"
319 },
320 "scopes": [
321 "https://www.googleapis.com/auth/cloud-platform"
322 ]
323 },
324 "getIamPolicy": {
325 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
326 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channelConnections/{channelConnectionsId}:getIamPolicy",
327 "httpMethod": "GET",
328 "id": "eventarc.projects.locations.channelConnections.getIamPolicy",
329 "parameterOrder": [
330 "resource"
331 ],
332 "parameters": {
333 "options.requestedPolicyVersion": {
334 "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
335 "format": "int32",
336 "location": "query",
337 "type": "integer"
338 },
339 "resource": {
340 "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
341 "location": "path",
342 "pattern": "^projects/[^/]+/locations/[^/]+/channelConnections/[^/]+$",
343 "required": true,
344 "type": "string"
345 }
346 },
347 "path": "v1/{+resource}:getIamPolicy",
348 "response": {
349 "$ref": "Policy"
350 },
351 "scopes": [
352 "https://www.googleapis.com/auth/cloud-platform"
353 ]
354 },
355 "list": {
356 "description": "List channel connections.",
357 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channelConnections",
358 "httpMethod": "GET",
359 "id": "eventarc.projects.locations.channelConnections.list",
360 "parameterOrder": [
361 "parent"
362 ],
363 "parameters": {
364 "pageSize": {
365 "description": "The maximum number of channel connections to return on each page. Note: The service may send fewer responses.",
366 "format": "int32",
367 "location": "query",
368 "type": "integer"
369 },
370 "pageToken": {
371 "description": "The page token; provide the value from the `next_page_token` field in a previous `ListChannelConnections` call to retrieve the subsequent page. When paginating, all other parameters provided to `ListChannelConnetions` match the call that provided the page token.",
372 "location": "query",
373 "type": "string"
374 },
375 "parent": {
376 "description": "Required. The parent collection from which to list channel connections.",
377 "location": "path",
378 "pattern": "^projects/[^/]+/locations/[^/]+$",
379 "required": true,
380 "type": "string"
381 }
382 },
383 "path": "v1/{+parent}/channelConnections",
384 "response": {
385 "$ref": "ListChannelConnectionsResponse"
386 },
387 "scopes": [
388 "https://www.googleapis.com/auth/cloud-platform"
389 ]
390 },
391 "setIamPolicy": {
392 "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
393 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channelConnections/{channelConnectionsId}:setIamPolicy",
394 "httpMethod": "POST",
395 "id": "eventarc.projects.locations.channelConnections.setIamPolicy",
396 "parameterOrder": [
397 "resource"
398 ],
399 "parameters": {
400 "resource": {
401 "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
402 "location": "path",
403 "pattern": "^projects/[^/]+/locations/[^/]+/channelConnections/[^/]+$",
404 "required": true,
405 "type": "string"
406 }
407 },
408 "path": "v1/{+resource}:setIamPolicy",
409 "request": {
410 "$ref": "SetIamPolicyRequest"
411 },
412 "response": {
413 "$ref": "Policy"
414 },
415 "scopes": [
416 "https://www.googleapis.com/auth/cloud-platform"
417 ]
418 },
419 "testIamPermissions": {
420 "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
421 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channelConnections/{channelConnectionsId}:testIamPermissions",
422 "httpMethod": "POST",
423 "id": "eventarc.projects.locations.channelConnections.testIamPermissions",
424 "parameterOrder": [
425 "resource"
426 ],
427 "parameters": {
428 "resource": {
429 "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
430 "location": "path",
431 "pattern": "^projects/[^/]+/locations/[^/]+/channelConnections/[^/]+$",
432 "required": true,
433 "type": "string"
434 }
435 },
436 "path": "v1/{+resource}:testIamPermissions",
437 "request": {
438 "$ref": "TestIamPermissionsRequest"
439 },
440 "response": {
441 "$ref": "TestIamPermissionsResponse"
442 },
443 "scopes": [
444 "https://www.googleapis.com/auth/cloud-platform"
445 ]
446 }
447 }
448 },
449 "channels": {
450 "methods": {
451 "create": {
452 "description": "Create a new channel in a particular project and location.",
453 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels",
454 "httpMethod": "POST",
455 "id": "eventarc.projects.locations.channels.create",
456 "parameterOrder": [
457 "parent"
458 ],
459 "parameters": {
460 "channelId": {
461 "description": "Required. The user-provided ID to be assigned to the channel.",
462 "location": "query",
463 "type": "string"
464 },
465 "parent": {
466 "description": "Required. The parent collection in which to add this channel.",
467 "location": "path",
468 "pattern": "^projects/[^/]+/locations/[^/]+$",
469 "required": true,
470 "type": "string"
471 },
472 "validateOnly": {
473 "description": "Optional. If set, validate the request and preview the review, but do not post it.",
474 "location": "query",
475 "type": "boolean"
476 }
477 },
478 "path": "v1/{+parent}/channels",
479 "request": {
480 "$ref": "Channel"
481 },
482 "response": {
483 "$ref": "GoogleLongrunningOperation"
484 },
485 "scopes": [
486 "https://www.googleapis.com/auth/cloud-platform"
487 ]
488 },
489 "delete": {
490 "description": "Delete a single channel.",
491 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}",
492 "httpMethod": "DELETE",
493 "id": "eventarc.projects.locations.channels.delete",
494 "parameterOrder": [
495 "name"
496 ],
497 "parameters": {
498 "name": {
499 "description": "Required. The name of the channel to be deleted.",
500 "location": "path",
501 "pattern": "^projects/[^/]+/locations/[^/]+/channels/[^/]+$",
502 "required": true,
503 "type": "string"
504 },
505 "validateOnly": {
506 "description": "Optional. If set, validate the request and preview the review, but do not post it.",
507 "location": "query",
508 "type": "boolean"
509 }
510 },
511 "path": "v1/{+name}",
512 "response": {
513 "$ref": "GoogleLongrunningOperation"
514 },
515 "scopes": [
516 "https://www.googleapis.com/auth/cloud-platform"
517 ]
518 },
519 "get": {
520 "description": "Get a single Channel.",
521 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}",
522 "httpMethod": "GET",
523 "id": "eventarc.projects.locations.channels.get",
524 "parameterOrder": [
525 "name"
526 ],
527 "parameters": {
528 "name": {
529 "description": "Required. The name of the channel to get.",
530 "location": "path",
531 "pattern": "^projects/[^/]+/locations/[^/]+/channels/[^/]+$",
532 "required": true,
533 "type": "string"
534 }
535 },
536 "path": "v1/{+name}",
537 "response": {
538 "$ref": "Channel"
539 },
540 "scopes": [
541 "https://www.googleapis.com/auth/cloud-platform"
542 ]
543 },
544 "getIamPolicy": {
545 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
546 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}:getIamPolicy",
547 "httpMethod": "GET",
548 "id": "eventarc.projects.locations.channels.getIamPolicy",
549 "parameterOrder": [
550 "resource"
551 ],
552 "parameters": {
553 "options.requestedPolicyVersion": {
554 "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
555 "format": "int32",
556 "location": "query",
557 "type": "integer"
558 },
559 "resource": {
560 "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
561 "location": "path",
562 "pattern": "^projects/[^/]+/locations/[^/]+/channels/[^/]+$",
563 "required": true,
564 "type": "string"
565 }
566 },
567 "path": "v1/{+resource}:getIamPolicy",
568 "response": {
569 "$ref": "Policy"
570 },
571 "scopes": [
572 "https://www.googleapis.com/auth/cloud-platform"
573 ]
574 },
575 "list": {
576 "description": "List channels.",
577 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels",
578 "httpMethod": "GET",
579 "id": "eventarc.projects.locations.channels.list",
580 "parameterOrder": [
581 "parent"
582 ],
583 "parameters": {
584 "orderBy": {
585 "description": "The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, channel_id`.",
586 "location": "query",
587 "type": "string"
588 },
589 "pageSize": {
590 "description": "The maximum number of channels to return on each page. Note: The service may send fewer.",
591 "format": "int32",
592 "location": "query",
593 "type": "integer"
594 },
595 "pageToken": {
596 "description": "The page token; provide the value from the `next_page_token` field in a previous `ListChannels` call to retrieve the subsequent page. When paginating, all other parameters provided to `ListChannels` must match the call that provided the page token.",
597 "location": "query",
598 "type": "string"
599 },
600 "parent": {
601 "description": "Required. The parent collection to list channels on.",
602 "location": "path",
603 "pattern": "^projects/[^/]+/locations/[^/]+$",
604 "required": true,
605 "type": "string"
606 }
607 },
608 "path": "v1/{+parent}/channels",
609 "response": {
610 "$ref": "ListChannelsResponse"
611 },
612 "scopes": [
613 "https://www.googleapis.com/auth/cloud-platform"
614 ]
615 },
616 "patch": {
617 "description": "Update a single channel.",
618 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}",
619 "httpMethod": "PATCH",
620 "id": "eventarc.projects.locations.channels.patch",
621 "parameterOrder": [
622 "name"
623 ],
624 "parameters": {
625 "name": {
626 "description": "Required. The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format.",
627 "location": "path",
628 "pattern": "^projects/[^/]+/locations/[^/]+/channels/[^/]+$",
629 "required": true,
630 "type": "string"
631 },
632 "updateMask": {
633 "description": "The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of \"*\".",
634 "format": "google-fieldmask",
635 "location": "query",
636 "type": "string"
637 },
638 "validateOnly": {
639 "description": "Optional. If set, validate the request and preview the review, but do not post it.",
640 "location": "query",
641 "type": "boolean"
642 }
643 },
644 "path": "v1/{+name}",
645 "request": {
646 "$ref": "Channel"
647 },
648 "response": {
649 "$ref": "GoogleLongrunningOperation"
650 },
651 "scopes": [
652 "https://www.googleapis.com/auth/cloud-platform"
653 ]
654 },
655 "setIamPolicy": {
656 "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
657 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}:setIamPolicy",
658 "httpMethod": "POST",
659 "id": "eventarc.projects.locations.channels.setIamPolicy",
660 "parameterOrder": [
661 "resource"
662 ],
663 "parameters": {
664 "resource": {
665 "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
666 "location": "path",
667 "pattern": "^projects/[^/]+/locations/[^/]+/channels/[^/]+$",
668 "required": true,
669 "type": "string"
670 }
671 },
672 "path": "v1/{+resource}:setIamPolicy",
673 "request": {
674 "$ref": "SetIamPolicyRequest"
675 },
676 "response": {
677 "$ref": "Policy"
678 },
679 "scopes": [
680 "https://www.googleapis.com/auth/cloud-platform"
681 ]
682 },
683 "testIamPermissions": {
684 "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
685 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}:testIamPermissions",
686 "httpMethod": "POST",
687 "id": "eventarc.projects.locations.channels.testIamPermissions",
688 "parameterOrder": [
689 "resource"
690 ],
691 "parameters": {
692 "resource": {
693 "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
694 "location": "path",
695 "pattern": "^projects/[^/]+/locations/[^/]+/channels/[^/]+$",
696 "required": true,
697 "type": "string"
698 }
699 },
700 "path": "v1/{+resource}:testIamPermissions",
701 "request": {
702 "$ref": "TestIamPermissionsRequest"
703 },
704 "response": {
705 "$ref": "TestIamPermissionsResponse"
706 },
707 "scopes": [
708 "https://www.googleapis.com/auth/cloud-platform"
709 ]
710 }
711 }
712 },
713 "operations": {
714 "methods": {
715 "cancel": {
716 "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
717 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
718 "httpMethod": "POST",
719 "id": "eventarc.projects.locations.operations.cancel",
720 "parameterOrder": [
721 "name"
722 ],
723 "parameters": {
724 "name": {
725 "description": "The name of the operation resource to be cancelled.",
726 "location": "path",
727 "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
728 "required": true,
729 "type": "string"
730 }
731 },
732 "path": "v1/{+name}:cancel",
733 "request": {
734 "$ref": "GoogleLongrunningCancelOperationRequest"
735 },
736 "response": {
737 "$ref": "Empty"
738 },
739 "scopes": [
740 "https://www.googleapis.com/auth/cloud-platform"
741 ]
742 },
743 "delete": {
744 "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
745 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
746 "httpMethod": "DELETE",
747 "id": "eventarc.projects.locations.operations.delete",
748 "parameterOrder": [
749 "name"
750 ],
751 "parameters": {
752 "name": {
753 "description": "The name of the operation resource to be deleted.",
754 "location": "path",
755 "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
756 "required": true,
757 "type": "string"
758 }
759 },
760 "path": "v1/{+name}",
761 "response": {
762 "$ref": "Empty"
763 },
764 "scopes": [
765 "https://www.googleapis.com/auth/cloud-platform"
766 ]
767 },
768 "get": {
769 "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
770 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
771 "httpMethod": "GET",
772 "id": "eventarc.projects.locations.operations.get",
773 "parameterOrder": [
774 "name"
775 ],
776 "parameters": {
777 "name": {
778 "description": "The name of the operation resource.",
779 "location": "path",
780 "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
781 "required": true,
782 "type": "string"
783 }
784 },
785 "path": "v1/{+name}",
786 "response": {
787 "$ref": "GoogleLongrunningOperation"
788 },
789 "scopes": [
790 "https://www.googleapis.com/auth/cloud-platform"
791 ]
792 },
793 "list": {
794 "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
795 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations",
796 "httpMethod": "GET",
797 "id": "eventarc.projects.locations.operations.list",
798 "parameterOrder": [
799 "name"
800 ],
801 "parameters": {
802 "filter": {
803 "description": "The standard list filter.",
804 "location": "query",
805 "type": "string"
806 },
807 "name": {
808 "description": "The name of the operation's parent resource.",
809 "location": "path",
810 "pattern": "^projects/[^/]+/locations/[^/]+$",
811 "required": true,
812 "type": "string"
813 },
814 "pageSize": {
815 "description": "The standard list page size.",
816 "format": "int32",
817 "location": "query",
818 "type": "integer"
819 },
820 "pageToken": {
821 "description": "The standard list page token.",
822 "location": "query",
823 "type": "string"
824 }
825 },
826 "path": "v1/{+name}/operations",
827 "response": {
828 "$ref": "GoogleLongrunningListOperationsResponse"
829 },
830 "scopes": [
831 "https://www.googleapis.com/auth/cloud-platform"
832 ]
833 }
834 }
835 },
836 "providers": {
837 "methods": {
838 "get": {
839 "description": "Get a single Provider.",
840 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/providers/{providersId}",
841 "httpMethod": "GET",
842 "id": "eventarc.projects.locations.providers.get",
843 "parameterOrder": [
844 "name"
845 ],
846 "parameters": {
847 "name": {
848 "description": "Required. The name of the provider to get.",
849 "location": "path",
850 "pattern": "^projects/[^/]+/locations/[^/]+/providers/[^/]+$",
851 "required": true,
852 "type": "string"
853 }
854 },
855 "path": "v1/{+name}",
856 "response": {
857 "$ref": "Provider"
858 },
859 "scopes": [
860 "https://www.googleapis.com/auth/cloud-platform"
861 ]
862 },
863 "list": {
864 "description": "List providers.",
865 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/providers",
866 "httpMethod": "GET",
867 "id": "eventarc.projects.locations.providers.list",
868 "parameterOrder": [
869 "parent"
870 ],
871 "parameters": {
872 "filter": {
873 "description": "The filter field that the list request will filter on.",
874 "location": "query",
875 "type": "string"
876 },
877 "orderBy": {
878 "description": "The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting oder is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, _id`.",
879 "location": "query",
880 "type": "string"
881 },
882 "pageSize": {
883 "description": "The maximum number of providers to return on each page.",
884 "format": "int32",
885 "location": "query",
886 "type": "integer"
887 },
888 "pageToken": {
889 "description": "The page token; provide the value from the `next_page_token` field in a previous `ListProviders` call to retrieve the subsequent page. When paginating, all other parameters provided to `ListProviders` must match the call that provided the page token.",
890 "location": "query",
891 "type": "string"
892 },
893 "parent": {
894 "description": "Required. The parent of the provider to get.",
895 "location": "path",
896 "pattern": "^projects/[^/]+/locations/[^/]+$",
897 "required": true,
898 "type": "string"
899 }
900 },
901 "path": "v1/{+parent}/providers",
902 "response": {
903 "$ref": "ListProvidersResponse"
904 },
905 "scopes": [
906 "https://www.googleapis.com/auth/cloud-platform"
907 ]
908 }
909 }
910 },
911 "triggers": {
912 "methods": {
913 "create": {
914 "description": "Create a new trigger in a particular project and location.",
915 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers",
916 "httpMethod": "POST",
917 "id": "eventarc.projects.locations.triggers.create",
918 "parameterOrder": [
919 "parent"
920 ],
921 "parameters": {
922 "parent": {
923 "description": "Required. The parent collection in which to add this trigger.",
924 "location": "path",
925 "pattern": "^projects/[^/]+/locations/[^/]+$",
926 "required": true,
927 "type": "string"
928 },
929 "triggerId": {
930 "description": "Required. The user-provided ID to be assigned to the trigger.",
931 "location": "query",
932 "type": "string"
933 },
934 "validateOnly": {
935 "description": "Optional. If set, validate the request and preview the review, but do not post it.",
936 "location": "query",
937 "type": "boolean"
938 }
939 },
940 "path": "v1/{+parent}/triggers",
941 "request": {
942 "$ref": "Trigger"
943 },
944 "response": {
945 "$ref": "GoogleLongrunningOperation"
946 },
947 "scopes": [
948 "https://www.googleapis.com/auth/cloud-platform"
949 ]
950 },
951 "delete": {
952 "description": "Delete a single trigger.",
953 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}",
954 "httpMethod": "DELETE",
955 "id": "eventarc.projects.locations.triggers.delete",
956 "parameterOrder": [
957 "name"
958 ],
959 "parameters": {
960 "allowMissing": {
961 "description": "If set to true, and the trigger is not found, the request will succeed but no action will be taken on the server.",
962 "location": "query",
963 "type": "boolean"
964 },
965 "etag": {
966 "description": "If provided, the trigger will only be deleted if the etag matches the current etag on the resource.",
967 "location": "query",
968 "type": "string"
969 },
970 "name": {
971 "description": "Required. The name of the trigger to be deleted.",
972 "location": "path",
973 "pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$",
974 "required": true,
975 "type": "string"
976 },
977 "validateOnly": {
978 "description": "Optional. If set, validate the request and preview the review, but do not post it.",
979 "location": "query",
980 "type": "boolean"
981 }
982 },
983 "path": "v1/{+name}",
984 "response": {
985 "$ref": "GoogleLongrunningOperation"
986 },
987 "scopes": [
988 "https://www.googleapis.com/auth/cloud-platform"
989 ]
990 },
991 "get": {
992 "description": "Get a single trigger.",
993 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}",
994 "httpMethod": "GET",
995 "id": "eventarc.projects.locations.triggers.get",
996 "parameterOrder": [
997 "name"
998 ],
999 "parameters": {
1000 "name": {
1001 "description": "Required. The name of the trigger to get.",
1002 "location": "path",
1003 "pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$",
1004 "required": true,
1005 "type": "string"
1006 }
1007 },
1008 "path": "v1/{+name}",
1009 "response": {
1010 "$ref": "Trigger"
1011 },
1012 "scopes": [
1013 "https://www.googleapis.com/auth/cloud-platform"
1014 ]
1015 },
1016 "getIamPolicy": {
1017 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
1018 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:getIamPolicy",
1019 "httpMethod": "GET",
1020 "id": "eventarc.projects.locations.triggers.getIamPolicy",
1021 "parameterOrder": [
1022 "resource"
1023 ],
1024 "parameters": {
1025 "options.requestedPolicyVersion": {
1026 "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
1027 "format": "int32",
1028 "location": "query",
1029 "type": "integer"
1030 },
1031 "resource": {
1032 "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1033 "location": "path",
1034 "pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$",
1035 "required": true,
1036 "type": "string"
1037 }
1038 },
1039 "path": "v1/{+resource}:getIamPolicy",
1040 "response": {
1041 "$ref": "Policy"
1042 },
1043 "scopes": [
1044 "https://www.googleapis.com/auth/cloud-platform"
1045 ]
1046 },
1047 "list": {
1048 "description": "List triggers.",
1049 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers",
1050 "httpMethod": "GET",
1051 "id": "eventarc.projects.locations.triggers.list",
1052 "parameterOrder": [
1053 "parent"
1054 ],
1055 "parameters": {
1056 "filter": {
1057 "description": "Filter field. Used to filter the Triggers to be listed. Possible filters are described in https://google.aip.dev/160. For example, using \"?filter=destination:gke\" would list only Triggers with a gke destination.",
1058 "location": "query",
1059 "type": "string"
1060 },
1061 "orderBy": {
1062 "description": "The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, trigger_id`.",
1063 "location": "query",
1064 "type": "string"
1065 },
1066 "pageSize": {
1067 "description": "The maximum number of triggers to return on each page. Note: The service may send fewer.",
1068 "format": "int32",
1069 "location": "query",
1070 "type": "integer"
1071 },
1072 "pageToken": {
1073 "description": "The page token; provide the value from the `next_page_token` field in a previous `ListTriggers` call to retrieve the subsequent page. When paginating, all other parameters provided to `ListTriggers` must match the call that provided the page token.",
1074 "location": "query",
1075 "type": "string"
1076 },
1077 "parent": {
1078 "description": "Required. The parent collection to list triggers on.",
1079 "location": "path",
1080 "pattern": "^projects/[^/]+/locations/[^/]+$",
1081 "required": true,
1082 "type": "string"
1083 }
1084 },
1085 "path": "v1/{+parent}/triggers",
1086 "response": {
1087 "$ref": "ListTriggersResponse"
1088 },
1089 "scopes": [
1090 "https://www.googleapis.com/auth/cloud-platform"
1091 ]
1092 },
1093 "patch": {
1094 "description": "Update a single trigger.",
1095 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}",
1096 "httpMethod": "PATCH",
1097 "id": "eventarc.projects.locations.triggers.patch",
1098 "parameterOrder": [
1099 "name"
1100 ],
1101 "parameters": {
1102 "allowMissing": {
1103 "description": "If set to true, and the trigger is not found, a new trigger will be created. In this situation, `update_mask` is ignored.",
1104 "location": "query",
1105 "type": "boolean"
1106 },
1107 "name": {
1108 "description": "Required. The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format.",
1109 "location": "path",
1110 "pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$",
1111 "required": true,
1112 "type": "string"
1113 },
1114 "updateMask": {
1115 "description": "The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of \"*\".",
1116 "format": "google-fieldmask",
1117 "location": "query",
1118 "type": "string"
1119 },
1120 "validateOnly": {
1121 "description": "Optional. If set, validate the request and preview the review, but do not post it.",
1122 "location": "query",
1123 "type": "boolean"
1124 }
1125 },
1126 "path": "v1/{+name}",
1127 "request": {
1128 "$ref": "Trigger"
1129 },
1130 "response": {
1131 "$ref": "GoogleLongrunningOperation"
1132 },
1133 "scopes": [
1134 "https://www.googleapis.com/auth/cloud-platform"
1135 ]
1136 },
1137 "setIamPolicy": {
1138 "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
1139 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:setIamPolicy",
1140 "httpMethod": "POST",
1141 "id": "eventarc.projects.locations.triggers.setIamPolicy",
1142 "parameterOrder": [
1143 "resource"
1144 ],
1145 "parameters": {
1146 "resource": {
1147 "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1148 "location": "path",
1149 "pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$",
1150 "required": true,
1151 "type": "string"
1152 }
1153 },
1154 "path": "v1/{+resource}:setIamPolicy",
1155 "request": {
1156 "$ref": "SetIamPolicyRequest"
1157 },
1158 "response": {
1159 "$ref": "Policy"
1160 },
1161 "scopes": [
1162 "https://www.googleapis.com/auth/cloud-platform"
1163 ]
1164 },
1165 "testIamPermissions": {
1166 "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
1167 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:testIamPermissions",
1168 "httpMethod": "POST",
1169 "id": "eventarc.projects.locations.triggers.testIamPermissions",
1170 "parameterOrder": [
1171 "resource"
1172 ],
1173 "parameters": {
1174 "resource": {
1175 "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1176 "location": "path",
1177 "pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$",
1178 "required": true,
1179 "type": "string"
1180 }
1181 },
1182 "path": "v1/{+resource}:testIamPermissions",
1183 "request": {
1184 "$ref": "TestIamPermissionsRequest"
1185 },
1186 "response": {
1187 "$ref": "TestIamPermissionsResponse"
1188 },
1189 "scopes": [
1190 "https://www.googleapis.com/auth/cloud-platform"
1191 ]
1192 }
1193 }
1194 }
1195 }
1196 }
1197 }
1198 }
1199 },
1200 "revision": "20240417",
1201 "rootUrl": "https://eventarc.googleapis.com/",
1202 "schemas": {
1203 "AuditConfig": {
1204 "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.",
1205 "id": "AuditConfig",
1206 "properties": {
1207 "auditLogConfigs": {
1208 "description": "The configuration for logging of each type of permission.",
1209 "items": {
1210 "$ref": "AuditLogConfig"
1211 },
1212 "type": "array"
1213 },
1214 "service": {
1215 "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.",
1216 "type": "string"
1217 }
1218 },
1219 "type": "object"
1220 },
1221 "AuditLogConfig": {
1222 "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.",
1223 "id": "AuditLogConfig",
1224 "properties": {
1225 "exemptedMembers": {
1226 "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.",
1227 "items": {
1228 "type": "string"
1229 },
1230 "type": "array"
1231 },
1232 "logType": {
1233 "description": "The log type that this config enables.",
1234 "enum": [
1235 "LOG_TYPE_UNSPECIFIED",
1236 "ADMIN_READ",
1237 "DATA_WRITE",
1238 "DATA_READ"
1239 ],
1240 "enumDescriptions": [
1241 "Default case. Should never be this.",
1242 "Admin reads. Example: CloudIAM getIamPolicy",
1243 "Data writes. Example: CloudSQL Users create",
1244 "Data reads. Example: CloudSQL Users list"
1245 ],
1246 "type": "string"
1247 }
1248 },
1249 "type": "object"
1250 },
1251 "Binding": {
1252 "description": "Associates `members`, or principals, with a `role`.",
1253 "id": "Binding",
1254 "properties": {
1255 "condition": {
1256 "$ref": "Expr",
1257 "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
1258 },
1259 "members": {
1260 "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.",
1261 "items": {
1262 "type": "string"
1263 },
1264 "type": "array"
1265 },
1266 "role": {
1267 "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).",
1268 "type": "string"
1269 }
1270 },
1271 "type": "object"
1272 },
1273 "Channel": {
1274 "description": "A representation of the Channel resource. A Channel is a resource on which event providers publish their events. The published events are delivered through the transport associated with the channel. Note that a channel is associated with exactly one event provider.",
1275 "id": "Channel",
1276 "properties": {
1277 "activationToken": {
1278 "description": "Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.",
1279 "readOnly": true,
1280 "type": "string"
1281 },
1282 "createTime": {
1283 "description": "Output only. The creation time.",
1284 "format": "google-datetime",
1285 "readOnly": true,
1286 "type": "string"
1287 },
1288 "cryptoKeyName": {
1289 "description": "Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.",
1290 "type": "string"
1291 },
1292 "name": {
1293 "description": "Required. The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format.",
1294 "type": "string"
1295 },
1296 "provider": {
1297 "description": "The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`.",
1298 "type": "string"
1299 },
1300 "pubsubTopic": {
1301 "description": "Output only. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`.",
1302 "readOnly": true,
1303 "type": "string"
1304 },
1305 "satisfiesPzs": {
1306 "description": "Output only. Whether or not this Channel satisfies the requirements of physical zone separation",
1307 "readOnly": true,
1308 "type": "boolean"
1309 },
1310 "state": {
1311 "description": "Output only. The state of a Channel.",
1312 "enum": [
1313 "STATE_UNSPECIFIED",
1314 "PENDING",
1315 "ACTIVE",
1316 "INACTIVE"
1317 ],
1318 "enumDescriptions": [
1319 "Default value. This value is unused.",
1320 "The PENDING state indicates that a Channel has been created successfully and there is a new activation token available for the subscriber to use to convey the Channel to the provider in order to create a Connection.",
1321 "The ACTIVE state indicates that a Channel has been successfully connected with the event provider. An ACTIVE Channel is ready to receive and route events from the event provider.",
1322 "The INACTIVE state indicates that the Channel cannot receive events permanently. There are two possible cases this state can happen: 1. The SaaS provider disconnected from this Channel. 2. The Channel activation token has expired but the SaaS provider wasn't connected. To re-establish a Connection with a provider, the subscriber should create a new Channel and give it to the provider."
1323 ],
1324 "readOnly": true,
1325 "type": "string"
1326 },
1327 "uid": {
1328 "description": "Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.",
1329 "readOnly": true,
1330 "type": "string"
1331 },
1332 "updateTime": {
1333 "description": "Output only. The last-modified time.",
1334 "format": "google-datetime",
1335 "readOnly": true,
1336 "type": "string"
1337 }
1338 },
1339 "type": "object"
1340 },
1341 "ChannelConnection": {
1342 "description": "A representation of the ChannelConnection resource. A ChannelConnection is a resource which event providers create during the activation process to establish a connection between the provider and the subscriber channel.",
1343 "id": "ChannelConnection",
1344 "properties": {
1345 "activationToken": {
1346 "description": "Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.",
1347 "type": "string"
1348 },
1349 "channel": {
1350 "description": "Required. The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in `projects/{project}/location/{location}/channels/{channel_id}` format.",
1351 "type": "string"
1352 },
1353 "createTime": {
1354 "description": "Output only. The creation time.",
1355 "format": "google-datetime",
1356 "readOnly": true,
1357 "type": "string"
1358 },
1359 "name": {
1360 "description": "Required. The name of the connection.",
1361 "type": "string"
1362 },
1363 "uid": {
1364 "description": "Output only. Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.",
1365 "readOnly": true,
1366 "type": "string"
1367 },
1368 "updateTime": {
1369 "description": "Output only. The last-modified time.",
1370 "format": "google-datetime",
1371 "readOnly": true,
1372 "type": "string"
1373 }
1374 },
1375 "type": "object"
1376 },
1377 "CloudRun": {
1378 "description": "Represents a Cloud Run destination.",
1379 "id": "CloudRun",
1380 "properties": {
1381 "path": {
1382 "description": "Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: \"/route\", \"route\", \"route/subroute\".",
1383 "type": "string"
1384 },
1385 "region": {
1386 "description": "Required. The region the Cloud Run service is deployed in.",
1387 "type": "string"
1388 },
1389 "service": {
1390 "description": "Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed.",
1391 "type": "string"
1392 }
1393 },
1394 "type": "object"
1395 },
1396 "Destination": {
1397 "description": "Represents a target of an invocation over HTTP.",
1398 "id": "Destination",
1399 "properties": {
1400 "cloudFunction": {
1401 "description": "The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: `projects/{project}/locations/{location}/functions/{function}` This is a read-only field. Creating Cloud Functions V1/V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.",
1402 "type": "string"
1403 },
1404 "cloudRun": {
1405 "$ref": "CloudRun",
1406 "description": "Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger."
1407 },
1408 "gke": {
1409 "$ref": "GKE",
1410 "description": "A GKE service capable of receiving events. The service should be running in the same project as the trigger."
1411 },
1412 "httpEndpoint": {
1413 "$ref": "HttpEndpoint",
1414 "description": "An HTTP endpoint destination described by an URI."
1415 },
1416 "networkConfig": {
1417 "$ref": "NetworkConfig",
1418 "description": "Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type."
1419 },
1420 "workflow": {
1421 "description": "The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`",
1422 "type": "string"
1423 }
1424 },
1425 "type": "object"
1426 },
1427 "Empty": {
1428 "description": "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); }",
1429 "id": "Empty",
1430 "properties": {},
1431 "type": "object"
1432 },
1433 "EventFilter": {
1434 "description": "Filters events based on exact matches on the CloudEvents attributes.",
1435 "id": "EventFilter",
1436 "properties": {
1437 "attribute": {
1438 "description": "Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. You can [retrieve a specific provider's supported event types](/eventarc/docs/list-providers#describe-provider). All triggers MUST provide a filter for the 'type' attribute.",
1439 "type": "string"
1440 },
1441 "operator": {
1442 "description": "Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The allowed values are `path_pattern` and `match-path-pattern`. `path_pattern` is only allowed for GCFv1 triggers.",
1443 "type": "string"
1444 },
1445 "value": {
1446 "description": "Required. The value for the attribute.",
1447 "type": "string"
1448 }
1449 },
1450 "type": "object"
1451 },
1452 "EventType": {
1453 "description": "A representation of the event type resource.",
1454 "id": "EventType",
1455 "properties": {
1456 "description": {
1457 "description": "Output only. Human friendly description of what the event type is about. For example \"Bucket created in Cloud Storage\".",
1458 "readOnly": true,
1459 "type": "string"
1460 },
1461 "eventSchemaUri": {
1462 "description": "Output only. URI for the event schema. For example \"https://github.com/googleapis/google-cloudevents/blob/master/proto/google/events/cloud/storage/v1/events.proto\"",
1463 "readOnly": true,
1464 "type": "string"
1465 },
1466 "filteringAttributes": {
1467 "description": "Output only. Filtering attributes for the event type.",
1468 "items": {
1469 "$ref": "FilteringAttribute"
1470 },
1471 "readOnly": true,
1472 "type": "array"
1473 },
1474 "type": {
1475 "description": "Output only. The full name of the event type (for example, \"google.cloud.storage.object.v1.finalized\"). In the form of {provider-specific-prefix}.{resource}.{version}.{verb}. Types MUST be versioned and event schemas are guaranteed to remain backward compatible within one version. Note that event type versions and API versions do not need to match.",
1476 "readOnly": true,
1477 "type": "string"
1478 }
1479 },
1480 "type": "object"
1481 },
1482 "Expr": {
1483 "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() \u003c 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' \u0026\u0026 document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.",
1484 "id": "Expr",
1485 "properties": {
1486 "description": {
1487 "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.",
1488 "type": "string"
1489 },
1490 "expression": {
1491 "description": "Textual representation of an expression in Common Expression Language syntax.",
1492 "type": "string"
1493 },
1494 "location": {
1495 "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.",
1496 "type": "string"
1497 },
1498 "title": {
1499 "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.",
1500 "type": "string"
1501 }
1502 },
1503 "type": "object"
1504 },
1505 "FilteringAttribute": {
1506 "description": "A representation of the FilteringAttribute resource. Filtering attributes are per event type.",
1507 "id": "FilteringAttribute",
1508 "properties": {
1509 "attribute": {
1510 "description": "Output only. Attribute used for filtering the event type.",
1511 "readOnly": true,
1512 "type": "string"
1513 },
1514 "description": {
1515 "description": "Output only. Description of the purpose of the attribute.",
1516 "readOnly": true,
1517 "type": "string"
1518 },
1519 "pathPatternSupported": {
1520 "description": "Output only. If true, the attribute accepts matching expressions in the Eventarc PathPattern format.",
1521 "readOnly": true,
1522 "type": "boolean"
1523 },
1524 "required": {
1525 "description": "Output only. If true, the triggers for this provider should always specify a filter on these attributes. Trigger creation will fail otherwise.",
1526 "readOnly": true,
1527 "type": "boolean"
1528 }
1529 },
1530 "type": "object"
1531 },
1532 "GKE": {
1533 "description": "Represents a GKE destination.",
1534 "id": "GKE",
1535 "properties": {
1536 "cluster": {
1537 "description": "Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.",
1538 "type": "string"
1539 },
1540 "location": {
1541 "description": "Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.",
1542 "type": "string"
1543 },
1544 "namespace": {
1545 "description": "Required. The namespace the GKE service is running in.",
1546 "type": "string"
1547 },
1548 "path": {
1549 "description": "Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: \"/route\", \"route\", \"route/subroute\".",
1550 "type": "string"
1551 },
1552 "service": {
1553 "description": "Required. Name of the GKE service.",
1554 "type": "string"
1555 }
1556 },
1557 "type": "object"
1558 },
1559 "GoogleChannelConfig": {
1560 "description": "A GoogleChannelConfig is a resource that stores the custom settings respected by Eventarc first-party triggers in the matching region. Once configured, first-party event data will be protected using the specified custom managed encryption key instead of Google-managed encryption keys.",
1561 "id": "GoogleChannelConfig",
1562 "properties": {
1563 "cryptoKeyName": {
1564 "description": "Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.",
1565 "type": "string"
1566 },
1567 "name": {
1568 "description": "Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.",
1569 "type": "string"
1570 },
1571 "updateTime": {
1572 "description": "Output only. The last-modified time.",
1573 "format": "google-datetime",
1574 "readOnly": true,
1575 "type": "string"
1576 }
1577 },
1578 "type": "object"
1579 },
1580 "GoogleLongrunningCancelOperationRequest": {
1581 "description": "The request message for Operations.CancelOperation.",
1582 "id": "GoogleLongrunningCancelOperationRequest",
1583 "properties": {},
1584 "type": "object"
1585 },
1586 "GoogleLongrunningListOperationsResponse": {
1587 "description": "The response message for Operations.ListOperations.",
1588 "id": "GoogleLongrunningListOperationsResponse",
1589 "properties": {
1590 "nextPageToken": {
1591 "description": "The standard List next-page token.",
1592 "type": "string"
1593 },
1594 "operations": {
1595 "description": "A list of operations that matches the specified filter in the request.",
1596 "items": {
1597 "$ref": "GoogleLongrunningOperation"
1598 },
1599 "type": "array"
1600 }
1601 },
1602 "type": "object"
1603 },
1604 "GoogleLongrunningOperation": {
1605 "description": "This resource represents a long-running operation that is the result of a network API call.",
1606 "id": "GoogleLongrunningOperation",
1607 "properties": {
1608 "done": {
1609 "description": "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.",
1610 "type": "boolean"
1611 },
1612 "error": {
1613 "$ref": "GoogleRpcStatus",
1614 "description": "The error result of the operation in case of failure or cancellation."
1615 },
1616 "metadata": {
1617 "additionalProperties": {
1618 "description": "Properties of the object. Contains field @type with type URL.",
1619 "type": "any"
1620 },
1621 "description": "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.",
1622 "type": "object"
1623 },
1624 "name": {
1625 "description": "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}`.",
1626 "type": "string"
1627 },
1628 "response": {
1629 "additionalProperties": {
1630 "description": "Properties of the object. Contains field @type with type URL.",
1631 "type": "any"
1632 },
1633 "description": "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`.",
1634 "type": "object"
1635 }
1636 },
1637 "type": "object"
1638 },
1639 "GoogleRpcStatus": {
1640 "description": "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).",
1641 "id": "GoogleRpcStatus",
1642 "properties": {
1643 "code": {
1644 "description": "The status code, which should be an enum value of google.rpc.Code.",
1645 "format": "int32",
1646 "type": "integer"
1647 },
1648 "details": {
1649 "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
1650 "items": {
1651 "additionalProperties": {
1652 "description": "Properties of the object. Contains field @type with type URL.",
1653 "type": "any"
1654 },
1655 "type": "object"
1656 },
1657 "type": "array"
1658 },
1659 "message": {
1660 "description": "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.",
1661 "type": "string"
1662 }
1663 },
1664 "type": "object"
1665 },
1666 "HttpEndpoint": {
1667 "description": "Represents a HTTP endpoint destination.",
1668 "id": "HttpEndpoint",
1669 "properties": {
1670 "uri": {
1671 "description": "Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.",
1672 "type": "string"
1673 }
1674 },
1675 "type": "object"
1676 },
1677 "ListChannelConnectionsResponse": {
1678 "description": "The response message for the `ListChannelConnections` method.",
1679 "id": "ListChannelConnectionsResponse",
1680 "properties": {
1681 "channelConnections": {
1682 "description": "The requested channel connections, up to the number specified in `page_size`.",
1683 "items": {
1684 "$ref": "ChannelConnection"
1685 },
1686 "type": "array"
1687 },
1688 "nextPageToken": {
1689 "description": "A page token that can be sent to `ListChannelConnections` to request the next page. If this is empty, then there are no more pages.",
1690 "type": "string"
1691 },
1692 "unreachable": {
1693 "description": "Unreachable resources, if any.",
1694 "items": {
1695 "type": "string"
1696 },
1697 "type": "array"
1698 }
1699 },
1700 "type": "object"
1701 },
1702 "ListChannelsResponse": {
1703 "description": "The response message for the `ListChannels` method.",
1704 "id": "ListChannelsResponse",
1705 "properties": {
1706 "channels": {
1707 "description": "The requested channels, up to the number specified in `page_size`.",
1708 "items": {
1709 "$ref": "Channel"
1710 },
1711 "type": "array"
1712 },
1713 "nextPageToken": {
1714 "description": "A page token that can be sent to `ListChannels` to request the next page. If this is empty, then there are no more pages.",
1715 "type": "string"
1716 },
1717 "unreachable": {
1718 "description": "Unreachable resources, if any.",
1719 "items": {
1720 "type": "string"
1721 },
1722 "type": "array"
1723 }
1724 },
1725 "type": "object"
1726 },
1727 "ListLocationsResponse": {
1728 "description": "The response message for Locations.ListLocations.",
1729 "id": "ListLocationsResponse",
1730 "properties": {
1731 "locations": {
1732 "description": "A list of locations that matches the specified filter in the request.",
1733 "items": {
1734 "$ref": "Location"
1735 },
1736 "type": "array"
1737 },
1738 "nextPageToken": {
1739 "description": "The standard List next-page token.",
1740 "type": "string"
1741 }
1742 },
1743 "type": "object"
1744 },
1745 "ListProvidersResponse": {
1746 "description": "The response message for the `ListProviders` method.",
1747 "id": "ListProvidersResponse",
1748 "properties": {
1749 "nextPageToken": {
1750 "description": "A page token that can be sent to `ListProviders` to request the next page. If this is empty, then there are no more pages.",
1751 "type": "string"
1752 },
1753 "providers": {
1754 "description": "The requested providers, up to the number specified in `page_size`.",
1755 "items": {
1756 "$ref": "Provider"
1757 },
1758 "type": "array"
1759 },
1760 "unreachable": {
1761 "description": "Unreachable resources, if any.",
1762 "items": {
1763 "type": "string"
1764 },
1765 "type": "array"
1766 }
1767 },
1768 "type": "object"
1769 },
1770 "ListTriggersResponse": {
1771 "description": "The response message for the `ListTriggers` method.",
1772 "id": "ListTriggersResponse",
1773 "properties": {
1774 "nextPageToken": {
1775 "description": "A page token that can be sent to `ListTriggers` to request the next page. If this is empty, then there are no more pages.",
1776 "type": "string"
1777 },
1778 "triggers": {
1779 "description": "The requested triggers, up to the number specified in `page_size`.",
1780 "items": {
1781 "$ref": "Trigger"
1782 },
1783 "type": "array"
1784 },
1785 "unreachable": {
1786 "description": "Unreachable resources, if any.",
1787 "items": {
1788 "type": "string"
1789 },
1790 "type": "array"
1791 }
1792 },
1793 "type": "object"
1794 },
1795 "Location": {
1796 "description": "A resource that represents a Google Cloud location.",
1797 "id": "Location",
1798 "properties": {
1799 "displayName": {
1800 "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".",
1801 "type": "string"
1802 },
1803 "labels": {
1804 "additionalProperties": {
1805 "type": "string"
1806 },
1807 "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}",
1808 "type": "object"
1809 },
1810 "locationId": {
1811 "description": "The canonical id for this location. For example: `\"us-east1\"`.",
1812 "type": "string"
1813 },
1814 "metadata": {
1815 "additionalProperties": {
1816 "description": "Properties of the object. Contains field @type with type URL.",
1817 "type": "any"
1818 },
1819 "description": "Service-specific metadata. For example the available capacity at the given location.",
1820 "type": "object"
1821 },
1822 "name": {
1823 "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`",
1824 "type": "string"
1825 }
1826 },
1827 "type": "object"
1828 },
1829 "NetworkConfig": {
1830 "description": "Represents a network config to be used for destination resolution and connectivity.",
1831 "id": "NetworkConfig",
1832 "properties": {
1833 "networkAttachment": {
1834 "description": "Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`",
1835 "type": "string"
1836 }
1837 },
1838 "type": "object"
1839 },
1840 "OperationMetadata": {
1841 "description": "Represents the metadata of the long-running operation.",
1842 "id": "OperationMetadata",
1843 "properties": {
1844 "apiVersion": {
1845 "description": "Output only. API version used to start the operation.",
1846 "readOnly": true,
1847 "type": "string"
1848 },
1849 "createTime": {
1850 "description": "Output only. The time the operation was created.",
1851 "format": "google-datetime",
1852 "readOnly": true,
1853 "type": "string"
1854 },
1855 "endTime": {
1856 "description": "Output only. The time the operation finished running.",
1857 "format": "google-datetime",
1858 "readOnly": true,
1859 "type": "string"
1860 },
1861 "requestedCancellation": {
1862 "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
1863 "readOnly": true,
1864 "type": "boolean"
1865 },
1866 "statusMessage": {
1867 "description": "Output only. Human-readable status of the operation, if any.",
1868 "readOnly": true,
1869 "type": "string"
1870 },
1871 "target": {
1872 "description": "Output only. Server-defined resource path for the target of the operation.",
1873 "readOnly": true,
1874 "type": "string"
1875 },
1876 "verb": {
1877 "description": "Output only. Name of the verb executed by the operation.",
1878 "readOnly": true,
1879 "type": "string"
1880 }
1881 },
1882 "type": "object"
1883 },
1884 "Policy": {
1885 "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
1886 "id": "Policy",
1887 "properties": {
1888 "auditConfigs": {
1889 "description": "Specifies cloud audit logging configuration for this policy.",
1890 "items": {
1891 "$ref": "AuditConfig"
1892 },
1893 "type": "array"
1894 },
1895 "bindings": {
1896 "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.",
1897 "items": {
1898 "$ref": "Binding"
1899 },
1900 "type": "array"
1901 },
1902 "etag": {
1903 "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.",
1904 "format": "byte",
1905 "type": "string"
1906 },
1907 "version": {
1908 "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
1909 "format": "int32",
1910 "type": "integer"
1911 }
1912 },
1913 "type": "object"
1914 },
1915 "Provider": {
1916 "description": "A representation of the Provider resource.",
1917 "id": "Provider",
1918 "properties": {
1919 "displayName": {
1920 "description": "Output only. Human friendly name for the Provider. For example \"Cloud Storage\".",
1921 "readOnly": true,
1922 "type": "string"
1923 },
1924 "eventTypes": {
1925 "description": "Output only. Event types for this provider.",
1926 "items": {
1927 "$ref": "EventType"
1928 },
1929 "readOnly": true,
1930 "type": "array"
1931 },
1932 "name": {
1933 "description": "Output only. In `projects/{project}/locations/{location}/providers/{provider_id}` format.",
1934 "readOnly": true,
1935 "type": "string"
1936 }
1937 },
1938 "type": "object"
1939 },
1940 "Pubsub": {
1941 "description": "Represents a Pub/Sub transport.",
1942 "id": "Pubsub",
1943 "properties": {
1944 "subscription": {
1945 "description": "Output only. The name of the Pub/Sub subscription created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.",
1946 "readOnly": true,
1947 "type": "string"
1948 },
1949 "topic": {
1950 "description": "Optional. The name of the Pub/Sub topic created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You can set an existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished`. The topic you provide here is not deleted by Eventarc at trigger deletion.",
1951 "type": "string"
1952 }
1953 },
1954 "type": "object"
1955 },
1956 "SetIamPolicyRequest": {
1957 "description": "Request message for `SetIamPolicy` method.",
1958 "id": "SetIamPolicyRequest",
1959 "properties": {
1960 "policy": {
1961 "$ref": "Policy",
1962 "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them."
1963 },
1964 "updateMask": {
1965 "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`",
1966 "format": "google-fieldmask",
1967 "type": "string"
1968 }
1969 },
1970 "type": "object"
1971 },
1972 "StateCondition": {
1973 "description": "A condition that is part of the trigger state computation.",
1974 "id": "StateCondition",
1975 "properties": {
1976 "code": {
1977 "description": "The canonical code of the condition.",
1978 "enum": [
1979 "OK",
1980 "CANCELLED",
1981 "UNKNOWN",
1982 "INVALID_ARGUMENT",
1983 "DEADLINE_EXCEEDED",
1984 "NOT_FOUND",
1985 "ALREADY_EXISTS",
1986 "PERMISSION_DENIED",
1987 "UNAUTHENTICATED",
1988 "RESOURCE_EXHAUSTED",
1989 "FAILED_PRECONDITION",
1990 "ABORTED",
1991 "OUT_OF_RANGE",
1992 "UNIMPLEMENTED",
1993 "INTERNAL",
1994 "UNAVAILABLE",
1995 "DATA_LOSS"
1996 ],
1997 "enumDescriptions": [
1998 "Not an error; returned on success. HTTP Mapping: 200 OK",
1999 "The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request",
2000 "Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error",
2001 "The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request",
2002 "The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout",
2003 "Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found",
2004 "The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict",
2005 "The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden",
2006 "The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized",
2007 "Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests",
2008 "The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request",
2009 "The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict",
2010 "The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request",
2011 "The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented",
2012 "Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error",
2013 "The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable",
2014 "Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error"
2015 ],
2016 "type": "string"
2017 },
2018 "message": {
2019 "description": "Human-readable message.",
2020 "type": "string"
2021 }
2022 },
2023 "type": "object"
2024 },
2025 "TestIamPermissionsRequest": {
2026 "description": "Request message for `TestIamPermissions` method.",
2027 "id": "TestIamPermissionsRequest",
2028 "properties": {
2029 "permissions": {
2030 "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
2031 "items": {
2032 "type": "string"
2033 },
2034 "type": "array"
2035 }
2036 },
2037 "type": "object"
2038 },
2039 "TestIamPermissionsResponse": {
2040 "description": "Response message for `TestIamPermissions` method.",
2041 "id": "TestIamPermissionsResponse",
2042 "properties": {
2043 "permissions": {
2044 "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
2045 "items": {
2046 "type": "string"
2047 },
2048 "type": "array"
2049 }
2050 },
2051 "type": "object"
2052 },
2053 "Transport": {
2054 "description": "Represents the transport intermediaries created for the trigger to deliver events.",
2055 "id": "Transport",
2056 "properties": {
2057 "pubsub": {
2058 "$ref": "Pubsub",
2059 "description": "The Pub/Sub topic and subscription used by Eventarc as a transport intermediary."
2060 }
2061 },
2062 "type": "object"
2063 },
2064 "Trigger": {
2065 "description": "A representation of the trigger resource.",
2066 "id": "Trigger",
2067 "properties": {
2068 "channel": {
2069 "description": "Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners.",
2070 "type": "string"
2071 },
2072 "conditions": {
2073 "additionalProperties": {
2074 "$ref": "StateCondition"
2075 },
2076 "description": "Output only. The reason(s) why a trigger is in FAILED state.",
2077 "readOnly": true,
2078 "type": "object"
2079 },
2080 "createTime": {
2081 "description": "Output only. The creation time.",
2082 "format": "google-datetime",
2083 "readOnly": true,
2084 "type": "string"
2085 },
2086 "destination": {
2087 "$ref": "Destination",
2088 "description": "Required. Destination specifies where the events should be sent to."
2089 },
2090 "etag": {
2091 "description": "Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.",
2092 "readOnly": true,
2093 "type": "string"
2094 },
2095 "eventDataContentType": {
2096 "description": "Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to `application/json` if the value is not defined.",
2097 "type": "string"
2098 },
2099 "eventFilters": {
2100 "description": "Required. Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination.",
2101 "items": {
2102 "$ref": "EventFilter"
2103 },
2104 "type": "array"
2105 },
2106 "labels": {
2107 "additionalProperties": {
2108 "type": "string"
2109 },
2110 "description": "Optional. User labels attached to the triggers that can be used to group resources.",
2111 "type": "object"
2112 },
2113 "name": {
2114 "description": "Required. The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format.",
2115 "type": "string"
2116 },
2117 "satisfiesPzs": {
2118 "description": "Output only. Whether or not this Trigger satisfies the requirements of physical zone separation",
2119 "readOnly": true,
2120 "type": "boolean"
2121 },
2122 "serviceAccount": {
2123 "description": "Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The `iam.serviceAccounts.actAs` permission must be granted on the service account to allow a principal to impersonate the service account. For more information, see the [Roles and permissions](/eventarc/docs/all-roles-permissions) page specific to the trigger destination.",
2124 "type": "string"
2125 },
2126 "transport": {
2127 "$ref": "Transport",
2128 "description": "Optional. To deliver messages, Eventarc might use other Google Cloud products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes."
2129 },
2130 "uid": {
2131 "description": "Output only. Server-assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.",
2132 "readOnly": true,
2133 "type": "string"
2134 },
2135 "updateTime": {
2136 "description": "Output only. The last-modified time.",
2137 "format": "google-datetime",
2138 "readOnly": true,
2139 "type": "string"
2140 }
2141 },
2142 "type": "object"
2143 }
2144 },
2145 "servicePath": "",
2146 "title": "Eventarc API",
2147 "version": "v1",
2148 "version_module": true
2149}
View as plain text