Skip to content

Commit 665f278

Browse files
feat(connectors): update the api
#### connectors:v1 The following keys were added: - resources.projects.resources.locations.resources.connections.methods.repairEventing (Total Keys: 12) - resources.projects.resources.locations.resources.connections.resources.eventSubscriptions.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.connections.resources.eventSubscriptions.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.connections.resources.eventSubscriptions.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.connections.resources.eventSubscriptions.methods.list (Total Keys: 20) - resources.projects.resources.locations.resources.connections.resources.eventSubscriptions.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.connections.resources.eventSubscriptions.methods.retry (Total Keys: 12) - resources.projects.resources.locations.resources.global.methods.updateSettings (Total Keys: 15) - resources.projects.resources.locations.resources.providers.resources.connectors.resources.versions.resources.eventtypes.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.providers.resources.connectors.resources.versions.resources.eventtypes.methods.list (Total Keys: 16) - schemas.Connection.properties.connectorVersionInfraConfig (Total Keys: 2) - schemas.Connection.properties.eventingConfig.$ref (Total Keys: 1) - schemas.Connection.properties.eventingEnablementType.type (Total Keys: 1) - schemas.Connection.properties.eventingRuntimeData (Total Keys: 2) - schemas.Connector.properties.eventingDetails (Total Keys: 2) - schemas.ConnectorInfraConfig (Total Keys: 4) - schemas.ConnectorVersion.properties.connectorInfraConfig (Total Keys: 2) - schemas.ConnectorVersion.properties.eventingConfigTemplate (Total Keys: 2) - schemas.ConnectorVersionInfraConfig (Total Keys: 5) - schemas.EndPoint (Total Keys: 5) - schemas.EventSubscription (Total Keys: 23) - schemas.EventType (Total Keys: 20) - schemas.EventingConfig (Total Keys: 20) - schemas.EventingDetails (Total Keys: 13) - schemas.EventingRuntimeData (Total Keys: 6) - schemas.EventingStatus (Total Keys: 4) - schemas.Header (Total Keys: 4) - schemas.ListEventSubscriptionsResponse (Total Keys: 7) - schemas.ListEventTypesResponse (Total Keys: 5) - schemas.RepairEventingRequest (Total Keys: 2) - schemas.RetryEventSubscriptionRequest (Total Keys: 2)
1 parent 4ac1f14 commit 665f278

8 files changed

+2652
-5
lines changed

docs/dyn/connectors_v1.projects.locations.connections.eventSubscriptions.html

Lines changed: 421 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/connectors_v1.projects.locations.connections.html

Lines changed: 517 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/connectors_v1.projects.locations.global_.html

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ <h2>Instance Methods</h2>
8585
<p class="toc_element">
8686
<code><a href="#getSettings">getSettings(name, x__xgafv=None)</a></code></p>
8787
<p class="firstline">GetGlobalSettings gets settings of a project. GlobalSettings is a singleton resource.</p>
88+
<p class="toc_element">
89+
<code><a href="#updateSettings">updateSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
90+
<p class="firstline">Update the global settings of a project.</p>
8891
<h3>Method Details</h3>
8992
<div class="method">
9093
<code class="details" id="close">close()</code>
@@ -113,4 +116,50 @@ <h3>Method Details</h3>
113116
}</pre>
114117
</div>
115118

119+
<div class="method">
120+
<code class="details" id="updateSettings">updateSettings(name, body=None, updateMask=None, x__xgafv=None)</code>
121+
<pre>Update the global settings of a project.
122+
123+
Args:
124+
name: string, Output only. Resource name of the Connection. Format: projects/{project}/locations/global/settings} (required)
125+
body: object, The request body.
126+
The object takes the form of:
127+
128+
{ # Global Settings details.
129+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Connection. Format: projects/{project}/locations/global/settings}
130+
&quot;payg&quot;: True or False, # Output only. Flag indicates if user is in PayG model
131+
&quot;tenantProjectId&quot;: &quot;A String&quot;, # Output only. Tenant project id of the consumer project.
132+
&quot;vpcsc&quot;: True or False, # Optional. Flag indicates whether vpc-sc is enabled.
133+
}
134+
135+
updateMask: string, Required. The list of fields to update.
136+
x__xgafv: string, V1 error format.
137+
Allowed values
138+
1 - v1 error format
139+
2 - v2 error format
140+
141+
Returns:
142+
An object of the form:
143+
144+
{ # This resource represents a long-running operation that is the result of a network API call.
145+
&quot;done&quot;: True or False, # 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.
146+
&quot;error&quot;: { # 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). # The error result of the operation in case of failure or cancellation.
147+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
148+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
149+
{
150+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
151+
},
152+
],
153+
&quot;message&quot;: &quot;A String&quot;, # 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.
154+
},
155+
&quot;metadata&quot;: { # 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.
156+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
157+
},
158+
&quot;name&quot;: &quot;A String&quot;, # 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}`.
159+
&quot;response&quot;: { # The normal response of the operation in case of success. 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`.
160+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
161+
},
162+
}</pre>
163+
</div>
164+
116165
</body></html>

