Google Cloud Datastream V1 Client - Class JsonFileFormat (2.3.0)

Reference documentation and code samples for the Google Cloud Datastream V1 Client class JsonFileFormat.

JSON file format configuration.

Generated from protobuf message google.cloud.datastream.v1.JsonFileFormat

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ schema_file_formatint

The schema file format along JSON data files.

↳ compressionint

Compression of the loaded JSON file.

getSchemaFileFormat

The schema file format along JSON data files.

Returns
TypeDescription
int

setSchemaFileFormat

The schema file format along JSON data files.

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getCompression

Compression of the loaded JSON file.

Returns
TypeDescription
int

setCompression

Compression of the loaded JSON file.

Parameter
NameDescription
varint
Returns
TypeDescription
$this