From bc62721ffba2940c86baf3206da0d2afb77bedb5 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 26 Mar 2024 07:08:32 +0000 Subject: [PATCH] feat(connectors): update the api #### connectors:v1 The following keys were added: - resources.projects.resources.locations.resources.customConnectors.resources.customConnectorVersions.methods.delete (Total Keys: 11) - schemas.ConnectorVersion.properties.authOverrideEnabled (Total Keys: 2) - schemas.ConnectorVersion.properties.schemaRefreshConfig.$ref (Total Keys: 1) - schemas.SchemaRefreshConfig (Total Keys: 4) --- ...tomConnectors.customConnectorVersions.html | 124 ++++++++++++++++++ ...1.projects.locations.customConnectors.html | 5 + ...cations.providers.connectors.versions.html | 10 ++ .../documents/connectors.v1.json | 59 ++++++++- .../documents/connectors.v2.json | 4 +- 5 files changed, 198 insertions(+), 4 deletions(-) create mode 100644 docs/dyn/connectors_v1.projects.locations.customConnectors.customConnectorVersions.html diff --git a/docs/dyn/connectors_v1.projects.locations.customConnectors.customConnectorVersions.html b/docs/dyn/connectors_v1.projects.locations.customConnectors.customConnectorVersions.html new file mode 100644 index 0000000000..11af68446d --- /dev/null +++ b/docs/dyn/connectors_v1.projects.locations.customConnectors.customConnectorVersions.html @@ -0,0 +1,124 @@ + + + +

Connectors API . projects . locations . customConnectors . customConnectorVersions

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ delete(name, x__xgafv=None)

+

