# Google Cloud Storage Transfer V1 Client - Class NetworkProtocol (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 NetworkProtocol.

The agent network protocol to access the storage service.

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

## Namespace

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

## Methods

### static::name

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

### static::value

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

## Constants

### NETWORK_PROTOCOL_UNSPECIFIED

    Value: 0

NetworkProtocol is not specified.

Generated from protobuf enum `NETWORK_PROTOCOL_UNSPECIFIED = 0;`

### NETWORK_PROTOCOL_HTTPS

    Value: 1

Perform requests using HTTPS.

Generated from protobuf enum `NETWORK_PROTOCOL_HTTPS = 1;`

### NETWORK_PROTOCOL_HTTP

    Value: 2

Not recommended: This sends data in clear-text. This is only
appropriate within a closed network or for publicly available data.

Perform requests using HTTP.

Generated from protobuf enum `NETWORK_PROTOCOL_HTTP = 2;`