docs/dyn/connectors_v1.projects.locations.providers.connectors.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,17 @@ <h3>Method Details</h3>
116116
&quot;description&quot;: &quot;A String&quot;, # Output only. Description of the resource.
117117
&quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name.
118118
&quot;documentationUri&quot;: &quot;A String&quot;, # Output only. Link to documentation page.
119+
&quot;eventingDetails&quot;: { # Eventing Details message. # Output only. Eventing details. Will be null if eventing is not supported.
120+
&quot;customEventTypes&quot;: True or False, # Output only. Custom Event Types.
121+
&quot;description&quot;: &quot;A String&quot;, # Output only. Description.
122+
&quot;documentationLink&quot;: &quot;A String&quot;, # Output only. Link to public documentation.
123+
&quot;iconLocation&quot;: &quot;A String&quot;, # Output only. Cloud storage location of the icon.
124+
&quot;launchStage&quot;: &quot;A String&quot;, # Output only. Eventing Launch Stage.
125+
&quot;name&quot;: &quot;A String&quot;, # Output only. Name of the Eventing trigger.
126+
&quot;searchTags&quot;: [ # Output only. Array of search keywords.
127+
&quot;A String&quot;,
128+
],
129+
},
119130
&quot;externalUri&quot;: &quot;A String&quot;, # Output only. Link to external page.
120131
&quot;labels&quot;: { # Output only. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
121132
&quot;a_key&quot;: &quot;A String&quot;,
@@ -151,6 +162,17 @@ <h3>Method Details</h3>
151162
&quot;description&quot;: &quot;A String&quot;, # Output only. Description of the resource.
152163
&quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name.
153164
&quot;documentationUri&quot;: &quot;A String&quot;, # Output only. Link to documentation page.
165+
&quot;eventingDetails&quot;: { # Eventing Details message. # Output only. Eventing details. Will be null if eventing is not supported.
166+
&quot;customEventTypes&quot;: True or False, # Output only. Custom Event Types.
167+
&quot;description&quot;: &quot;A String&quot;, # Output only. Description.
168+
&quot;documentationLink&quot;: &quot;A String&quot;, # Output only. Link to public documentation.
169+
&quot;iconLocation&quot;: &quot;A String&quot;, # Output only. Cloud storage location of the icon.
170+
&quot;launchStage&quot;: &quot;A String&quot;, # Output only. Eventing Launch Stage.
171+
&quot;name&quot;: &quot;A String&quot;, # Output only. Name of the Eventing trigger.
172+
&quot;searchTags&quot;: [ # Output only. Array of search keywords.
173+
&quot;A String&quot;,
174+
],
175+
},
154176
&quot;externalUri&quot;: &quot;A String&quot;, # Output only. Link to external page.
155177
&quot;labels&quot;: { # Output only. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
156178
&quot;a_key&quot;: &quot;A String&quot;,
Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="connectors_v1.html">Connectors API</a> . <a href="connectors_v1.projects.html">projects</a> . <a href="connectors_v1.projects.locations.html">locations</a> . <a href="connectors_v1.projects.locations.providers.html">providers</a> . <a href="connectors_v1.projects.locations.providers.connectors.html">connectors</a> . <a href="connectors_v1.projects.locations.providers.connectors.versions.html">versions</a> . <a href="connectors_v1.projects.locations.providers.connectors.versions.eventtypes.html">eventtypes</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Gets details of a single event type.</p>
83+
<p class="toc_element">
84+
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Lists Event Types in a given Connector Version.</p>
86+
<p class="toc_element">
87+
<code><a href="#list_next">list_next()</a></code></p>
88+
<p class="firstline">Retrieves the next page of results.</p>
89+
<h3>Method Details</h3>
90+
<div class="method">
91+
<code class="details" id="close">close()</code>
92+
<pre>Close httplib2 connections.</pre>
93+
</div>
94+
95+
<div class="method">
96+
<code class="details" id="get">get(name, x__xgafv=None)</code>
97+
<pre>Gets details of a single event type.
98+
99+
Args:
100+
name: string, Required. Resource name of the form: `projects/*/locations/*/providers/*/connectors/*/versions/*/eventtypes/*` Only global location is supported for EventType resource. (required)
101+
x__xgafv: string, V1 error format.
102+
Allowed values
103+
1 - v1 error format
104+
2 - v2 error format
105+
106+
Returns:
107+
An object of the form:
108+
109+
{ # EventType includes fields.
110+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
111+
&quot;enrichedEventPayloadSchema&quot;: &quot;A String&quot;, # Output only. Schema of the event payload after enriched. Will be null if read before send is not supported.
112+
&quot;entityType&quot;: &quot;A String&quot;, # Output only. Runtime entity type name. Will be null if entity type map is not available. Used for read before send feature.
113+
&quot;eventPayloadSchema&quot;: &quot;A String&quot;, # Output only. Schema of webhook event payload.
114+
&quot;eventTypeId&quot;: &quot;A String&quot;, # Output only. Event type id. Example: `ticket.created`.
115+
&quot;idPath&quot;: &quot;A String&quot;, # Output only. Id path denotes the path of id in webhook payload.
116+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the eventtype. Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version}/eventtypes/{eventtype} Only global location is supported for Connector resource.
117+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
118+
}</pre>
119+
</div>
120+
121+
<div class="method">
122+
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
123+
<pre>Lists Event Types in a given Connector Version.
124+
125+
Args:
126+
parent: string, Required. Parent resource of the connectors, of the form: `projects/*/locations/*/providers/*/connectors/*/versions/*` Only global location is supported for EventType resource. (required)
127+
pageSize: integer, Page size.
128+
pageToken: string, Page token.
129+
x__xgafv: string, V1 error format.
130+
Allowed values
131+
1 - v1 error format
132+
2 - v2 error format
133+
134+
Returns:
135+
An object of the form:
136+
137+
{ # Response message for Connectors.ListEventTypes.
138+
&quot;eventTypes&quot;: [ # A list of connector versions.
139+
{ # EventType includes fields.
140+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
141+
&quot;enrichedEventPayloadSchema&quot;: &quot;A String&quot;, # Output only. Schema of the event payload after enriched. Will be null if read before send is not supported.
142+
&quot;entityType&quot;: &quot;A String&quot;, # Output only. Runtime entity type name. Will be null if entity type map is not available. Used for read before send feature.
143+
&quot;eventPayloadSchema&quot;: &quot;A String&quot;, # Output only. Schema of webhook event payload.
144+
&quot;eventTypeId&quot;: &quot;A String&quot;, # Output only. Event type id. Example: `ticket.created`.
145+
&quot;idPath&quot;: &quot;A String&quot;, # Output only. Id path denotes the path of id in webhook payload.
146+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the eventtype. Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version}/eventtypes/{eventtype} Only global location is supported for Connector resource.
147+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
148+
},
149+
],
150+
&quot;nextPageToken&quot;: &quot;A String&quot;, # Next page token.
151+
}</pre>
152+
</div>
153+
154+
<div class="method">
155+
<code class="details" id="list_next">list_next()</code>
156+
<pre>Retrieves the next page of results.
157+
158+
Args:
159+
previous_request: The request for the previous page. (required)
160+
previous_response: The response from the request for the previous page. (required)
161+
162+
Returns:
163+
A request object that you can call &#x27;execute()&#x27; on to request the next
164+
page. Returns None if there are no more items in the collection.
165+
</pre>
166+
</div>
167+
168+
</body></html>

0 commit comments

Comments
 (0)