Class: Google::Apis::DatastreamV1alpha1::JsonFileFormat
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1alpha1::JsonFileFormat
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1alpha1/classes.rb,
lib/google/apis/datastream_v1alpha1/representations.rb,
lib/google/apis/datastream_v1alpha1/representations.rb
Overview
JSON file format configuration.
Instance Attribute Summary collapse
-
#compression ⇒ String
Compression of the loaded JSON file.
-
#schema_file_format ⇒ String
The schema file format along JSON data files.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JsonFileFormat
constructor
A new instance of JsonFileFormat.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JsonFileFormat
Returns a new instance of JsonFileFormat.
584 585 586 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 584 def initialize(**args) update!(**args) end |
Instance Attribute Details
#compression ⇒ String
Compression of the loaded JSON file.
Corresponds to the JSON property compression
577 578 579 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 577 def compression @compression end |
#schema_file_format ⇒ String
The schema file format along JSON data files.
Corresponds to the JSON property schemaFileFormat
582 583 584 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 582 def schema_file_format @schema_file_format end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
589 590 591 592 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 589 def update!(**args) @compression = args[:compression] if args.key?(:compression) @schema_file_format = args[:schema_file_format] if args.key?(:schema_file_format) end |