- Resource: Connection
- ConnectionStatus
- State
- LockConfig
- NodeConfig
- LogConfig
- SslConfig
- TrustModel
- SubscriptionType
- EventingEnablementType
- EventingConfig
- DeadLetterConfig
- EventingRuntimeData
- EventingStatus
- State
- DeploymentModel
- Methods
Resource: Connection
Connection represents an instance of connector.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "description": string, "connectorVersion": string, "status": { object ( |
Fields | |
---|---|
name |
Output only. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection} |
createTime |
Output only. Created time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. Updated time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
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 An object containing a list of |
description |
Optional. Description of the resource. |
connectorVersion |
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. |
status |
Output only. Current status of the connection. |
configVariables[] |
Optional. Configuration for configuring the connection with an external system. |
authConfig |
Optional. Configuration for establishing the connection's authentication with an external system. |
lockConfig |
Optional. Configuration that indicates whether or not the Connection can be edited. |
destinationConfigs[] |
Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s). |
imageLocation |
Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName} |
serviceAccount |
Optional. Service account needed for runtime plane to access Google Cloud resources. |
serviceDirectory |
Output only. The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors" |
envoyImageLocation |
Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName} |
suspended |
Optional. Suspended indicates if a user has suspended a connection or not. |
nodeConfig |
Optional. Node configuration for the connection. |
logConfig |
Optional. Log configuration for the connection. |
sslConfig |
Optional. Ssl config of a connection |
subscriptionType |
Output only. This subscription type enum states the subscription type of the project. |
connectionRevision |
Output only. Connection revision. This field is only updated when the connection is created or updated by User. |
eventingEnablementType |
Optional. Eventing enablement type. Will be nil if eventing is not enabled. |
eventingConfig |
Optional. Eventing config of a connection |
connectorVersionLaunchStage |
Output only. Flag to mark the version indicating the launch stage. |
eventingRuntimeData |
Output only. Eventing Runtime Data. |
isTrustedTester |
Output only. Is trusted tester program enabled for the project. |
ConnectionStatus
ConnectionStatus indicates the state of the connection.
JSON representation |
---|
{
"state": enum ( |
Fields | |
---|---|
state |
State. |
description |
Description. |
status |
Status provides detailed information for the state. |
State
All the possible Connection State.
Enums | |
---|---|
STATE_UNSPECIFIED |
Connection does not have a state yet. |
CREATING |
Connection is being created. |
ACTIVE |
Connection is running and ready for requests. |
INACTIVE |
Connection is stopped. |
DELETING |
Connection is being deleted. |
UPDATING |
Connection is being updated. |
ERROR |
Connection is not running due to an error. |
AUTHORIZATION_REQUIRED |
Connection is not running because the authorization configuration is not complete. |
LockConfig
Determines whether or no a connection is locked. If locked, a reason must be specified.
JSON representation |
---|
{ "locked": boolean, "reason": string } |
Fields | |
---|---|
locked |
Indicates whether or not the connection is locked. |
reason |
Describes why a connection is locked. |
NodeConfig
Node configuration for the connection.
JSON representation |
---|
{ "minNodeCount": integer, "maxNodeCount": integer } |
Fields | |
---|---|
minNodeCount |
Minimum number of nodes in the runtime nodes. |
maxNodeCount |
Maximum number of nodes in the runtime nodes. |
LogConfig
Log configuration for the connection.
JSON representation |
---|
{ "enabled": boolean } |
Fields | |
---|---|
enabled |
Enabled represents whether logging is enabled or not for a connection. |
SslConfig
SSL Configuration of a connection
JSON representation |
---|
{ "type": enum ( |
Fields | |
---|---|
type |
Controls the ssl type for the given connector version. |
trustModel |
Trust Model of the SSL connection |
privateServerCertificate |
Private Server Certificate. Needs to be specified if trust model is |
clientCertificate |
Client Certificate |
clientPrivateKey |
Client Private Key |
clientPrivateKeyPass |
Secret containing the passphrase protecting the Client Private Key |
serverCertType |
Type of Server Cert (PEM/JKS/.. etc.) |
clientCertType |
Type of Client Cert (PEM/JKS/.. etc.) |
useSsl |
Bool for enabling SSL |
additionalVariables[] |
Additional SSL related field values |
TrustModel
Enum for Ttust Model
Enums | |
---|---|
PUBLIC |
Public Trust Model. Takes the Default Java trust store. |
PRIVATE |
Private Trust Model. Takes custom/private trust store. |
INSECURE |
Insecure Trust Model. Accept all certificates. |
SubscriptionType
Subscription Types
Enums | |
---|---|
SUBSCRIPTION_TYPE_UNSPECIFIED |
Unspecified subscription type. |
PAY_G |
PayG subscription. |
PAID |
Paid Subscription. |
EventingEnablementType
Eventing Enablement Type enum.
Enums | |
---|---|
EVENTING_ENABLEMENT_TYPE_UNSPECIFIED |
Eventing Enablement Type Unspecifeied. |
EVENTING_AND_CONNECTION |
Both connection and eventing. |
ONLY_EVENTING |
Only Eventing. |
EventingConfig
Eventing Configuration of a connection
JSON representation |
---|
{ "registrationDestinationConfig": { object ( |
Fields | |
---|---|
registrationDestinationConfig |
Registration endpoint for auto registration. |
authConfig |
Auth details for the webhook adapter. |
listenerAuthConfig |
Optional. Auth details for the event listener. |
additionalVariables[] |
Additional eventing related field values |
enrichmentEnabled |
Enrichment Enabled. |
privateConnectivityEnabled |
Optional. Private Connectivity Enabled. |
eventsListenerIngressEndpoint |
Optional. Ingress endpoint of the event listener. This is used only when private connectivity is enabled. |
deadLetterConfig |
Optional. Dead letter configuration for eventing of a connection. |
proxyDestinationConfig |
Optional. Proxy for Eventing auto-registration. |
DeadLetterConfig
Dead Letter configuration details provided by the user.
JSON representation |
---|
{ "topic": string, "projectId": string } |
Fields | |
---|---|
topic |
Optional. Topic to push events which couldn't be processed. |
projectId |
Optional. Project which has the topic given. |
EventingRuntimeData
Eventing runtime data has the details related to eventing managed by the system.
JSON representation |
---|
{
"status": {
object ( |
Fields | |
---|---|
status |
Output only. Current status of eventing. |
eventsListenerEndpoint |
Output only. Events listener endpoint. The value will populated after provisioning the events listener. |
eventsListenerPscSa |
Output only. Events listener PSC Service attachment. The value will be populated after provisioning the events listener with private connectivity enabled. |
EventingStatus
EventingStatus indicates the state of eventing.
JSON representation |
---|
{
"state": enum ( |
Fields | |
---|---|
state |
Output only. State. |
description |
Output only. Description of error if State is set to "ERROR". |
State
All the possible Eventing States.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default state. |
ACTIVE |
Eventing is enabled and ready to receive events. |
ERROR |
Eventing is not active due to an error. |
INGRESS_ENDPOINT_REQUIRED |
Ingress endpoint required. |
DeploymentModel
Enum for different deployment models
Enums | |
---|---|
DEPLOYMENT_MODEL_UNSPECIFIED |
Deployment model is not specified. |
GKE_MST |
Default model gke mst. |
CLOUD_RUN_MST |
Cloud run mst. |
Methods |
|
---|---|
|
Creates a new Connection in a given project and location. |
|
Deletes a single Connection. |
|
Gets details of a single Connection. |
|
Gets schema metadata of a connection. |
|
Gets the access control policy for a resource. |
|
Lists Connections in a given project and location. |
|
Updates the parameters of a single Connection. |
|
RepaiEventing tries to repair eventing related event subscriptions. |
|
Sets the access control policy on the specified resource. |
|
Returns permissions that a caller has on the specified resource. |