Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1PhysicalSchema
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1PhysicalSchema
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datacatalog_v1beta1/classes.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb
Overview
Native schema used by a resource represented as an entry. Used by query engines for deserializing and parsing source data.
Instance Attribute Summary collapse
-
#avro ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema
Schema in Avro JSON format.
-
#csv ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema
Marks a CSV-encoded data source.
-
#orc ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema
Marks an ORC-encoded data source.
-
#parquet ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema
Marks a Parquet-encoded data source.
-
#protobuf ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema
Schema in protocol buffer format.
-
#thrift ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema
Schema in Thrift format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1PhysicalSchema
constructor
A new instance of GoogleCloudDatacatalogV1PhysicalSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1PhysicalSchema
Returns a new instance of GoogleCloudDatacatalogV1PhysicalSchema.
1431 1432 1433 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1431 def initialize(**args) update!(**args) end |
Instance Attribute Details
#avro ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema
Schema in Avro JSON format.
Corresponds to the JSON property avro
1404 1405 1406 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1404 def avro @avro end |
#csv ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema
Marks a CSV-encoded data source.
Corresponds to the JSON property csv
1409 1410 1411 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1409 def csv @csv end |
#orc ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema
Marks an ORC-encoded data source.
Corresponds to the JSON property orc
1414 1415 1416 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1414 def orc @orc end |
#parquet ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema
Marks a Parquet-encoded data source.
Corresponds to the JSON property parquet
1419 1420 1421 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1419 def parquet @parquet end |
#protobuf ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema
Schema in protocol buffer format.
Corresponds to the JSON property protobuf
1424 1425 1426 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1424 def protobuf @protobuf end |
#thrift ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema
Schema in Thrift format.
Corresponds to the JSON property thrift
1429 1430 1431 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1429 def thrift @thrift end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1436 1437 1438 1439 1440 1441 1442 1443 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1436 def update!(**args) @avro = args[:avro] if args.key?(:avro) @csv = args[:csv] if args.key?(:csv) @orc = args[:orc] if args.key?(:orc) @parquet = args[:parquet] if args.key?(:parquet) @protobuf = args[:protobuf] if args.key?(:protobuf) @thrift = args[:thrift] if args.key?(:thrift) end |