NAME
Google::Cloud::Discoveryengine::V1::DataConnector - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1/data_connector.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1::DataConnector;
my $msg = Google::Cloud::Discoveryengine::V1::DataConnector::DataConnector->new({
params => $params,
json_params => $json_params,
name => $name,
state => $state,
});
# Read or update a field
my $val = $msg->params();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1::DataConnector::DataConnector->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1/data_connector.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Discoveryengine::V1::DataConnector::DataConnector
Manages the connection to external data sources for all data stores grouped under a [Collection][google.cloud.discoveryengine.v1.Collection]. It's a singleton resource of [Collection][google.cloud.discoveryengine.v1.Collection]. The initialization is only supported through [DataConnectorService.SetUpDataConnector][google.cloud.discoveryengine.v1.DataConnectorService.SetUpDataConnector] method, which will create a new [Collection][google.cloud.discoveryengine.v1.Collection] and initialize its [DataConnector][google.cloud.discoveryengine.v1.DataConnector].
Inherits from Protobuf::Message.
Accessors
$msg->params()/$msg->params($value)Type:
Message(Google::Protobuf::Struct::Struct)Required data connector parameters in structured json format.
$msg->json_params()/$msg->json_params($value)Type:
StringRequired data connector parameters in json string format.
$msg->name()/$msg->name($value)Type:
StringIdentifier. The full resource name of the Data Connector. Format: `projects/*/locations/*/collections/*/dataConnector`.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Discoveryengine::V1::DataConnector::State)Output only. State of the connector.
$msg->data_source()/$msg->data_source($value)Type:
StringRequired. The identifier for the data source. For the full, up-to-date list of supported connectors and their values, see [Connect a third-party data source](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/connect-third-party-data-source#sources-by-launch-stage).
$msg->remove_param_keys()/$msg->remove_param_keys($value)Type:
StringOptional. Specifies keys to be removed from the 'params' field. This is only active when 'params' is included in the 'update_mask' in an UpdateDataConnectorRequest. Deletion takes precedence if a key is both in 'remove_param_keys' and present in the 'params' field of the request.
$msg->refresh_interval()/$msg->refresh_interval($value)Type:
Message(Google::Protobuf::Duration::Duration)Required. 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.
$msg->next_sync_time()/$msg->next_sync_time($value)Type:
Message(Google::Type::Datetime::DateTime)Defines the scheduled time for the next data synchronization. This field requires hour , minute, and time_zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). This is utilized when the data connector has a refresh interval greater than 1 day. When the hours or minutes are not specified, we will assume a sync time of 0:00. The user must provide a time zone to avoid ambiguity.
$msg->entities()/$msg->entities($value)Type:
Message(Google::Cloud::Discoveryengine::V1::DataConnector::DataConnector::SourceEntity)List of entities from the connected data source to ingest.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp the [DataConnector][google.cloud.discoveryengine.v1.DataConnector] was created at.
$msg->latest_pause_time()/$msg->latest_pause_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The most recent timestamp when this [DataConnector][google.cloud.discoveryengine.v1.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.$msg->last_sync_time()/$msg->last_sync_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. For periodic connectors only, the last time a data sync was completed.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp the [DataConnector][google.cloud.discoveryengine.v1.DataConnector] was last updated.
$msg->errors()/$msg->errors($value)Type:
Message(Google::Rpc::Status::Status)Output only. The errors from initialization or from the latest connector run.
$msg->sync_mode()/$msg->sync_mode($value)Type:
Enum(Google::Cloud::Discoveryengine::V1::DataConnector::SyncMode)The data synchronization mode supported by the data connector.
$msg->kms_key_name()/$msg->kms_key_name($value)Type:
StringInput only. 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.
$msg->destination_configs()/$msg->destination_configs($value)Type:
Message(Google::Cloud::Discoveryengine::V1::DataConnector::DestinationConfig)Optional. Any target destinations used to connect to third-party services.
$msg->action_state()/$msg->action_state($value)Type:
Enum(Google::Cloud::Discoveryengine::V1::DataConnector::State)Output only. State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors.
$msg->action_config()/$msg->action_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1::DataConnector::ActionConfig)Optional. Action configurations to make the connector support actions.
$msg->end_user_config()/$msg->end_user_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1::DataConnector::DataConnector::EndUserConfig)Optional. Any params and credentials used specifically for EUA connectors.
$msg->federated_config()/$msg->federated_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1::DataConnector::DataConnector::FederatedConfig)Optional. Any params and credentials used specifically for hybrid connectors supporting FEDERATED mode. This field should only be set if the connector is a hybrid connector and we want to enable FEDERATED mode.
$msg->connector_modes()/$msg->connector_modes($value)Type:
Enum(Google::Cloud::Discoveryengine::V1::DataConnector::ConnectorMode)Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED.
$msg->static_ip_enabled()/$msg->static_ip_enabled($value)Type:
BoolOptional. Whether customer has enabled static IP addresses for this connector.
$msg->static_ip_addresses()/$msg->static_ip_addresses($value)Type:
StringOutput only. The static IP addresses used by this connector.
$msg->oauth_static_ip_addresses()/$msg->oauth_static_ip_addresses($value)Type:
StringOutput only. The static IP addresses used by this connector for OAuth APIs (e.g. end user authentication). These are surfaced separately from `static_ip_addresses` so that customers can apply granular firewall settings for OAuth endpoints. Only populated for connectors that have static IP enabled and are used for actions and/or federated search.
$msg->blocking_reasons()/$msg->blocking_reasons($value)Type:
Enum(Google::Cloud::Discoveryengine::V1::DataConnector::BlockingReason)Output only. User actions that must be completed before the connector can start syncing data.
$msg->identity_schedule_config()/$msg->identity_schedule_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1::DataConnector::IdentityScheduleConfig)The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector.
$msg->private_connectivity_project_id()/$msg->private_connectivity_project_id($value)Type:
StringOutput only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.
$msg->bap_config()/$msg->bap_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1::DataConnector::BAPConfig)Optional. The configuration for establishing a BAP connection.
$msg->connector_type()/$msg->connector_type($value)Type:
Enum(Google::Cloud::Discoveryengine::V1::ConnectorType)Output only. 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.
$msg->realtime_state()/$msg->realtime_state($value)Type:
Enum(Google::Cloud::Discoveryengine::V1::DataConnector::State)Output only. real-time sync state
$msg->alert_policy_configs()/$msg->alert_policy_configs($value)Type:
Message(Google::Cloud::Discoveryengine::V1::DataConnector::AlertPolicyConfig)Optional. The connector level alert config.
$msg->realtime_sync_config()/$msg->realtime_sync_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1::DataConnector::DataConnector::RealtimeSyncConfig)Optional. The configuration for realtime sync.
$msg->acl_enabled()/$msg->acl_enabled($value)Type:
BoolOptional. Whether the connector will be created with an ACL config. Currently this field only affects Cloud Storage and BigQuery connectors.
$msg->create_eua_saas()/$msg->create_eua_saas($value)Type:
BoolOptional. Whether the END USER AUTHENTICATION connector is created in SaaS.
$msg->auto_run_disabled()/$msg->auto_run_disabled($value)Type:
BoolOptional. Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. Update: with the introduction of incremental_sync_disabled, auto_run_disabled is used to pause/disable only full syncs
$msg->incremental_sync_disabled()/$msg->incremental_sync_disabled($value)Type:
BoolOptional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled, i.e. set to true.
$msg->incremental_refresh_interval()/$msg->incremental_refresh_interval($value)Type:
Message(Google::Protobuf::Duration::Duration)Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
$msg->hybrid_ingestion_disabled()/$msg->hybrid_ingestion_disabled($value)Type:
BoolOptional. If the connector is a hybrid connector, determines whether ingestion is enabled and appropriate resources are provisioned during connector creation. If the connector is not a hybrid connector, this field is ignored.
$msg->data_protection_policy()/$msg->data_protection_policy($value)Type:
Message(Google::Cloud::Discoveryengine::V1::Common::DataProtectionPolicy)Optional. Specifies the data protection policy for the connector.
$msg->egress_fqdns()/$msg->egress_fqdns($value)Type:
StringOutput only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs.
$msg->vpcsc_enabled()/$msg->vpcsc_enabled($value)Type:
BoolOutput only. Whether the connector is created with VPC-SC enabled.
$msg->dynamic_tools()/$msg->dynamic_tools($value)Type:
Message(Google::Cloud::Discoveryengine::V1::DataConnector::DynamicTool)Output only. The dynamic tools fetched for this connector.
$msg->cli_config()/$msg->cli_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1::DataConnector::CliConfig)Optional. The configuration for establishing a CLI connection.
$msg->connector_source_id()/$msg->connector_source_id($value)Type:
StringOptional. If set, this value instead of `data_source` is used to fetch the corresponding connector source.
$msg->tag()/$msg->tag($value)Type:
StringOptional. Immutable. User-facing, version-independent label for this connector. May be shared by multiple connectors under the same (project, location, collection, data_source); tag-based lookup returns the one with the greatest create_time.
Optional at Create time. If the caller omits `tag`, the server auto-derives one from the collection_id (falling back to data_source, else a time-based `t-<micros>` sentinel). The auto-derived tag is subject to the same immutability guarantee as a caller-supplied one, so callers who care about the exact tag value should provide it explicitly rather than relying on the server default.
Agent Designer resolves connectors via (data_source, tag) when set, falling back to the legacy resource-name lookup when unset, so connectors created before the tag-write launch continue to work without a backfill.
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Cloud::Discoveryengine::V1::DataConnector::DataConnector::ConnectorMetadata)Optional. User-facing metadata for the connector. Populated from the connector's generated metadata / registry `ConnectorSource`.
Enum: DataConnector::State
STATE_UNSPECIFIED=>0CREATING=>1ACTIVE=>2FAILED=>3RUNNING=>4WARNING=>5INITIALIZATION_FAILED=>6UPDATING=>7
Enum: DataConnector::SyncMode
PERIODIC=>0STREAMING=>1UNSPECIFIED=>2
Enum: DataConnector::ConnectorMode
CONNECTOR_MODE_UNSPECIFIED=>0DATA_INGESTION=>1ACTIONS=>2FEDERATED=>3EUA=>4FEDERATED_AND_EUA=>5
Enum: DataConnector::BlockingReason
BLOCKING_REASON_UNSPECIFIED=>0ALLOWLIST_STATIC_IP=>1ALLOWLIST_IN_SERVICE_ATTACHMENT=>2ALLOWLIST_SERVICE_ACCOUNT=>3
Google::Cloud::Discoveryengine::V1::DataConnector::DestinationConfig
Defines target endpoints used to connect to third-party sources.
Inherits from Protobuf::Message.
Accessors
$msg->params()/$msg->params($value)Type:
Message(Google::Protobuf::Struct::Struct)Optional. Additional parameters for this destination config in structured json format.
$msg->json_params()/$msg->json_params($value)Type:
StringAdditional parameters for this destination config in json string format.
$msg->key()/$msg->key($value)Type:
StringOptional. Unique destination identifier that is supported by the connector.
$msg->destinations()/$msg->destinations($value)Type:
Message(Google::Cloud::Discoveryengine::V1::DataConnector::DestinationConfig::Destination)Optional. The destinations for the corresponding key.
Google::Cloud::Discoveryengine::V1::DataConnector::ActionConfig
Informations to support actions on the connector.
Inherits from Protobuf::Message.
Accessors
$msg->action_params()/$msg->action_params($value)Type:
Message(Google::Protobuf::Struct::Struct)Optional. Action parameters in structured json format.
$msg->json_action_params()/$msg->json_action_params($value)Type:
StringOptional. Action parameters in json string format.
$msg->is_action_configured()/$msg->is_action_configured($value)Type:
BoolOutput only. The connector contains the necessary parameters and is configured to support actions.
$msg->service_name()/$msg->service_name($value)Type:
StringOptional. The Service Directory resource name (projects/*/locations/*/namespaces/*/services/*) representing a VPC network endpoint used to connect to the data source's `instance_uri`, defined in [DataConnector.params][google.cloud.discoveryengine.v1.DataConnector.params].
Required when VPC Service Controls are enabled.
$msg->use_static_secrets()/$msg->use_static_secrets($value)Type:
BoolOptional. Whether to use static secrets for the connector. If true, the secrets provided in the action_params will be ignored.
$msg->create_bap_connection()/$msg->create_bap_connection($value)Type:
BoolOptional. Whether to create a BAP connection for the connector.
$msg->user_defined_scopes_mapping()/$msg->user_defined_scopes_mapping($value)Type:
Message(Google::Cloud::Discoveryengine::V1::DataConnector::ActionConfig::UserDefinedScopesMappingEntry)Optional. Mapping from operation name to the list of scopes. Only be populated if there are user specified scopes.
Google::Cloud::Discoveryengine::V1::DataConnector::IdentityScheduleConfig
The configuration for the identity data synchronization runs.
Inherits from Protobuf::Message.
Accessors
$msg->refresh_interval()/$msg->refresh_interval($value)Type:
Message(Google::Protobuf::Duration::Duration)Optional. The refresh interval to sync the Access Control List information for the documents ingested by this connector. If not set, the access control list will be refreshed at the default interval of 30 minutes. The identity refresh interval can be at least 30 minutes and at most 7 days.
$msg->next_sync_time()/$msg->next_sync_time($value)Type:
Message(Google::Type::Datetime::DateTime)Optional. The UTC time when the next data sync is expected to start for the Data Connector. Customers are only able to specify the hour and minute to schedule the data sync. This is utilized when the data connector has a refresh interval greater than 1 day.
Google::Cloud::Discoveryengine::V1::DataConnector::BAPConfig
The configuration for the BAP connector.
Inherits from Protobuf::Message.
Accessors
$msg->supported_connector_modes()/$msg->supported_connector_modes($value)Type:
Enum(Google::Cloud::Discoveryengine::V1::BAPConfig::ConnectorMode)Required. The supported connector modes for the associated BAP connection.
$msg->enabled_actions()/$msg->enabled_actions($value)Type:
StringOptional. The actions enabled on the associated BAP connection.
$msg->toolspec_override()/$msg->toolspec_override($value)Type:
Message(Google::Cloud::Discoveryengine::V1::DataConnector::BAPConfig::ToolspecOverride)Optional. Custom toolspec overrides for this connection. For Enterprise BAP connectors that support admin-curated tool definitions, this holds the (simplified) per-tool overrides. On Get, populated by the server by merging persisted overrides with live runtime tool definitions and trimming the result for UI consumption. On Update, the supplied value replaces the persisted overrides after server-side validation and merging: the `base_version` field MUST match the server's current base toolspec version (otherwise the request is rejected with a user-facing error directing the admin to re-download the latest tools first).
Enum: BAPConfig::ConnectorMode
CONNECTOR_MODE_UNSPECIFIED=>0DATA_INGESTION=>1ACTIONS=>2END_USER_AUTHENTICATION=>3
Google::Cloud::Discoveryengine::V1::DataConnector::CliConfig
The configuration for the CLI execution based connectors.
Inherits from Protobuf::Message.
Accessors
$msg->enabled_actions()/$msg->enabled_actions($value)Type:
StringOptional. The actions enabled on the associated CLI connection.
Google::Cloud::Discoveryengine::V1::DataConnector::AlertPolicyConfig
The connector level alert config.
Inherits from Protobuf::Message.
Accessors
$msg->alert_policy_name()/$msg->alert_policy_name($value)Type:
StringImmutable. The fully qualified resource name of the AlertPolicy.
$msg->alert_enrollments()/$msg->alert_enrollments($value)Type:
Message(Google::Cloud::Discoveryengine::V1::DataConnector::AlertPolicyConfig::AlertEnrollment)Optional. The enrollment states of each alert.
Google::Cloud::Discoveryengine::V1::DataConnector::Tenant
Tenant information for a connector source. This includes some of the same information stored in the Credential message, but is limited to only what is needed to provide a list of accessible tenants to the user.
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringThe tenant's instance ID. Examples: Jira ("8594f221-9797-5f78-1fa4-485e198d7cd0"), Slack ("T123456").
$msg->uri()/$msg->uri($value)Type:
StringThe URI of the tenant, if applicable. For example, the URI of a Jira instance is https://my-jira-instance.atlassian.net, and a Slack tenant does not have a URI.
$msg->display_name()/$msg->display_name($value)Type:
StringOptional display name for the tenant, e.g. "My Slack Team".
Google::Cloud::Discoveryengine::V1::DataConnector::DynamicTool
Configuration for dynamic tools.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the tool.
$msg->description()/$msg->description($value)Type:
StringOptional. The description of the tool.
$msg->enabled()/$msg->enabled($value)Type:
BoolOptional. Whether the tool is enabled.
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. The display name of the tool.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1::DataConnector::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.