From db743436e0dbc68231db9ea71f698ae8fd9c7a7e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 12 Mar 2024 07:08:25 +0000 Subject: [PATCH] feat(connectors): update the api #### connectors:v1 The following keys were deleted: - resources.projects.resources.locations.resources.global.resources.customConnectors.resources.customConnectorVersions.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.global.resources.customConnectors.resources.customConnectorVersions.methods.patch (Total Keys: 15) - schemas.EventingConfig.properties.triggerConfigVariables (Total Keys: 2) The following keys were added: - resources.projects.resources.locations.resources.customConnectors.methods.validateCustomConnectorSpec (Total Keys: 12) - schemas.DestinationConfigTemplate.properties.autocompleteSuggestions (Total Keys: 2) - schemas.EventSubscription.properties.triggerConfigVariables (Total Keys: 2) - schemas.EventingRuntimeData.properties.webhookData (Total Keys: 2) - schemas.ValidateCustomConnectorSpecRequest (Total Keys: 5) - schemas.ValidateCustomConnectorSpecResponse (Total Keys: 3) - schemas.WebhookData (Total Keys: 18) --- ...ations.connections.eventSubscriptions.html | 60 +++++ ...ors_v1.projects.locations.connections.html | 148 ++++++----- ...1.projects.locations.customConnectors.html | 117 +++++++++ ...tomConnectors.customConnectorVersions.html | 235 +----------------- .../dyn/connectors_v1.projects.locations.html | 5 + ...cations.providers.connectors.versions.html | 34 +++ .../documents/connectors.v1.json | 222 ++++++++++++----- .../documents/connectors.v2.json | 2 +- 8 files changed, 472 insertions(+), 351 deletions(-) create mode 100644 docs/dyn/connectors_v1.projects.locations.customConnectors.html diff --git a/docs/dyn/connectors_v1.projects.locations.connections.eventSubscriptions.html b/docs/dyn/connectors_v1.projects.locations.connections.eventSubscriptions.html index 4f29dff02b..a3b89212a5 100644 --- a/docs/dyn/connectors_v1.projects.locations.connections.eventSubscriptions.html +++ b/docs/dyn/connectors_v1.projects.locations.connections.eventSubscriptions.html @@ -140,6 +140,21 @@

Method Details

}, "subscriber": "A String", # Optional. name of the Subscriber for the current EventSubscription. "subscriberLink": "A String", # Optional. Link for Subscriber of the current EventSubscription. + "triggerConfigVariables": [ # Optional. Configuration for configuring the trigger + { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. + "boolValue": True or False, # Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "kmsKeyName": "A String", # The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. + "type": "A String", # Type. + }, + "intValue": "A String", # Value is an integer + "key": "A String", # Key of the config variable. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. + }, + "stringValue": "A String", # Value is a string. + }, + ], "updateTime": "A String", # Output only. Updated time. } @@ -249,6 +264,21 @@

Method Details

}, "subscriber": "A String", # Optional. name of the Subscriber for the current EventSubscription. "subscriberLink": "A String", # Optional. Link for Subscriber of the current EventSubscription. + "triggerConfigVariables": [ # Optional. Configuration for configuring the trigger + { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. + "boolValue": True or False, # Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "kmsKeyName": "A String", # The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. + "type": "A String", # Type. + }, + "intValue": "A String", # Value is an integer + "key": "A String", # Key of the config variable. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. + }, + "stringValue": "A String", # Value is a string. + }, + ], "updateTime": "A String", # Output only. Updated time. } @@ -300,6 +330,21 @@

Method Details

}, "subscriber": "A String", # Optional. name of the Subscriber for the current EventSubscription. "subscriberLink": "A String", # Optional. Link for Subscriber of the current EventSubscription. + "triggerConfigVariables": [ # Optional. Configuration for configuring the trigger + { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. + "boolValue": True or False, # Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "kmsKeyName": "A String", # The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. + "type": "A String", # Type. + }, + "intValue": "A String", # Value is an integer + "key": "A String", # Key of the config variable. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. + }, + "stringValue": "A String", # Value is a string. + }, + ], "updateTime": "A String", # Output only. Updated time. }, ], @@ -360,6 +405,21 @@

