Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::DataConnector::SourceEntity.
Represents an entity in the data source. For example, the Account object
in Salesforce.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#data_store
def data_store() -> ::String-
(::String) — Output only. 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
def entity_name() -> ::String-
(::String) —
The name of the entity. Supported values by data source:
- Salesforce:
Lead,Opportunity,Contact,Account,Case,Contract,Campaign - Jira:
Issue - Confluence:
Content,Space
- Salesforce:
#entity_name=
def entity_name=(value) -> ::String-
value (::String) —
The name of the entity. Supported values by data source:
- Salesforce:
Lead,Opportunity,Contact,Account,Case,Contract,Campaign - Jira:
Issue - Confluence:
Content,Space
- Salesforce:
-
(::String) —
The name of the entity. Supported values by data source:
- Salesforce:
Lead,Opportunity,Contact,Account,Case,Contract,Campaign - Jira:
Issue - Confluence:
Content,Space
- Salesforce:
#healthcare_fhir_config
def healthcare_fhir_config() -> ::Google::Cloud::DiscoveryEngine::V1::HealthcareFhirConfig-
(::Google::Cloud::DiscoveryEngine::V1::HealthcareFhirConfig) — Optional. Configuration for
HEALTHCARE_FHIRvertical.
#healthcare_fhir_config=
def healthcare_fhir_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::HealthcareFhirConfig-
value (::Google::Cloud::DiscoveryEngine::V1::HealthcareFhirConfig) — Optional. Configuration for
HEALTHCARE_FHIRvertical.
-
(::Google::Cloud::DiscoveryEngine::V1::HealthcareFhirConfig) — Optional. Configuration for
HEALTHCARE_FHIRvertical.
#json_params
def json_params() -> ::String-
(::String) — The parameters for the entity to facilitate data ingestion in json
string format.
Note: The following fields are mutually exclusive:
json_params,params. If a field in that set is populated, all other fields in the set will automatically be cleared.
#json_params=
def json_params=(value) -> ::String-
value (::String) — The parameters for the entity to facilitate data ingestion in json
string format.
Note: The following fields are mutually exclusive:
json_params,params. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — The parameters for the entity to facilitate data ingestion in json
string format.
Note: The following fields are mutually exclusive:
json_params,params. If a field in that set is populated, all other fields in the set will automatically be cleared.
#key_property_mappings
def key_property_mappings() -> ::Google::Protobuf::Map{::String => ::String}-
(::Google::Protobuf::Map{::String => ::String}) —
Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as
title, anddescription. Supported key properties:title: The title for data record. This would be displayed on search results.description: The description for data record. This would be displayed on search results.
#key_property_mappings=
def key_property_mappings=(value) -> ::Google::Protobuf::Map{::String => ::String}-
value (::Google::Protobuf::Map{::String => ::String}) —
Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as
title, anddescription. Supported key properties:title: The title for data record. This would be displayed on search results.description: The description for data record. This would be displayed on search results.
-
(::Google::Protobuf::Map{::String => ::String}) —
Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as
title, anddescription. Supported key properties:title: The title for data record. This would be displayed on search results.description: The description for data record. This would be displayed on search results.
#params
def params() -> ::Google::Protobuf::Struct-
(::Google::Protobuf::Struct) — The parameters for the entity to facilitate data ingestion in
structured json format.
Note: The following fields are mutually exclusive:
params,json_params. If a field in that set is populated, all other fields in the set will automatically be cleared.
#params=
def params=(value) -> ::Google::Protobuf::Struct-
value (::Google::Protobuf::Struct) — The parameters for the entity to facilitate data ingestion in
structured json format.
Note: The following fields are mutually exclusive:
params,json_params. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Protobuf::Struct) — The parameters for the entity to facilitate data ingestion in
structured json format.
Note: The following fields are mutually exclusive:
params,json_params. If a field in that set is populated, all other fields in the set will automatically be cleared.
#starting_schema
def starting_schema() -> ::Google::Cloud::DiscoveryEngine::V1::Schema-
(::Google::Cloud::DiscoveryEngine::V1::Schema) — Optional. The start schema to use for the
DataStore created from this
SourceEntity. If unset, a default vertical specialized schema will be
used.
This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead.
The provided schema will be validated against certain rules on schema. Learn more from this doc.
#starting_schema=
def starting_schema=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Schema-
value (::Google::Cloud::DiscoveryEngine::V1::Schema) — Optional. The start schema to use for the
DataStore created from this
SourceEntity. If unset, a default vertical specialized schema will be
used.
This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead.
The provided schema will be validated against certain rules on schema. Learn more from this doc.
-
(::Google::Cloud::DiscoveryEngine::V1::Schema) — Optional. The start schema to use for the
DataStore created from this
SourceEntity. If unset, a default vertical specialized schema will be
used.
This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead.
The provided schema will be validated against certain rules on schema. Learn more from this doc.