Google Cloud Storage Transfer V1 Client - Class NetworkProtocol (1.3.1)

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
NameDescription
value mixed

static::value

Parameter
NameDescription
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;