From 665f2788e0d0724df302e3f0d46cfbd8c6ac4fc0 Mon Sep 17 00:00:00 2001
From: Yoshi Automation
Date: Tue, 11 Jul 2023 13:50:21 +0000
Subject: [PATCH] feat(connectors): update the api
#### connectors:v1
The following keys were added:
- resources.projects.resources.locations.resources.connections.methods.repairEventing (Total Keys: 12)
- resources.projects.resources.locations.resources.connections.resources.eventSubscriptions.methods.create (Total Keys: 14)
- resources.projects.resources.locations.resources.connections.resources.eventSubscriptions.methods.delete (Total Keys: 11)
- resources.projects.resources.locations.resources.connections.resources.eventSubscriptions.methods.get (Total Keys: 11)
- resources.projects.resources.locations.resources.connections.resources.eventSubscriptions.methods.list (Total Keys: 20)
- resources.projects.resources.locations.resources.connections.resources.eventSubscriptions.methods.patch (Total Keys: 15)
- resources.projects.resources.locations.resources.connections.resources.eventSubscriptions.methods.retry (Total Keys: 12)
- resources.projects.resources.locations.resources.global.methods.updateSettings (Total Keys: 15)
- resources.projects.resources.locations.resources.providers.resources.connectors.resources.versions.resources.eventtypes.methods.get (Total Keys: 11)
- resources.projects.resources.locations.resources.providers.resources.connectors.resources.versions.resources.eventtypes.methods.list (Total Keys: 16)
- schemas.Connection.properties.connectorVersionInfraConfig (Total Keys: 2)
- schemas.Connection.properties.eventingConfig.$ref (Total Keys: 1)
- schemas.Connection.properties.eventingEnablementType.type (Total Keys: 1)
- schemas.Connection.properties.eventingRuntimeData (Total Keys: 2)
- schemas.Connector.properties.eventingDetails (Total Keys: 2)
- schemas.ConnectorInfraConfig (Total Keys: 4)
- schemas.ConnectorVersion.properties.connectorInfraConfig (Total Keys: 2)
- schemas.ConnectorVersion.properties.eventingConfigTemplate (Total Keys: 2)
- schemas.ConnectorVersionInfraConfig (Total Keys: 5)
- schemas.EndPoint (Total Keys: 5)
- schemas.EventSubscription (Total Keys: 23)
- schemas.EventType (Total Keys: 20)
- schemas.EventingConfig (Total Keys: 20)
- schemas.EventingDetails (Total Keys: 13)
- schemas.EventingRuntimeData (Total Keys: 6)
- schemas.EventingStatus (Total Keys: 4)
- schemas.Header (Total Keys: 4)
- schemas.ListEventSubscriptionsResponse (Total Keys: 7)
- schemas.ListEventTypesResponse (Total Keys: 5)
- schemas.RepairEventingRequest (Total Keys: 2)
- schemas.RetryEventSubscriptionRequest (Total Keys: 2)
---
...ations.connections.eventSubscriptions.html | 421 ++++++++
...ors_v1.projects.locations.connections.html | 517 ++++++++++
...nectors_v1.projects.locations.global_.html | 49 +
...ojects.locations.providers.connectors.html | 22 +
...viders.connectors.versions.eventtypes.html | 168 +++
...cations.providers.connectors.versions.html | 369 +++++++
.../documents/connectors.v1.json | 968 +++++++++++++++++-
.../documents/connectors.v2.json | 143 ++-
8 files changed, 2652 insertions(+), 5 deletions(-)
create mode 100644 docs/dyn/connectors_v1.projects.locations.connections.eventSubscriptions.html
create mode 100644 docs/dyn/connectors_v1.projects.locations.providers.connectors.versions.eventtypes.html
diff --git a/docs/dyn/connectors_v1.projects.locations.connections.eventSubscriptions.html b/docs/dyn/connectors_v1.projects.locations.connections.eventSubscriptions.html
new file mode 100644
index 00000000000..9fb7d8bc47d
--- /dev/null
+++ b/docs/dyn/connectors_v1.projects.locations.connections.eventSubscriptions.html
@@ -0,0 +1,421 @@
+
+
+
+
+Instance Methods
+
+ close()
+Close httplib2 connections.
+
+ create(parent, body=None, eventSubscriptionId=None, x__xgafv=None)
+Creates a new EventSubscription in a given project,location and connection.
+
+ delete(name, x__xgafv=None)
+Deletes a single EventSubscription.
+
+ get(name, x__xgafv=None)
+Gets details of a single EventSubscription.
+
+ list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
+List EventSubscriptions in a given project,location and connection.
+
+ list_next()
+Retrieves the next page of results.
+
+ patch(name, body=None, updateMask=None, x__xgafv=None)
+Updates the parameters of a single EventSubscription.
+
+ retry(name, body=None, x__xgafv=None)
+RetryEventSubscription retries the registration of Subscription.
+Method Details
+
+
close()
+
Close httplib2 connections.
+
+
+
+
create(parent, body=None, eventSubscriptionId=None, x__xgafv=None)
+
Creates a new EventSubscription in a given project,location and connection.
+
+Args:
+ parent: string, Required. Parent resource of the EventSubscription, of the form: `projects/*/locations/*/connections/*` (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # represents the Connector's EventSubscription resource
+ "createTime": "A String", # Output only. Created time.
+ "destinations": { # Message for EventSubscription Destination to act on receiving an event # Optional. The destination to hit when we receive an event
+ "endpoint": { # Endpoint message includes details of the Destination endpoint. # OPTION 1: Hit an endpoint when we receive an event.
+ "endpointUri": "A String", # The URI of the Endpoint.
+ "headers": [ # List of Header to be added to the Endpoint.
+ { # Header details for a given header to be added to Endpoint.
+ "key": "A String", # Key of Header.
+ "value": "A String", # Value of Header.
+ },
+ ],
+ },
+ "serviceAccount": "A String", # Service account needed for runtime plane to trigger IP workflow.
+ "type": "A String", # type of the destination
+ },
+ "eventTypeId": "A String", # Optional. Event type id of the event of current EventSubscription.
+ "name": "A String", # Required. Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription}
+ "status": { # EventSubscription Status denotes the status of the EventSubscription resource. # Optional. Status indicates the status of the event subscription resource
+ "description": "A String", # Output only. Description of the state.
+ "state": "A String", # Output only. State of Event Subscription resource.
+ },
+ "subscriber": "A String", # Optional. name of the Subscriber for the current EventSubscription.
+ "subscriberLink": "A String", # Optional. Link for Subscriber of the current EventSubscription.
+ "updateTime": "A String", # Output only. Updated time.
+}
+
+ eventSubscriptionId: string, Required. Identifier to assign to the Event Subscription. Must be unique within scope of the parent resource.
+ 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 response of the operation in case of success. 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.
+ },
+}
+
+
+
+
delete(name, x__xgafv=None)
+
Deletes a single EventSubscription.
+
+Args:
+ name: string, Required. Resource name of the form: `projects/*/locations/*/connections/*/eventsubscriptions/*` (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 response of the operation in case of success. 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 EventSubscription.
+
+Args:
+ name: string, Required. Resource name of the form: `projects/*/locations/*/connections/*/eventSubscriptions/*` (required)
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # represents the Connector's EventSubscription resource
+ "createTime": "A String", # Output only. Created time.
+ "destinations": { # Message for EventSubscription Destination to act on receiving an event # Optional. The destination to hit when we receive an event
+ "endpoint": { # Endpoint message includes details of the Destination endpoint. # OPTION 1: Hit an endpoint when we receive an event.
+ "endpointUri": "A String", # The URI of the Endpoint.
+ "headers": [ # List of Header to be added to the Endpoint.
+ { # Header details for a given header to be added to Endpoint.
+ "key": "A String", # Key of Header.
+ "value": "A String", # Value of Header.
+ },
+ ],
+ },
+ "serviceAccount": "A String", # Service account needed for runtime plane to trigger IP workflow.
+ "type": "A String", # type of the destination
+ },
+ "eventTypeId": "A String", # Optional. Event type id of the event of current EventSubscription.
+ "name": "A String", # Required. Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription}
+ "status": { # EventSubscription Status denotes the status of the EventSubscription resource. # Optional. Status indicates the status of the event subscription resource
+ "description": "A String", # Output only. Description of the state.
+ "state": "A String", # Output only. State of Event Subscription resource.
+ },
+ "subscriber": "A String", # Optional. name of the Subscriber for the current EventSubscription.
+ "subscriberLink": "A String", # Optional. Link for Subscriber of the current EventSubscription.
+ "updateTime": "A String", # Output only. Updated time.
+}
+
+
+
+
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
+
List EventSubscriptions in a given project,location and connection.
+
+Args:
+ parent: string, Required. Parent resource of the EventSubscription, of the form: `projects/*/locations/*/connections/*` (required)
+ filter: string, Filter. https://g3doc.corp.google.com/cloud/control2/g3doc/dev/apihosting/list_filtering.md#filtering.
+ orderBy: string, Order by parameters.
+ pageSize: integer, Page size.
+ pageToken: string, Page token.
+ 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.ListEventSubscriptions
+ "eventSubscriptions": [ # Subscriptions.
+ { # represents the Connector's EventSubscription resource
+ "createTime": "A String", # Output only. Created time.
+ "destinations": { # Message for EventSubscription Destination to act on receiving an event # Optional. The destination to hit when we receive an event
+ "endpoint": { # Endpoint message includes details of the Destination endpoint. # OPTION 1: Hit an endpoint when we receive an event.
+ "endpointUri": "A String", # The URI of the Endpoint.
+ "headers": [ # List of Header to be added to the Endpoint.
+ { # Header details for a given header to be added to Endpoint.
+ "key": "A String", # Key of Header.
+ "value": "A String", # Value of Header.
+ },
+ ],
+ },
+ "serviceAccount": "A String", # Service account needed for runtime plane to trigger IP workflow.
+ "type": "A String", # type of the destination
+ },
+ "eventTypeId": "A String", # Optional. Event type id of the event of current EventSubscription.
+ "name": "A String", # Required. Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription}
+ "status": { # EventSubscription Status denotes the status of the EventSubscription resource. # Optional. Status indicates the status of the event subscription resource
+ "description": "A String", # Output only. Description of the state.
+ "state": "A String", # Output only. State of Event Subscription resource.
+ },
+ "subscriber": "A String", # Optional. name of the Subscriber for the current EventSubscription.
+ "subscriberLink": "A String", # Optional. Link for Subscriber of the current EventSubscription.
+ "updateTime": "A String", # Output only. Updated time.
+ },
+ ],
+ "nextPageToken": "A String", # Next page token.
+ "unreachable": [ # Locations that could not be reached.
+ "A String",
+ ],
+}
+
+
+
+
list_next()
+
Retrieves the next page of results.
+
+ Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+ Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+
+
+
+
+
patch(name, body=None, updateMask=None, x__xgafv=None)
+
Updates the parameters of a single EventSubscription.
+
+Args:
+ name: string, Required. Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription} (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # represents the Connector's EventSubscription resource
+ "createTime": "A String", # Output only. Created time.
+ "destinations": { # Message for EventSubscription Destination to act on receiving an event # Optional. The destination to hit when we receive an event
+ "endpoint": { # Endpoint message includes details of the Destination endpoint. # OPTION 1: Hit an endpoint when we receive an event.
+ "endpointUri": "A String", # The URI of the Endpoint.
+ "headers": [ # List of Header to be added to the Endpoint.
+ { # Header details for a given header to be added to Endpoint.
+ "key": "A String", # Key of Header.
+ "value": "A String", # Value of Header.
+ },
+ ],
+ },
+ "serviceAccount": "A String", # Service account needed for runtime plane to trigger IP workflow.
+ "type": "A String", # type of the destination
+ },
+ "eventTypeId": "A String", # Optional. Event type id of the event of current EventSubscription.
+ "name": "A String", # Required. Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription}
+ "status": { # EventSubscription Status denotes the status of the EventSubscription resource. # Optional. Status indicates the status of the event subscription resource
+ "description": "A String", # Output only. Description of the state.
+ "state": "A String", # Output only. State of Event Subscription resource.
+ },
+ "subscriber": "A String", # Optional. name of the Subscriber for the current EventSubscription.
+ "subscriberLink": "A String", # Optional. Link for Subscriber of the current EventSubscription.
+ "updateTime": "A String", # Output only. Updated time.
+}
+
+ updateMask: string, Required. The list of fields to update. Fields are specified relative to the Subscription. A field will be overwritten if it is in the mask. You can modify only the fields listed below. To update the EventSubscription details: * `serviceAccount`
+ 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 response of the operation in case of success. 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.
+ },
+}
+
+
+
+
retry(name, body=None, x__xgafv=None)
+
RetryEventSubscription retries the registration of Subscription.
+
+Args:
+ name: string, Required. Resource name of the form: `projects/*/locations/*/connections/*/eventSubscriptions/*` (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # Request message for ConnectorsService.RefreshEventSubscription
+}
+
+ 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 response of the operation in case of success. 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.connections.html b/docs/dyn/connectors_v1.projects.locations.connections.html
index 3b746bcc48c..9f544584529 100644
--- a/docs/dyn/connectors_v1.projects.locations.connections.html
+++ b/docs/dyn/connectors_v1.projects.locations.connections.html
@@ -79,6 +79,11 @@ Instance Methods
Returns the connectionSchemaMetadata Resource.
+
+ eventSubscriptions()
+
+Returns the eventSubscriptions Resource.
+
runtimeActionSchemas()
@@ -116,6 +121,9 @@ Instance Methods
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates the parameters of a single Connection.
+
+ repairEventing(name, body=None, x__xgafv=None)
+RepaiEventing tries to repair eventing related event subscriptions.
setIamPolicy(resource, body=None, x__xgafv=None)
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
@@ -220,6 +228,9 @@ Method Details
],
"connectionRevision": "A String", # Output only. Connection revision. This field is only updated when the connection is created or updated by User.
"connectorVersion": "A String", # Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource.
+ "connectorVersionInfraConfig": { # This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version # Output only. Infra configs supported by Connector Version.
+ "ratelimitThreshold": "A String", # Output only. Max QPS supported by the connector version before throttling of requests.
+ },
"connectorVersionLaunchStage": "A String", # Output only. Flag to mark the version indicating the launch stage.
"createTime": "A String", # Output only. Created time.
"description": "A String", # Optional. Description of the resource.
@@ -236,6 +247,120 @@ Method Details
},
],
"envoyImageLocation": "A String", # Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName}
+ "eventingConfig": { # Eventing Configuration of a connection # Optional. Eventing config of a connection
+ "additionalVariables": [ # 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.
+ },
+ ],
+ "authConfig": { # AuthConfig defines details of a authentication type. # Auth details for the webhook adapter.
+ "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.
+ },
+ },
+ "encryptionKey": { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. # Encryption key (can be either Google managed or CMEK).
+ "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.
+ },
+ "enrichmentEnabled": True or False, # Enrichment Enabled.
+ "registrationDestinationConfig": { # Define the Connectors target endpoint. # Registration endpoint for auto regsitration.
+ "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.
+ },
+ },
+ "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.
+ "eventsListenerEndpoint": "A String", # Output only. Events listener endpoint. The value will populated after provisioning the events listener.
+ "status": { # EventingStatus indicates the state of eventing. # Output only. Current status of eventing.
+ "description": "A String", # Output only. Description of error if State is set to "ERROR".
+ "state": "A String", # Output only. State.
+ },
+ },
"imageLocation": "A String", # Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName}
"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",
@@ -465,6 +590,9 @@ Method Details
],
"connectionRevision": "A String", # Output only. Connection revision. This field is only updated when the connection is created or updated by User.
"connectorVersion": "A String", # Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource.
+ "connectorVersionInfraConfig": { # This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version # Output only. Infra configs supported by Connector Version.
+ "ratelimitThreshold": "A String", # Output only. Max QPS supported by the connector version before throttling of requests.
+ },
"connectorVersionLaunchStage": "A String", # Output only. Flag to mark the version indicating the launch stage.
"createTime": "A String", # Output only. Created time.
"description": "A String", # Optional. Description of the resource.
@@ -481,6 +609,120 @@ Method Details
},
],
"envoyImageLocation": "A String", # Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName}
+ "eventingConfig": { # Eventing Configuration of a connection # Optional. Eventing config of a connection
+ "additionalVariables": [ # 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.
+ },
+ ],
+ "authConfig": { # AuthConfig defines details of a authentication type. # Auth details for the webhook adapter.
+ "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.
+ },
+ },
+ "encryptionKey": { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. # Encryption key (can be either Google managed or CMEK).
+ "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.
+ },
+ "enrichmentEnabled": True or False, # Enrichment Enabled.
+ "registrationDestinationConfig": { # Define the Connectors target endpoint. # Registration endpoint for auto regsitration.
+ "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.
+ },
+ },
+ "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.
+ "eventsListenerEndpoint": "A String", # Output only. Events listener endpoint. The value will populated after provisioning the events listener.
+ "status": { # EventingStatus indicates the state of eventing. # Output only. Current status of eventing.
+ "description": "A String", # Output only. Description of error if State is set to "ERROR".
+ "state": "A String", # Output only. State.
+ },
+ },
"imageLocation": "A String", # Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName}
"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",
@@ -728,6 +970,9 @@ Method Details
],
"connectionRevision": "A String", # Output only. Connection revision. This field is only updated when the connection is created or updated by User.
"connectorVersion": "A String", # Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource.
+ "connectorVersionInfraConfig": { # This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version # Output only. Infra configs supported by Connector Version.
+ "ratelimitThreshold": "A String", # Output only. Max QPS supported by the connector version before throttling of requests.
+ },
"connectorVersionLaunchStage": "A String", # Output only. Flag to mark the version indicating the launch stage.
"createTime": "A String", # Output only. Created time.
"description": "A String", # Optional. Description of the resource.
@@ -744,6 +989,120 @@ Method Details
},
],
"envoyImageLocation": "A String", # Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName}
+ "eventingConfig": { # Eventing Configuration of a connection # Optional. Eventing config of a connection
+ "additionalVariables": [ # 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.
+ },
+ ],
+ "authConfig": { # AuthConfig defines details of a authentication type. # Auth details for the webhook adapter.
+ "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.
+ },
+ },
+ "encryptionKey": { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. # Encryption key (can be either Google managed or CMEK).
+ "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.
+ },
+ "enrichmentEnabled": True or False, # Enrichment Enabled.
+ "registrationDestinationConfig": { # Define the Connectors target endpoint. # Registration endpoint for auto regsitration.
+ "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.
+ },
+ },
+ "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.
+ "eventsListenerEndpoint": "A String", # Output only. Events listener endpoint. The value will populated after provisioning the events listener.
+ "status": { # EventingStatus indicates the state of eventing. # Output only. Current status of eventing.
+ "description": "A String", # Output only. Description of error if State is set to "ERROR".
+ "state": "A String", # Output only. State.
+ },
+ },
"imageLocation": "A String", # Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName}
"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",
@@ -919,6 +1278,9 @@ Method Details
],
"connectionRevision": "A String", # Output only. Connection revision. This field is only updated when the connection is created or updated by User.
"connectorVersion": "A String", # Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource.
+ "connectorVersionInfraConfig": { # This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version # Output only. Infra configs supported by Connector Version.
+ "ratelimitThreshold": "A String", # Output only. Max QPS supported by the connector version before throttling of requests.
+ },
"connectorVersionLaunchStage": "A String", # Output only. Flag to mark the version indicating the launch stage.
"createTime": "A String", # Output only. Created time.
"description": "A String", # Optional. Description of the resource.
@@ -935,6 +1297,120 @@ Method Details
},
],
"envoyImageLocation": "A String", # Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName}
+ "eventingConfig": { # Eventing Configuration of a connection # Optional. Eventing config of a connection
+ "additionalVariables": [ # 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.
+ },
+ ],
+ "authConfig": { # AuthConfig defines details of a authentication type. # Auth details for the webhook adapter.
+ "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.
+ },
+ },
+ "encryptionKey": { # ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. # Encryption key (can be either Google managed or CMEK).
+ "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.
+ },
+ "enrichmentEnabled": True or False, # Enrichment Enabled.
+ "registrationDestinationConfig": { # Define the Connectors target endpoint. # Registration endpoint for auto regsitration.
+ "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.
+ },
+ },
+ "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.
+ "eventsListenerEndpoint": "A String", # Output only. Events listener endpoint. The value will populated after provisioning the events listener.
+ "status": { # EventingStatus indicates the state of eventing. # Output only. Current status of eventing.
+ "description": "A String", # Output only. Description of error if State is set to "ERROR".
+ "state": "A String", # Output only. State.
+ },
+ },
"imageLocation": "A String", # Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName}
"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",
@@ -1027,6 +1503,47 @@ Method Details
}
+
+
repairEventing(name, body=None, x__xgafv=None)
+
RepaiEventing tries to repair eventing related event subscriptions.
+
+Args:
+ name: string, Required. Resource name of the form: `projects/*/locations/*/connections/*` (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # Request message for ConnectorsService.RepairEventing
+}
+
+ 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 response of the operation in case of success. 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.
+ },
+}
+
+
setIamPolicy(resource, body=None, x__xgafv=None)
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
diff --git a/docs/dyn/connectors_v1.projects.locations.global_.html b/docs/dyn/connectors_v1.projects.locations.global_.html
index 738fb37d38f..8875a8efe78 100644
--- a/docs/dyn/connectors_v1.projects.locations.global_.html
+++ b/docs/dyn/connectors_v1.projects.locations.global_.html
@@ -85,6 +85,9 @@ Instance Methods
getSettings(name, x__xgafv=None)
GetGlobalSettings gets settings of a project. GlobalSettings is a singleton resource.
+
+ updateSettings(name, body=None, updateMask=None, x__xgafv=None)
+Update the global settings of a project.
Method Details
close()
@@ -113,4 +116,50 @@
Method Details
}
+
+
updateSettings(name, body=None, updateMask=None, x__xgafv=None)
+
Update the global settings of a project.
+
+Args:
+ name: string, Output only. Resource name of the Connection. Format: projects/{project}/locations/global/settings} (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # Global Settings details.
+ "name": "A String", # Output only. Resource name of the Connection. Format: projects/{project}/locations/global/settings}
+ "payg": True or False, # Output only. Flag indicates if user is in PayG model
+ "tenantProjectId": "A String", # Output only. Tenant project id of the consumer project.
+ "vpcsc": True or False, # Optional. Flag indicates whether vpc-sc is enabled.
+}
+
+ updateMask: string, Required. The list of fields to update.
+ 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 response of the operation in case of success. 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.
+ },
+}
+
+