# Google Cloud Storage Transfer V1 Client - Class RequestModel (2.4.0)

2.4.0 (latest) 2.3.2 2.2.1 2.1.1 2.0.2 1.5.0 1.4.5 1.3.1 1.2.0 1.1.1 1.0.6 Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class RequestModel.

The request model of the API.

Protobuf type `google.storagetransfer.v1.S3CompatibleMetadata.RequestModel`

## Namespace

Google \\ Cloud \\ StorageTransfer \\ V1 \\ S3CompatibleMetadata

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### REQUEST_MODEL_UNSPECIFIED

    Value: 0

RequestModel is not specified.

Generated from protobuf enum `REQUEST_MODEL_UNSPECIFIED = 0;`

### REQUEST_MODEL_VIRTUAL_HOSTED_STYLE

    Value: 1

Perform requests using Virtual Hosted Style.

Example: <https://bucket-name.s3.region.amazonaws.com/key-name>

Generated from protobuf enum `REQUEST_MODEL_VIRTUAL_HOSTED_STYLE = 1;`

### REQUEST_MODEL_PATH_STYLE

    Value: 2

Perform requests using Path Style.

Example: <https://s3.region.amazonaws.com/bucket-name/key-name>

Generated from protobuf enum `REQUEST_MODEL_PATH_STYLE = 2;`