Method Details

}, "subscriber": "A String", # Optional. name of the Subscriber for the current EventSubscription. "subscriberLink": "A String", # Optional. Link for Subscriber of the current EventSubscription. + "triggerConfigVariables": [ # Optional. Configuration for configuring the trigger + { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. + "boolValue": True or False, # Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "kmsKeyName": "A String", # The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. + "type": "A String", # Type. + }, + "intValue": "A String", # Value is an integer + "key": "A String", # Key of the config variable. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. + }, + "stringValue": "A String", # Value is a string. + }, + ], "updateTime": "A String", # Output only. Updated time. } diff --git a/docs/dyn/connectors_v1.projects.locations.connections.html b/docs/dyn/connectors_v1.projects.locations.connections.html index 9d1340def0..832e15ab25 100644 --- a/docs/dyn/connectors_v1.projects.locations.connections.html +++ b/docs/dyn/connectors_v1.projects.locations.connections.html @@ -439,21 +439,6 @@

Method Details

], "key": "A String", # The key is the destination identifier that is supported by the Connector. }, - "triggerConfigVariables": [ # Optional. Additional eventing related field values - { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. - "kmsKeyName": "A String", # The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. - }, - "intValue": "A String", # Value is an integer - "key": "A String", # Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. - "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. - }, - "stringValue": "A String", # Value is a string. - }, - ], }, "eventingEnablementType": "A String", # Optional. Eventing enablement type. Will be nil if eventing is not enabled. "eventingRuntimeData": { # Eventing runtime data has the details related to eventing managed by the system. # Output only. Eventing Runtime Data. @@ -463,6 +448,28 @@

Method Details

"description": "A String", # Output only. Description of error if State is set to "ERROR". "state": "A String", # Output only. State. }, + "webhookData": { # WebhookData has details of webhook configuration. # Output only. Webhook data. + "additionalVariables": [ # Output only. Additional webhook related field values. + { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. + "boolValue": True or False, # Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "kmsKeyName": "A String", # The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. + "type": "A String", # Type. + }, + "intValue": "A String", # Value is an integer + "key": "A String", # Key of the config variable. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. + }, + "stringValue": "A String", # Value is a string. + }, + ], + "createTime": "A String", # Output only. Timestamp when the webhook was created. + "id": "A String", # Output only. ID to uniquely identify webhook. + "name": "A String", # Output only. Name of the Webhook + "nextRefreshTime": "A String", # Output only. Next webhook refresh time. Will be null if refresh is not supported. + "updateTime": "A String", # Output only. Timestamp when the webhook was last updated. + }, }, "imageLocation": "A String", # Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName} "isTrustedTester": True or False, # Output only. Is trusted tester program enabled for the project. @@ -902,21 +909,6 @@

Method Details

], "key": "A String", # The key is the destination identifier that is supported by the Connector. }, - "triggerConfigVariables": [ # Optional. Additional eventing related field values - { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. - "kmsKeyName": "A String", # The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. - }, - "intValue": "A String", # Value is an integer - "key": "A String", # Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. - "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. - }, - "stringValue": "A String", # Value is a string. - }, - ], }, "eventingEnablementType": "A String", # Optional. Eventing enablement type. Will be nil if eventing is not enabled. "eventingRuntimeData": { # Eventing runtime data has the details related to eventing managed by the system. # Output only. Eventing Runtime Data. @@ -926,6 +918,28 @@

Method Details

"description": "A String", # Output only. Description of error if State is set to "ERROR". "state": "A String", # Output only. State. }, + "webhookData": { # WebhookData has details of webhook configuration. # Output only. Webhook data. + "additionalVariables": [ # Output only. Additional webhook related field values. + { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. + "boolValue": True or False, # Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "kmsKeyName": "A String", # The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. + "type": "A String", # Type. + }, + "intValue": "A String", # Value is an integer + "key": "A String", # Key of the config variable. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. + }, + "stringValue": "A String", # Value is a string. + }, + ], + "createTime": "A String", # Output only. Timestamp when the webhook was created. + "id": "A String", # Output only. ID to uniquely identify webhook. + "name": "A String", # Output only. Name of the Webhook + "nextRefreshTime": "A String", # Output only. Next webhook refresh time. Will be null if refresh is not supported. + "updateTime": "A String", # Output only. Timestamp when the webhook was last updated. + }, }, "imageLocation": "A String", # Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName} "isTrustedTester": True or False, # Output only. Is trusted tester program enabled for the project. @@ -1384,21 +1398,6 @@

Method Details

], "key": "A String", # The key is the destination identifier that is supported by the Connector. }, - "triggerConfigVariables": [ # Optional. Additional eventing related field values - { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. - "kmsKeyName": "A String", # The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. - }, - "intValue": "A String", # Value is an integer - "key": "A String", # Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. - "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. - }, - "stringValue": "A String", # Value is a string. - }, - ], }, "eventingEnablementType": "A String", # Optional. Eventing enablement type. Will be nil if eventing is not enabled. "eventingRuntimeData": { # Eventing runtime data has the details related to eventing managed by the system. # Output only. Eventing Runtime Data. @@ -1408,6 +1407,28 @@

