Skip to content

Commit 1553517

Browse files
feat(connectors): update the api
#### connectors:v1 The following keys were deleted: - resources.projects.resources.locations.resources.providers.resources.connectors.resources.versions.methods.get.parameters.schemaView (Total Keys: 2) - resources.projects.resources.locations.resources.providers.resources.connectors.resources.versions.methods.list.parameters.schemaView (Total Keys: 2) - schemas.ConnectorVersion.properties.priorityEntityTypes (Total Keys: 2) - schemas.PriorityEntityType (Total Keys: 6) #### connectors:v2 The following keys were added: - resources.projects.resources.locations.resources.connections.resources.entityTypes.resources.entities.methods.list.parameters.sortOrder (Total Keys: 3)
1 parent d53cfab commit 1553517

6 files changed

+20
-101
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2643,7 +2643,7 @@ <h3>Method Details</h3>
26432643
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
26442644
}
26452645

2646-
updateMask: string, Required. The list of fields to update. Fields are specified relative to the connection. A field will be overwritten if it is in the mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. You can modify only the fields listed below. To lock/unlock a connection: * `lock_config` To suspend/resume a connection: * `suspended` To update the connection details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config` * `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config` * `auth_override_enabled`
2646+
updateMask: string, Required. The list of fields to update. Fields are specified relative to the connection. A field will be overwritten if it is in the mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. You can modify only the fields listed below. To lock/unlock a connection: * `lock_config` To suspend/resume a connection: * `suspended` To update the connection details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config` * `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config` * `auth_override_enabled` * `async_operations_enabled`
26472647
x__xgafv: string, V1 error format.
26482648
Allowed values
26492649
1 - v1 error format

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ <h3>Method Details</h3>
124124
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
125125
}
126126

127-
endpointAttachmentId: string, Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource.
127+
endpointAttachmentId: string, Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource. The regex is: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
128128
x__xgafv: string, V1 error format.
129129
Allowed values
130130
1 - v1 error format

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

Lines changed: 5 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ <h2>Instance Methods</h2>
8686
<code><a href="#fetchAuthSchema">fetchAuthSchema(name, view=None, x__xgafv=None)</a></code></p>
8787
<p class="firstline">fetch and return the list of auth config variables required to override the connection backend auth.</p>
8888
<p class="toc_element">
89-
<code><a href="#get">get(name, schemaView=None, view=None, x__xgafv=None)</a></code></p>
89+
<code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
9090
<p class="firstline">Gets details of a single connector version.</p>
9191
<p class="toc_element">
92-
<code><a href="#list">list(parent, pageSize=None, pageToken=None, schemaView=None, view=None, x__xgafv=None)</a></code></p>
92+
<code><a href="#list">list(parent, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
9393
<p class="firstline">Lists Connector Versions in a given project and location.</p>
9494
<p class="toc_element">
9595
<code><a href="#list_next">list_next()</a></code></p>
@@ -160,16 +160,11 @@ <h3>Method Details</h3>
160160
</div>
161161

162162
<div class="method">
163-
<code class="details" id="get">get(name, schemaView=None, view=None, x__xgafv=None)</code>
163+
<code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
164164
<pre>Gets details of a single connector version.
165165

166166
Args:
167167
name: string, Required. Resource name of the form: `projects/*/locations/*/providers/*/connectors/*/versions/*` Only global location is supported for ConnectorVersion resource. (required)
168-
schemaView: string, Optional. Enum to control whether schema enrichment related fields should be included in the response.
169-
Allowed values
170-
CONNECTOR_VERSION_SCHEMA_VIEW_UNSPECIFIED - VIEW_UNSPECIFIED. The unset value. Defaults to BASIC View.
171-
CONNECTOR_VERSION_SCHEMA_VIEW_BASIC - Return basic connector version schema.
172-
CONNECTOR_VERSION_SCHEMA_VIEW_ENRICHED - Return enriched connector version schema.
173168
view: string, Specifies which fields of the ConnectorVersion are returned in the response. Defaults to `CUSTOMER` view.
174169
Allowed values
175170
CONNECTOR_VERSION_VIEW_UNSPECIFIED - CONNECTOR_VERSION_VIEW_UNSPECIFIED.
@@ -881,14 +876,6 @@ <h3>Method Details</h3>
881876
},
882877
&quot;launchStage&quot;: &quot;A String&quot;, # Output only. Flag to mark the version indicating the launch stage.
883878
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Version. Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version} Only global location is supported for Connector resource.
884-
&quot;priorityEntityTypes&quot;: [ # Optional. The priority entity types for the connector version.
885-
{ # PriorityEntityType represents an entity type with its associated priority and order.
886-
&quot;description&quot;: &quot;A String&quot;, # The description of the entity type.
887-
&quot;id&quot;: &quot;A String&quot;, # The entity type.
888-
&quot;order&quot;: 42, # The order of the entity type within its priority group.
889-
&quot;priority&quot;: &quot;A String&quot;, # The priority of the entity type, such as P0, P1, etc.
890-
},
891-
],
892879
&quot;releaseVersion&quot;: &quot;A String&quot;, # Output only. ReleaseVersion of the connector, for example: &quot;1.0.1-alpha&quot;.
893880
&quot;roleGrant&quot;: { # This configuration defines all the Cloud IAM roles that needs to be granted to a particular Google Cloud resource for the selected principal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a &#x27;grant&#x27; button to do the same on behalf of the user. # Output only. Role grant configuration for this config variable. It will be DEPRECATED soon.
894881
&quot;helperTextTemplate&quot;: &quot;A String&quot;, # Optional. Template that UI can use to provide helper text to customers.
@@ -1022,18 +1009,13 @@ <h3>Method Details</h3>
10221009
</div>
10231010

10241011
<div class="method">
1025-
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, schemaView=None, view=None, x__xgafv=None)</code>
1012+
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code>
10261013
<pre>Lists Connector Versions in a given project and location.
10271014

