Skip to content

Commit 8fd4b62

Browse files
feat(eventarc): update the api
#### eventarc:v1 The following keys were added: - schemas.Destination.properties.cloudFunction.type (Total Keys: 1)
1 parent 5c1bd08 commit 8fd4b62

File tree

3 files changed

+22
-14
lines changed

3 files changed

+22
-14
lines changed

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

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ <h3>Method Details</h3>
122122
{ # A representation of the trigger resource.
123123
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
124124
&quot;destination&quot;: { # Represents a target of an invocation over HTTP. # Required. Destination specifies where the events should be sent to.
125+
&quot;cloudFunction&quot;: &quot;A String&quot;, # The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function}
125126
&quot;cloudRun&quot;: { # Represents a Cloud Run destination. # Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
126127
&quot;path&quot;: &quot;A String&quot;, # 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: &quot;/route&quot;, &quot;route&quot;, &quot;route/subroute&quot;.
127128
&quot;region&quot;: &quot;A String&quot;, # Required. The region the Cloud Run service is deployed in.
@@ -158,7 +159,7 @@ <h3>Method Details</h3>
158159
}
159160

160161
triggerId: string, Required. The user-provided ID to be assigned to the trigger.
161-
validateOnly: boolean, Required. If set, validate the request and preview the review, but do not actually post it.
162+
validateOnly: boolean, Required. If set, validate the request and preview the review, but do not post it.
162163
x__xgafv: string, V1 error format.
163164
Allowed values
164165
1 - v1 error format
@@ -196,7 +197,7 @@ <h3>Method Details</h3>
196197
name: string, Required. The name of the trigger to be deleted. (required)
197198
allowMissing: boolean, If set to true, and the trigger is not found, the request will succeed but no action will be taken on the server.
198199
etag: string, If provided, the trigger will only be deleted if the etag matches the current etag on the resource.
199-
validateOnly: boolean, Required. If set, validate the request and preview the review, but do not actually post it.
200+
validateOnly: boolean, Required. If set, validate the request and preview the review, but do not post it.
200201
x__xgafv: string, V1 error format.
201202
Allowed values
202203
1 - v1 error format
@@ -243,6 +244,7 @@ <h3>Method Details</h3>
243244
{ # A representation of the trigger resource.
244245
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
245246
&quot;destination&quot;: { # Represents a target of an invocation over HTTP. # Required. Destination specifies where the events should be sent to.
247+
&quot;cloudFunction&quot;: &quot;A String&quot;, # The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function}
246248
&quot;cloudRun&quot;: { # Represents a Cloud Run destination. # Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
247249
&quot;path&quot;: &quot;A String&quot;, # 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: &quot;/route&quot;, &quot;route&quot;, &quot;route/subroute&quot;.
248250
&quot;region&quot;: &quot;A String&quot;, # Required. The region the Cloud Run service is deployed in.
@@ -333,7 +335,7 @@ <h3>Method Details</h3>
333335

334336
Args:
335337
parent: string, Required. The parent collection to list triggers on. (required)
336-
orderBy: string, 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, trigger_id`.
338+
orderBy: string, 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`.
337339
pageSize: integer, The maximum number of triggers to return on each page. Note: The service may send fewer.
338340
pageToken: string, 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.
339341
x__xgafv: string, V1 error format.
@@ -344,12 +346,13 @@ <h3>Method Details</h3>
344346
Returns:
345347
An object of the form:
346348

347-
{ # The response message for the ListTriggers method.
349+
{ # The response message for the `ListTriggers` method.
348350
&quot;nextPageToken&quot;: &quot;A String&quot;, # A page token that can be sent to ListTriggers to request the next page. If this is empty, then there are no more pages.
349351
&quot;triggers&quot;: [ # The requested triggers, up to the number specified in `page_size`.
350352
{ # A representation of the trigger resource.
351353
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
352354
&quot;destination&quot;: { # Represents a target of an invocation over HTTP. # Required. Destination specifies where the events should be sent to.
355+
&quot;cloudFunction&quot;: &quot;A String&quot;, # The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function}
353356
&quot;cloudRun&quot;: { # Represents a Cloud Run destination. # Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
354357
&quot;path&quot;: &quot;A String&quot;, # 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: &quot;/route&quot;, &quot;route&quot;, &quot;route/subroute&quot;.
355358
&quot;region&quot;: &quot;A String&quot;, # Required. The region the Cloud Run service is deployed in.
@@ -417,6 +420,7 @@ <h3>Method Details</h3>
417420
{ # A representation of the trigger resource.
418421
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
419422
&quot;destination&quot;: { # Represents a target of an invocation over HTTP. # Required. Destination specifies where the events should be sent to.
423+
&quot;cloudFunction&quot;: &quot;A String&quot;, # The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function}
420424
&quot;cloudRun&quot;: { # Represents a Cloud Run destination. # Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
421425
&quot;path&quot;: &quot;A String&quot;, # 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: &quot;/route&quot;, &quot;route&quot;, &quot;route/subroute&quot;.
422426
&quot;region&quot;: &quot;A String&quot;, # Required. The region the Cloud Run service is deployed in.
@@ -453,8 +457,8 @@ <h3>Method Details</h3>
453457
}
454458

455459
allowMissing: boolean, If set to true, and the trigger is not found, a new trigger will be created. In this situation, `update_mask` is ignored.
456-
updateMask: string, The fields to be updated; only fields explicitly provided will be updated. If no field mask is provided, all provided fields in the request will be updated. To update all fields, provide a field mask of &quot;*&quot;.
457-
validateOnly: boolean, Required. If set, validate the request and preview the review, but do not actually post it.
460+
updateMask: string, 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 &quot;*&quot;.
461+
validateOnly: boolean, Required. If set, validate the request and preview the review, but do not post it.
458462
x__xgafv: string, V1 error format.
459463
Allowed values
460464
1 - v1 error format

googleapiclient/discovery_cache/documents/eventarc.v1.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@
506506
"type": "string"
507507
},
508508
"validateOnly": {
509-
"description": "Required. If set, validate the request and preview the review, but do not actually post it.",
509+
"description": "Required. If set, validate the request and preview the review, but do not post it.",
510510
"location": "query",
511511
"type": "boolean"
512512
}
@@ -549,7 +549,7 @@
549549
"type": "string"
550550
},
551551
"validateOnly": {
552-
"description": "Required. If set, validate the request and preview the review, but do not actually post it.",
552+
"description": "Required. If set, validate the request and preview the review, but do not post it.",
553553
"location": "query",
554554
"type": "boolean"
555555
}
@@ -628,7 +628,7 @@
628628
],
629629
"parameters": {
630630
"orderBy": {
631-
"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, trigger_id`.",
631+
"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`.",
632632
"location": "query",
633633
"type": "string"
634634
},
@@ -681,13 +681,13 @@
681681
"type": "string"
682682
},
683683
"updateMask": {
684-
"description": "The fields to be updated; only fields explicitly provided will be updated. If no field mask is provided, all provided fields in the request will be updated. To update all fields, provide a field mask of \"*\".",
684+
"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 \"*\".",
685685
"format": "google-fieldmask",
686686
"location": "query",
687687
"type": "string"
688688
},
689689
"validateOnly": {
690-
"description": "Required. If set, validate the request and preview the review, but do not actually post it.",
690+
"description": "Required. If set, validate the request and preview the review, but do not post it.",
691691
"location": "query",
692692
"type": "boolean"
693693
}
@@ -766,7 +766,7 @@
766766
}
767767
}
768768
},
769-
"revision": "20220104",
769+
"revision": "20220111",
770770
"rootUrl": "https://eventarc.googleapis.com/",
771771
"schemas": {
772772
"AuditConfig": {
@@ -862,6 +862,10 @@
862862
"description": "Represents a target of an invocation over HTTP.",
863863
"id": "Destination",
864864
"properties": {
865+
"cloudFunction": {
866+
"description": "The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function}",
867+
"type": "string"
868+
},
865869
"cloudRun": {
866870
"$ref": "CloudRun",
867871
"description": "Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger."
@@ -1049,7 +1053,7 @@
10491053
"type": "object"
10501054
},
10511055
"ListTriggersResponse": {
1052-
"description": "The response message for the ListTriggers method.",
1056+
"description": "The response message for the `ListTriggers` method.",
10531057
"id": "ListTriggersResponse",
10541058
"properties": {
10551059
"nextPageToken": {

googleapiclient/discovery_cache/documents/eventarc.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@
584584
}
585585
}
586586
},
587-
"revision": "20220104",
587+
"revision": "20220111",
588588
"rootUrl": "https://eventarc.googleapis.com/",
589589
"schemas": {
590590
"AuditConfig": {

0 commit comments

Comments
 (0)