# Datastream V1alpha1 API - Class Google::Cloud::Datastream::V1alpha1::JsonFileFormat (v0.14.0)

0.14.0 (latest) 0.13.1 0.12.0 0.11.1 0.10.1 0.9.0 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Datastream V1alpha1 API class Google::Cloud::Datastream::V1alpha1::JsonFileFormat.

JSON file format configuration.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #compression

    def compression() -> ::Google::Cloud::Datastream::V1alpha1::JsonFileFormat::JsonCompression

**Returns**

- ([::Google::Cloud::Datastream::V1alpha1::JsonFileFormat::JsonCompression](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1alpha1/latest/Google-Cloud-Datastream-V1alpha1-JsonFileFormat-JsonCompression)) --- Compression of the loaded JSON file.

### #compression=

    def compression=(value) -> ::Google::Cloud::Datastream::V1alpha1::JsonFileFormat::JsonCompression

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1alpha1::JsonFileFormat::JsonCompression](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1alpha1/latest/Google-Cloud-Datastream-V1alpha1-JsonFileFormat-JsonCompression)) --- Compression of the loaded JSON file.
**Returns**

- ([::Google::Cloud::Datastream::V1alpha1::JsonFileFormat::JsonCompression](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1alpha1/latest/Google-Cloud-Datastream-V1alpha1-JsonFileFormat-JsonCompression)) --- Compression of the loaded JSON file.

### #schema_file_format

    def schema_file_format() -> ::Google::Cloud::Datastream::V1alpha1::SchemaFileFormat

**Returns**

- ([::Google::Cloud::Datastream::V1alpha1::SchemaFileFormat](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1alpha1/latest/Google-Cloud-Datastream-V1alpha1-SchemaFileFormat)) --- The schema file format along JSON data files.

### #schema_file_format=

    def schema_file_format=(value) -> ::Google::Cloud::Datastream::V1alpha1::SchemaFileFormat

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1alpha1::SchemaFileFormat](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1alpha1/latest/Google-Cloud-Datastream-V1alpha1-SchemaFileFormat)) --- The schema file format along JSON data files.
**Returns**

- ([::Google::Cloud::Datastream::V1alpha1::SchemaFileFormat](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1alpha1/latest/Google-Cloud-Datastream-V1alpha1-SchemaFileFormat)) --- The schema file format along JSON data files.