Skip to content

Commit 8087f14

Browse files
feat(connectors): update the api
#### connectors:v1 The following keys were added: - schemas.Connector.properties.category (Total Keys: 2) - schemas.Connector.properties.tags (Total Keys: 3) #### connectors:v2 The following keys were added: - resources.projects.resources.locations.resources.connections.resources.entityTypes.resources.entitieswithacls.methods.list (Total Keys: 23) - schemas.AclInfo (Total Keys: 4) - schemas.EntityWithACL (Total Keys: 6) - schemas.ListEntitiesWithACLsResponse (Total Keys: 5) - schemas.Principal (Total Keys: 4) - schemas.Readers (Total Keys: 4)
1 parent 4f7da21 commit 8087f14

5 files changed

+312
-2
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ <h3>Method Details</h3>
112112
An object of the form:
113113

114114
{ # Connectors indicates a specific connector type, e.x. Salesforce, SAP etc.
115+
&quot;category&quot;: &quot;A String&quot;, # Output only. Category of the connector.
115116
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
116117
&quot;description&quot;: &quot;A String&quot;, # Output only. Description of the resource.
117118
&quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name.
@@ -134,6 +135,9 @@ <h3>Method Details</h3>
134135
},
135136
&quot;launchStage&quot;: &quot;A String&quot;, # Output only. Flag to mark the version indicating the launch stage.
136137
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Connector. Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector} Only global location is supported for Connector resource.
138+
&quot;tags&quot;: [ # Output only. Tags of the connector.
139+
&quot;A String&quot;,
140+
],
137141
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
138142
&quot;webAssetsLocation&quot;: &quot;A String&quot;, # Output only. Cloud storage location of icons etc consumed by UI.
139143
}</pre>
@@ -159,6 +163,7 @@ <h3>Method Details</h3>
159163
{ # Response message for Connectors.ListConnectors.
160164
&quot;connectors&quot;: [ # A list of connectors.
161165
{ # Connectors indicates a specific connector type, e.x. Salesforce, SAP etc.
166+
&quot;category&quot;: &quot;A String&quot;, # Output only. Category of the connector.
162167
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
163168
&quot;description&quot;: &quot;A String&quot;, # Output only. Description of the resource.
164169
&quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name.
@@ -181,6 +186,9 @@ <h3>Method Details</h3>
181186
},
182187
&quot;launchStage&quot;: &quot;A String&quot;, # Output only. Flag to mark the version indicating the launch stage.
183188
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Connector. Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector} Only global location is supported for Connector resource.
189+
&quot;tags&quot;: [ # Output only. Tags of the connector.
190+
&quot;A String&quot;,
191+
],
184192
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
185193
&quot;webAssetsLocation&quot;: &quot;A String&quot;, # Output only. Cloud storage location of icons etc consumed by UI.
186194
},
Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
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_v2.html">Connectors API</a> . <a href="connectors_v2.projects.html">projects</a> . <a href="connectors_v2.projects.locations.html">locations</a> . <a href="connectors_v2.projects.locations.connections.html">connections</a> . <a href="connectors_v2.projects.locations.connections.entityTypes.html">entityTypes</a> . <a href="connectors_v2.projects.locations.connections.entityTypes.entitieswithacls.html">entitieswithacls</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="#list">list(parent, conditions=None, gsutilUri=None, pageSize=None, pageToken=None, sortBy=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Lists entity rows with ACLs of a particular entity type contained in the request. Note: 1. Currently, only max of one 'sort_by' column is supported. 2. If no 'sort_by' column is provided, the primary key of the table is used. If zero or more than one primary key is available, we default to the unpaginated list entities logic which only returns the first page. 3. The values of the 'sort_by' columns must uniquely identify an entity row, otherwise undefined behaviors may be observed during pagination. 4. Since transactions are not supported, any updates, inserts or deletes during pagination can lead to stale data being returned or other unexpected behaviors.</p>
83+
<p class="toc_element">
84+
<code><a href="#list_next">list_next()</a></code></p>
85+
<p class="firstline">Retrieves the next page of results.</p>
86+
<h3>Method Details</h3>
87+
<div class="method">
88+
<code class="details" id="close">close()</code>
89+
<pre>Close httplib2 connections.</pre>
90+
</div>
91+
92+
<div class="method">
93+
<code class="details" id="list">list(parent, conditions=None, gsutilUri=None, pageSize=None, pageToken=None, sortBy=None, x__xgafv=None)</code>
94+
<pre>Lists entity rows with ACLs of a particular entity type contained in the request. Note: 1. Currently, only max of one &#x27;sort_by&#x27; column is supported. 2. If no &#x27;sort_by&#x27; column is provided, the primary key of the table is used. If zero or more than one primary key is available, we default to the unpaginated list entities logic which only returns the first page. 3. The values of the &#x27;sort_by&#x27; columns must uniquely identify an entity row, otherwise undefined behaviors may be observed during pagination. 4. Since transactions are not supported, any updates, inserts or deletes during pagination can lead to stale data being returned or other unexpected behaviors.
95+
96+
Args:
97+
parent: string, Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} (required)
98+
conditions: string, Conditions to be used when listing entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation should have information about what format of filters/conditions are supported.
99+
gsutilUri: string, Format: gs://object_path
100+
pageSize: integer, Number of entity rows to return. Defaults page size = 25. Max page size = 200.
101+
pageToken: string, Page token value if available from a previous request.
102+
sortBy: string, List of &#x27;sort_by&#x27; columns to use when returning the results. (repeated)
103+
x__xgafv: string, V1 error format.
104+
Allowed values
105+
1 - v1 error format
106+
2 - v2 error format
107+
108+
Returns:
109+
An object of the form:
110+
111+
{ # Response message for EntityService.ListEntitiesWithACLs
112+
&quot;entitiesWithAcl&quot;: [ # List containing entity rows.
113+
{ # EntityWithACL refers to a single row of an entity type with ACL information.
114+
&quot;acl_info&quot;: { # AclInfo has a list of readers for a resource. This is defined as per the below docs https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.collections.dataStores.branches.documents#aclinfo # ACL information of the entity.
115+
&quot;readers&quot;: [ # A list of readers for a resource.
116+
{ # Readers is a list of principals that have read access to a resource.
117+
&quot;principals&quot;: [ # A list of principals that have read access to a resource.
118+
{ # Principal is a user or group that has access to a resource.
119+
&quot;group_id&quot;: &quot;A String&quot;, # The group that has access to a resource.
120+
&quot;user_id&quot;: &quot;A String&quot;, # The user that has access to a resource.
121+
},
122+
],
123+
},
124+
],
125+
},
126+
&quot;id&quot;: &quot;A String&quot;,
127+
&quot;jsonData&quot;: &quot;A String&quot;, # Entity data in JSON format.
128+
},
129+
],
130+
&quot;nextPageToken&quot;: &quot;A String&quot;, # Next page token if more records are available.
131+
}</pre>
132+
</div>
133+
134+
<div class="method">
135+
<code class="details" id="list_next">list_next()</code>
136+
<pre>Retrieves the next page of results.
137+
138+
Args:
139+
previous_request: The request for the previous page. (required)
140+
previous_response: The response from the request for the previous page. (required)
141+
142+
Returns:
143+
A request object that you can call &#x27;execute()&#x27; on to request the next
144+
page. Returns None if there are no more items in the collection.
145+
</pre>
146+
</div>
147+
148+
</body></html>

