# Google Cloud Recommendation Engine V1beta1 Client - Class GcsSource (0.9.3)

0.9.3 (latest) 0.9.2 0.8.2 0.7.7 0.6.4 0.5.0 0.4.12

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Recommendation Engine V1beta1 Client class GcsSource.

Google Cloud Storage location for input content.

format.

Generated from protobuf message `google.cloud.recommendationengine.v1beta1.GcsSource`

## Namespace

Google \\ Cloud \\ RecommendationEngine \\ V1beta1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ input_uris` | `string[]` Required. Google Cloud Storage URIs to input files. URI can be up to 2000 characters long. URIs can match the full object path (for example, `gs://bucket/directory/object.json`) or a pattern matching one or more files, such as `gs://bucket/directory/*.json`. A request can contain at most 100 files, and each file can be up to 2 GB. See [Importing catalog information](https://docs.cloud.google.com/recommendations-ai/docs/upload-catalog) for the expected file format and setup instructions. |

### getInputUris

Required. Google Cloud Storage URIs to input files. URI can be up to
2000 characters long. URIs can match the full object path (for example,
`gs://bucket/directory/object.json`) or a pattern matching one or more
files, such as `gs://bucket/directory/*.json`. A request can
contain at most 100 files, and each file can be up to 2 GB. See
[Importing catalog information](https://docs.cloud.google.com/recommendations-ai/docs/upload-catalog)
for the expected file format and setup instructions.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setInputUris

Required. Google Cloud Storage URIs to input files. URI can be up to
2000 characters long. URIs can match the full object path (for example,
`gs://bucket/directory/object.json`) or a pattern matching one or more
files, such as `gs://bucket/directory/*.json`. A request can
contain at most 100 files, and each file can be up to 2 GB. See
[Importing catalog information](https://docs.cloud.google.com/recommendations-ai/docs/upload-catalog)
for the expected file format and setup instructions.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |