From bddbbf67262395894382da5fd44b402ec5eef15b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 25 Oct 2022 07:24:25 +0000 Subject: [PATCH] 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) --- ...ors_v1.projects.locations.connections.html | 20 +++------ .../documents/connectors.v1.json | 42 +++++++++++++++---- .../documents/connectors.v2.json | 2 +- 3 files changed, 42 insertions(+), 22 deletions(-) diff --git a/docs/dyn/connectors_v1.projects.locations.connections.html b/docs/dyn/connectors_v1.projects.locations.connections.html index e16b65cb6a8..cf9fdf4b471 100644 --- a/docs/dyn/connectors_v1.projects.locations.connections.html +++ b/docs/dyn/connectors_v1.projects.locations.connections.html @@ -164,9 +164,6 @@

Method Details

}, "sshPublicKey": { # Parameters to support Ssh public key Authentication. # SSH Public Key. "certType": "A String", # Format of SSH Client cert. - "password": { # Secret provides a reference to entries in Secret Manager. # This is an optional field used in case client has enabled multi-factor authentication - "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. - }, "sshClientCert": { # Secret provides a reference to entries in Secret Manager. # SSH Client Cert. It should contain both public and private key. "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, @@ -349,9 +346,6 @@

Method Details

}, "sshPublicKey": { # Parameters to support Ssh public key Authentication. # SSH Public Key. "certType": "A String", # Format of SSH Client cert. - "password": { # Secret provides a reference to entries in Secret Manager. # This is an optional field used in case client has enabled multi-factor authentication - "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. - }, "sshClientCert": { # Secret provides a reference to entries in Secret Manager. # SSH Client Cert. It should contain both public and private key. "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, @@ -433,13 +427,17 @@

Method Details

Returns: An object of the form: - { # Metadata of connection schema. + { # ConnectionSchemaMetadata is the singleton resource of each connection. It includes the entity and action names of runtime resources exposed by a connection backend. "actions": [ # Output only. List of actions. "A String", ], "entities": [ # Output only. List of entity names. "A String", ], + "name": "A String", # Output only. Resource name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata + "refreshTime": "A String", # Output only. Timestamp when the connection runtime schema refresh was triggered. + "state": "A String", # Output only. The current state of runtime schema. + "updateTime": "A String", # Output only. Timestamp when the connection runtime schema was updated. } @@ -548,9 +546,6 @@

Method Details

}, "sshPublicKey": { # Parameters to support Ssh public key Authentication. # SSH Public Key. "certType": "A String", # Format of SSH Client cert. - "password": { # Secret provides a reference to entries in Secret Manager. # This is an optional field used in case client has enabled multi-factor authentication - "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. - }, "sshClientCert": { # Secret provides a reference to entries in Secret Manager. # SSH Client Cert. It should contain both public and private key. "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, @@ -679,9 +674,6 @@

Method Details

}, "sshPublicKey": { # Parameters to support Ssh public key Authentication. # SSH Public Key. "certType": "A String", # Format of SSH Client cert. - "password": { # Secret provides a reference to entries in Secret Manager. # This is an optional field used in case client has enabled multi-factor authentication - "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. - }, "sshClientCert": { # Secret provides a reference to entries in Secret Manager. # SSH Client Cert. It should contain both public and private key. "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. }, @@ -748,7 +740,7 @@

Method Details

"updateTime": "A String", # Output only. Updated time. } - 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. + 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` x__xgafv: string, V1 error format. Allowed values 1 - v1 error format diff --git a/googleapiclient/discovery_cache/documents/connectors.v1.json b/googleapiclient/discovery_cache/documents/connectors.v1.json index ab39e5f18fe..6dbfa37d15a 100644 --- a/googleapiclient/discovery_cache/documents/connectors.v1.json +++ b/googleapiclient/discovery_cache/documents/connectors.v1.json @@ -436,7 +436,7 @@ "type": "string" }, "updateMask": { - "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.", + "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`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1047,7 +1047,7 @@ } } }, - "revision": "20220912", + "revision": "20221018", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AuditConfig": { @@ -1436,7 +1436,7 @@ "type": "object" }, "ConnectionSchemaMetadata": { - "description": "Metadata of connection schema.", + "description": "ConnectionSchemaMetadata is the singleton resource of each connection. It includes the entity and action names of runtime resources exposed by a connection backend.", "id": "ConnectionSchemaMetadata", "properties": { "actions": { @@ -1454,6 +1454,38 @@ }, "readOnly": true, "type": "array" + }, + "name": { + "description": "Output only. Resource name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata", + "readOnly": true, + "type": "string" + }, + "refreshTime": { + "description": "Output only. Timestamp when the connection runtime schema refresh was triggered.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. The current state of runtime schema.", + "enum": [ + "STATE_UNSPECIFIED", + "REFRESHING", + "UPDATED" + ], + "enumDescriptions": [ + "Default state.", + "Schema refresh is in progress.", + "Schema has been updated." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Timestamp when the connection runtime schema was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" } }, "type": "object" @@ -2878,10 +2910,6 @@ "description": "Format of SSH Client cert.", "type": "string" }, - "password": { - "$ref": "Secret", - "description": "This is an optional field used in case client has enabled multi-factor authentication" - }, "sshClientCert": { "$ref": "Secret", "description": "SSH Client Cert. It should contain both public and private key." diff --git a/googleapiclient/discovery_cache/documents/connectors.v2.json b/googleapiclient/discovery_cache/documents/connectors.v2.json index 998371d2dc1..8a3de3675a2 100644 --- a/googleapiclient/discovery_cache/documents/connectors.v2.json +++ b/googleapiclient/discovery_cache/documents/connectors.v2.json @@ -478,7 +478,7 @@ } } }, - "revision": "20220912", + "revision": "20221018", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "Action": {