# Discovery Engine V1BETA API - Module Google::Cloud::DiscoveryEngine::V1beta::DocumentService::Paths (v0.28.0)

0.28.0 (latest) 0.27.0 0.26.0 0.25.0 0.24.0 0.23.1 0.22.0 0.21.0 0.20.1 0.19.1 0.18.0 0.17.0 0.16.0 0.15.0 0.14.2 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.2 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Discovery Engine V1BETA API module Google::Cloud::DiscoveryEngine::V1beta::DocumentService::Paths.

Path helper methods for the DocumentService API.

## Extended By

- [Google::Cloud::DiscoveryEngine::V1beta::DocumentService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-DocumentService-Paths)

## Included In

- [Google::Cloud::DiscoveryEngine::V1beta::DocumentService::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-DocumentService-Client)
- [Google::Cloud::DiscoveryEngine::V1beta::DocumentService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-DocumentService-Paths)
- [Google::Cloud::DiscoveryEngine::V1beta::DocumentService::Rest::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-DocumentService-Rest-Client)

## Methods

### #branch_path

    def branch_path(project:, location:, data_store:, branch:) -> ::String
    def branch_path(project:, location:, collection:, data_store:, branch:) -> ::String

Create a fully-qualified Branch resource string.
**Overloads**

    def branch_path(project:, location:, data_store:, branch:) -> ::String

The resource will be in the following format:


`projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}`
**Parameters**

- **project** (String)
- **location** (String)
- **data_store** (String)
- **branch** (String)

    def branch_path(project:, location:, collection:, data_store:, branch:) -> ::String

The resource will be in the following format:


`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`
**Parameters**

- **project** (String)
- **location** (String)
- **collection** (String)
- **data_store** (String)
- **branch** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #document_path

    def document_path(project:, location:, data_store:, branch:, document:) -> ::String
    def document_path(project:, location:, collection:, data_store:, branch:, document:) -> ::String

Create a fully-qualified Document resource string.
**Overloads**

    def document_path(project:, location:, data_store:, branch:, document:) -> ::String

The resource will be in the following format:


`projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}`
**Parameters**

- **project** (String)
- **location** (String)
- **data_store** (String)
- **branch** (String)
- **document** (String)

    def document_path(project:, location:, collection:, data_store:, branch:, document:) -> ::String

The resource will be in the following format:


`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`
**Parameters**

- **project** (String)
- **location** (String)
- **collection** (String)
- **data_store** (String)
- **branch** (String)
- **document** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #fhir_resource_path

    def fhir_resource_path(project:, location:, dataset:, fhir_store:, resource_type:, fhir_resource_id:) -> ::String

Create a fully-qualified FhirResource resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}`
**Parameters**

- **project** (String)
- **location** (String)
- **dataset** (String)
- **fhir_store** (String)
- **resource_type** (String)
- **fhir_resource_id** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #fhir_store_path

    def fhir_store_path(project:, location:, dataset:, fhir_store:) -> ::String

Create a fully-qualified FhirStore resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`
**Parameters**

- **project** (String)
- **location** (String)
- **dataset** (String)
- **fhir_store** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)