Method Details

"description": "A String", # Output only. Description of error if State is set to "ERROR". "state": "A String", # Output only. State. }, + "webhookData": { # WebhookData has details of webhook configuration. # Output only. Webhook data. + "additionalVariables": [ # Output only. Additional webhook related field values. + { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. + "boolValue": True or False, # Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "kmsKeyName": "A String", # The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. + "type": "A String", # Type. + }, + "intValue": "A String", # Value is an integer + "key": "A String", # Key of the config variable. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. + }, + "stringValue": "A String", # Value is a string. + }, + ], + "createTime": "A String", # Output only. Timestamp when the webhook was created. + "id": "A String", # Output only. ID to uniquely identify webhook. + "name": "A String", # Output only. Name of the Webhook + "nextRefreshTime": "A String", # Output only. Next webhook refresh time. Will be null if refresh is not supported. + "updateTime": "A String", # Output only. Timestamp when the webhook was last updated. + }, }, "imageLocation": "A String", # Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName} "isTrustedTester": True or False, # Output only. Is trusted tester program enabled for the project. @@ -1820,21 +1841,6 @@

Method Details

], "key": "A String", # The key is the destination identifier that is supported by the Connector. }, - "triggerConfigVariables": [ # Optional. Additional eventing related field values - { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. - "boolValue": True or False, # Value is a bool. - "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. - "kmsKeyName": "A String", # The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. - "type": "A String", # Type. - }, - "intValue": "A String", # Value is an integer - "key": "A String", # Key of the config variable. - "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. - "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. - }, - "stringValue": "A String", # Value is a string. - }, - ], }, "eventingEnablementType": "A String", # Optional. Eventing enablement type. Will be nil if eventing is not enabled. "eventingRuntimeData": { # Eventing runtime data has the details related to eventing managed by the system. # Output only. Eventing Runtime Data. @@ -1844,6 +1850,28 @@

Method Details

"description": "A String", # Output only. Description of error if State is set to "ERROR". "state": "A String", # Output only. State. }, + "webhookData": { # WebhookData has details of webhook configuration. # Output only. Webhook data. + "additionalVariables": [ # Output only. Additional webhook related field values. + { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. + "boolValue": True or False, # Value is a bool. + "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key. + "kmsKeyName": "A String", # The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. + "type": "A String", # Type. + }, + "intValue": "A String", # Value is an integer + "key": "A String", # Key of the config variable. + "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret. + "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. + }, + "stringValue": "A String", # Value is a string. + }, + ], + "createTime": "A String", # Output only. Timestamp when the webhook was created. + "id": "A String", # Output only. ID to uniquely identify webhook. + "name": "A String", # Output only. Name of the Webhook + "nextRefreshTime": "A String", # Output only. Next webhook refresh time. Will be null if refresh is not supported. + "updateTime": "A String", # Output only. Timestamp when the webhook was last updated. + }, }, "imageLocation": "A String", # Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName} "isTrustedTester": True or False, # Output only. Is trusted tester program enabled for the project. diff --git a/docs/dyn/connectors_v1.projects.locations.customConnectors.html b/docs/dyn/connectors_v1.projects.locations.customConnectors.html new file mode 100644 index 0000000000..9d14735abd --- /dev/null +++ b/docs/dyn/connectors_v1.projects.locations.customConnectors.html @@ -0,0 +1,117 @@ + + + +

Connectors API . projects . locations . customConnectors

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ validateCustomConnectorSpec(parent, body=None, x__xgafv=None)

+

Validates a Custom Connector Spec.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ validateCustomConnectorSpec(parent, body=None, x__xgafv=None) +
Validates a Custom Connector Spec.
+
+Args:
+  parent: string, Required. Location at which the custom connector is being created. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for ConnectorsService.ValidateCustomConnectorSpec
+  "serviceAccount": "A String", # Required. Service account to access the spec from Google Cloud Storage.
+  "specLocation": "A String", # Required. Location of the custom connector spec. The location can be either a public url like `https://public-url.com/spec` Or a Google Cloud Storage location like `gs:///`
+  "specType": "A String", # Required. Spec type of the custom connector spec.
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for ConnectorsService.ValidateCustomConnectorSpec
+  "errorMessage": "A String", # Error message. The spec is valid if the error message is empty.
+}
+
+ + \ No newline at end of file diff --git a/docs/dyn/connectors_v1.projects.locations.global_.customConnectors.customConnectorVersions.html b/docs/dyn/connectors_v1.projects.locations.global_.customConnectors.customConnectorVersions.html index f1fd5eacbb..732066072f 100644 --- a/docs/dyn/connectors_v1.projects.locations.global_.customConnectors.customConnectorVersions.html +++ b/docs/dyn/connectors_v1.projects.locations.global_.customConnectors.customConnectorVersions.html @@ -80,9 +80,6 @@

