Google Cloud Datastream V1 Client - Class JsonFileFormat (2.5.1)

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
Enum of type SchemaFileFormat .

setSchemaFileFormat

The schema file format along JSON data files.

Parameter
Name
Description
var
int

Enum of type SchemaFileFormat .

Returns
Type
Description
$this

getCompression

Compression of the loaded JSON file.

Returns
Type
Description
int
Enum of type JsonCompression .

setCompression

Compression of the loaded JSON file.

Parameter
Name
Description
var
int

Enum of type JsonCompression .

Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: