You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/eventarc_v1.projects.locations.triggers.html
+10-6Lines changed: 10 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,7 @@ <h3>Method Details</h3>
122
122
{ # A representation of the trigger resource.
123
123
"createTime": "A String", # Output only. The creation time.
124
124
"destination": { # Represents a target of an invocation over HTTP. # Required. Destination specifies where the events should be sent to.
125
+
"cloudFunction": "A String", # The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function}
125
126
"cloudRun": { # 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.
126
127
"path": "A String", # 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".
127
128
"region": "A String", # Required. The region the Cloud Run service is deployed in.
@@ -158,7 +159,7 @@ <h3>Method Details</h3>
158
159
}
159
160
160
161
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.
162
163
x__xgafv: string, V1 error format.
163
164
Allowed values
164
165
1 - v1 error format
@@ -196,7 +197,7 @@ <h3>Method Details</h3>
196
197
name: string, Required. The name of the trigger to be deleted. (required)
197
198
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.
198
199
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.
200
201
x__xgafv: string, V1 error format.
201
202
Allowed values
202
203
1 - v1 error format
@@ -243,6 +244,7 @@ <h3>Method Details</h3>
243
244
{ # A representation of the trigger resource.
244
245
"createTime": "A String", # Output only. The creation time.
245
246
"destination": { # Represents a target of an invocation over HTTP. # Required. Destination specifies where the events should be sent to.
247
+
"cloudFunction": "A String", # The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function}
246
248
"cloudRun": { # 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.
247
249
"path": "A String", # 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".
248
250
"region": "A String", # Required. The region the Cloud Run service is deployed in.
@@ -333,7 +335,7 @@ <h3>Method Details</h3>
333
335
334
336
Args:
335
337
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 commaseparated 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`.
337
339
pageSize: integer, The maximum number of triggers to return on each page. Note: The service may send fewer.
338
340
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.
339
341
x__xgafv: string, V1 error format.
@@ -344,12 +346,13 @@ <h3>Method Details</h3>
344
346
Returns:
345
347
An object of the form:
346
348
347
-
{ # The response message for the ListTriggers method.
349
+
{ # The response message for the `ListTriggers` method.
348
350
"nextPageToken": "A String", # A page token that can be sent to ListTriggers to request the next page. If this is empty, then there are no more pages.
349
351
"triggers": [ # The requested triggers, up to the number specified in `page_size`.
350
352
{ # A representation of the trigger resource.
351
353
"createTime": "A String", # Output only. The creation time.
352
354
"destination": { # Represents a target of an invocation over HTTP. # Required. Destination specifies where the events should be sent to.
355
+
"cloudFunction": "A String", # The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function}
353
356
"cloudRun": { # 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.
354
357
"path": "A String", # 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".
355
358
"region": "A String", # Required. The region the Cloud Run service is deployed in.
@@ -417,6 +420,7 @@ <h3>Method Details</h3>
417
420
{ # A representation of the trigger resource.
418
421
"createTime": "A String", # Output only. The creation time.
419
422
"destination": { # Represents a target of an invocation over HTTP. # Required. Destination specifies where the events should be sent to.
423
+
"cloudFunction": "A String", # The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function}
420
424
"cloudRun": { # 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.
421
425
"path": "A String", # 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".
422
426
"region": "A String", # Required. The region the Cloud Run service is deployed in.
@@ -453,8 +457,8 @@ <h3>Method Details</h3>
453
457
}
454
458
455
459
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 "*".
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 "*".
461
+
validateOnly: boolean, Required. If set, validate the request and preview the review, but do not post it.
Copy file name to clipboardExpand all lines: googleapiclient/discovery_cache/documents/eventarc.v1.json
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -506,7 +506,7 @@
506
506
"type": "string"
507
507
},
508
508
"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.",
510
510
"location": "query",
511
511
"type": "boolean"
512
512
}
@@ -549,7 +549,7 @@
549
549
"type": "string"
550
550
},
551
551
"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.",
553
553
"location": "query",
554
554
"type": "boolean"
555
555
}
@@ -628,7 +628,7 @@
628
628
],
629
629
"parameters": {
630
630
"orderBy": {
631
-
"description": "The sorting order of the resources returned. Value should be a commaseparated 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`.",
632
632
"location": "query",
633
633
"type": "string"
634
634
},
@@ -681,13 +681,13 @@
681
681
"type": "string"
682
682
},
683
683
"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 \"*\".",
685
685
"format": "google-fieldmask",
686
686
"location": "query",
687
687
"type": "string"
688
688
},
689
689
"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.",
691
691
"location": "query",
692
692
"type": "boolean"
693
693
}
@@ -766,7 +766,7 @@
766
766
}
767
767
}
768
768
},
769
-
"revision": "20220104",
769
+
"revision": "20220111",
770
770
"rootUrl": "https://eventarc.googleapis.com/",
771
771
"schemas": {
772
772
"AuditConfig": {
@@ -862,6 +862,10 @@
862
862
"description": "Represents a target of an invocation over HTTP.",
863
863
"id": "Destination",
864
864
"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
+
},
865
869
"cloudRun": {
866
870
"$ref": "CloudRun",
867
871
"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 @@
1049
1053
"type": "object"
1050
1054
},
1051
1055
"ListTriggersResponse": {
1052
-
"description": "The response message for the ListTriggers method.",
1056
+
"description": "The response message for the `ListTriggers` method.",
0 commit comments