docs/dyn/connectors_v2.projects.locations.connections.entityTypes.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ <h2>Instance Methods</h2>
7979
</p>
8080
<p class="firstline">Returns the entities Resource.</p>
8181

82+
<p class="toc_element">
83+
<code><a href="connectors_v2.projects.locations.connections.entityTypes.entitieswithacls.html">entitieswithacls()</a></code>
84+
</p>
85+
<p class="firstline">Returns the entitieswithacls Resource.</p>
86+
8287
<p class="toc_element">
8388
<code><a href="#close">close()</a></code></p>
8489
<p class="firstline">Close httplib2 connections.</p>

googleapiclient/discovery_cache/documents/connectors.v1.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2427,7 +2427,7 @@
24272427
}
24282428
}
24292429
},
2430-
"revision": "20240515",
2430+
"revision": "20240529",
24312431
"rootUrl": "https://connectors.googleapis.com/",
24322432
"schemas": {
24332433
"AuditConfig": {
@@ -3103,6 +3103,11 @@
31033103
"description": "Connectors indicates a specific connector type, e.x. Salesforce, SAP etc.",
31043104
"id": "Connector",
31053105
"properties": {
3106+
"category": {
3107+
"description": "Output only. Category of the connector.",
3108+
"readOnly": true,
3109+
"type": "string"
3110+
},
31063111
"createTime": {
31073112
"description": "Output only. Created time.",
31083113
"format": "google-datetime",
@@ -3166,6 +3171,14 @@
31663171
"readOnly": true,
31673172
"type": "string"
31683173
},
3174+
"tags": {
3175+
"description": "Output only. Tags of the connector.",
3176+
"items": {
3177+
"type": "string"
3178+
},
3179+
"readOnly": true,
3180+
"type": "array"
3181+
},
31693182
"updateTime": {
31703183
"description": "Output only. Updated time.",
31713184
"format": "google-datetime",

0 commit comments

Comments
 (0)