Instance Methods

create(parent, body=None, customConnectorVersionId=None, x__xgafv=None)

Creates a new CustomConnectorVersion in a given project and location.

-

- delete(name, x__xgafv=None)

-

Deletes a single CustomConnectorVersion.

get(name, x__xgafv=None)

Gets details of a single CustomConnectorVersion.

@@ -92,9 +89,6 @@

Instance Methods

list_next()

Retrieves the next page of results.

-

- patch(name, body=None, updateMask=None, x__xgafv=None)

-

Updates the parameters of a CustomConnectorVersion.

Method Details

close() @@ -194,6 +188,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -249,6 +244,9 @@

Method Details

"name": "A String", # Output only. Identifier. Resource name of the Version. Format: projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version} "serviceAccount": "A String", # Optional. Service account used by runtime plane to access auth config secrets. "specLocation": "A String", # Optional. Location of the custom connector spec. The location can be either a public url like `https://public-url.com/spec` Or a Google Cloud Storage location like `gs:///` + "specServerUrls": [ # Output only. Server URLs parsed from the spec. + "A String", + ], "state": "A String", # Output only. State of the custom connector version. "updateTime": "A String", # Output only. Updated time. } @@ -283,41 +281,6 @@

Method Details

}
-
- 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.
-  },
-}
-
-
get(name, x__xgafv=None)
Gets details of a single CustomConnectorVersion.
@@ -416,6 +379,7 @@ 

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -471,6 +435,9 @@

Method Details

"name": "A String", # Output only. Identifier. Resource name of the Version. Format: projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version} "serviceAccount": "A String", # Optional. Service account used by runtime plane to access auth config secrets. "specLocation": "A String", # Optional. Location of the custom connector spec. The location can be either a public url like `https://public-url.com/spec` Or a Google Cloud Storage location like `gs:///` + "specServerUrls": [ # Output only. Server URLs parsed from the spec. + "A String", + ], "state": "A String", # Output only. State of the custom connector version. "updateTime": "A String", # Output only. Updated time. }
@@ -578,6 +545,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -633,6 +601,9 @@

Method Details

"name": "A String", # Output only. Identifier. Resource name of the Version. Format: projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version} "serviceAccount": "A String", # Optional. Service account used by runtime plane to access auth config secrets. "specLocation": "A String", # Optional. Location of the custom connector spec. The location can be either a public url like `https://public-url.com/spec` Or a Google Cloud Storage location like `gs:///` + "specServerUrls": [ # Output only. Server URLs parsed from the spec. + "A String", + ], "state": "A String", # Output only. State of the custom connector version. "updateTime": "A String", # Output only. Updated time. }, @@ -658,186 +629,4 @@

Method Details

