Google Cloud Storage Transfer V1 Client - Class PayloadFormat (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class PayloadFormat.

Enum for specifying the format of a notification message's payload.

Protobuf type google.storagetransfer.v1.NotificationConfig.PayloadFormat

Namespace

Google \ Cloud \ StorageTransfer \ V1 \ NotificationConfig

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

PAYLOAD_FORMAT_UNSPECIFIED

Value: 0

Illegal value, to avoid allowing a default.

Generated from protobuf enum PAYLOAD_FORMAT_UNSPECIFIED = 0;

NONE

Value: 1

No payload is included with the notification.

Generated from protobuf enum NONE = 1;

JSON

Value: 2

TransferOperation is formatted as a JSON response, in application/json.

Generated from protobuf enum JSON = 2;