Skip to content

Commit 130677d

Browse files
feat(eventarc): update the api
#### eventarc:v1 The following keys were added: - schemas.RetryPolicy (Total Keys: 4) - schemas.Trigger.properties.retryPolicy.$ref (Total Keys: 1)
1 parent 126a800 commit 130677d

File tree

3 files changed

+33
-5
lines changed

3 files changed

+33
-5
lines changed

docs/dyn/eventarc_v1.projects.locations.operations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ <h3>Method Details</h3>
184184
filter: string, The standard list filter.
185185
pageSize: integer, The standard list page size.
186186
pageToken: string, The standard list page token.
187-
returnPartialSuccess: boolean, When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `&quot;projects/example/locations/-&quot;`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
187+
returnPartialSuccess: boolean, When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `&quot;projects/example/locations/-&quot;`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
188188
x__xgafv: string, V1 error format.
189189
Allowed values
190190
1 - v1 error format
@@ -216,7 +216,7 @@ <h3>Method Details</h3>
216216
},
217217
},
218218
],
219-
&quot;unreachable&quot;: [ # Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
219+
&quot;unreachable&quot;: [ # Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
220220
&quot;A String&quot;,
221221
],
222222
}</pre>

docs/dyn/eventarc_v1.projects.locations.triggers.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ <h3>Method Details</h3>
163163
&quot;a_key&quot;: &quot;A String&quot;,
164164
},
165165
&quot;name&quot;: &quot;A String&quot;, # 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.
166+
&quot;retryPolicy&quot;: { # The retry policy configuration for the Trigger. Can only be set with Cloud Run destinations. # Optional. The retry policy to use in the Trigger. If unset, event delivery will be retried for up to 24 hours by default: https://cloud.google.com/eventarc/docs/retry-events
167+
&quot;maxAttempts&quot;: 42, # Optional. The maximum number of delivery attempts for any message. The only valid value is 1.
168+
},
166169
&quot;satisfiesPzs&quot;: True or False, # Output only. Whether or not this Trigger satisfies the requirements of physical zone separation
167170
&quot;serviceAccount&quot;: &quot;A String&quot;, # 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.
168171
&quot;transport&quot;: { # Represents the transport intermediaries created for the trigger to deliver events. # 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.
@@ -302,6 +305,9 @@ <h3>Method Details</h3>
302305
&quot;a_key&quot;: &quot;A String&quot;,
303306
},
304307
&quot;name&quot;: &quot;A String&quot;, # 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.
308+
&quot;retryPolicy&quot;: { # The retry policy configuration for the Trigger. Can only be set with Cloud Run destinations. # Optional. The retry policy to use in the Trigger. If unset, event delivery will be retried for up to 24 hours by default: https://cloud.google.com/eventarc/docs/retry-events
309+
&quot;maxAttempts&quot;: 42, # Optional. The maximum number of delivery attempts for any message. The only valid value is 1.
310+
},
305311
&quot;satisfiesPzs&quot;: True or False, # Output only. Whether or not this Trigger satisfies the requirements of physical zone separation
306312
&quot;serviceAccount&quot;: &quot;A String&quot;, # 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.
307313
&quot;transport&quot;: { # Represents the transport intermediaries created for the trigger to deliver events. # 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.
@@ -428,6 +434,9 @@ <h3>Method Details</h3>
428434
&quot;a_key&quot;: &quot;A String&quot;,
429435
},
430436
&quot;name&quot;: &quot;A String&quot;, # 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.
437+
&quot;retryPolicy&quot;: { # The retry policy configuration for the Trigger. Can only be set with Cloud Run destinations. # Optional. The retry policy to use in the Trigger. If unset, event delivery will be retried for up to 24 hours by default: https://cloud.google.com/eventarc/docs/retry-events
438+
&quot;maxAttempts&quot;: 42, # Optional. The maximum number of delivery attempts for any message. The only valid value is 1.
439+
},
431440
&quot;satisfiesPzs&quot;: True or False, # Output only. Whether or not this Trigger satisfies the requirements of physical zone separation
432441
&quot;serviceAccount&quot;: &quot;A String&quot;, # 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.
433442
&quot;transport&quot;: { # Represents the transport intermediaries created for the trigger to deliver events. # 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.
@@ -513,6 +522,9 @@ <h3>Method Details</h3>
513522
&quot;a_key&quot;: &quot;A String&quot;,
514523
},
515524
&quot;name&quot;: &quot;A String&quot;, # 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.
525+
&quot;retryPolicy&quot;: { # The retry policy configuration for the Trigger. Can only be set with Cloud Run destinations. # Optional. The retry policy to use in the Trigger. If unset, event delivery will be retried for up to 24 hours by default: https://cloud.google.com/eventarc/docs/retry-events
526+
&quot;maxAttempts&quot;: 42, # Optional. The maximum number of delivery attempts for any message. The only valid value is 1.
527+
},
516528
&quot;satisfiesPzs&quot;: True or False, # Output only. Whether or not this Trigger satisfies the requirements of physical zone separation
517529
&quot;serviceAccount&quot;: &quot;A String&quot;, # 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.
518530
&quot;transport&quot;: { # Represents the transport intermediaries created for the trigger to deliver events. # 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.

googleapiclient/discovery_cache/documents/eventarc.v1.json

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,7 +1808,7 @@
18081808
"type": "string"
18091809
},
18101810
"returnPartialSuccess": {
1811-
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
1811+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
18121812
"location": "query",
18131813
"type": "boolean"
18141814
}
@@ -2471,7 +2471,7 @@
24712471
}
24722472
}
24732473
},
2474-
"revision": "20251024",
2474+
"revision": "20251202",
24752475
"rootUrl": "https://eventarc.googleapis.com/",
24762476
"schemas": {
24772477
"AuditConfig": {
@@ -3225,7 +3225,7 @@
32253225
"type": "array"
32263226
},
32273227
"unreachable": {
3228-
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
3228+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.",
32293229
"items": {
32303230
"type": "string"
32313231
},
@@ -3916,6 +3916,18 @@
39163916
},
39173917
"type": "object"
39183918
},
3919+
"RetryPolicy": {
3920+
"description": "The retry policy configuration for the Trigger. Can only be set with Cloud Run destinations.",
3921+
"id": "RetryPolicy",
3922+
"properties": {
3923+
"maxAttempts": {
3924+
"description": "Optional. The maximum number of delivery attempts for any message. The only valid value is 1.",
3925+
"format": "int32",
3926+
"type": "integer"
3927+
}
3928+
},
3929+
"type": "object"
3930+
},
39193931
"SetIamPolicyRequest": {
39203932
"description": "Request message for `SetIamPolicy` method.",
39213933
"id": "SetIamPolicyRequest",
@@ -4077,6 +4089,10 @@
40774089
"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.",
40784090
"type": "string"
40794091
},
4092+
"retryPolicy": {
4093+
"$ref": "RetryPolicy",
4094+
"description": "Optional. The retry policy to use in the Trigger. If unset, event delivery will be retried for up to 24 hours by default: https://cloud.google.com/eventarc/docs/retry-events"
4095+
},
40804096
"satisfiesPzs": {
40814097
"description": "Output only. Whether or not this Trigger satisfies the requirements of physical zone separation",
40824098
"readOnly": true,

0 commit comments

Comments
 (0)