Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 632cba5

Browse files
committedDec 13, 2022
feat(connectors): update the api
#### connectors:v1 The following keys were added: - resources.projects.resources.locations.resources.connections.resources.connectionSchemaMetadata.methods.refresh (Total Keys: 12) - schemas.RefreshConnectionSchemaMetadataRequest (Total Keys: 2)
1 parent 3ad8d54 commit 632cba5

File tree

3 files changed

+186
-7
lines changed

3 files changed

+186
-7
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
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.connections.html">connections</a> . <a href="connectors_v1.projects.locations.connections.connectionSchemaMetadata.html">connectionSchemaMetadata</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="#refresh">refresh(name, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Refresh runtime schema of a connection.</p>
83+
<h3>Method Details</h3>
84+
<div class="method">
85+
<code class="details" id="close">close()</code>
86+
<pre>Close httplib2 connections.</pre>
87+
</div>
88+
89+
<div class="method">
90+
<code class="details" id="refresh">refresh(name, body=None, x__xgafv=None)</code>
91+
<pre>Refresh runtime schema of a connection.
92+
93+
Args:
94+
name: string, Required. Resource name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata (required)
95+
body: object, The request body.
96+
The object takes the form of:
97+
98+
{ # Request message for ConnectorsService.RefreshConnectionSchemaMetadata.
99+
}
100+
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+
{ # This resource represents a long-running operation that is the result of a network API call.
110+
&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.
111+
&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.
112+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
113+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
114+
{
115+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
116+
},
117+
],
118+
&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.
119+
},
120+
&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.
121+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
122+
},
123+
&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}`.
124+
&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`.
125+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
126+
},
127+
}</pre>
128+
</div>
129+
130+
</body></html>

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

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474

7575
<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.connections.html">connections</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="connectors_v1.projects.locations.connections.connectionSchemaMetadata.html">connectionSchemaMetadata()</a></code>
79+
</p>
80+
<p class="firstline">Returns the connectionSchemaMetadata Resource.</p>
81+
7782
<p class="toc_element">
7883
<code><a href="connectors_v1.projects.locations.connections.runtimeActionSchemas.html">runtimeActionSchemas()</a></code>
7984
</p>

‎googleapiclient/discovery_cache/documents/connectors.v1.json

+51-7
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,38 @@
511511
}
512512
},
513513
"resources": {
514+
"connectionSchemaMetadata": {
515+
"methods": {
516+
"refresh": {
517+
"description": "Refresh runtime schema of a connection.",
518+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/connectionSchemaMetadata:refresh",
519+
"httpMethod": "POST",
520+
"id": "connectors.projects.locations.connections.connectionSchemaMetadata.refresh",
521+
"parameterOrder": [
522+
"name"
523+
],
524+
"parameters": {
525+
"name": {
526+
"description": "Required. Resource name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata",
527+
"location": "path",
528+
"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/connectionSchemaMetadata$",
529+
"required": true,
530+
"type": "string"
531+
}
532+
},
533+
"path": "v1/{+name}:refresh",
534+
"request": {
535+
"$ref": "RefreshConnectionSchemaMetadataRequest"
536+
},
537+
"response": {
538+
"$ref": "Operation"
539+
},
540+
"scopes": [
541+
"https://www.googleapis.com/auth/cloud-platform"
542+
]
543+
}
544+
}
545+
},
514546
"runtimeActionSchemas": {
515547
"methods": {
516548
"list": {
@@ -1047,7 +1079,7 @@
10471079
}
10481080
}
10491081
},
1050-
"revision": "20221110",
1082+
"revision": "20221201",
10511083
"rootUrl": "https://connectors.googleapis.com/",
10521084
"schemas": {
10531085
"AuditConfig": {
@@ -1571,13 +1603,15 @@
15711603
"LAUNCH_STAGE_UNSPECIFIED",
15721604
"PREVIEW",
15731605
"GA",
1574-
"DEPRECATED"
1606+
"DEPRECATED",
1607+
"PRIVATE_PREVIEW"
15751608
],
15761609
"enumDescriptions": [
15771610
"LAUNCH_STAGE_UNSPECIFIED.",
15781611
"PREVIEW.",
15791612
"GA.",
1580-
"DEPRECATED."
1613+
"DEPRECATED.",
1614+
"PRIVATE_PREVIEW."
15811615
],
15821616
"readOnly": true,
15831617
"type": "string"
@@ -1651,13 +1685,15 @@
16511685
"LAUNCH_STAGE_UNSPECIFIED",
16521686
"PREVIEW",
16531687
"GA",
1654-
"DEPRECATED"
1688+
"DEPRECATED",
1689+
"PRIVATE_PREVIEW"
16551690
],
16561691
"enumDescriptions": [
16571692
"LAUNCH_STAGE_UNSPECIFIED.",
16581693
"PREVIEW.",
16591694
"GA.",
1660-
"DEPRECATED."
1695+
"DEPRECATED.",
1696+
"PRIVATE_PREVIEW."
16611697
],
16621698
"readOnly": true,
16631699
"type": "string"
@@ -2523,13 +2559,15 @@
25232559
"LAUNCH_STAGE_UNSPECIFIED",
25242560
"PREVIEW",
25252561
"GA",
2526-
"DEPRECATED"
2562+
"DEPRECATED",
2563+
"PRIVATE_PREVIEW"
25272564
],
25282565
"enumDescriptions": [
25292566
"LAUNCH_STAGE_UNSPECIFIED.",
25302567
"PREVIEW.",
25312568
"GA.",
2532-
"DEPRECATED."
2569+
"DEPRECATED.",
2570+
"PRIVATE_PREVIEW."
25332571
],
25342572
"readOnly": true,
25352573
"type": "string"
@@ -2553,6 +2591,12 @@
25532591
},
25542592
"type": "object"
25552593
},
2594+
"RefreshConnectionSchemaMetadataRequest": {
2595+
"description": "Request message for ConnectorsService.RefreshConnectionSchemaMetadata.",
2596+
"id": "RefreshConnectionSchemaMetadataRequest",
2597+
"properties": {},
2598+
"type": "object"
2599+
},
25562600
"Resource": {
25572601
"description": "Resource definition",
25582602
"id": "Resource",

0 commit comments

Comments
 (0)
Please sign in to comment.