Skip to content

Commit fc41885

Browse files
feat(eventarc): update the api
#### eventarc:v1 The following keys were added: - schemas.Destination.properties.httpEndpoint.$ref (Total Keys: 1) - schemas.HttpEndpoint (Total Keys: 4)
1 parent 0546756 commit fc41885

File tree

3 files changed

+37
-2
lines changed

3 files changed

+37
-2
lines changed

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ <h3>Method Details</h3>
142142
&quot;path&quot;: &quot;A String&quot;, # 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: &quot;/route&quot;, &quot;route&quot;, &quot;route/subroute&quot;.
143143
&quot;service&quot;: &quot;A String&quot;, # Required. Name of the GKE service.
144144
},
145+
&quot;httpEndpoint&quot;: { # Represents a HTTP endpoint destination. # An HTTP endpoint destination described by an URI.
146+
&quot;forwardDnsRequests&quot;: True or False, # Optional. Forwards DNS requests to the VPC specified by network config to resolve the HTTP endpoint. Default to false. If set to true, Eventarc will create a peering zone to the consumer VPC and forward DNS requests. See: https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones Enable this if the URI uses an internal DNS name or a private Cloud DNS zone.
147+
&quot;uri&quot;: &quot;A String&quot;, # 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.
148+
},
145149
&quot;workflow&quot;: &quot;A String&quot;, # 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}`
146150
},
147151
&quot;etag&quot;: &quot;A String&quot;, # 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.
@@ -274,6 +278,10 @@ <h3>Method Details</h3>
274278
&quot;path&quot;: &quot;A String&quot;, # 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: &quot;/route&quot;, &quot;route&quot;, &quot;route/subroute&quot;.
275279
&quot;service&quot;: &quot;A String&quot;, # Required. Name of the GKE service.
276280
},
281+
&quot;httpEndpoint&quot;: { # Represents a HTTP endpoint destination. # An HTTP endpoint destination described by an URI.
282+
&quot;forwardDnsRequests&quot;: True or False, # Optional. Forwards DNS requests to the VPC specified by network config to resolve the HTTP endpoint. Default to false. If set to true, Eventarc will create a peering zone to the consumer VPC and forward DNS requests. See: https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones Enable this if the URI uses an internal DNS name or a private Cloud DNS zone.
283+
&quot;uri&quot;: &quot;A String&quot;, # 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.
284+
},
277285
&quot;workflow&quot;: &quot;A String&quot;, # 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}`
278286
},
279287
&quot;etag&quot;: &quot;A String&quot;, # 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.
@@ -393,6 +401,10 @@ <h3>Method Details</h3>
393401
&quot;path&quot;: &quot;A String&quot;, # 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: &quot;/route&quot;, &quot;route&quot;, &quot;route/subroute&quot;.
394402
&quot;service&quot;: &quot;A String&quot;, # Required. Name of the GKE service.
395403
},
404+
&quot;httpEndpoint&quot;: { # Represents a HTTP endpoint destination. # An HTTP endpoint destination described by an URI.
405+
&quot;forwardDnsRequests&quot;: True or False, # Optional. Forwards DNS requests to the VPC specified by network config to resolve the HTTP endpoint. Default to false. If set to true, Eventarc will create a peering zone to the consumer VPC and forward DNS requests. See: https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones Enable this if the URI uses an internal DNS name or a private Cloud DNS zone.
406+
&quot;uri&quot;: &quot;A String&quot;, # 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.
407+
},
396408
&quot;workflow&quot;: &quot;A String&quot;, # 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}`
397409
},
398410
&quot;etag&quot;: &quot;A String&quot;, # 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.
@@ -471,6 +483,10 @@ <h3>Method Details</h3>
471483
&quot;path&quot;: &quot;A String&quot;, # 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: &quot;/route&quot;, &quot;route&quot;, &quot;route/subroute&quot;.
472484
&quot;service&quot;: &quot;A String&quot;, # Required. Name of the GKE service.
473485
},
486+
&quot;httpEndpoint&quot;: { # Represents a HTTP endpoint destination. # An HTTP endpoint destination described by an URI.
487+
&quot;forwardDnsRequests&quot;: True or False, # Optional. Forwards DNS requests to the VPC specified by network config to resolve the HTTP endpoint. Default to false. If set to true, Eventarc will create a peering zone to the consumer VPC and forward DNS requests. See: https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones Enable this if the URI uses an internal DNS name or a private Cloud DNS zone.
488+
&quot;uri&quot;: &quot;A String&quot;, # 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.
489+
},
474490
&quot;workflow&quot;: &quot;A String&quot;, # 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}`
475491
},
476492
&quot;etag&quot;: &quot;A String&quot;, # 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.

googleapiclient/discovery_cache/documents/eventarc.v1.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@
11971197
}
11981198
}
11991199
},
1200-
"revision": "20230526",
1200+
"revision": "20230609",
12011201
"rootUrl": "https://eventarc.googleapis.com/",
12021202
"schemas": {
12031203
"AuditConfig": {
@@ -1404,6 +1404,10 @@
14041404
"$ref": "GKE",
14051405
"description": "A GKE service capable of receiving events. The service should be running in the same project as the trigger."
14061406
},
1407+
"httpEndpoint": {
1408+
"$ref": "HttpEndpoint",
1409+
"description": "An HTTP endpoint destination described by an URI."
1410+
},
14071411
"workflow": {
14081412
"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}`",
14091413
"type": "string"
@@ -1650,6 +1654,21 @@
16501654
},
16511655
"type": "object"
16521656
},
1657+
"HttpEndpoint": {
1658+
"description": "Represents a HTTP endpoint destination.",
1659+
"id": "HttpEndpoint",
1660+
"properties": {
1661+
"forwardDnsRequests": {
1662+
"description": "Optional. Forwards DNS requests to the VPC specified by network config to resolve the HTTP endpoint. Default to false. If set to true, Eventarc will create a peering zone to the consumer VPC and forward DNS requests. See: https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones Enable this if the URI uses an internal DNS name or a private Cloud DNS zone.",
1663+
"type": "boolean"
1664+
},
1665+
"uri": {
1666+
"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.",
1667+
"type": "string"
1668+
}
1669+
},
1670+
"type": "object"
1671+
},
16531672
"ListChannelConnectionsResponse": {
16541673
"description": "The response message for the `ListChannelConnections` method.",
16551674
"id": "ListChannelConnectionsResponse",

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": "20230526",
587+
"revision": "20230609",
588588
"rootUrl": "https://eventarc.googleapis.com/",
589589
"schemas": {
590590
"AuditConfig": {

0 commit comments

Comments
 (0)