-
- patch(name, body=None, updateMask=None, x__xgafv=None) -
Updates the parameters of a CustomConnectorVersion.
-
-Args:
-  name: string, Output only. Identifier. Resource name of the Version. Format: projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version} (required)
-  body: object, The request body.
-    The object takes the form of:
-
-{ # CustomConnectorVersion indicates a specific version of a connector.
-  "authConfig": { # AuthConfig defines details of a authentication type. # Optional. Authentication config for accessing connector facade/ proxy. This is used only when enable_backend_destination_config is true.
-    "additionalVariables": [ # List containing additional auth configs.
-      { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig.
-        "boolValue": True or False, # Value is a bool.
-        "encryptionKeyValue": { # Encryption Key value. # Value is a Encryption Key.
-          "kmsKeyName": "A String", # The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed.
-          "type": "A String", # Type.
-        },
-        "intValue": "A String", # Value is an integer
-        "key": "A String", # Key of the config variable.
-        "secretValue": { # Secret provides a reference to entries in Secret Manager. # Value is a secret.
-          "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
-        },
-        "stringValue": "A String", # Value is a string.
-      },
-    ],
-    "authKey": "A String", # Identifier key for auth config
-    "authType": "A String", # The type of authentication configured.
-    "oauth2AuthCodeFlow": { # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details. # Oauth2AuthCodeFlow.
-      "authCode": "A String", # Authorization code to be exchanged for access and refresh tokens.
-      "authUri": "A String", # Auth URL for Authorization Code Flow
-      "clientId": "A String", # Client ID for user-provided OAuth app.
-      "clientSecret": { # Secret provides a reference to entries in Secret Manager. # Client secret for user-provided OAuth app.
-        "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
-      },
-      "enablePkce": True or False, # Whether to enable PKCE when the user performs the auth code flow.
-      "pkceVerifier": "A String", # PKCE verifier to be used during the auth code exchange.
-      "redirectUri": "A String", # Redirect URI to be provided during the auth code exchange.
-      "scopes": [ # Scopes the connection will request when the user performs the auth code flow.
-        "A String",
-      ],
-    },
-    "oauth2ClientCredentials": { # Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details. # Oauth2ClientCredentials.
-      "clientId": "A String", # The client identifier.
-      "clientSecret": { # Secret provides a reference to entries in Secret Manager. # Secret version reference containing the client secret.
-        "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
-      },
-    },
-    "oauth2JwtBearer": { # Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more details. # Oauth2JwtBearer.
-      "clientKey": { # Secret provides a reference to entries in Secret Manager. # Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/secrets/*/versions/*`.
-        "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
-      },
-      "jwtClaims": { # JWT claims used for the jwt-bearer authorization grant. # JwtClaims providers fields to generate the token.
-        "audience": "A String", # Value for the "aud" claim.
-        "issuer": "A String", # Value for the "iss" claim.
-        "subject": "A String", # Value for the "sub" claim.
-      },
-    },
-    "sshPublicKey": { # Parameters to support Ssh public key Authentication. # SSH Public Key.
-      "certType": "A String", # Format of SSH Client cert.
-      "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/*`.
-      },
-      "sshClientCertPass": { # Secret provides a reference to entries in Secret Manager. # Password (passphrase) for ssh client certificate if it has one.
-        "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
-      },
-      "username": "A String", # The user account used to authenticate.
-    },
-    "userPassword": { # Parameters to support Username and Password Authentication. # UserPassword.
-      "password": { # Secret provides a reference to entries in Secret Manager. # Secret version reference containing the password.
-        "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
-      },
-      "username": "A String", # Username.
-    },
-  },
-  "backendVariableTemplates": [ # Optional. Backend variables config templates. This translates to additional variable templates in 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`
-        "clientId": "A String", # The client ID assigned to the Google Cloud Connectors OAuth app for the connector data source.
-        "enablePkce": True or False, # Whether to enable PKCE for the auth code flow.
-        "scopes": [ # The scopes for which the user will authorize Google Cloud Connectors on the connector data source.
-          "A String",
-        ],
-        "uri": "A String", # The base URI the user must click to trigger the authorization code login flow.
-      },
-      "description": "A String", # Description.
-      "displayName": "A String", # Display name of the parameter.
-      "enumOptions": [ # Enum options. To be populated if `ValueType` is `ENUM`
-        { # EnumOption definition
-          "displayName": "A String", # Display name of the option.
-          "id": "A String", # Id of the option.
-        },
-      ],
-      "isAdvanced": True or False, # Indicates if current template is part of advanced settings
-      "key": "A String", # Key of the config variable.
-      "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections.
-      "required": True or False, # Flag represents that this `ConfigVariable` must be provided for a connection.
-      "requiredCondition": { # Struct for representing boolean expressions. # Condition under which a field would be required. The condition can be represented in the form of a logical expression.
-        "fieldComparisons": [ # A list of fields to be compared.
-          { # Field that needs to be compared.
-            "boolValue": True or False, # Boolean value
-            "comparator": "A String", # Comparator to use for comparing the field value.
-            "intValue": "A String", # Integer value
-            "key": "A String", # Key of the field.
-            "stringValue": "A String", # String value
-          },
-        ],
-        "logicalExpressions": [ # A list of nested conditions to be compared.
-          # Object with schema name: LogicalExpression
-        ],
-        "logicalOperator": "A String", # The logical operator to use between the fields and conditions.
-      },
-      "roleGrant": { # 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 'grant' button to do the same on behalf of the user. # Role grant configuration for the config variable.
-        "helperTextTemplate": "A String", # Template that UI can use to provide helper text to customers.
-        "principal": "A String", # Prinicipal/Identity for whom the role need to assigned.
-        "resource": { # Resource definition # Resource on which the roles needs to be granted for the principal.
-          "pathTemplate": "A String", # Template to uniquely represent a Google Cloud resource in a format IAM expects This is a template that can have references to other values provided in the config variable template.
-          "type": "A String", # Different types of resource supported.
-        },
-        "roles": [ # List of roles that need to be granted.
-          "A String",
-        ],
-      },
-      "state": "A String", # State of the config variable.
-      "validationRegex": "A String", # Regular expression in RE2 syntax used for validating the `value` of a `ConfigVariable`.
-      "valueType": "A String", # Type of the parameter: string, int, bool etc. consider custom type for the benefit for the validation.
-    },
-  ],
-  "createTime": "A String", # Output only. Created time.
-  "destinationConfigs": [ # Optional. Destination config(s) for accessing connector facade/ proxy. This is used only when enable_backend_destination_config is true.
-    { # Define the Connectors target endpoint.
-      "destinations": [ # The destinations for the key.
-        {
-          "host": "A String", # For publicly routable host.
-          "port": 42, # The port is the target port number that is accepted by the destination.
-          "serviceAttachment": "A String", # PSC service attachments. Format: projects/*/regions/*/serviceAttachments/*
-        },
-      ],
-      "key": "A String", # The key is the destination identifier that is supported by the Connector.
-    },
-  ],
-  "enableBackendDestinationConfig": True or False, # Optional. When enabled, the connector will be a facade/ proxy, and connects to the destination provided during connection creation.
-  "labels": { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
-    "a_key": "A String",
-  },
-  "name": "A String", # Output only. Identifier. Resource name of the Version. Format: projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}
-  "serviceAccount": "A String", # Optional. Service account used by runtime plane to access auth config secrets.
-  "specLocation": "A String", # Optional. Location of the custom connector spec. The location can be either a public url like `https://public-url.com/spec` Or a Google Cloud Storage location like `gs:///`
-  "state": "A String", # Output only. State of the custom connector version.
-  "updateTime": "A String", # Output only. Updated time.
-}
-
-  updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the Connector 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. Set the mask as "*" for full replacement, which means all fields will be overwritten.
-  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.html b/docs/dyn/connectors_v1.projects.locations.html index e93d615dba..607904d87e 100644 --- a/docs/dyn/connectors_v1.projects.locations.html +++ b/docs/dyn/connectors_v1.projects.locations.html @@ -79,6 +79,11 @@