10281015
Args:
1029-
parent: string, Required. Parent resource of the connectors, of the form: `projects/*/locations/*/providers/*/connectors/*` Only global location is supported for ConnectorVersion resource. (required)
1016+
parent: string, A parameter (required)
10301017
pageSize: integer, Page size.
10311018
pageToken: string, Page token.
1032-
schemaView: string, Optional. Enum to control whether schema enrichment related fields should be included in the response.
1033-
Allowed values
1034-
CONNECTOR_VERSION_SCHEMA_VIEW_UNSPECIFIED - VIEW_UNSPECIFIED. The unset value. Defaults to BASIC View.
1035-
CONNECTOR_VERSION_SCHEMA_VIEW_BASIC - Return basic connector version schema.
1036-
CONNECTOR_VERSION_SCHEMA_VIEW_ENRICHED - Return enriched connector version schema.
10371019
view: string, Specifies which fields of the ConnectorVersion are returned in the response. Defaults to `BASIC` view.
10381020
Allowed values
10391021
CONNECTOR_VERSION_VIEW_UNSPECIFIED - CONNECTOR_VERSION_VIEW_UNSPECIFIED.
@@ -1747,14 +1729,6 @@ <h3>Method Details</h3>
17471729
},
17481730
&quot;launchStage&quot;: &quot;A String&quot;, # Output only. Flag to mark the version indicating the launch stage.
17491731
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Version. Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version} Only global location is supported for Connector resource.
1750-
&quot;priorityEntityTypes&quot;: [ # Optional. The priority entity types for the connector version.
1751-
{ # PriorityEntityType represents an entity type with its associated priority and order.
1752-
&quot;description&quot;: &quot;A String&quot;, # The description of the entity type.
1753-
&quot;id&quot;: &quot;A String&quot;, # The entity type.
1754-
&quot;order&quot;: 42, # The order of the entity type within its priority group.
1755-
&quot;priority&quot;: &quot;A String&quot;, # The priority of the entity type, such as P0, P1, etc.
1756-
},
1757-
],
17581732
&quot;releaseVersion&quot;: &quot;A String&quot;, # Output only. ReleaseVersion of the connector, for example: &quot;1.0.1-alpha&quot;.
17591733
&quot;roleGrant&quot;: { # This configuration defines all the Cloud IAM roles that needs to be granted to a particular Google Cloud resource for the selected principal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a &#x27;grant&#x27; button to do the same on behalf of the user. # Output only. Role grant configuration for this config variable. It will be DEPRECATED soon.
17601734
&quot;helperTextTemplate&quot;: &quot;A String&quot;, # Optional. Template that UI can use to provide helper text to customers.

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ <h2>Instance Methods</h2>
9090
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Gets a single entity row matching the entity type and entity id specified in the request.</p>
9292
<p class="toc_element">
93-
<code><a href="#list">list(parent, conditions=None, pageSize=None, pageToken=None, sortBy=None, x__xgafv=None)</a></code></p>
93+
<code><a href="#list">list(parent, conditions=None, pageSize=None, pageToken=None, sortBy=None, sortOrder=None, x__xgafv=None)</a></code></p>
9494
<p class="firstline">Lists entity rows 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>
9595
<p class="toc_element">
9696
<code><a href="#list_next">list_next()</a></code></p>
@@ -199,7 +199,7 @@ <h3>Method Details</h3>
199199
</div>
200200

201201
<div class="method">
202-
<code class="details" id="list">list(parent, conditions=None, pageSize=None, pageToken=None, sortBy=None, x__xgafv=None)</code>
202+
<code class="details" id="list">list(parent, conditions=None, pageSize=None, pageToken=None, sortBy=None, sortOrder=None, x__xgafv=None)</code>
203203
<pre>Lists entity rows 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.
204204

205205
Args:
@@ -208,6 +208,7 @@ <h3>Method Details</h3>
208208
pageSize: integer, Number of entity rows to return. Defaults page size = 25. Max page size = 200.
209209
pageToken: string, Page token value if available from a previous request.
210210
sortBy: string, List of &#x27;sort_by&#x27; columns to use when returning the results. (repeated)
211+
sortOrder: string, List of &#x27;sort_order&#x27; columns to use when returning the results. (repeated)
211212
x__xgafv: string, V1 error format.
212213
Allowed values
213214
1 - v1 error format

googleapiclient/discovery_cache/documents/connectors.v1.json

Lines changed: 3 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@
529529
"type": "string"
530530
},
531531
"updateMask": {
532-
"description": "Required. The list of fields to update. Fields are specified relative to the connection. A field will be overwritten if it is in the mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. You can modify only the fields listed below. To lock/unlock a connection: * `lock_config` To suspend/resume a connection: * `suspended` To update the connection details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config` * `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config` * `auth_override_enabled`",
532+
"description": "Required. The list of fields to update. Fields are specified relative to the connection. A field will be overwritten if it is in the mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. You can modify only the fields listed below. To lock/unlock a connection: * `lock_config` To suspend/resume a connection: * `suspended` To update the connection details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config` * `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config` * `auth_override_enabled` * `async_operations_enabled`",
533533
"format": "google-fieldmask",
534534
"location": "query",
535535
"type": "string"
@@ -1506,7 +1506,7 @@
15061506
],
15071507
"parameters": {
15081508
"endpointAttachmentId": {
1509-
"description": "Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource.",
1509+
"description": "Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource. The regex is: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.",
15101510
"location": "query",
15111511
"type": "string"
15121512
},
@@ -2600,21 +2600,6 @@
26002600
"required": true,
26012601
"type": "string"
26022602
},
2603-
"schemaView": {
2604-
"description": "Optional. Enum to control whether schema enrichment related fields should be included in the response.",
2605-
"enum": [
2606-
"CONNECTOR_VERSION_SCHEMA_VIEW_UNSPECIFIED",
2607-
"CONNECTOR_VERSION_SCHEMA_VIEW_BASIC",
2608-
"CONNECTOR_VERSION_SCHEMA_VIEW_ENRICHED"
2609-
],
2610-
"enumDescriptions": [
2611-
"VIEW_UNSPECIFIED. The unset value. Defaults to BASIC View.",
2612-
"Return basic connector version schema.",
2613-
"Return enriched connector version schema."
2614-
],
2615-
"location": "query",
2616-
"type": "string"
2617-
},
26182603
"view": {
26192604
"description": "Specifies which fields of the ConnectorVersion are returned in the response. Defaults to `CUSTOMER` view.",
26202605
"enum": [
@@ -2660,27 +2645,11 @@
26602645
"type": "string"
26612646
},
26622647
"parent": {
2663-
"description": "Required. Parent resource of the connectors, of the form: `projects/*/locations/*/providers/*/connectors/*` Only global location is supported for ConnectorVersion resource.",
26642648
"location": "path",
26652649
"pattern": "^projects/[^/]+/locations/[^/]+/providers/[^/]+/connectors/[^/]+$",
26662650
"required": true,
26672651
"type": "string"
26682652
},
2669-
"schemaView": {
2670-
"description": "Optional. Enum to control whether schema enrichment related fields should be included in the response.",
2671-
"enum": [
2672-
"CONNECTOR_VERSION_SCHEMA_VIEW_UNSPECIFIED",
2673-
"CONNECTOR_VERSION_SCHEMA_VIEW_BASIC",
2674-
"CONNECTOR_VERSION_SCHEMA_VIEW_ENRICHED"
2675-
],
2676-
"enumDescriptions": [
2677-
"VIEW_UNSPECIFIED. The unset value. Defaults to BASIC View.",
2678-
"Return basic connector version schema.",
2679-
"Return enriched connector version schema."
2680-
],
2681-
"location": "query",
2682-
"type": "string"
2683-
},
26842653
"view": {
26852654
"description": "Specifies which fields of the ConnectorVersion are returned in the response. Defaults to `BASIC` view.",
26862655
"enum": [
@@ -2783,7 +2752,7 @@
27832752
}
27842753
}
27852754
},
2786-
"revision": "20250507",
2755+
"revision": "20250521",
27872756
"rootUrl": "https://connectors.googleapis.com/",
27882757
"schemas": {
27892758
"AuditConfig": {
@@ -3959,13 +3928,6 @@
39593928
"readOnly": true,
39603929
"type": "string"
39613930
},
3962-
"priorityEntityTypes": {
3963-
"description": "Optional. The priority entity types for the connector version.",
3964-
"items": {
3965-
"$ref": "PriorityEntityType"
3966-
},
3967-
"type": "array"
3968-
},
39693931
"releaseVersion": {
39703932
"description": "Output only. ReleaseVersion of the connector, for example: \"1.0.1-alpha\".",
39713933
"readOnly": true,
@@ -7622,30 +7584,6 @@ false
76227584
},
76237585
"type": "object"
76247586
},
7625-
"PriorityEntityType": {
7626-
"description": "PriorityEntityType represents an entity type with its associated priority and order.",
7627-
"id": "PriorityEntityType",
7628-
"properties": {
7629-
"description": {
7630-
"description": "The description of the entity type.",
7631-
"type": "string"
7632-
},
7633-
"id": {
7634-
"description": "The entity type.",
7635-
"type": "string"
7636-
},
7637-
"order": {
7638-
"description": "The order of the entity type within its priority group.",
7639-
"format": "int32",
7640-
"type": "integer"
7641-
},
7642-
"priority": {
7643-
"description": "The priority of the entity type, such as P0, P1, etc.",
7644-
"type": "string"
7645-
}
7646-
},
7647-
"type": "object"
7648-
},
76497587
"Provider": {
76507588
"description": "Provider indicates the owner who provides the connectors.",
76517589
"id": "Provider",

googleapiclient/discovery_cache/documents/connectors.v2.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,12 @@
608608
"location": "query",
609609
"repeated": true,
610610
"type": "string"
611+
},
612+
"sortOrder": {
613+
"description": "List of 'sort_order' columns to use when returning the results.",
614+
"location": "query",
615+
"repeated": true,
616+
"type": "string"
611617
}
612618
},
613619
"path": "v2/{+parent}/entities",
@@ -690,7 +696,7 @@
690696
}
691697
}
692698
},
693-
"revision": "20250507",
699+
"revision": "20250521",
694700
"rootUrl": "https://connectors.googleapis.com/",
695701
"schemas": {
696702
"AccessCredentials": {

0 commit comments

Comments
 (0)