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 bddbbf6

Browse files
committedOct 25, 2022
feat(connectors): update the api
#### connectors:v1 The following keys were deleted: - schemas.SshPublicKey.properties.password.$ref (Total Keys: 1) The following keys were added: - schemas.ConnectionSchemaMetadata.properties.name (Total Keys: 2) - schemas.ConnectionSchemaMetadata.properties.refreshTime (Total Keys: 3) - schemas.ConnectionSchemaMetadata.properties.state (Total Keys: 2) - schemas.ConnectionSchemaMetadata.properties.updateTime (Total Keys: 3)
1 parent 6ef14bc commit bddbbf6

File tree

3 files changed

+42
-22
lines changed

3 files changed

+42
-22
lines changed
 

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

+6-14
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,6 @@ <h3>Method Details</h3>
164164
},
165165
&quot;sshPublicKey&quot;: { # Parameters to support Ssh public key Authentication. # SSH Public Key.
166166
&quot;certType&quot;: &quot;A String&quot;, # Format of SSH Client cert.
167-
&quot;password&quot;: { # Secret provides a reference to entries in Secret Manager. # This is an optional field used in case client has enabled multi-factor authentication
168-
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
169-
},
170167
&quot;sshClientCert&quot;: { # Secret provides a reference to entries in Secret Manager. # SSH Client Cert. It should contain both public and private key.
171168
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
172169
},
@@ -349,9 +346,6 @@ <h3>Method Details</h3>
349346
},
350347
&quot;sshPublicKey&quot;: { # Parameters to support Ssh public key Authentication. # SSH Public Key.
351348
&quot;certType&quot;: &quot;A String&quot;, # Format of SSH Client cert.
352-
&quot;password&quot;: { # Secret provides a reference to entries in Secret Manager. # This is an optional field used in case client has enabled multi-factor authentication
353-
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
354-
},
355349
&quot;sshClientCert&quot;: { # Secret provides a reference to entries in Secret Manager. # SSH Client Cert. It should contain both public and private key.
356350
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
357351
},
@@ -433,13 +427,17 @@ <h3>Method Details</h3>
433427
Returns:
434428
An object of the form:
435429

436-
{ # Metadata of connection schema.
430+
{ # ConnectionSchemaMetadata is the singleton resource of each connection. It includes the entity and action names of runtime resources exposed by a connection backend.
437431
&quot;actions&quot;: [ # Output only. List of actions.
438432
&quot;A String&quot;,
439433
],
440434
&quot;entities&quot;: [ # Output only. List of entity names.
441435
&quot;A String&quot;,
442436
],
437+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata
438+
&quot;refreshTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the connection runtime schema refresh was triggered.
439+
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of runtime schema.
440+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the connection runtime schema was updated.
443441
}</pre>
444442
</div>
445443

@@ -548,9 +546,6 @@ <h3>Method Details</h3>
548546
},
549547
&quot;sshPublicKey&quot;: { # Parameters to support Ssh public key Authentication. # SSH Public Key.
550548
&quot;certType&quot;: &quot;A String&quot;, # Format of SSH Client cert.
551-
&quot;password&quot;: { # Secret provides a reference to entries in Secret Manager. # This is an optional field used in case client has enabled multi-factor authentication
552-
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
553-
},
554549
&quot;sshClientCert&quot;: { # Secret provides a reference to entries in Secret Manager. # SSH Client Cert. It should contain both public and private key.
555550
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
556551
},
@@ -679,9 +674,6 @@ <h3>Method Details</h3>
679674
},
680675
&quot;sshPublicKey&quot;: { # Parameters to support Ssh public key Authentication. # SSH Public Key.
681676
&quot;certType&quot;: &quot;A String&quot;, # Format of SSH Client cert.
682-
&quot;password&quot;: { # Secret provides a reference to entries in Secret Manager. # This is an optional field used in case client has enabled multi-factor authentication
683-
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
684-
},
685677
&quot;sshClientCert&quot;: { # Secret provides a reference to entries in Secret Manager. # SSH Client Cert. It should contain both public and private key.
686678
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
687679
},
@@ -748,7 +740,7 @@ <h3>Method Details</h3>
748740
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
749741
}
750742

751-
updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the Connection resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
743+
updateMask: string, Required. 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`
752744
x__xgafv: string, V1 error format.
753745
Allowed values
754746
1 - v1 error format

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

+35-7
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@
436436
"type": "string"
437437
},
438438
"updateMask": {
439-
"description": "Required. Field mask is used to specify the fields to be overwritten in the Connection resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.",
439+
"description": "Required. 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`",
440440
"format": "google-fieldmask",
441441
"location": "query",
442442
"type": "string"
@@ -1047,7 +1047,7 @@
10471047
}
10481048
}
10491049
},
1050-
"revision": "20220912",
1050+
"revision": "20221018",
10511051
"rootUrl": "https://connectors.googleapis.com/",
10521052
"schemas": {
10531053
"AuditConfig": {
@@ -1436,7 +1436,7 @@
14361436
"type": "object"
14371437
},
14381438
"ConnectionSchemaMetadata": {
1439-
"description": "Metadata of connection schema.",
1439+
"description": "ConnectionSchemaMetadata is the singleton resource of each connection. It includes the entity and action names of runtime resources exposed by a connection backend.",
14401440
"id": "ConnectionSchemaMetadata",
14411441
"properties": {
14421442
"actions": {
@@ -1454,6 +1454,38 @@
14541454
},
14551455
"readOnly": true,
14561456
"type": "array"
1457+
},
1458+
"name": {
1459+
"description": "Output only. Resource name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata",
1460+
"readOnly": true,
1461+
"type": "string"
1462+
},
1463+
"refreshTime": {
1464+
"description": "Output only. Timestamp when the connection runtime schema refresh was triggered.",
1465+
"format": "google-datetime",
1466+
"readOnly": true,
1467+
"type": "string"
1468+
},
1469+
"state": {
1470+
"description": "Output only. The current state of runtime schema.",
1471+
"enum": [
1472+
"STATE_UNSPECIFIED",
1473+
"REFRESHING",
1474+
"UPDATED"
1475+
],
1476+
"enumDescriptions": [
1477+
"Default state.",
1478+
"Schema refresh is in progress.",
1479+
"Schema has been updated."
1480+
],
1481+
"readOnly": true,
1482+
"type": "string"
1483+
},
1484+
"updateTime": {
1485+
"description": "Output only. Timestamp when the connection runtime schema was updated.",
1486+
"format": "google-datetime",
1487+
"readOnly": true,
1488+
"type": "string"
14571489
}
14581490
},
14591491
"type": "object"
@@ -2878,10 +2910,6 @@
28782910
"description": "Format of SSH Client cert.",
28792911
"type": "string"
28802912
},
2881-
"password": {
2882-
"$ref": "Secret",
2883-
"description": "This is an optional field used in case client has enabled multi-factor authentication"
2884-
},
28852913
"sshClientCert": {
28862914
"$ref": "Secret",
28872915
"description": "SSH Client Cert. It should contain both public and private key."

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@
478478
}
479479
}
480480
},
481-
"revision": "20220912",
481+
"revision": "20221018",
482482
"rootUrl": "https://connectors.googleapis.com/",
483483
"schemas": {
484484
"Action": {

0 commit comments

Comments
 (0)
Please sign in to comment.