Instance Methods

Returns the connections Resource.

+

+ customConnectors() +

+

Returns the customConnectors Resource.

+

endpointAttachments()

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 8359037efc..88b6459585 100644 --- a/docs/dyn/connectors_v1.projects.locations.providers.connectors.versions.html +++ b/docs/dyn/connectors_v1.projects.locations.providers.connectors.versions.html @@ -139,6 +139,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -196,6 +197,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -253,6 +255,9 @@

Method Details

"createTime": "A String", # Output only. Created time. "destinationConfigTemplates": [ # Output only. List of destination configs needed to create a connection. { # DestinationConfigTemplate defines required destinations supported by the Connector. + "autocompleteSuggestions": [ # Autocomplete suggestions for destination URL field. + "A String", + ], "defaultPort": 42, # The default port. "description": "A String", # Description. "displayName": "A String", # Display name of the parameter. @@ -298,6 +303,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -355,6 +361,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -413,6 +420,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -472,6 +480,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -512,6 +521,9 @@

Method Details

}, ], "proxyDestinationConfig": { # DestinationConfigTemplate defines required destinations supported by the Connector. # Proxy destination config template. + "autocompleteSuggestions": [ # Autocomplete suggestions for destination URL field. + "A String", + ], "defaultPort": 42, # The default port. "description": "A String", # Description. "displayName": "A String", # Display name of the parameter. @@ -523,6 +535,9 @@

Method Details

"regexPattern": "A String", # Regex pattern for host. }, "registrationDestinationConfig": { # DestinationConfigTemplate defines required destinations supported by the Connector. # Registration host destination config template. + "autocompleteSuggestions": [ # Autocomplete suggestions for destination URL field. + "A String", + ], "defaultPort": 42, # The default port. "description": "A String", # Description. "displayName": "A String", # Display name of the parameter. @@ -551,6 +566,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -636,6 +652,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -738,6 +755,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -795,6 +813,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -852,6 +871,9 @@

Method Details

"createTime": "A String", # Output only. Created time. "destinationConfigTemplates": [ # Output only. List of destination configs needed to create a connection. { # DestinationConfigTemplate defines required destinations supported by the Connector. + "autocompleteSuggestions": [ # Autocomplete suggestions for destination URL field. + "A String", + ], "defaultPort": 42, # The default port. "description": "A String", # Description. "displayName": "A String", # Display name of the parameter. @@ -897,6 +919,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -954,6 +977,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -1012,6 +1036,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -1071,6 +1096,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -1111,6 +1137,9 @@

Method Details

}, ], "proxyDestinationConfig": { # DestinationConfigTemplate defines required destinations supported by the Connector. # Proxy destination config template. + "autocompleteSuggestions": [ # Autocomplete suggestions for destination URL field. + "A String", + ], "defaultPort": 42, # The default port. "description": "A String", # Description. "displayName": "A String", # Display name of the parameter. @@ -1122,6 +1151,9 @@

Method Details

"regexPattern": "A String", # Regex pattern for host. }, "registrationDestinationConfig": { # DestinationConfigTemplate defines required destinations supported by the Connector. # Registration host destination config template. + "autocompleteSuggestions": [ # Autocomplete suggestions for destination URL field. + "A String", + ], "defaultPort": 42, # The default port. "description": "A String", # Description. "displayName": "A String", # Display name of the parameter. @@ -1150,6 +1182,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. @@ -1235,6 +1268,7 @@

Method Details

"id": "A String", # Id of the option. }, ], + "enumSource": "A String", # Optional. enum source denotes the source of api to fill the enum options "isAdvanced": True or False, # Indicates if current template is part of advanced settings "key": "A String", # Key of the config variable. "locationType": "A String", # Optional. Location Tyep denotes where this value should be sent in BYOC connections. diff --git a/googleapiclient/discovery_cache/documents/connectors.v1.json b/googleapiclient/discovery_cache/documents/connectors.v1.json index 9a902f22f6..d2a6d20ba4 100644 --- a/googleapiclient/discovery_cache/documents/connectors.v1.json +++ b/googleapiclient/discovery_cache/documents/connectors.v1.json @@ -1113,6 +1113,38 @@ } } }, +"customConnectors": { +"methods": { +"validateCustomConnectorSpec": { +"description": "Validates a Custom Connector Spec.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customConnectors:validateCustomConnectorSpec", +"httpMethod": "POST", +"id": "connectors.projects.locations.customConnectors.validateCustomConnectorSpec", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Location at which the custom connector is being created.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customConnectors:validateCustomConnectorSpec", +"request": { +"$ref": "ValidateCustomConnectorSpecRequest" +}, +"response": { +"$ref": "ValidateCustomConnectorSpecResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, "endpointAttachments": { "methods": { "create": { @@ -1545,31 +1577,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, -"delete": { -"description": "Deletes a single CustomConnectorVersion.", -"flatPath": "v1/projects/{projectsId}/locations/global/customConnectors/{customConnectorsId}/customConnectorVersions/{customConnectorVersionsId}", -"httpMethod": "DELETE", -"id": "connectors.projects.locations.global.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/global/customConnectors/[^/]+/customConnectorVersions/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1/{+name}", -"response": { -"$ref": "Operation" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform" -] -}, "get": { "description": "Gets details of a single CustomConnectorVersion.", "flatPath": "v1/projects/{projectsId}/locations/global/customConnectors/{customConnectorsId}/customConnectorVersions/{customConnectorVersionsId}", @@ -1630,40 +1637,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] -}, -"patch": { -"description": "Updates the parameters of a CustomConnectorVersion.", -"flatPath": "v1/projects/{projectsId}/locations/global/customConnectors/{customConnectorsId}/customConnectorVersions/{customConnectorVersionsId}", -"httpMethod": "PATCH", -"id": "connectors.projects.locations.global.customConnectors.customConnectorVersions.patch", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "Output only. Identifier. Resource name of the Version. Format: projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}", -"location": "path", -"pattern": "^projects/[^/]+/locations/global/customConnectors/[^/]+/customConnectorVersions/[^/]+$", -"required": true, -"type": "string" -}, -"updateMask": { -"description": "Required. Field mask is used to specify the fields to be overwritten in the Connector 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. Set the mask as \"*\" for full replacement, which means all fields will be overwritten.", -"format": "google-fieldmask", -"location": "query", -"type": "string" -} -}, -"path": "v1/{+name}", -"request": { -"$ref": "CustomConnectorVersion" -}, -"response": { -"$ref": "Operation" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform" -] } } } @@ -2354,7 +2327,7 @@ } } }, -"revision": "20240221", +"revision": "20240305", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AuditConfig": { @@ -2622,6 +2595,18 @@ }, "type": "array" }, +"enumSource": { +"description": "Optional. enum source denotes the source of api to fill the enum options", +"enum": [ +"ENUM_SOURCE_UNSPECIFIED", +"EVENT_TYPES_API" +], +"enumDescriptions": [ +"Api type unspecified.", +"list event types." +], +"type": "string" +}, "isAdvanced": { "description": "Indicates if current template is part of advanced settings", "type": "boolean" @@ -3448,6 +3433,14 @@ "description": "Optional. Location of the custom connector spec. The location can be either a public url like `https://public-url.com/spec` Or a Google Cloud Storage location like `gs:///`", "type": "string" }, +"specServerUrls": { +"description": "Output only. Server URLs parsed from the spec.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, "state": { "description": "Output only. State of the custom connector version.", "enum": [ @@ -3586,6 +3579,13 @@ "description": "DestinationConfigTemplate defines required destinations supported by the Connector.", "id": "DestinationConfigTemplate", "properties": { +"autocompleteSuggestions": { +"description": "Autocomplete suggestions for destination URL field.", +"items": { +"type": "string" +}, +"type": "array" +}, "defaultPort": { "description": "The default port.", "format": "int32", @@ -3826,6 +3826,13 @@ "description": "Optional. Link for Subscriber of the current EventSubscription.", "type": "string" }, +"triggerConfigVariables": { +"description": "Optional. Configuration for configuring the trigger", +"items": { +"$ref": "ConfigVariable" +}, +"type": "array" +}, "updateTime": { "description": "Output only. Updated time.", "format": "google-datetime", @@ -3986,13 +3993,6 @@ "registrationDestinationConfig": { "$ref": "DestinationConfig", "description": "Registration endpoint for auto registration." -}, -"triggerConfigVariables": { -"description": "Optional. Additional eventing related field values", -"items": { -"$ref": "ConfigVariable" -}, -"type": "array" } }, "type": "object" @@ -4166,6 +4166,11 @@ "$ref": "EventingStatus", "description": "Output only. Current status of eventing.", "readOnly": true +}, +"webhookData": { +"$ref": "WebhookData", +"description": "Output only. Webhook data.", +"readOnly": true } }, "type": "object" @@ -6965,6 +6970,89 @@ false }, "type": "object" }, +"ValidateCustomConnectorSpecRequest": { +"description": "Request message for ConnectorsService.ValidateCustomConnectorSpec", +"id": "ValidateCustomConnectorSpecRequest", +"properties": { +"serviceAccount": { +"description": "Required. Service account to access the spec from Google Cloud Storage.", +"type": "string" +}, +"specLocation": { +"description": "Required. Location of the custom connector spec. The location can be either a public url like `https://public-url.com/spec` Or a Google Cloud Storage location like `gs:///`", +"type": "string" +}, +"specType": { +"description": "Required. Spec type of the custom connector spec.", +"enum": [ +"CUSTOM_CONNECTOR_TYPE_UNSPECIFIED", +"OPEN_API", +"PROTO" +], +"enumDescriptions": [ +"Connector type is not specified.", +"OpenAPI connector.", +"Proto connector." +], +"type": "string" +} +}, +"type": "object" +}, +"ValidateCustomConnectorSpecResponse": { +"description": "Response message for ConnectorsService.ValidateCustomConnectorSpec", +"id": "ValidateCustomConnectorSpecResponse", +"properties": { +"errorMessage": { +"description": "Error message. The spec is valid if the error message is empty.", +"type": "string" +} +}, +"type": "object" +}, +"WebhookData": { +"description": "WebhookData has details of webhook configuration.", +"id": "WebhookData", +"properties": { +"additionalVariables": { +"description": "Output only. Additional webhook related field values.", +"items": { +"$ref": "ConfigVariable" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Timestamp when the webhook was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. ID to uniquely identify webhook.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Name of the Webhook", +"readOnly": true, +"type": "string" +}, +"nextRefreshTime": { +"description": "Output only. Next webhook refresh time. Will be null if refresh is not supported.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the webhook was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "WeeklyCycle": { "description": "Time window specified for weekly operations.", "id": "WeeklyCycle", diff --git a/googleapiclient/discovery_cache/documents/connectors.v2.json b/googleapiclient/discovery_cache/documents/connectors.v2.json index c912b88e9e..4f94a1fdf8 100644 --- a/googleapiclient/discovery_cache/documents/connectors.v2.json +++ b/googleapiclient/discovery_cache/documents/connectors.v2.json @@ -660,7 +660,7 @@ } } }, -"revision": "20240221", +"revision": "20240305", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AccessCredentials": {