gcp.discoveryengine.DataConnector
DataConnector manages the connection to external data sources for all data stores grouped under a Collection. It’s a singleton resource of Collection. The initialization is only supported through DataConnectorService.SetUpDataConnector method, which will create a new Collection and initialize its DataConnector.
To get more information about DataConnector, see:
- API documentation
- How-to Guides
Example Usage
Discoveryengine Dataconnector Jira Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const jira_basic = new gcp.discoveryengine.DataConnector("jira-basic", {
location: "global",
collectionId: "collection-id",
collectionDisplayName: "tf-test-dataconnector-jira",
dataSource: "jira",
params: {
instance_id: "33db20a3-dc45-4305-a505-d70b68599840",
instance_uri: "https://vaissptbots1.atlassian.net/",
client_secret: "client-secret",
client_id: "client-id",
refresh_token: "fill-in-the-blank",
},
refreshInterval: "86400s",
entities: [
{
entityName: "project",
},
{
entityName: "issue",
},
{
entityName: "attachment",
},
{
entityName: "comment",
},
{
entityName: "worklog",
},
],
staticIpEnabled: true,
});
import pulumi
import pulumi_gcp as gcp
jira_basic = gcp.discoveryengine.DataConnector("jira-basic",
location="global",
collection_id="collection-id",
collection_display_name="tf-test-dataconnector-jira",
data_source="jira",
params={
"instance_id": "33db20a3-dc45-4305-a505-d70b68599840",
"instance_uri": "https://vaissptbots1.atlassian.net/",
"client_secret": "client-secret",
"client_id": "client-id",
"refresh_token": "fill-in-the-blank",
},
refresh_interval="86400s",
entities=[
{
"entity_name": "project",
},
{
"entity_name": "issue",
},
{
"entity_name": "attachment",
},
{
"entity_name": "comment",
},
{
"entity_name": "worklog",
},
],
static_ip_enabled=True)
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/discoveryengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := discoveryengine.NewDataConnector(ctx, "jira-basic", &discoveryengine.DataConnectorArgs{
Location: pulumi.String("global"),
CollectionId: pulumi.String("collection-id"),
CollectionDisplayName: pulumi.String("tf-test-dataconnector-jira"),
DataSource: pulumi.String("jira"),
Params: pulumi.StringMap{
"instance_id": pulumi.String("33db20a3-dc45-4305-a505-d70b68599840"),
"instance_uri": pulumi.String("https://vaissptbots1.atlassian.net/"),
"client_secret": pulumi.String("client-secret"),
"client_id": pulumi.String("client-id"),
"refresh_token": pulumi.String("fill-in-the-blank"),
},
RefreshInterval: pulumi.String("86400s"),
Entities: discoveryengine.DataConnectorEntityArray{
&discoveryengine.DataConnectorEntityArgs{
EntityName: pulumi.String("project"),
},
&discoveryengine.DataConnectorEntityArgs{
EntityName: pulumi.String("issue"),
},
&discoveryengine.DataConnectorEntityArgs{
EntityName: pulumi.String("attachment"),
},
&discoveryengine.DataConnectorEntityArgs{
EntityName: pulumi.String("comment"),
},
&discoveryengine.DataConnectorEntityArgs{
EntityName: pulumi.String("worklog"),
},
},
StaticIpEnabled: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var jira_basic = new Gcp.DiscoveryEngine.DataConnector("jira-basic", new()
{
Location = "global",
CollectionId = "collection-id",
CollectionDisplayName = "tf-test-dataconnector-jira",
DataSource = "jira",
Params =
{
{ "instance_id", "33db20a3-dc45-4305-a505-d70b68599840" },
{ "instance_uri", "https://vaissptbots1.atlassian.net/" },
{ "client_secret", "client-secret" },
{ "client_id", "client-id" },
{ "refresh_token", "fill-in-the-blank" },
},
RefreshInterval = "86400s",
Entities = new[]
{
new Gcp.DiscoveryEngine.Inputs.DataConnectorEntityArgs
{
EntityName = "project",
},
new Gcp.DiscoveryEngine.Inputs.DataConnectorEntityArgs
{
EntityName = "issue",
},
new Gcp.DiscoveryEngine.Inputs.DataConnectorEntityArgs
{
EntityName = "attachment",
},
new Gcp.DiscoveryEngine.Inputs.DataConnectorEntityArgs
{
EntityName = "comment",
},
new Gcp.DiscoveryEngine.Inputs.DataConnectorEntityArgs
{
EntityName = "worklog",
},
},
StaticIpEnabled = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.discoveryengine.DataConnector;
import com.pulumi.gcp.discoveryengine.DataConnectorArgs;
import com.pulumi.gcp.discoveryengine.inputs.DataConnectorEntityArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var jira_basic = new DataConnector("jira-basic", DataConnectorArgs.builder()
.location("global")
.collectionId("collection-id")
.collectionDisplayName("tf-test-dataconnector-jira")
.dataSource("jira")
.params(Map.ofEntries(
Map.entry("instance_id", "33db20a3-dc45-4305-a505-d70b68599840"),
Map.entry("instance_uri", "https://vaissptbots1.atlassian.net/"),
Map.entry("client_secret", "client-secret"),
Map.entry("client_id", "client-id"),
Map.entry("refresh_token", "fill-in-the-blank")
))
.refreshInterval("86400s")
.entities(
DataConnectorEntityArgs.builder()
.entityName("project")
.build(),
DataConnectorEntityArgs.builder()
.entityName("issue")
.build(),
DataConnectorEntityArgs.builder()
.entityName("attachment")
.build(),
DataConnectorEntityArgs.builder()
.entityName("comment")
.build(),
DataConnectorEntityArgs.builder()
.entityName("worklog")
.build())
.staticIpEnabled(true)
.build());
}
}
resources:
jira-basic:
type: gcp:discoveryengine:DataConnector
properties:
location: global
collectionId: collection-id
collectionDisplayName: tf-test-dataconnector-jira
dataSource: jira
params:
instance_id: 33db20a3-dc45-4305-a505-d70b68599840
instance_uri: https://vaissptbots1.atlassian.net/
client_secret: client-secret
client_id: client-id
refresh_token: fill-in-the-blank
refreshInterval: 86400s
entities:
- entityName: project
- entityName: issue
- entityName: attachment
- entityName: comment
- entityName: worklog
staticIpEnabled: true
Create DataConnector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DataConnector(name: string, args: DataConnectorArgs, opts?: CustomResourceOptions);@overload
def DataConnector(resource_name: str,
args: DataConnectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DataConnector(resource_name: str,
opts: Optional[ResourceOptions] = None,
collection_display_name: Optional[str] = None,
collection_id: Optional[str] = None,
data_source: Optional[str] = None,
location: Optional[str] = None,
refresh_interval: Optional[str] = None,
entities: Optional[Sequence[DataConnectorEntityArgs]] = None,
json_params: Optional[str] = None,
kms_key_name: Optional[str] = None,
params: Optional[Mapping[str, str]] = None,
project: Optional[str] = None,
static_ip_enabled: Optional[bool] = None)func NewDataConnector(ctx *Context, name string, args DataConnectorArgs, opts ...ResourceOption) (*DataConnector, error)public DataConnector(string name, DataConnectorArgs args, CustomResourceOptions? opts = null)
public DataConnector(String name, DataConnectorArgs args)
public DataConnector(String name, DataConnectorArgs args, CustomResourceOptions options)
type: gcp:discoveryengine:DataConnector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DataConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DataConnectorArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DataConnectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DataConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DataConnectorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dataConnectorResource = new Gcp.DiscoveryEngine.DataConnector("dataConnectorResource", new()
{
CollectionDisplayName = "string",
CollectionId = "string",
DataSource = "string",
Location = "string",
RefreshInterval = "string",
Entities = new[]
{
new Gcp.DiscoveryEngine.Inputs.DataConnectorEntityArgs
{
DataStore = "string",
EntityName = "string",
KeyPropertyMappings =
{
{ "string", "string" },
},
Params =
{
{ "string", "string" },
},
},
},
JsonParams = "string",
KmsKeyName = "string",
Params =
{
{ "string", "string" },
},
Project = "string",
StaticIpEnabled = false,
});
example, err := discoveryengine.NewDataConnector(ctx, "dataConnectorResource", &discoveryengine.DataConnectorArgs{
CollectionDisplayName: pulumi.String("string"),
CollectionId: pulumi.String("string"),
DataSource: pulumi.String("string"),
Location: pulumi.String("string"),
RefreshInterval: pulumi.String("string"),
Entities: discoveryengine.DataConnectorEntityArray{
&discoveryengine.DataConnectorEntityArgs{
DataStore: pulumi.String("string"),
EntityName: pulumi.String("string"),
KeyPropertyMappings: pulumi.StringMap{
"string": pulumi.String("string"),
},
Params: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
JsonParams: pulumi.String("string"),
KmsKeyName: pulumi.String("string"),
Params: pulumi.StringMap{
"string": pulumi.String("string"),
},
Project: pulumi.String("string"),
StaticIpEnabled: pulumi.Bool(false),
})
var dataConnectorResource = new DataConnector("dataConnectorResource", DataConnectorArgs.builder()
.collectionDisplayName("string")
.collectionId("string")
.dataSource("string")
.location("string")
.refreshInterval("string")
.entities(DataConnectorEntityArgs.builder()
.dataStore("string")
.entityName("string")
.keyPropertyMappings(Map.of("string", "string"))
.params(Map.of("string", "string"))
.build())
.jsonParams("string")
.kmsKeyName("string")
.params(Map.of("string", "string"))
.project("string")
.staticIpEnabled(false)
.build());
data_connector_resource = gcp.discoveryengine.DataConnector("dataConnectorResource",
collection_display_name="string",
collection_id="string",
data_source="string",
location="string",
refresh_interval="string",
entities=[{
"data_store": "string",
"entity_name": "string",
"key_property_mappings": {
"string": "string",
},
"params": {
"string": "string",
},
}],
json_params="string",
kms_key_name="string",
params={
"string": "string",
},
project="string",
static_ip_enabled=False)
const dataConnectorResource = new gcp.discoveryengine.DataConnector("dataConnectorResource", {
collectionDisplayName: "string",
collectionId: "string",
dataSource: "string",
location: "string",
refreshInterval: "string",
entities: [{
dataStore: "string",
entityName: "string",
keyPropertyMappings: {
string: "string",
},
params: {
string: "string",
},
}],
jsonParams: "string",
kmsKeyName: "string",
params: {
string: "string",
},
project: "string",
staticIpEnabled: false,
});
type: gcp:discoveryengine:DataConnector
properties:
collectionDisplayName: string
collectionId: string
dataSource: string
entities:
- dataStore: string
entityName: string
keyPropertyMappings:
string: string
params:
string: string
jsonParams: string
kmsKeyName: string
location: string
params:
string: string
project: string
refreshInterval: string
staticIpEnabled: false
DataConnector Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DataConnector resource accepts the following input properties:
- Collection
Display stringName - The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
- Collection
Id string - The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- Data
Source string - The name of the data source.
Supported values:
salesforce,jira,confluence,bigquery. - Location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- Refresh
Interval string - The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
- Entities
List<Data
Connector Entity> - List of entities from the connected data source to ingest. Structure is documented below.
- Json
Params string - Params needed to access the source in the format of json string.
- Kms
Key stringName - The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.
- Params Dictionary<string, string>
- Params needed to access the source in the format of String-to-String (Key, Value) pairs.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Static
Ip boolEnabled - Whether customer has enabled static IP addresses for this connector.
- Collection
Display stringName - The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
- Collection
Id string - The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- Data
Source string - The name of the data source.
Supported values:
salesforce,jira,confluence,bigquery. - Location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- Refresh
Interval string - The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
- Entities
[]Data
Connector Entity Args - List of entities from the connected data source to ingest. Structure is documented below.
- Json
Params string - Params needed to access the source in the format of json string.
- Kms
Key stringName - The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.
- Params map[string]string
- Params needed to access the source in the format of String-to-String (Key, Value) pairs.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Static
Ip boolEnabled - Whether customer has enabled static IP addresses for this connector.
- collection
Display StringName - The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
- collection
Id String - The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- data
Source String - The name of the data source.
Supported values:
salesforce,jira,confluence,bigquery. - location String
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- refresh
Interval String - The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
- entities
List<Data
Connector Entity> - List of entities from the connected data source to ingest. Structure is documented below.
- json
Params String - Params needed to access the source in the format of json string.
- kms
Key StringName - The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.
- params Map<String,String>
- Params needed to access the source in the format of String-to-String (Key, Value) pairs.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- static
Ip BooleanEnabled - Whether customer has enabled static IP addresses for this connector.
- collection
Display stringName - The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
- collection
Id string - The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- data
Source string - The name of the data source.
Supported values:
salesforce,jira,confluence,bigquery. - location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- refresh
Interval string - The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
- entities
Data
Connector Entity[] - List of entities from the connected data source to ingest. Structure is documented below.
- json
Params string - Params needed to access the source in the format of json string.
- kms
Key stringName - The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.
- params {[key: string]: string}
- Params needed to access the source in the format of String-to-String (Key, Value) pairs.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- static
Ip booleanEnabled - Whether customer has enabled static IP addresses for this connector.
- collection_
display_ strname - The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
- collection_
id str - The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- data_
source str - The name of the data source.
Supported values:
salesforce,jira,confluence,bigquery. - location str
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- refresh_
interval str - The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
- entities
Sequence[Data
Connector Entity Args] - List of entities from the connected data source to ingest. Structure is documented below.
- json_
params str - Params needed to access the source in the format of json string.
- kms_
key_ strname - The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.
- params Mapping[str, str]
- Params needed to access the source in the format of String-to-String (Key, Value) pairs.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- static_
ip_ boolenabled - Whether customer has enabled static IP addresses for this connector.
- collection
Display StringName - The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
- collection
Id String - The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- data
Source String - The name of the data source.
Supported values:
salesforce,jira,confluence,bigquery. - location String
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- refresh
Interval String - The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
- entities List<Property Map>
- List of entities from the connected data source to ingest. Structure is documented below.
- json
Params String - Params needed to access the source in the format of json string.
- kms
Key StringName - The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.
- params Map<String>
- Params needed to access the source in the format of String-to-String (Key, Value) pairs.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- static
Ip BooleanEnabled - Whether customer has enabled static IP addresses for this connector.
Outputs
All input properties are implicitly available as output properties. Additionally, the DataConnector resource produces the following output properties:
- Action
State string - State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- Blocking
Reasons List<string> - User actions that must be completed before the connector can start syncing data. The possible values can be: 'ALLOWLIST_STATIC_IP', 'ALLOWLIST_IN_SERVICE_ATTACHMENT'.
- Connector
Type string - The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. The possible value can be: 'CONNECTOR_TYPE_UNSPECIFIED', 'THIRD_PARTY', 'GCP_FHIR', 'BIG_QUERY', 'GCS', 'GOOGLE_MAIL', 'GOOGLE_CALENDAR', 'GOOGLE_DRIVE', 'NATIVE_CLOUD_IDENTITY', 'THIRD_PARTY_FEDERATED', 'THIRD_PARTY_EUA', 'GCNV'.
- Create
Time string - Timestamp when the DataConnector was created.
- Errors
List<Data
Connector Error> - The errors from initialization or from the latest connector run. Structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Sync stringTime - For periodic connectors only, the last time a data sync was completed.
- Latest
Pause stringTime - The most recent timestamp when this [DataConnector][] was paused,
affecting all functionalities such as data synchronization.
Pausing a connector has the following effects:
- All functionalities, including data synchronization, are halted.
- Any ongoing data synchronization job will be canceled.
- No future data synchronization runs will be scheduled nor can be triggered.
- Name string
- The full resource name of the Data Connector.
Format:
projects/*/locations/*/collections/*/dataConnector. - Private
Connectivity stringProject Id - The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.
- Realtime
State string - The real-time sync state. The possible values can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- State string
- The state of connector. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- Static
Ip List<string>Addresses - The static IP addresses used by this connector.
- Update
Time string - Timestamp when the DataConnector was updated.
- Action
State string - State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- Blocking
Reasons []string - User actions that must be completed before the connector can start syncing data. The possible values can be: 'ALLOWLIST_STATIC_IP', 'ALLOWLIST_IN_SERVICE_ATTACHMENT'.
- Connector
Type string - The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. The possible value can be: 'CONNECTOR_TYPE_UNSPECIFIED', 'THIRD_PARTY', 'GCP_FHIR', 'BIG_QUERY', 'GCS', 'GOOGLE_MAIL', 'GOOGLE_CALENDAR', 'GOOGLE_DRIVE', 'NATIVE_CLOUD_IDENTITY', 'THIRD_PARTY_FEDERATED', 'THIRD_PARTY_EUA', 'GCNV'.
- Create
Time string - Timestamp when the DataConnector was created.
- Errors
[]Data
Connector Error - The errors from initialization or from the latest connector run. Structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Sync stringTime - For periodic connectors only, the last time a data sync was completed.
- Latest
Pause stringTime - The most recent timestamp when this [DataConnector][] was paused,
affecting all functionalities such as data synchronization.
Pausing a connector has the following effects:
- All functionalities, including data synchronization, are halted.
- Any ongoing data synchronization job will be canceled.
- No future data synchronization runs will be scheduled nor can be triggered.
- Name string
- The full resource name of the Data Connector.
Format:
projects/*/locations/*/collections/*/dataConnector. - Private
Connectivity stringProject Id - The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.
- Realtime
State string - The real-time sync state. The possible values can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- State string
- The state of connector. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- Static
Ip []stringAddresses - The static IP addresses used by this connector.
- Update
Time string - Timestamp when the DataConnector was updated.
- action
State String - State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- blocking
Reasons List<String> - User actions that must be completed before the connector can start syncing data. The possible values can be: 'ALLOWLIST_STATIC_IP', 'ALLOWLIST_IN_SERVICE_ATTACHMENT'.
- connector
Type String - The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. The possible value can be: 'CONNECTOR_TYPE_UNSPECIFIED', 'THIRD_PARTY', 'GCP_FHIR', 'BIG_QUERY', 'GCS', 'GOOGLE_MAIL', 'GOOGLE_CALENDAR', 'GOOGLE_DRIVE', 'NATIVE_CLOUD_IDENTITY', 'THIRD_PARTY_FEDERATED', 'THIRD_PARTY_EUA', 'GCNV'.
- create
Time String - Timestamp when the DataConnector was created.
- errors
List<Data
Connector Error> - The errors from initialization or from the latest connector run. Structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Sync StringTime - For periodic connectors only, the last time a data sync was completed.
- latest
Pause StringTime - The most recent timestamp when this [DataConnector][] was paused,
affecting all functionalities such as data synchronization.
Pausing a connector has the following effects:
- All functionalities, including data synchronization, are halted.
- Any ongoing data synchronization job will be canceled.
- No future data synchronization runs will be scheduled nor can be triggered.
- name String
- The full resource name of the Data Connector.
Format:
projects/*/locations/*/collections/*/dataConnector. - private
Connectivity StringProject Id - The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.
- realtime
State String - The real-time sync state. The possible values can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- state String
- The state of connector. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- static
Ip List<String>Addresses - The static IP addresses used by this connector.
- update
Time String - Timestamp when the DataConnector was updated.
- action
State string - State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- blocking
Reasons string[] - User actions that must be completed before the connector can start syncing data. The possible values can be: 'ALLOWLIST_STATIC_IP', 'ALLOWLIST_IN_SERVICE_ATTACHMENT'.
- connector
Type string - The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. The possible value can be: 'CONNECTOR_TYPE_UNSPECIFIED', 'THIRD_PARTY', 'GCP_FHIR', 'BIG_QUERY', 'GCS', 'GOOGLE_MAIL', 'GOOGLE_CALENDAR', 'GOOGLE_DRIVE', 'NATIVE_CLOUD_IDENTITY', 'THIRD_PARTY_FEDERATED', 'THIRD_PARTY_EUA', 'GCNV'.
- create
Time string - Timestamp when the DataConnector was created.
- errors
Data
Connector Error[] - The errors from initialization or from the latest connector run. Structure is documented below.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Sync stringTime - For periodic connectors only, the last time a data sync was completed.
- latest
Pause stringTime - The most recent timestamp when this [DataConnector][] was paused,
affecting all functionalities such as data synchronization.
Pausing a connector has the following effects:
- All functionalities, including data synchronization, are halted.
- Any ongoing data synchronization job will be canceled.
- No future data synchronization runs will be scheduled nor can be triggered.
- name string
- The full resource name of the Data Connector.
Format:
projects/*/locations/*/collections/*/dataConnector. - private
Connectivity stringProject Id - The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.
- realtime
State string - The real-time sync state. The possible values can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- state string
- The state of connector. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- static
Ip string[]Addresses - The static IP addresses used by this connector.
- update
Time string - Timestamp when the DataConnector was updated.
- action_
state str - State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- blocking_
reasons Sequence[str] - User actions that must be completed before the connector can start syncing data. The possible values can be: 'ALLOWLIST_STATIC_IP', 'ALLOWLIST_IN_SERVICE_ATTACHMENT'.
- connector_
type str - The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. The possible value can be: 'CONNECTOR_TYPE_UNSPECIFIED', 'THIRD_PARTY', 'GCP_FHIR', 'BIG_QUERY', 'GCS', 'GOOGLE_MAIL', 'GOOGLE_CALENDAR', 'GOOGLE_DRIVE', 'NATIVE_CLOUD_IDENTITY', 'THIRD_PARTY_FEDERATED', 'THIRD_PARTY_EUA', 'GCNV'.
- create_
time str - Timestamp when the DataConnector was created.
- errors
Sequence[Data
Connector Error] - The errors from initialization or from the latest connector run. Structure is documented below.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
sync_ strtime - For periodic connectors only, the last time a data sync was completed.
- latest_
pause_ strtime - The most recent timestamp when this [DataConnector][] was paused,
affecting all functionalities such as data synchronization.
Pausing a connector has the following effects:
- All functionalities, including data synchronization, are halted.
- Any ongoing data synchronization job will be canceled.
- No future data synchronization runs will be scheduled nor can be triggered.
- name str
- The full resource name of the Data Connector.
Format:
projects/*/locations/*/collections/*/dataConnector. - private_
connectivity_ strproject_ id - The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.
- realtime_
state str - The real-time sync state. The possible values can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- state str
- The state of connector. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- static_
ip_ Sequence[str]addresses - The static IP addresses used by this connector.
- update_
time str - Timestamp when the DataConnector was updated.
- action
State String - State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- blocking
Reasons List<String> - User actions that must be completed before the connector can start syncing data. The possible values can be: 'ALLOWLIST_STATIC_IP', 'ALLOWLIST_IN_SERVICE_ATTACHMENT'.
- connector
Type String - The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. The possible value can be: 'CONNECTOR_TYPE_UNSPECIFIED', 'THIRD_PARTY', 'GCP_FHIR', 'BIG_QUERY', 'GCS', 'GOOGLE_MAIL', 'GOOGLE_CALENDAR', 'GOOGLE_DRIVE', 'NATIVE_CLOUD_IDENTITY', 'THIRD_PARTY_FEDERATED', 'THIRD_PARTY_EUA', 'GCNV'.
- create
Time String - Timestamp when the DataConnector was created.
- errors List<Property Map>
- The errors from initialization or from the latest connector run. Structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Sync StringTime - For periodic connectors only, the last time a data sync was completed.
- latest
Pause StringTime - The most recent timestamp when this [DataConnector][] was paused,
affecting all functionalities such as data synchronization.
Pausing a connector has the following effects:
- All functionalities, including data synchronization, are halted.
- Any ongoing data synchronization job will be canceled.
- No future data synchronization runs will be scheduled nor can be triggered.
- name String
- The full resource name of the Data Connector.
Format:
projects/*/locations/*/collections/*/dataConnector. - private
Connectivity StringProject Id - The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.
- realtime
State String - The real-time sync state. The possible values can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- state String
- The state of connector. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- static
Ip List<String>Addresses - The static IP addresses used by this connector.
- update
Time String - Timestamp when the DataConnector was updated.
Look up Existing DataConnector Resource
Get an existing DataConnector resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DataConnectorState, opts?: CustomResourceOptions): DataConnector@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action_state: Optional[str] = None,
blocking_reasons: Optional[Sequence[str]] = None,
collection_display_name: Optional[str] = None,
collection_id: Optional[str] = None,
connector_type: Optional[str] = None,
create_time: Optional[str] = None,
data_source: Optional[str] = None,
entities: Optional[Sequence[DataConnectorEntityArgs]] = None,
errors: Optional[Sequence[DataConnectorErrorArgs]] = None,
json_params: Optional[str] = None,
kms_key_name: Optional[str] = None,
last_sync_time: Optional[str] = None,
latest_pause_time: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
params: Optional[Mapping[str, str]] = None,
private_connectivity_project_id: Optional[str] = None,
project: Optional[str] = None,
realtime_state: Optional[str] = None,
refresh_interval: Optional[str] = None,
state: Optional[str] = None,
static_ip_addresses: Optional[Sequence[str]] = None,
static_ip_enabled: Optional[bool] = None,
update_time: Optional[str] = None) -> DataConnectorfunc GetDataConnector(ctx *Context, name string, id IDInput, state *DataConnectorState, opts ...ResourceOption) (*DataConnector, error)public static DataConnector Get(string name, Input<string> id, DataConnectorState? state, CustomResourceOptions? opts = null)public static DataConnector get(String name, Output<String> id, DataConnectorState state, CustomResourceOptions options)resources: _: type: gcp:discoveryengine:DataConnector get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Action
State string - State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- Blocking
Reasons List<string> - User actions that must be completed before the connector can start syncing data. The possible values can be: 'ALLOWLIST_STATIC_IP', 'ALLOWLIST_IN_SERVICE_ATTACHMENT'.
- Collection
Display stringName - The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
- Collection
Id string - The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- Connector
Type string - The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. The possible value can be: 'CONNECTOR_TYPE_UNSPECIFIED', 'THIRD_PARTY', 'GCP_FHIR', 'BIG_QUERY', 'GCS', 'GOOGLE_MAIL', 'GOOGLE_CALENDAR', 'GOOGLE_DRIVE', 'NATIVE_CLOUD_IDENTITY', 'THIRD_PARTY_FEDERATED', 'THIRD_PARTY_EUA', 'GCNV'.
- Create
Time string - Timestamp when the DataConnector was created.
- Data
Source string - The name of the data source.
Supported values:
salesforce,jira,confluence,bigquery. - Entities
List<Data
Connector Entity> - List of entities from the connected data source to ingest. Structure is documented below.
- Errors
List<Data
Connector Error> - The errors from initialization or from the latest connector run. Structure is documented below.
- Json
Params string - Params needed to access the source in the format of json string.
- Kms
Key stringName - The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.
- Last
Sync stringTime - For periodic connectors only, the last time a data sync was completed.
- Latest
Pause stringTime - The most recent timestamp when this [DataConnector][] was paused,
affecting all functionalities such as data synchronization.
Pausing a connector has the following effects:
- All functionalities, including data synchronization, are halted.
- Any ongoing data synchronization job will be canceled.
- No future data synchronization runs will be scheduled nor can be triggered.
- Location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- Name string
- The full resource name of the Data Connector.
Format:
projects/*/locations/*/collections/*/dataConnector. - Params Dictionary<string, string>
- Params needed to access the source in the format of String-to-String (Key, Value) pairs.
- Private
Connectivity stringProject Id - The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Realtime
State string - The real-time sync state. The possible values can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- Refresh
Interval string - The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
- State string
- The state of connector. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- Static
Ip List<string>Addresses - The static IP addresses used by this connector.
- Static
Ip boolEnabled - Whether customer has enabled static IP addresses for this connector.
- Update
Time string - Timestamp when the DataConnector was updated.
- Action
State string - State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- Blocking
Reasons []string - User actions that must be completed before the connector can start syncing data. The possible values can be: 'ALLOWLIST_STATIC_IP', 'ALLOWLIST_IN_SERVICE_ATTACHMENT'.
- Collection
Display stringName - The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
- Collection
Id string - The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- Connector
Type string - The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. The possible value can be: 'CONNECTOR_TYPE_UNSPECIFIED', 'THIRD_PARTY', 'GCP_FHIR', 'BIG_QUERY', 'GCS', 'GOOGLE_MAIL', 'GOOGLE_CALENDAR', 'GOOGLE_DRIVE', 'NATIVE_CLOUD_IDENTITY', 'THIRD_PARTY_FEDERATED', 'THIRD_PARTY_EUA', 'GCNV'.
- Create
Time string - Timestamp when the DataConnector was created.
- Data
Source string - The name of the data source.
Supported values:
salesforce,jira,confluence,bigquery. - Entities
[]Data
Connector Entity Args - List of entities from the connected data source to ingest. Structure is documented below.
- Errors
[]Data
Connector Error Args - The errors from initialization or from the latest connector run. Structure is documented below.
- Json
Params string - Params needed to access the source in the format of json string.
- Kms
Key stringName - The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.
- Last
Sync stringTime - For periodic connectors only, the last time a data sync was completed.
- Latest
Pause stringTime - The most recent timestamp when this [DataConnector][] was paused,
affecting all functionalities such as data synchronization.
Pausing a connector has the following effects:
- All functionalities, including data synchronization, are halted.
- Any ongoing data synchronization job will be canceled.
- No future data synchronization runs will be scheduled nor can be triggered.
- Location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- Name string
- The full resource name of the Data Connector.
Format:
projects/*/locations/*/collections/*/dataConnector. - Params map[string]string
- Params needed to access the source in the format of String-to-String (Key, Value) pairs.
- Private
Connectivity stringProject Id - The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Realtime
State string - The real-time sync state. The possible values can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- Refresh
Interval string - The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
- State string
- The state of connector. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- Static
Ip []stringAddresses - The static IP addresses used by this connector.
- Static
Ip boolEnabled - Whether customer has enabled static IP addresses for this connector.
- Update
Time string - Timestamp when the DataConnector was updated.
- action
State String - State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- blocking
Reasons List<String> - User actions that must be completed before the connector can start syncing data. The possible values can be: 'ALLOWLIST_STATIC_IP', 'ALLOWLIST_IN_SERVICE_ATTACHMENT'.
- collection
Display StringName - The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
- collection
Id String - The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- connector
Type String - The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. The possible value can be: 'CONNECTOR_TYPE_UNSPECIFIED', 'THIRD_PARTY', 'GCP_FHIR', 'BIG_QUERY', 'GCS', 'GOOGLE_MAIL', 'GOOGLE_CALENDAR', 'GOOGLE_DRIVE', 'NATIVE_CLOUD_IDENTITY', 'THIRD_PARTY_FEDERATED', 'THIRD_PARTY_EUA', 'GCNV'.
- create
Time String - Timestamp when the DataConnector was created.
- data
Source String - The name of the data source.
Supported values:
salesforce,jira,confluence,bigquery. - entities
List<Data
Connector Entity> - List of entities from the connected data source to ingest. Structure is documented below.
- errors
List<Data
Connector Error> - The errors from initialization or from the latest connector run. Structure is documented below.
- json
Params String - Params needed to access the source in the format of json string.
- kms
Key StringName - The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.
- last
Sync StringTime - For periodic connectors only, the last time a data sync was completed.
- latest
Pause StringTime - The most recent timestamp when this [DataConnector][] was paused,
affecting all functionalities such as data synchronization.
Pausing a connector has the following effects:
- All functionalities, including data synchronization, are halted.
- Any ongoing data synchronization job will be canceled.
- No future data synchronization runs will be scheduled nor can be triggered.
- location String
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- name String
- The full resource name of the Data Connector.
Format:
projects/*/locations/*/collections/*/dataConnector. - params Map<String,String>
- Params needed to access the source in the format of String-to-String (Key, Value) pairs.
- private
Connectivity StringProject Id - The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- realtime
State String - The real-time sync state. The possible values can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- refresh
Interval String - The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
- state String
- The state of connector. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- static
Ip List<String>Addresses - The static IP addresses used by this connector.
- static
Ip BooleanEnabled - Whether customer has enabled static IP addresses for this connector.
- update
Time String - Timestamp when the DataConnector was updated.
- action
State string - State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- blocking
Reasons string[] - User actions that must be completed before the connector can start syncing data. The possible values can be: 'ALLOWLIST_STATIC_IP', 'ALLOWLIST_IN_SERVICE_ATTACHMENT'.
- collection
Display stringName - The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
- collection
Id string - The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- connector
Type string - The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. The possible value can be: 'CONNECTOR_TYPE_UNSPECIFIED', 'THIRD_PARTY', 'GCP_FHIR', 'BIG_QUERY', 'GCS', 'GOOGLE_MAIL', 'GOOGLE_CALENDAR', 'GOOGLE_DRIVE', 'NATIVE_CLOUD_IDENTITY', 'THIRD_PARTY_FEDERATED', 'THIRD_PARTY_EUA', 'GCNV'.
- create
Time string - Timestamp when the DataConnector was created.
- data
Source string - The name of the data source.
Supported values:
salesforce,jira,confluence,bigquery. - entities
Data
Connector Entity[] - List of entities from the connected data source to ingest. Structure is documented below.
- errors
Data
Connector Error[] - The errors from initialization or from the latest connector run. Structure is documented below.
- json
Params string - Params needed to access the source in the format of json string.
- kms
Key stringName - The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.
- last
Sync stringTime - For periodic connectors only, the last time a data sync was completed.
- latest
Pause stringTime - The most recent timestamp when this [DataConnector][] was paused,
affecting all functionalities such as data synchronization.
Pausing a connector has the following effects:
- All functionalities, including data synchronization, are halted.
- Any ongoing data synchronization job will be canceled.
- No future data synchronization runs will be scheduled nor can be triggered.
- location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- name string
- The full resource name of the Data Connector.
Format:
projects/*/locations/*/collections/*/dataConnector. - params {[key: string]: string}
- Params needed to access the source in the format of String-to-String (Key, Value) pairs.
- private
Connectivity stringProject Id - The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- realtime
State string - The real-time sync state. The possible values can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- refresh
Interval string - The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
- state string
- The state of connector. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- static
Ip string[]Addresses - The static IP addresses used by this connector.
- static
Ip booleanEnabled - Whether customer has enabled static IP addresses for this connector.
- update
Time string - Timestamp when the DataConnector was updated.
- action_
state str - State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- blocking_
reasons Sequence[str] - User actions that must be completed before the connector can start syncing data. The possible values can be: 'ALLOWLIST_STATIC_IP', 'ALLOWLIST_IN_SERVICE_ATTACHMENT'.
- collection_
display_ strname - The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
- collection_
id str - The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- connector_
type str - The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. The possible value can be: 'CONNECTOR_TYPE_UNSPECIFIED', 'THIRD_PARTY', 'GCP_FHIR', 'BIG_QUERY', 'GCS', 'GOOGLE_MAIL', 'GOOGLE_CALENDAR', 'GOOGLE_DRIVE', 'NATIVE_CLOUD_IDENTITY', 'THIRD_PARTY_FEDERATED', 'THIRD_PARTY_EUA', 'GCNV'.
- create_
time str - Timestamp when the DataConnector was created.
- data_
source str - The name of the data source.
Supported values:
salesforce,jira,confluence,bigquery. - entities
Sequence[Data
Connector Entity Args] - List of entities from the connected data source to ingest. Structure is documented below.
- errors
Sequence[Data
Connector Error Args] - The errors from initialization or from the latest connector run. Structure is documented below.
- json_
params str - Params needed to access the source in the format of json string.
- kms_
key_ strname - The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.
- last_
sync_ strtime - For periodic connectors only, the last time a data sync was completed.
- latest_
pause_ strtime - The most recent timestamp when this [DataConnector][] was paused,
affecting all functionalities such as data synchronization.
Pausing a connector has the following effects:
- All functionalities, including data synchronization, are halted.
- Any ongoing data synchronization job will be canceled.
- No future data synchronization runs will be scheduled nor can be triggered.
- location str
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- name str
- The full resource name of the Data Connector.
Format:
projects/*/locations/*/collections/*/dataConnector. - params Mapping[str, str]
- Params needed to access the source in the format of String-to-String (Key, Value) pairs.
- private_
connectivity_ strproject_ id - The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- realtime_
state str - The real-time sync state. The possible values can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- refresh_
interval str - The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
- state str
- The state of connector. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- static_
ip_ Sequence[str]addresses - The static IP addresses used by this connector.
- static_
ip_ boolenabled - Whether customer has enabled static IP addresses for this connector.
- update_
time str - Timestamp when the DataConnector was updated.
- action
State String - State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- blocking
Reasons List<String> - User actions that must be completed before the connector can start syncing data. The possible values can be: 'ALLOWLIST_STATIC_IP', 'ALLOWLIST_IN_SERVICE_ATTACHMENT'.
- collection
Display StringName - The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
- collection
Id String - The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
- connector
Type String - The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. The possible value can be: 'CONNECTOR_TYPE_UNSPECIFIED', 'THIRD_PARTY', 'GCP_FHIR', 'BIG_QUERY', 'GCS', 'GOOGLE_MAIL', 'GOOGLE_CALENDAR', 'GOOGLE_DRIVE', 'NATIVE_CLOUD_IDENTITY', 'THIRD_PARTY_FEDERATED', 'THIRD_PARTY_EUA', 'GCNV'.
- create
Time String - Timestamp when the DataConnector was created.
- data
Source String - The name of the data source.
Supported values:
salesforce,jira,confluence,bigquery. - entities List<Property Map>
- List of entities from the connected data source to ingest. Structure is documented below.
- errors List<Property Map>
- The errors from initialization or from the latest connector run. Structure is documented below.
- json
Params String - Params needed to access the source in the format of json string.
- kms
Key StringName - The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.
- last
Sync StringTime - For periodic connectors only, the last time a data sync was completed.
- latest
Pause StringTime - The most recent timestamp when this [DataConnector][] was paused,
affecting all functionalities such as data synchronization.
Pausing a connector has the following effects:
- All functionalities, including data synchronization, are halted.
- Any ongoing data synchronization job will be canceled.
- No future data synchronization runs will be scheduled nor can be triggered.
- location String
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- name String
- The full resource name of the Data Connector.
Format:
projects/*/locations/*/collections/*/dataConnector. - params Map<String>
- Params needed to access the source in the format of String-to-String (Key, Value) pairs.
- private
Connectivity StringProject Id - The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- realtime
State String - The real-time sync state. The possible values can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- refresh
Interval String - The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
- state String
- The state of connector. The possible value can be: 'STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'FAILED', 'RUNNING', 'WARNING', 'INITIALIZATION_FAILED', 'UPDATING'.
- static
Ip List<String>Addresses - The static IP addresses used by this connector.
- static
Ip BooleanEnabled - Whether customer has enabled static IP addresses for this connector.
- update
Time String - Timestamp when the DataConnector was updated.
Supporting Types
DataConnectorEntity, DataConnectorEntityArgs
- Data
Store string - (Output)
The full resource name of the associated data store for the source
entity.
Format:
projects/*/locations/*/collections/*/dataStores/*. When the connector is initialized by the DataConnectorService.SetUpDataConnector method, a DataStore is automatically created for each source entity. - Entity
Name string - The name of the entity. Supported values by data source:
- Salesforce:
Lead,Opportunity,Contact,Account,Case,Contract,Campaign - Jira: project, issue, attachment, comment, worklog
- Confluence:
Content,Space
- Salesforce:
- Key
Property Dictionary<string, string>Mappings - Attributes for indexing.
Key: Field name.
Value: The key property to map a field to, such as
title, anddescription. Supported key properties: - Params Dictionary<string, string>
- The parameters for the entity to facilitate data ingestion.
- Data
Store string - (Output)
The full resource name of the associated data store for the source
entity.
Format:
projects/*/locations/*/collections/*/dataStores/*. When the connector is initialized by the DataConnectorService.SetUpDataConnector method, a DataStore is automatically created for each source entity. - Entity
Name string - The name of the entity. Supported values by data source:
- Salesforce:
Lead,Opportunity,Contact,Account,Case,Contract,Campaign - Jira: project, issue, attachment, comment, worklog
- Confluence:
Content,Space
- Salesforce:
- Key
Property map[string]stringMappings - Attributes for indexing.
Key: Field name.
Value: The key property to map a field to, such as
title, anddescription. Supported key properties: - Params map[string]string
- The parameters for the entity to facilitate data ingestion.
- data
Store String - (Output)
The full resource name of the associated data store for the source
entity.
Format:
projects/*/locations/*/collections/*/dataStores/*. When the connector is initialized by the DataConnectorService.SetUpDataConnector method, a DataStore is automatically created for each source entity. - entity
Name String - The name of the entity. Supported values by data source:
- Salesforce:
Lead,Opportunity,Contact,Account,Case,Contract,Campaign - Jira: project, issue, attachment, comment, worklog
- Confluence:
Content,Space
- Salesforce:
- key
Property Map<String,String>Mappings - Attributes for indexing.
Key: Field name.
Value: The key property to map a field to, such as
title, anddescription. Supported key properties: - params Map<String,String>
- The parameters for the entity to facilitate data ingestion.
- data
Store string - (Output)
The full resource name of the associated data store for the source
entity.
Format:
projects/*/locations/*/collections/*/dataStores/*. When the connector is initialized by the DataConnectorService.SetUpDataConnector method, a DataStore is automatically created for each source entity. - entity
Name string - The name of the entity. Supported values by data source:
- Salesforce:
Lead,Opportunity,Contact,Account,Case,Contract,Campaign - Jira: project, issue, attachment, comment, worklog
- Confluence:
Content,Space
- Salesforce:
- key
Property {[key: string]: string}Mappings - Attributes for indexing.
Key: Field name.
Value: The key property to map a field to, such as
title, anddescription. Supported key properties: - params {[key: string]: string}
- The parameters for the entity to facilitate data ingestion.
- data_
store str - (Output)
The full resource name of the associated data store for the source
entity.
Format:
projects/*/locations/*/collections/*/dataStores/*. When the connector is initialized by the DataConnectorService.SetUpDataConnector method, a DataStore is automatically created for each source entity. - entity_
name str - The name of the entity. Supported values by data source:
- Salesforce:
Lead,Opportunity,Contact,Account,Case,Contract,Campaign - Jira: project, issue, attachment, comment, worklog
- Confluence:
Content,Space
- Salesforce:
- key_
property_ Mapping[str, str]mappings - Attributes for indexing.
Key: Field name.
Value: The key property to map a field to, such as
title, anddescription. Supported key properties: - params Mapping[str, str]
- The parameters for the entity to facilitate data ingestion.
- data
Store String - (Output)
The full resource name of the associated data store for the source
entity.
Format:
projects/*/locations/*/collections/*/dataStores/*. When the connector is initialized by the DataConnectorService.SetUpDataConnector method, a DataStore is automatically created for each source entity. - entity
Name String - The name of the entity. Supported values by data source:
- Salesforce:
Lead,Opportunity,Contact,Account,Case,Contract,Campaign - Jira: project, issue, attachment, comment, worklog
- Confluence:
Content,Space
- Salesforce:
- key
Property Map<String>Mappings - Attributes for indexing.
Key: Field name.
Value: The key property to map a field to, such as
title, anddescription. Supported key properties: - params Map<String>
- The parameters for the entity to facilitate data ingestion.
DataConnectorError, DataConnectorErrorArgs
Import
DataConnector can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/dataConnector{{project}}/{{location}}/{{collection_id}}{{location}}/{{collection_id}}
When using the pulumi import command, DataConnector can be imported using one of the formats above. For example:
$ pulumi import gcp:discoveryengine/dataConnector:DataConnector default projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/dataConnector
$ pulumi import gcp:discoveryengine/dataConnector:DataConnector default {{project}}/{{location}}/{{collection_id}}
$ pulumi import gcp:discoveryengine/dataConnector:DataConnector default {{location}}/{{collection_id}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
