dataStore = $dataStore; } /** * @return string */ public function getDataStore() { return $this->dataStore; } /** * The name of the entity. Supported values by data source: * Salesforce: * `Lead`, `Opportunity`, `Contact`, `Account`, `Case`, `Contract`, `Campaign` * * Jira: `Issue` * Confluence: `Content`, `Space` * * @param string $entityName */ public function setEntityName($entityName) { $this->entityName = $entityName; } /** * @return string */ public function getEntityName() { return $this->entityName; } /** * Optional. Configuration for `HEALTHCARE_FHIR` vertical. * * @param GoogleCloudDiscoveryengineV1HealthcareFhirConfig $healthcareFhirConfig */ public function setHealthcareFhirConfig(GoogleCloudDiscoveryengineV1HealthcareFhirConfig $healthcareFhirConfig) { $this->healthcareFhirConfig = $healthcareFhirConfig; } /** * @return GoogleCloudDiscoveryengineV1HealthcareFhirConfig */ public function getHealthcareFhirConfig() { return $this->healthcareFhirConfig; } /** * The parameters for the entity to facilitate data ingestion in json string * format. * * @param string $jsonParams */ public function setJsonParams($jsonParams) { $this->jsonParams = $jsonParams; } /** * @return string */ public function getJsonParams() { return $this->jsonParams; } /** * Attributes for indexing. Key: Field name. Value: The key property to map a * field to, such as `title`, and `description`. 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. * * @param string[] $keyPropertyMappings */ public function setKeyPropertyMappings($keyPropertyMappings) { $this->keyPropertyMappings = $keyPropertyMappings; } /** * @return string[] */ public function getKeyPropertyMappings() { return $this->keyPropertyMappings; } /** * The parameters for the entity to facilitate data ingestion in structured * json format. * * @param array[] $params */ public function setParams($params) { $this->params = $params; } /** * @return array[] */ public function getParams() { return $this->params; } /** * 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](https://cloud.google.com/generative-ai-app-builder/docs/provide- * schema). * * @param GoogleCloudDiscoveryengineV1Schema $startingSchema */ public function setStartingSchema(GoogleCloudDiscoveryengineV1Schema $startingSchema) { $this->startingSchema = $startingSchema; } /** * @return GoogleCloudDiscoveryengineV1Schema */ public function getStartingSchema() { return $this->startingSchema; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDiscoveryengineV1DataConnectorSourceEntity::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1DataConnectorSourceEntity');