# Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::AlloyDbSource (v2.8.0)

2.8.0 (latest) 2.7.0 2.6.2 2.5.0 2.4.0 2.3.1 2.2.0 2.1.1 2.0.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::AlloyDbSource.

AlloyDB source import data from.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cluster_id

    def cluster_id() -> ::String

**Returns**

- (::String) --- Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters.

### #cluster_id=

    def cluster_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters.
**Returns**

- (::String) --- Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters.

### #database_id

    def database_id() -> ::String

**Returns**

- (::String) --- Required. The AlloyDB database to copy the data from with a length limit of 256 characters.

### #database_id=

    def database_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The AlloyDB database to copy the data from with a length limit of 256 characters.
**Returns**

- (::String) --- Required. The AlloyDB database to copy the data from with a length limit of 256 characters.

### #gcs_staging_dir

    def gcs_staging_dir() -> ::String

**Returns**

- (::String) --- Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the AlloyDB export to a specific Cloud Storage directory.

  Ensure that the AlloyDB service account has the necessary Cloud
  Storage Admin permissions to access the specified Cloud Storage directory.

### #gcs_staging_dir=

    def gcs_staging_dir=(value) -> ::String

**Parameter**

- **value** (::String) --- Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the AlloyDB export to a specific Cloud Storage directory.


  Ensure that the AlloyDB service account has the necessary Cloud
  Storage Admin permissions to access the specified Cloud Storage directory.
**Returns**

- (::String) --- Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the AlloyDB export to a specific Cloud Storage directory.

  Ensure that the AlloyDB service account has the necessary Cloud
  Storage Admin permissions to access the specified Cloud Storage directory.

### #location_id

    def location_id() -> ::String

**Returns**

- (::String) --- Required. The AlloyDB location to copy the data from with a length limit of 256 characters.

### #location_id=

    def location_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The AlloyDB location to copy the data from with a length limit of 256 characters.
**Returns**

- (::String) --- Required. The AlloyDB location to copy the data from with a length limit of 256 characters.

### #project_id

    def project_id() -> ::String

**Returns**

- (::String) --- The project ID that contains the AlloyDB source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.

### #project_id=

    def project_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The project ID that contains the AlloyDB source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
**Returns**

- (::String) --- The project ID that contains the AlloyDB source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.

### #table_id

    def table_id() -> ::String

**Returns**

- (::String) --- Required. The AlloyDB table to copy the data from with a length limit of 256 characters.

### #table_id=

    def table_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The AlloyDB table to copy the data from with a length limit of 256 characters.
**Returns**

- (::String) --- Required. The AlloyDB table to copy the data from with a length limit of 256 characters.