Google Cloud Datastream V1 Client - Class JsonFileFormat (1.5.3)

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
Name Description
data array

Optional. Data for populating the Message object.

↳ schema_file_format int

The schema file format along JSON data files.

↳ compression int

Compression of the loaded JSON file.

getSchemaFileFormat

The schema file format along JSON data files.

Returns
Type Description
int

setSchemaFileFormat

The schema file format along JSON data files.

Parameter
Name Description
var int
Returns
Type Description
$this

getCompression

Compression of the loaded JSON file.

Returns
Type Description
int

setCompression

Compression of the loaded JSON file.

Parameter
Name Description
var int
Returns
Type Description
$this