# Data Lineage V1 API - Class Google::Cloud::DataCatalog::Lineage::V1::SearchLinksRequest (v0.15.0)

0.15.0 (latest) 0.14.0 0.13.0 0.12.1 0.11.0 0.10.1 0.9.1 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Data Lineage V1 API class Google::Cloud::DataCatalog::Lineage::V1::SearchLinksRequest.

Request message for
[SearchLinks](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-Lineage-Client#Google__Cloud__DataCatalog__Lineage__V1__Lineage__Client_search_links_instance_ "Google::Cloud::DataCatalog::Lineage::V1::Lineage::Client#search_links (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- Optional. The maximum number of links to return in a single page of the response. A page may contain fewer links than this value. If unspecified, at most 10 links are returned.

  Maximum value is 100; values greater than 100 are reduced to 100.

### #page_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. The maximum number of links to return in a single page of the response. A page may contain fewer links than this value. If unspecified, at most 10 links are returned.


  Maximum value is 100; values greater than 100 are reduced to 100.
**Returns**

- (::Integer) --- Optional. The maximum number of links to return in a single page of the response. A page may contain fewer links than this value. If unspecified, at most 10 links are returned.

  Maximum value is 100; values greater than 100 are reduced to 100.

### #page_token

    def page_token() -> ::String

**Returns**

- (::String) --- Optional. The page token received from a previous `SearchLinksRequest` call. Use it to get the next page.


  When requesting subsequent pages of a response, remember that
  all parameters must match the values you provided
  in the original request.

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The page token received from a previous `SearchLinksRequest` call. Use it to get the next page.


  When requesting subsequent pages of a response, remember that
  all parameters must match the values you provided
  in the original request.
**Returns**

- (::String) --- Optional. The page token received from a previous `SearchLinksRequest` call. Use it to get the next page.


  When requesting subsequent pages of a response, remember that
  all parameters must match the values you provided
  in the original request.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The project and location you want search in.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The project and location you want search in.
**Returns**

- (::String) --- Required. The project and location you want search in.

### #source

    def source() -> ::Google::Cloud::DataCatalog::Lineage::V1::EntityReference

**Returns**

- ([::Google::Cloud::DataCatalog::Lineage::V1::EntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-EntityReference)) --- Optional. Send asset information in the **source** field to retrieve all links that lead from the specified asset to downstream assets.


  Note: The following fields are mutually exclusive: `source`, `target`, `sources`, `targets`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #source=

    def source=(value) -> ::Google::Cloud::DataCatalog::Lineage::V1::EntityReference

**Parameter**

- **value** ([::Google::Cloud::DataCatalog::Lineage::V1::EntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-EntityReference)) --- Optional. Send asset information in the **source** field to retrieve all links that lead from the specified asset to downstream assets.


  Note: The following fields are mutually exclusive: `source`, `target`, `sources`, `targets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::DataCatalog::Lineage::V1::EntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-EntityReference)) --- Optional. Send asset information in the **source** field to retrieve all links that lead from the specified asset to downstream assets.


  Note: The following fields are mutually exclusive: `source`, `target`, `sources`, `targets`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #sources

    def sources() -> ::Google::Cloud::DataCatalog::Lineage::V1::MultipleEntityReference

**Returns**

- ([::Google::Cloud::DataCatalog::Lineage::V1::MultipleEntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-MultipleEntityReference)) --- Optional. Send a list of asset information in the **sources** field to retrieve all links that lead from the specified assets to downstream assets. This field is similar to the `source` [source](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-SearchLinksRequest#Google__Cloud__DataCatalog__Lineage__V1__SearchLinksRequest_source_instance_ "Google::Cloud::DataCatalog::Lineage::V1::SearchLinksRequest#source (method)") field but allows providing multiple entities. All entities within the `MultipleEntityReference` must have the same `fully_qualified_name`.


  Note: The following fields are mutually exclusive: `sources`, `source`, `target`, `targets`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #sources=

    def sources=(value) -> ::Google::Cloud::DataCatalog::Lineage::V1::MultipleEntityReference

**Parameter**

- **value** ([::Google::Cloud::DataCatalog::Lineage::V1::MultipleEntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-MultipleEntityReference)) --- Optional. Send a list of asset information in the **sources** field to retrieve all links that lead from the specified assets to downstream assets. This field is similar to the `source` [source](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-SearchLinksRequest#Google__Cloud__DataCatalog__Lineage__V1__SearchLinksRequest_source_instance_ "Google::Cloud::DataCatalog::Lineage::V1::SearchLinksRequest#source (method)") field but allows providing multiple entities. All entities within the `MultipleEntityReference` must have the same `fully_qualified_name`.


  Note: The following fields are mutually exclusive: `sources`, `source`, `target`, `targets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::DataCatalog::Lineage::V1::MultipleEntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-MultipleEntityReference)) --- Optional. Send a list of asset information in the **sources** field to retrieve all links that lead from the specified assets to downstream assets. This field is similar to the `source` [source](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-SearchLinksRequest#Google__Cloud__DataCatalog__Lineage__V1__SearchLinksRequest_source_instance_ "Google::Cloud::DataCatalog::Lineage::V1::SearchLinksRequest#source (method)") field but allows providing multiple entities. All entities within the `MultipleEntityReference` must have the same `fully_qualified_name`.


  Note: The following fields are mutually exclusive: `sources`, `source`, `target`, `targets`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #target

    def target() -> ::Google::Cloud::DataCatalog::Lineage::V1::EntityReference

**Returns**

- ([::Google::Cloud::DataCatalog::Lineage::V1::EntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-EntityReference)) --- Optional. Send asset information in the **target** field to retrieve all links that lead from upstream assets to the specified asset.


  Note: The following fields are mutually exclusive: `target`, `source`, `sources`, `targets`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #target=

    def target=(value) -> ::Google::Cloud::DataCatalog::Lineage::V1::EntityReference

**Parameter**

- **value** ([::Google::Cloud::DataCatalog::Lineage::V1::EntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-EntityReference)) --- Optional. Send asset information in the **target** field to retrieve all links that lead from upstream assets to the specified asset.


  Note: The following fields are mutually exclusive: `target`, `source`, `sources`, `targets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::DataCatalog::Lineage::V1::EntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-EntityReference)) --- Optional. Send asset information in the **target** field to retrieve all links that lead from upstream assets to the specified asset.


  Note: The following fields are mutually exclusive: `target`, `source`, `sources`, `targets`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #targets

    def targets() -> ::Google::Cloud::DataCatalog::Lineage::V1::MultipleEntityReference

**Returns**

- ([::Google::Cloud::DataCatalog::Lineage::V1::MultipleEntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-MultipleEntityReference)) --- Optional. Send a list of asset information in the **targets** field to retrieve all links that lead from upstream assets to the specified assets. This field is similar to the `target` [target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-SearchLinksRequest#Google__Cloud__DataCatalog__Lineage__V1__SearchLinksRequest_target_instance_ "Google::Cloud::DataCatalog::Lineage::V1::SearchLinksRequest#target (method)") field but allows providing multiple entities. All entities within the `MultipleEntityReference` must have the same `fully_qualified_name`.


  Note: The following fields are mutually exclusive: `targets`, `source`, `target`, `sources`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #targets=

    def targets=(value) -> ::Google::Cloud::DataCatalog::Lineage::V1::MultipleEntityReference

**Parameter**

- **value** ([::Google::Cloud::DataCatalog::Lineage::V1::MultipleEntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-MultipleEntityReference)) --- Optional. Send a list of asset information in the **targets** field to retrieve all links that lead from upstream assets to the specified assets. This field is similar to the `target` [target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-SearchLinksRequest#Google__Cloud__DataCatalog__Lineage__V1__SearchLinksRequest_target_instance_ "Google::Cloud::DataCatalog::Lineage::V1::SearchLinksRequest#target (method)") field but allows providing multiple entities. All entities within the `MultipleEntityReference` must have the same `fully_qualified_name`.


  Note: The following fields are mutually exclusive: `targets`, `source`, `target`, `sources`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::DataCatalog::Lineage::V1::MultipleEntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-MultipleEntityReference)) --- Optional. Send a list of asset information in the **targets** field to retrieve all links that lead from upstream assets to the specified assets. This field is similar to the `target` [target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-SearchLinksRequest#Google__Cloud__DataCatalog__Lineage__V1__SearchLinksRequest_target_instance_ "Google::Cloud::DataCatalog::Lineage::V1::SearchLinksRequest#target (method)") field but allows providing multiple entities. All entities within the `MultipleEntityReference` must have the same `fully_qualified_name`.


  Note: The following fields are mutually exclusive: `targets`, `source`, `target`, `sources`. If a field in that set is populated, all other fields in the set will automatically be cleared.