Google Cloud Datastream V1 Client - Class JsonFileFormat (1.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
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
TypeDescription
int

setSchemaFileFormat

The schema file format along JSON data files.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCompression

Compression of the loaded JSON file.

Returns
TypeDescription
int

setCompression

Compression of the loaded JSON file.

Parameter
NameDescription
var int
Returns
TypeDescription
$this