Deletes a single CustomConnectorVersion.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ delete(name, x__xgafv=None) +
Deletes a single CustomConnectorVersion.
+
+Args:
+  name: string, Required. Resource name of the form: `projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+  "done": 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.
+  "error": { # 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.
+    "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+    "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+      {
+        "a_key": "", # Properties of the object. Contains field @type with type URL.
+      },
+    ],
+    "message": "A String", # 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.
+  },
+  "metadata": { # 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.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+  "name": "A String", # 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}`.
+  "response": { # The normal, successful response of the operation. 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`.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+}
+
+ + \ No newline at end of file diff --git a/docs/dyn/connectors_v1.projects.locations.customConnectors.html b/docs/dyn/connectors_v1.projects.locations.customConnectors.html index 9d14735abd..857ede4089 100644 --- a/docs/dyn/connectors_v1.projects.locations.customConnectors.html +++ b/docs/dyn/connectors_v1.projects.locations.customConnectors.html @@ -74,6 +74,11 @@

Connectors API . projects . locations . customConnectors

Instance Methods

+

+ customConnectorVersions() +

+

Returns the customConnectorVersions Resource.

+

close()

Close httplib2 connections.

diff --git a/docs/dyn/connectors_v1.projects.locations.providers.connectors.versions.html b/docs/dyn/connectors_v1.projects.locations.providers.connectors.versions.html index 88b6459585..8447d4a803 100644 --- a/docs/dyn/connectors_v1.projects.locations.providers.connectors.versions.html +++ b/docs/dyn/connectors_v1.projects.locations.providers.connectors.versions.html @@ -179,6 +179,7 @@

Method Details

"displayName": "A String", # Display name for authentication template. }, ], + "authOverrideEnabled": True or False, # Output only. Flag to mark the dynamic auth override. "configVariableTemplates": [ # Output only. List of config variables needed to create a connection. { # ConfigVariableTemplate provides metadata about a `ConfigVariable` that is used in a Connection. "authorizationCodeLink": { # This configuration captures the details required to render an authorization link for the OAuth Authorization Code Flow. # Authorization code link options. To be populated if `ValueType` is `AUTHORIZATION_CODE` @@ -633,6 +634,10 @@

Method Details

], }, ], + "schemaRefreshConfig": { # Config for connection schema refresh # Connection Schema Refresh Config + "useActionDisplayNames": True or False, # Whether to use displayName for actions in UI. + "useSynchronousSchemaRefresh": True or False, # Whether to use synchronous schema refresh. + }, "sslConfigTemplate": { # Ssl config details of a connector version # Output only. Ssl configuration supported by the Connector. "additionalVariables": [ # Any additional fields that need to be rendered { # ConfigVariableTemplate provides metadata about a `ConfigVariable` that is used in a Connection. @@ -795,6 +800,7 @@

Method Details

"displayName": "A String", # Display name for authentication template. }, ], + "authOverrideEnabled": True or False, # Output only. Flag to mark the dynamic auth override. "configVariableTemplates": [ # Output only. List of config variables needed to create a connection. { # ConfigVariableTemplate provides metadata about a `ConfigVariable` that is used in a Connection. "authorizationCodeLink": { # This configuration captures the details required to render an authorization link for the OAuth Authorization Code Flow. # Authorization code link options. To be populated if `ValueType` is `AUTHORIZATION_CODE` @@ -1249,6 +1255,10 @@

Method Details

], }, ], + "schemaRefreshConfig": { # Config for connection schema refresh # Connection Schema Refresh Config + "useActionDisplayNames": True or False, # Whether to use displayName for actions in UI. + "useSynchronousSchemaRefresh": True or False, # Whether to use synchronous schema refresh. + }, "sslConfigTemplate": { # Ssl config details of a connector version # Output only. Ssl configuration supported by the Connector. "additionalVariables": [ # Any additional fields that need to be rendered { # ConfigVariableTemplate provides metadata about a `ConfigVariable` that is used in a Connection. diff --git a/googleapiclient/discovery_cache/documents/connectors.v1.json b/googleapiclient/discovery_cache/documents/connectors.v1.json index d2a6d20ba4..4815145051 100644 --- a/googleapiclient/discovery_cache/documents/connectors.v1.json +++ b/googleapiclient/discovery_cache/documents/connectors.v1.json @@ -1143,6 +1143,37 @@ "https://www.googleapis.com/auth/cloud-platform" ] } +}, +"resources": { +"customConnectorVersions": { +"methods": { +"delete": { +"description": "Deletes a single CustomConnectorVersion.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customConnectors/{customConnectorsId}/customConnectorVersions/{customConnectorVersionsId}", +"httpMethod": "DELETE", +"id": "connectors.projects.locations.customConnectors.customConnectorVersions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the form: `projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/customConnectors/[^/]+/customConnectorVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} } }, "endpointAttachments": { @@ -2327,7 +2358,7 @@ } } }, -"revision": "20240305", +"revision": "20240319", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AuditConfig": { @@ -3117,6 +3148,11 @@ "readOnly": true, "type": "array" }, +"authOverrideEnabled": { +"description": "Output only. Flag to mark the dynamic auth override.", +"readOnly": true, +"type": "boolean" +}, "configVariableTemplates": { "description": "Output only. List of config variables needed to create a connection.", "items": { @@ -3209,6 +3245,10 @@ "readOnly": true, "type": "array" }, +"schemaRefreshConfig": { +"$ref": "SchemaRefreshConfig", +"description": "Connection Schema Refresh Config" +}, "sslConfigTemplate": { "$ref": "SslConfigTemplate", "description": "Output only. Ssl configuration supported by the Connector.", @@ -5501,7 +5541,7 @@ false "type": "object" }, "MaintenancePolicy": { -"description": "LINT.IfChange Defines policies to service maintenance events.", +"description": "Defines policies to service maintenance events.", "id": "MaintenancePolicy", "properties": { "createTime": { @@ -6532,6 +6572,21 @@ false }, "type": "object" }, +"SchemaRefreshConfig": { +"description": "Config for connection schema refresh", +"id": "SchemaRefreshConfig", +"properties": { +"useActionDisplayNames": { +"description": "Whether to use displayName for actions in UI.", +"type": "boolean" +}, +"useSynchronousSchemaRefresh": { +"description": "Whether to use synchronous schema refresh.", +"type": "boolean" +} +}, +"type": "object" +}, "Secret": { "description": "Secret provides a reference to entries in Secret Manager.", "id": "Secret", diff --git a/googleapiclient/discovery_cache/documents/connectors.v2.json b/googleapiclient/discovery_cache/documents/connectors.v2.json index 4f94a1fdf8..c99f562718 100644 --- a/googleapiclient/discovery_cache/documents/connectors.v2.json +++ b/googleapiclient/discovery_cache/documents/connectors.v2.json @@ -660,7 +660,7 @@ } } }, -"revision": "20240305", +"revision": "20240319", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AccessCredentials": { @@ -1707,7 +1707,7 @@ false "type": "object" }, "MaintenancePolicy": { -"description": "LINT.IfChange Defines policies to service maintenance events.", +"description": "Defines policies to service maintenance events.", "id": "MaintenancePolicy", "properties": { "createTime": {